code
stringlengths
2
1.05M
/** * @author qiao / https://github.com/qiao * @fileoverview This is a convex hull generator using the incremental method. * The complexity is O(n^2) where n is the number of vertices. * O(nlogn) algorithms do exist, but they are much more complicated. * * Benchmark: * * Platform: CPU: P7350 @2.00GHz Engine: V...
he.js
/* eslint-disable */ ;(function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD define(['../core'], factory); } else if (typeof exports === 'object') { // Node.js module.exports = factory(require('../core')); } else { // Browser root.Blockly.Msg = factory(root.Blockly); } }...
"use strict";function easeInOutSin(n){return(1+Math.sin(Math.PI*n-Math.PI/2))/2}function animate(t,i,a){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:function(){},e=n.ease,o=void 0===e?easeInOutSin:e,e=n.duration,u=void 0===e?300:e,l=null,s=i[t]...
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var turnOrder=require("./turn-order-9099d084.js");require("immer"),require("lodash.isplainobject");const PlayerView={STRIP_SECRETS:(e,r,t)=>{const s={...e};return void 0!==s.secret&&delete s.secret,s.players&&(s.players=t?{[t]:s.players[t]}:{}),s}};exp...
define("ace/snippets/ruby",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText = "########################################\n\ # Ruby snippets - for Rails, see below #\n\ ########################################\n\ \n\ # encoding for Ruby 1.9\n\ snippet enc\n\ # encod...
/** @module ember @submodule ember-runtime */ import { Mixin, get, set } from 'ember-metal'; import { deprecate } from 'ember-debug'; /** The `Ember.Freezable` mixin implements some basic methods for marking an object as frozen. Once an object is frozen it should be read only. No changes may be made the i...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
// Generated by CoffeeScript 1.7.1 var ReadableTrackingBuffer, WritableTrackingBuffer; ReadableTrackingBuffer = require('./readable-tracking-buffer'); WritableTrackingBuffer = require('./writable-tracking-buffer'); module.exports.ReadableTrackingBuffer = ReadableTrackingBuffer; module.exports.WritableTrackingBuffer...
module.exports = [ { entry: { "widgets": "./app/widgets", "edit": "./app/views/edit", "index": "./app/views/index" }, output: { filename: "./app/bundle/[name].js" }, module: { loaders: [ { test: /\.h...
/*! x509-1.1.6.js (c) 2012-2015 Kenji Urushima | kjur.github.com/jsrsasign/license */ /* * x509.js - X509 class to read subject public key from certificate. * * Copyright (c) 2010-2015 Kenji Urushima (kenji.urushima@gmail.com) * * This software is licensed under the terms of the MIT License. * http://kjur.githu...
/** * A processor that can run arbitrary checking rules against properties of documents * The configuration for the processor is via the `docTypeRules`. * This is a hash of docTypes to rulesets. * Each rules set is a hash of properties to rule functions. * * The processor will run each rule function against eac...
/*! * Vue.js v2.5.6 * (c) 2014-2017 Evan You * Released under the MIT License. */ /* */ var emptyObject = Object.freeze({}); // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } function isDef (v...
/** @license React v16.1.0 * react-dom-unstable-native-dependencies.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var h=require("react-dom"),k=require("...
/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
/* angular-moment.js / v1.2.0 / (c) 2013, 2014, 2015, 2016, 2017 Uri Shaked / MIT Licence */ 'format amd'; /* global define */ (function () { 'use strict'; function isUndefinedOrNull(val) { return angular.isUndefined(val) || val === null; } function requireMoment() { try { return require('moment'); // Us...
React.createElement(Component, babelHelpers.extends({}, x, { y: 2, z: true }));
class Properties { get<T>() {} }
version https://git-lfs.github.com/spec/v1 oid sha256:87a62b163c0cf979432b1fea40389e1e2307cd9a4531e64a403ccb5d8e2259bc size 650
po.drag = function() { var drag = {}, map, container, dragging; function mousedown(e) { if (e.shiftKey) return; dragging = { x: e.clientX, y: e.clientY }; map.focusableParent().focus(); e.preventDefault(); document.body.style.setProperty("cursor", "move", null)...
import Model from 'ember-cli-mirage/orm/model'; import {module, test} from 'qunit'; module('mirage:model'); test('it can be instantiated', function(assert) { var model = new Model({}, 'user'); assert.ok(model); }); test('it cannot be instantiated without a schema', function(assert) { assert.throws(function() {...
import path from 'path'; import DocBuilder from './DocBuilder.js'; /** * Search index of identifier builder class. */ export default class SearchIndexBuilder extends DocBuilder { /** * execute building output. * @param {function(javascript: string, filePath: string)} callback - is called with output. */ ...
// gl-matrix 1.2.4 - https://github.com/toji/gl-matrix/blob/master/LICENSE.md (function(a){a.glMatrixArrayType=a.MatrixArray=null;a.vec3={};a.mat3={};a.mat4={};a.quat4={};a.setMatrixArrayType=function(a){return glMatrixArrayType=MatrixArray=a};a.determineMatrixArrayType=function(){return setMatrixArrayType("undefined"!...
version https://git-lfs.github.com/spec/v1 oid sha256:af70d1465cbe870a7f22f60bc612a1e91fa6c85ae675cca03cb8f93b2e0f2414 size 2295
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.cellx = factory()); }(this, (function () { 'use strict'; var ErrorLogger = { _handler: null, /** * @typesign (handler:...
/* Magic Mirror * Node Helper: Calendar * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var NodeHelper = require("node_helper"); var validUrl = require("valid-url"); var CalendarFetcher = require("./calendarfetcher.js"); module.exports = NodeHelper.create({ // Override start method. start: funct...
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor ==...
Meteor.startup(function() { RocketChat.settings.add('GoogleNaturalLanguage_Enabled', false, { type: 'boolean', group: 'Message', section: 'Google Natural Language', public: true, i18nLabel: 'Enabled' }); RocketChat.settings.add('GoogleNaturalLanguage_ServiceAccount', '', { type: 'string', group: 'Messa...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; ;(function (window, linkify) { var linkifyElement = function ...
// Generated by CoffeeScript 1.9.3 (function() { module.exports = require('./2.x'); }).call(this);
/*! * Flickity PACKAGED v2.0.10 * Touch, responsive, flickable carousels * * Licensed GPLv3 for open source use * or Flickity Commercial License for commercial use * * http://flickity.metafizzy.co * Copyright 2017 Metafizzy */ /** * Bridget makes jQuery widgets * v2.0.1 * MIT license */ /* jshint browser...
/** * * Creator of typical test AnimationClips / KeyframeTracks * * @author Ben Houston / http://clara.io/ * @author David Sarno / http://lighthaus.us/ */ THREE.AnimationClipCreator = function() { }; THREE.AnimationClipCreator.CreateRotationAnimation = function( period, axis ) { var times = [ 0, ...
var Key = require('bindings')('KeyModule').Key; var CommonKey = require('./common/Key'); var bignum = require('bignum'); var Point = require('./Point'); var coinUtil = require('../util'); for (var i in CommonKey) { if (CommonKey.hasOwnProperty(i)) Key[i] = CommonKey[i]; } Key.sign = function(hash, priv, k) { ...
/** * @author TristanVALCKE / https://github.com/TristanVALCKE */ //Todo console.warn("Todo: Unit tests of AxisHelper")
define("ace/snippets/crystal",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="crystal"}); (function() { window.require(["ace/snippets/crystal"], function(m) { if (typeof module == "object" && typeof exports == "objec...
import Component from 'flarum/Component'; import Button from 'flarum/components/Button'; import listItems from 'flarum/helpers/listItems'; import extract from 'flarum/utils/extract'; /** * The `Alert` component represents an alert box, which contains a message, * some controls, and may be dismissible. * * The aler...
/** * @file Data zoom model */ define(function(require) { var DataZoomModel = require('./DataZoomModel'); var SliderZoomModel = DataZoomModel.extend({ type: 'dataZoom.slider', layoutMode: 'box', /** * @protected */ defaultOption: { show: true,...
/** * Disallows space before `()` or `{}` in function expressions (both [named](#disallowspacesinnamedfunctionexpression) * and [anonymous](#disallowspacesinanonymousfunctionexpression)). * * Type: `Object` * * Values: `"beforeOpeningRoundBrace"` and `"beforeOpeningCurlyBrace"` as child properties. * Child prope...
if (exports) { var fs = require('fs'); var jsdom = require('jsdom'); var html = fs.readFileSync('./test/index.html', 'utf-8'); window = jsdom.jsdom(html).parentWindow; var Slideout = require('../'); var assert = require('better-assert'); } var doc = window.document; var beforeopenEvent = false; var openEve...
'use strict'; /** * @ngdoc filter * @name linky * @kind function * * @description * Finds links in text input and turns them into html links. Supports `http/https/ftp/mailto` and * plain email address links. * * Requires the {@link ngSanitize `ngSanitize`} module to be installed. * * @param {string} text In...
(function(window, document){ var _shimCounter = 0; function Rollbar(parentShim) { this.shimId = ++_shimCounter; this.notifier = null; this.parentShim = parentShim; this.logger = function() {}; if (window.console) { if (window.console.shimId === undefined) { this.logger = window.console.log; ...
'use strict'; // Define module using Universal Module Definition pattern // https://github.com/umdjs/umd/blob/master/returnExports.js (function (root, factory) { if (typeof define === 'function' && define.amd) { // Support AMD. Register as an anonymous module. // EDIT: List all dependencies in AMD style ...
import {types as tt} from "./tokentype" import {Parser} from "./state" import {lineBreak, skipWhiteSpace} from "./whitespace" import {isIdentifierStart, isIdentifierChar} from "./identifier" import {DestructuringErrors} from "./parseutil" const pp = Parser.prototype // ### Statement parsing // Parse a program. Initi...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { isBlank } from '../facade/lang'; var _DOM = null; export function getDOM() { return _DOM; } export funct...
"use strict"; describe("isValidNumber:", function() { beforeEach(function() { intlSetup(true); input = $("<input>"); }); afterEach(function() { input.intlTelInput("destroy"); input = null; }); describe("init plugin and call public method isValidNumber", function() { beforeEach(func...
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; export function getPopoverUtilityClass(slot) { return generateUtilityClass('MuiPopover', slot); } const popoverClasses = generateUtilityClasses('MuiPopover', ['root', 'paper']); export default popoverClasses;
/*! jssocials - v1.2.1 - 2016-04-10 * http://js-socials.com * Copyright (c) 2016 Artem Tabalin; Licensed MIT */ (function(window, $, undefined) { var JSSOCIALS = "JSSocials", JSSOCIALS_DATA_KEY = JSSOCIALS; var getOrApply = function(value, context) { if($.isFunction(value)) { retur...
$(document).ready(function () { $('#saveDefaultsButton').click(function () { var anyQualArray = []; var bestQualArray = []; $('#anyQualities option:selected').each(function (i, d) {anyQualArray.push($(d).val()); }); $('#bestQualities option:selected').each(function (i, d) {bestQualA...
IntlMessageFormat.__addLocaleData({locale:"wae", messageformat:{pluralFunction:function (n) { n=Math.floor(n);if(n===1)return"one";return"other"; }}});
// Generated by CoffeeScript 1.7.1 /* @preserve jQuery.PrettyTextDiff 1.0.4 See https://github.com/arnab/jQuery.PrettyTextDiff/ */ (function() { var $; $ = jQuery; $.fn.extend({ prettyTextDiff: function(options) { var dmp, settings; settings = { origina...
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var users = require('./routes/users'); var app = express()...
/*! * smooth-scroll v9.4.1: Animate scrolling to anchor links * (c) 2016 Chris Ferdinandi * MIT License * http://github.com/cferdinandi/smooth-scroll */ (function (root, factory) { if ( typeof define === 'function' && define.amd ) { define([], factory(root)); } else if ( typeof exports === 'object' ) { modu...
/*! lazysizes - v2.0.2-rc1 */ !function(a){"use strict";var b,c,d,e;a.addEventListener&&(b=a.lazySizes&&lazySizes.cfg||a.lazySizesConfig||{},c=b.lazyClass||"lazyload",d=function(){var b,d;if("string"==typeof c&&(c=document.getElementsByClassName(c)),a.lazySizes)for(b=0,d=c.length;d>b;b++)lazySizes.loader.unveil(c[b])},...
;(function(undefined) { 'use strict'; /** * BottleJS v0.7.2 - 2014-12-26 * A powerful, extensible dependency injection micro container * * Copyright (c) 2014 Stephen Young * Licensed MIT */ /** * Unique id counter; * * @type Number */ var id = 0; ...
var keystone = require('../../../../index.js'); var Types = keystone.Field.Types; var Code = new keystone.List('Code', { autokey: { path: 'key', from: 'name', unique: true, }, track: true, }); Code.add({ name: { type: String, initial: true, required: true, index: true, }, fieldA: { type: Types.C...
var Sites = {}; Sites.getTop = function(callback) { chrome.topSites.get(function(e) { callback(e.map(function(e) { return [e.title, e.url]; })); }); };
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function get() { return _ListItemSecondaryAction.default; } }); var _ListIt...
/*! * Fine Uploader * * Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com * * Version: 5.3.2 * * Homepage: http://fineuploader.com * * Repository: git://github.com/FineUploader/fine-uploader.git * * Licensed only under the Widen Commercial License (http://fineuploader.com/licensing). */ /*globals window,...
(function($window, L, d3) { "use strict"; /** * @method throwException * @param message {String} * @param path {String} * @return {void} */ var throwException = function throwException(message, path) { if (path) { // Output a link for a more informative messa...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.0.6 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : ...
(function () { 'use strict'; // Must configure the common service and set its // events via the commonConfigProvider angular.module('common') .factory('spinner', ['common', 'commonConfig', spinner]); function spinner(common, commonConfig) { var service = { spinnerHide...
/*! ======================================================= VERSION 9.2.2 ========================================================= */ "use strict"; function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; } /*! ===...
'use strict'; module.exports = { set: function (v) { this.setProperty('-webkit-perspective', v); }, get: function () { return this.getPropertyValue('-webkit-perspective'); }, enumerable: true };
'use strict'; // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'development'; process.env.NODE_ENV = 'development'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will ...
'use strict'; /** * @ngdoc service * @name $window * * @description * A reference to the browser's `window` object. While `window` * is globally available in JavaScript, it causes testability problems, because * it is a global variable. In angular we always refer to it through the * `$window` service, so it ma...
(function() { var Ember = { assert: function() {}, FEATURES: { isEnabled: function() {} } }; /*! * @overview Ember - JavaScript Application Framework * @copyright Copyright 2011-2014 Tilde Inc. and contributors * Portions Copyright 2006-2011 Strobe Inc. * Portions Copyright 2008-2011 Apple In...
// GFM table, non-standard 'use strict'; function getLine(state, line) { var pos = state.bMarks[line] + state.blkIndent, max = state.eMarks[line]; return state.src.substr(pos, max - pos); } function escapedSplit(str) { var result = [], pos = 0, max = str.length, ch, escapes = 0,...
import dsv from "./dsv"; var tsv = dsv("\t"); export var tsvParse = tsv.parse; export var tsvParseRows = tsv.parseRows; export var tsvFormat = tsv.format; export var tsvFormatRows = tsv.formatRows;
/* * angular-mm-foundation * http://pineconellc.github.io/angular-foundation/ * Version: 0.5.1 - 2014-11-29 * License: MIT * (c) Pinecone, LLC */ angular.module("mm.foundation", ["mm.foundation.accordion","mm.foundation.alert","mm.foundation.bindHtml","mm.foundation.buttons","mm.foundation.position","mm.foundati...
/** * @author Mat Groves http://matgroves.com/ @Doormat23 * original filter: https://github.com/evanw/glfx.js/blob/master/src/filters/fun/dotscreen.js */ /** * * This filter applies a dotscreen effect making display objects appear to be made out of black and white halftone dots like an old printer * @class DotSc...
/* * /MathJax/localization/br/HTML-CSS.js * * Copyright (c) 2009-2015 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen...
const inherits = require('inherits'); const ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler'); import {assign} from 'lodash'; function ColumnCompiler_Oracledb() { ColumnCompiler_Oracle.apply(this, arguments); } inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle); assign(Colum...
describe('uniqueEmail directive', function() { var Users, $scope, form; function setTestValue(value) { $scope.model.testValue = value; $scope.$digest(); } beforeEach(function() { // Mockup Users resource angular.module('mock-Users', []).factory('Users', function() { Users = jasmine.creat...
(function( $ ) { module( "slider: events" ); //Specs from http://wiki.jqueryui.com/Slider#specs //"change callback: triggers when the slider has stopped moving and has a new // value (even if same as previous value), via mouse(mouseup) or keyboard(keyup) // or value method/option" test( "mouse based interaction", fun...
var parse = require('../parse/index.js') /** * @category Quarter Helpers * @summary Return the last day of a year quarter for the given date. * * @description * Return the last day of a year quarter for the given date. * The result will be in the local timezone. * * @param {Date|String|Number} date - the origi...
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
/** * archiver-utils * * Copyright (c) 2012-2014 Chris Talkington, contributors. * Licensed under the MIT license. * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT */ var fs = require('graceful-fs'); var path = require('path'); var _ = require('lodash'); var glob = require('glob')...
"use strict"; var _foob, _foob$test; (_foob = foob).add.apply(_foob, babelHelpers.toConsumableArray(numbers)); (_foob$test = foob.test).add.apply(_foob$test, babelHelpers.toConsumableArray(numbers));
/** * The MIT License * * Copyright (c) 2010 Adam Abrons and Misko Hevery http://getangular.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without...
module.exports = function(hljs) { var LASSO_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*'; var LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)'; var LASSO_CLOSE_RE = '\\]|\\?>'; var LASSO_KEYWORDS = { literal: 'true false none minimal full all void and or not ' + 'bw nbw ew new cn ncn lt lte gt gte eq neq rx nr...
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "PG", "PTG" ], "DAY": [ "Ahad", "Isnin...
Monocle.Controls.Contents = function (reader) { var API = { constructor: Monocle.Controls.Contents } var k = API.constants = API.constructor; var p = API.properties = { reader: reader } function createControlElements() { var div = reader.dom.make('div', 'controls_contents_container'); contentsF...
(function () { function RunningInNode () { return( (typeof require) == "function" && (typeof exports) == "object" && (typeof module) == "object" && (typeof __filename) == "string" && (typeof __dirname) == "string" ); } if (!RunningInNode()) { if (!this.Tautologistics) this.Tautologistics = {};...
class Semicolon { ; }
'use strict'; var $export = require('./$.export'); var $re = require('./$.replacer')(/&(?:amp|lt|gt|quot|apos);/g, { '&amp;': '&', '&lt;': '<', '&gt;': '>', '&quot;': '"', '&apos;': "'" }); $export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
/*************** Details ***************/ /*! * velocity.ui.js: UI effects pack for Velocity. Load this file after jquery.velocity.js. * @version 4.0.5 * @docs http://velocityjs.org/#uiPack * @support <=IE8: Callouts will have no effect, and transitions will simply fade in/out. IE9/Android 2.3: Most effects are fu...
var fns = []; for (let i = 0; i < 10; i++) { fns.push(function () { return i; }); i += 1; } assert.equal(fns[0](), 1); assert.equal(fns[1](), 3); assert.equal(fns[2](), 5); assert.equal(fns[3](), 7); assert.equal(fns[4](), 9);
// flow-typed signature: 323fcc1a3353d5f7a36c5f1edcd963ef // flow-typed version: 41f45a7d8c/react-addons-test-utils_v15.x.x/flow_>=v0.23.x declare type ReactAddonTest$FunctionOrComponentClass = React$Component<any, any, any> | Function; declare module 'react-addons-test-utils' { declare var Simulate: { [eventNam...
/*! * js-data-http * @version 3.0.0-beta.1 - Homepage <http://www.js-data.io/docs/dshttpadapter> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE> * * @overview Http adapter for js-data. */ (functio...
/*! * Qoopido.js library v3.4.9, 2014-7-26 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(t){window.qoopido.register("polyfill/string/ucfirst",t)}(function(){"use strict";return String.prototype.ucfirst||(String.prototype.ucfirst=function(){var t=this;return ...
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datasource-polling', function (Y, NAME) { /** * Extends DataSource with polling functionality. * * @module datasource * @submodule datasource-polling */ /** *...
/** * Select2 French translation */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Aucun résultat trouvé"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Merci de saisir " + n + " caractère" + (n == 1...
import { showConfirmationDialog, escape } from "./dialog"; const outputRow = (output) => [ "<li>", "<samp>", escape(output.address), ": </samp>&nbsp;", '<samp class="amount">', { atoms: output.amount }, "</samp>", "</li>" ]; export default (totalOutAmount, outputs) => showConfirmationDialog({ ti...
"use strict"; import ActionTypes from "../constants/ActionTypes"; import AppDispatcher from "../dispatchers/AppDispatcher"; // TODO modify this so it uses compose export function modifyPendingAction(type, pendingAction, ...args) { AppDispatcher.dispatch({ type: ActionTypes.PENDING_ACTION, data: { type: type, ...
import React from 'react'; import { Map } from 'immutable'; export const basePropTypes = { settings: React.PropTypes.instanceOf(Map), user: React.PropTypes.instanceOf(Map), entityConfig: React.PropTypes.instanceOf(Map).isRequired, ui: React.PropTypes.instanceOf(Map).isRequired, data: React.PropTypes.instance...
'use strict'; var gulp = require('gulp'), path = require('path'), del = require('del'), sourcemaps = require('gulp-sourcemaps'), concat = require('gulp-concat'), uglify = require('gulp-uglify'), rev = require('gulp-rev'), sourcemaps = require('gulp-sourcemaps'), annotate = require('gulp-ng-annotate'),...
var getDependencyInstances = require('./get-dependency-instances') , getFnArgs = require('./get-function-arguments') , getFnName = require('./get-function-name') module.exports = function (plugin) { var bound = plugin.bind(this) // Bind pluginable bound.dependencies = getFnArgs(plugin) bound.name = getFnNam...
'use strict' const Site = use('site') const qr = require('@perl/qr') class WpFacebook extends Site { static matches (siteUrlStr) { return qr`wp[.]com/graph[.]facebook[.]com`.test(siteUrlStr) } normalizeLink (link) { const url = require('url') const linkBits = url.parse(link) linkBits.host = 'i0.w...
import './about.styl'; import aboutRoutes from './about.routes'; import aboutCtrl from './about.controller'; export default ngModule => { aboutRoutes(ngModule); aboutCtrl(ngModule); };