code
stringlengths
2
1.05M
/* * jQuery OrgChart Plugin * https://github.com/dabeng/OrgChart * * Demos of jQuery OrgChart Plugin * http://dabeng.github.io/OrgChart/local-datasource/ * http://dabeng.github.io/OrgChart/ajax-datasource/ * http://dabeng.github.io/OrgChart/ondemand-loading-data/ * http://dabeng.github.io/OrgChart/option-create...
// # Local File System Image Storage module // The (default) module for storing images, using the local file system var _ = require('lodash'), express = require('express'), fs = require('fs-extra'), nodefn = require('when/node/function'), path = require('path'), when = require('wh...
/** * struct.js - chainable ArrayBuffer DataView wrapper * * @author Meiguro / http://meiguro.com/ * @license MIT */ var capitalize = function(str) { return str.charAt(0).toUpperCase() + str.substr(1); }; var struct = function(def) { this._littleEndian = true; this._offset = 0; this._cursor = 0; this._...
'use strict'; var _ = require('../../lib/helpers/lambda-ramda.js'), fs = require('fs'), filePath = require("path").join(__dirname), modules = {}, requireFile = function(file) { var properyName = _.replace('.js', file); myModule[properyName] = require(file); }; _.map(requireFile, fs.readdirSync(filePath)); ...
describe("Rivets.TextTemplateParser", function() { var Rivets = rivets._ describe("parse()", function() { it("tokenizes a text template", function() { template = "Hello {{ user.name }}, you have {{ user.messages.unread | length }} unread messages." expected = [ {type: 0, value: "Hello "}, ...
/** * @license Highcharts JS v6.1.3 (2018-09-12) * * (c) 2009-2017 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else if (typeof define === 'function' && define.amd) { define(funct...
var _ = require('../util') module.exports = { acceptStatement: true, priority: 700, bind: function () { // deal with iframes if ( this.el.tagName === 'IFRAME' && this.arg !== 'load' ) { var self = this this.iframeBind = function () { _.on(self.el.contentWindow, self....
function meaningOfLife() { throw new Error(42); } function boom() { throw new Error('boom'); } function somethingElse() { throw new Error("somethign else"); } // Hello world function fourth(){ throw new Error('fourth'); } function third(){ throw new Error("oh no"); } //# sourceMappingURL=all.map
/*! jQuery UI - v1.10.4 - 2014-02-09 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.nb={closeText:"Lukk",prevText:"«Forrige",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","ju...
/*global device*/ var TrimFocusInput = Ember.TextField.extend({ focus: true, attributeBindings: ['autofocus'], autofocus: Ember.computed(function () { if (this.get('focus')) { return (device.ios()) ? false : 'autofocus'; } return false; }), didInsertElement: f...
#!/usr/bin/env node 'use strict'; const shell = require('shelljs'); const exec = require('child_process').exec; const path = require('path'); const fs = require('fs'); const animateProgress = require('./helpers/progress'); const addCheckMark = require('./helpers/checkmark'); const readline = require('readline'); p...
/*** MochiKit.Logging 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Logging', '1.5', ['Base']); /** @id MochiKit.Logging.LogMessage */ MochiKit.Logging.LogMessage = function (num, level, info) { this.num ...
{ "VALIDATOR.FIELDREQUIRED": "Whakakīa \"%s\", he whakaritenga tēnei.", "HASMANYFILEFIELD.UPLOADING": "Tukuatu ana... %s", "TABLEFIELD.DELETECONFIRMMESSAGE": "Kei te tino hiahia muku i tēnei pūkete?", "LOADING": "Uta ana...", "UNIQUEFIELD.SUGGESTED": "I hurihia te uara ki te '%s' : %s", "UNIQUEF...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v13.2.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __prot...
module.exports={"title":"Verizon","hex":"CD040B","source":"https://www.verizondigitalmedia.com/about/logo-usage/","svg":"<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>Verizon icon</title><path d=\"M18.302 0H22v.003L10.674 24H7.662L2 12h3.727l3.449 7.337z\"/></svg>"};
/** * `editor` type prompt */ var util = require('util'); var chalk = require('chalk'); var ExternalEditor = require('external-editor'); var Base = require('./base'); var observe = require('../utils/events'); /** * Module exports */ module.exports = Prompt; /** * Constructor */ function Prompt() { return B...
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M416 64H96c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm4 348c0 4.4-3.6 8-8 8H100c-4.4 0-8-3.6-8-8V100c0-4.4 3.6-8 8-8h312c4.4 0 8 3.6 8 8v312z"/><path d="M363.6 192.9L346 174.8c-.7-.8...
version https://git-lfs.github.com/spec/v1 oid sha256:f569a4730a75b6e028411841508e8c7032641b675365483a6bd61205b6ebaf07 size 2295
app.game.hud = { render: function(delta) { var player = app.game.players[0]; this.renderBar(16, 16, 80, 6, player.hp / player.maxHp, "#08f"); }, renderBar: function(x, y, width, height, progress, color) { app.layer.fillStyle("#000").fillRect(x, y, width, height); app.layer.fillStyle(color).f...
(function () { 'use strict'; angular .module('crowdsource.template', [ 'crowdsource.template.controllers', 'crowdsource.template.services', 'crowdsource.template.directives' ]); angular .module('crowdsource.template.controllers', []); angular ...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v9.0.3 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c <...
/* ng-infinite-scroll - v1.0.0 - 2013-02-23 */ /*This is custom versiom on infinite-scroll, we have added infiniteContainer attribute which accept container name on which we are applying the scroll*/ var mod; mod = angular.module('infinite-scroll', []); mod.directive('infiniteScroll', [ '$rootScope', '$window', '$t...
import ActorClient from 'utils/ActorClient'; import ActorAppDispatcher from 'dispatcher/ActorAppDispatcher'; import { ActionTypes } from 'constants/ActorAppConstants'; import DraftActionCreators from 'actions/DraftActionCreators'; export default { cleanText: () => { DraftActionCreators.saveDraft('', true); ...
/** * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'button', 'fr', { selectedLabel: '%1 (Sélectionné)' } );
/** * Login server abstraction layer * Pokemon Showdown - http://pokemonshowdown.com/ * * This file handles communicating with the login server. * * @license MIT license */ const LOGIN_SERVER_TIMEOUT = 15000; const LOGIN_SERVER_BATCH_TIME = 1000; var http = require("http"); var url = require('url'); /* global...
/*! jQuery UI - v1.10.4 - 2014-06-04 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl",...
/** File: strophe.js * A JavaScript library for writing XMPP clients. * * This library uses either Bidirectional-streams Over Synchronous HTTP (BOSH) * to emulate a persistent, stateful, two-way connection to an XMPP server or * alternatively WebSockets. * * More information on BOSH can be found in XEP 124....
module.exports = function (grunt) { var nodeExec = require.resolve('.bin/babel-node' + (process.platform === 'win32' ? '.cmd' : '')); grunt.initConfig({ mocha_istanbul: { target: { src: 'test/*.test.js', options: { //coverageFolder: 'lcov'...
loadIonicon('<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M32 136v144h357.7l-84.4 86.2 33.2 33.8L480 256 338.5 112l-33.2 33.8 84.4 86.2H79.2v-96H32z"/></svg>','md-return-right');
/*! * jQuery Cycle Plugin (with Transition Definitions) * Examples and documentation at: http://jquery.malsup.com/cycle/ * Copyright (c) 2007-2010 M. Alsup * Version: 2.9998 (27-OCT-2011) * Dual licensed under the MIT and GPL licenses. * http://jquery.malsup.com/license.html * Requires: jQuery v1.3.2 or later *...
var resolveKeyword = require('css-tree').keyword; var walk = require('css-tree').walk; var generate = require('css-tree').generate; var createDeclarationIndexer = require('./createDeclarationIndexer'); var processSelector = require('./processSelector'); module.exports = function prepare(ast, options) { var markDec...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceUsb = (props) => ( <SvgIcon {...props}> <path d="M15 7v4h1v2h-3V5h2l-3-4-3 4h2v8H8v-2.07c.7-.37 1.2-1.08 1.2-1.93 0-1.21-.99-2.2-2.2-2.2-1.21 0-2.2.99-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3....
/*! * jquery-sheetrock v0.2.3 * Quickly connect to, query, and lazy-load data from Google Spreadsheets. * http://chriszarate.github.io/sheetrock/ * License: MIT */ (function(sheetrock) { 'use strict'; /* global define, module */ if(typeof define === 'function' && define.amd) { define('jquery.sheetroc...
/** * Application version * * @type String **/ elFinder.prototype.version = '2.0.2';
(function (angular) { "use strict"; // when $routeProvider.whenAuthenticated() is called, the path is stored in this list // to be used by authRequired() in the services below var securedRoutes = []; angular.module('myApp.security', ['ngRoute', 'firebase.auth', 'myApp.config']) .config(['$routeProvider...
// Copyright 2011 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 requi...
// Fine Uploader 5.11.7 - (c) 2013-present Widen Enterprises, Inc. MIT licensed. http://fineuploader.com (function(global) { var qq = function(element) { "use strict"; return { hide: function() { element.style.display = "none"; return this; }, ...
/*! JointJS v0.9.10 (2016-06-13) - JavaScript diagramming library This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // JointJS library. // (c) 2011-2013 client IO...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.frzr = global.frzr || {}))); }(this, (function (exports) { 'use strict'; function text (str) { return docu...
document.addEventListener("DOMContentLoaded", function () { window.addEventListener("click", function (ev) { var micronTrigger = ev.target; var micronPrefix = "mjs-"; var micronData = micronTrigger.dataset.micron; var micronDataDuration = micronTrigger.dataset.micronDuration; ...
(function(){ return })
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PolygonMaskType_1 = require("../../../Enums/PolygonMaskType"); var Draw_1 = require("./Draw"); var Move_1 = require("./Move"); var PolygonInline_1 = require("./PolygonInline"); var PolygonMask = (function () { function PolygonMask() { ...
/*! * Bonzo: DOM Utility (c) Dustin Diaz 2012 * https://github.com/ded/bonzo * License MIT */ (function (name, definition, context) { if (typeof module != 'undefined' && module.exports) module.exports = definition() else if (typeof context['define'] == 'function' && context['define']['amd']) define(name, de...
/** * The Studio: Artist of the Day plugin * This is a daily activity where users nominate the featured artist for the day, which is selected randomly once voting has ended. * Only works in a room with the id 'thestudio' */ function toArrayOfArrays(map) { var ret = []; map.forEach(function (value, key) { ret.p...
/*! angular-multi-select 6.0.7 */ var angular_multi_select=angular.module("angular-multi-select");angular_multi_select.config(function(a){a.createTranslation("es",{CHECK_ALL:"Marcar todo",CHECK_NONE:"Desmarcar todo",RESET:"Resetear",SEARCH:"Buscar...",CLEAR:"Limpiar"}),a.setLang("es")});
/** * @fileoverview Rule to check for tabs inside a file * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ const regex = /\t/; //--------------------...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.2 * @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 : ...
'use strict'; /** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of pate...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.0.4 * @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 : ...
/*! * jQuery UI Effects Clip 1.11.1 * http://jqueryui.com * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/clip-effect/ */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. ...
/* * PrimeUI 4.1.1 * * Copyright 2009-2015 PrimeTek. * * 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 applicab...
/** * @author TatumCreative (Greg Tatum) / http://gregtatum.com/ */ var constants = { combine: { "THREE.MultiplyOperation" : THREE.MultiplyOperation, "THREE.MixOperation" : THREE.MixOperation, "THREE.AddOperation" : THREE.AddOperation }, side : { "THREE.FrontSide" : THREE.FrontSide, "THREE.BackSide...
/* * A simple reusable store that loads static calendar field definitions into memory * and can be bound to the CalendarCombo widget and used for calendar color selection. */ Ext.define('Ext.calendar.data.MemoryCalendarStore', { extend: 'Ext.data.Store', model: 'Ext.calendar.data.CalendarModel', req...
(function(pangu) { 'use strict'; var ignore_tags = /^(code|pre|textarea)$/i; var space_sensitive_tags = /^(a|del|pre|s|strike|u)$/i; var space_like_tags = /^(br|hr|i|img|pangu)$/i; var block_tags = /^(div|h1|h2|h3|h4|h5|h6|p)$/i; function can_ignore_node(node) { var parent_node = node....
/** * Copyright (c) 2015-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. * * * @format * @preventMunge */ 'use strict'; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.g...
import { camelize, hasOwn, defineReactive } from '../../util/index' import { EL } from '../priorities' export default { priority: EL, bind () { /* istanbul ignore if */ if (!this.arg) { return } var id = this.id = camelize(this.arg) var refs = (this._scope || this.vm).$els if (hasOw...
var RELANG = {}; RELANG['sr-lat'] = { html: 'HTML', video: 'Ubaci video', image: 'Ubaci fotografiju', table: 'Tabela', link: 'Veza', link_insert: 'Ubaci vezu ...', unlink: 'Ukloni vezu', formatting: 'Stilovi', paragraph: 'Paragraf', quote: 'Citat', code: 'Izvorni kod', header1: 'Zaglavlje 1', header2: 'Zag...
ace.define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextM...
var assert = require('assert'); var program = require('../../'); var valueFactory = require('../../lib/factory/value.js'); var ObjectExpression = require('../../lib/nodes/ObjectExpression.js'); var ArrayExpression = require('../../lib/nodes/ArrayExpression.js'); var Literal = require('../../lib/nodes/Literal.js'); de...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'scayt', 'el', { btn_about: 'About SCAYT', btn_dictionaries: 'Λεξικά', btn_disable: 'Disable SCAYT', btn_enable: 'Enable SCAYT', btn_l...
var moment = require('../../moment'); /************************************************** Dutch *************************************************/ exports['locale:nl'] = { setUp : function (cb) { moment.locale('nl'); moment.createFromInputFallback = function () { throw ...
/* * ----------------------------- JSTORAGE ------------------------------------- * Simple local storage wrapper to save data on the browser side, supporting * all major browsers - IE6+, Firefox2+, Safari4+, Chrome4+ and Opera 10.5+ * * Copyright (c) 2010 - 2012 Andris Reinman, andris.reinman@gmail.com * Project ...
/* @preserve * The MIT License (MIT) * * Copyright (c) 2014 Petka Antonov * * 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 limitation the righ...
import Reflux from 'reflux'; import ActorClient from 'utils/ActorClient'; import JoinGroupActions from 'actions/JoinGroupActions'; const urlBase = 'https://quit.email'; export default Reflux.createStore({ init () { this.listenTo(JoinGroupActions.joinGroup, this.onJoin); }, onJoin (token) { let url = ...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'basicstyles', 'es', { bold: 'Negrita', italic: 'Cursiva', strike: 'Tachado', subscript: 'Subíndice', superscript: 'Superíndice', underline: 'Su...
cordova.define("org.apache.cordova.geolocation.PositionError", function(require, exports, module) { /* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownershi...
(function* () { yield v })
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'cy', { alertUrl: 'Rhowch URL y ddelwedd', alt: 'Testun Amgen', border: 'Ymyl', btnUpload: 'Anfon i\'r Gweinydd', button2Img: 'Ydych am ...
YUI.add("lang/datatype-date-format_en-US",function(a){a.Intl.add("datatype-date-format","en-US",{"a":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"A":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"b":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"B":["January","Febr...
/*! jQuery UI - v1.9.2 - 2012-11-23 * http://jqueryui.com * Includes: jquery.ui.datepicker-sl.js * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthName...
YUI.add("lang/datatype-date-format_zh-Hant-HK",function(e){e.Intl.add("datatype-date-format","zh-Hant-HK",{a:["\u9031\u65e5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],A:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56...
/*! handlebars v4.0.2 Copyright (C) 2011-2015 by Yehuda Katz 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 limitation the rights to use, copy, modify, m...
/** * @license * lodash (Custom Build) /license | Underscore.js 1.8.3 underscorejs.org/LICENSE * Build: `lodash core -o ./dist/lodash.core.js` */ ;(function(){function n(n,t){return n.push.apply(n,t),n}function t(n){return function(t){return null==t?nn:t[n]}}function r(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=f...
/*! Qoopido.js library 3.7.1, 2015-07-25 | https://github.com/dlueth/qoopido.js | (c) 2015 Dirk Lueth */ !function(e){window.qoopido.register("polyfill/window/customevent",e)}(function(e,t,n,o,r,u,b){"use strict";if(!r.CustomEvent){var c=u.createEvent?function(e,t,n){var o=u.createEvent("Event"),r=t&&t.bubbles!==b?t.bu...
/** * @license jCanvas Hearts v13.12.20 * Copyright 2013 Caleb Evans * Released under the MIT license */(function(e){var t="jCanvas",n=!0,r=Math.PI;e[t].extend({name:"drawHeart",type:"heart",props:{size:0},fn:function(i,s){var o=this,u=s.size,a=.75,f=u*a,l=r*a*(1-a),c,h;e[t].transformShape(o,i,s,u,f);c=s.x;h=s.y+u/...
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var ExternalModuleFactoryPlugin = require("./ExternalModuleFactoryPlugin"); function ExternalsPlugin(type, externals) { this.type = type; this.externals = externals; } module.exports = ExternalsPlugin; ExternalsPlugin...
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/_base/xhr",["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./confi...
const TEMPLATE_REGEX = /<msg>([^<]+)<\/msg>/g, SINGLE_QUOTE_REGEX = /translate\('([^']+)'\)/g, DOUBLE_QUOTE_REGEX = /translate\("([^"]+)"\)/g; class FS_Transformer_Translator extends FS_Transformer { fetchTranslations(messages, callback) { var hashmap = { }; if (messages.length === 0) { return void c...
import mod277 from './mod277'; var value=mod277+1; export default value;
describe('virtualization', function() { before(function() { document.styleSheets[0].insertRule('frypan { display: block; width: 300px; height: 200px; overflow: auto }', 1); }) after(function() { document.styleSheets[0].deleteRule(1) }) beforeEach(function() { addFruits(100) }) it('should not ...
"use strict"; var fs = require('fs'); var gulp = require('gulp'); var gulputil = require('gulp-util'); var uglify = require('gulp-uglify'); var rename = require("gulp-rename"); var replace = require("gulp-replace"); var BUILDDIR = './build'; var pkg = JSON.parse(fs.readFileSync('./package.json')); gulp.task('initial...
#!/usr/bin/env node const fs = require('fs'); let p_build = process.argv[2]; let s_contents = fs.readFileSync(p_build, 'utf8'); let s_replace = s_contents.replace(/((?:^|\n))[ \t]*(\/\/ [^\n]+)\n([ \t]*)/g, (s_line, s_pre, s_comment, s_indent) => `${s_pre}${s_indent}${s_comment}\n${s_indent}`); fs.writeFileSync(p_...
// adopted from: deep-assign <https://github.com/sindresorhus/deep-assign> // Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) (MIT) var isObject = require('../lang/isObject') var hasOwnProperty = Object.prototype.hasOwnProperty var propEnum = Object.prototype.propertyIsEnumerable function toOb...
'use strict'; const Riak = require('basho-riak-client'); const _ = require('lodash'); class Client { /** * Creates a new client with config, * and adds delegated methods * @param config */ constructor(config) { this.config = _.defaults({}, config.cluster, { // need to create new copy of conf...
/* * Game Helpers * * A collection of useful math and object helpers */ window.game = window.game || {}; var __helpers = { // Convert from polar coordinates to Cartesian coordinates using length and radian polarToCartesian: function(vectorLength, vectorDirection) { return { x: vectorLength * Math.cos(vecto...
/** * @license AngularJS v1.3.15 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, document, undefined) {'use strict'; /** * @description * * This object provides a utility for producing rich Error messages within * Angular. It can be called as follows: * * var exampleMinE...
import COLORS from '../constants/colors'; import TrackedData from './tracked-data'; const DEFAULT_INTENSITY = 0; const DEFAULT_COLOR = COLORS.WHITE; export default class LightArray extends TrackedData { constructor(stripLengths, defaultIntensity = DEFAULT_INTENSITY, defaultColor = DEFAULT_COLOR) { const propert...
'use babel' import IconsSection from './IconsSectionView' import ColorSection from './ColorSectionView' import LayoutSection from './LayoutSectionView' import TypographySection from './TypographySectionView' export { IconsSection, ColorSection, LayoutSection, TypographySection, }
/* eslint-env node, jest */ jest.mock('cloudinary'); jest.mock('node-persist'); jest.mock('./render.js'); jest.mock('./fetch.js'); const lolex = require('lolex'); const Slack = require('../lib/slackMock.js'); const sunrise = require('./index.js'); let slack = null; let clock = null; describe('sunrise', () => { bef...
'use strict'; // Declare app level module which depends on views, and components angular.module('myApp', [ 'ngRoute', 'myApp.PatientsCtrl', 'myApp.DoctorsCtrl', 'myApp.WardsCtrl', 'myApp.NursesCtrl', 'myApp.version', 'ngMaterial' ]). config(['$locationProvider', '$routeProvider', function($locationProvid...
'use strict'; /** * Module dependencies. */ var should = require('should'), mongoose = require('mongoose'), User = mongoose.model('User'), Player = mongoose.model('Player'); /** * Globals */ var user, player; /** * Unit tests */ describe('Player Model Unit Tests:', function() { beforeEach(function(done) { ...
var Stats = { }; $(document).ready(function( ) { Stats.loadCharts( ); }); Stats.dateForStat = function( stat ) { var date = new Date( stat.created_at ); var timezoneOffsetInMilliseconds = date.getTimezoneOffset( ) * 60 * 1000; var startOfLocalDay = new Date( date.getTime() + timezoneOffsetInMilliseconds ); ...
//-- copyright // OpenProject is a project management system. // Copyright (C) 2012-2013 the OpenProject Foundation (OPF) // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License version 3. // // OpenProject is a fork of ChiliProject, which is a ...
"use strict"; const path = require("path"); const chokidar = require("chokidar"); const fs = require("graceful-fs"); const webpack = require("webpack"); const Server = require("../../lib/Server"); const config = require("../fixtures/watch-files-config/webpack.config"); const runBrowser = require("../helpers/run-browse...
import arrayToID from '../../../utils/func/arrayToID'; import unique from '../../../utils/func/unique'; import constants from '../constants'; const initialState = []; /** * List of the feed timeline events * * **Actions listened**: * * * `FETCH_FEED_TIMELINE` * * `FETCH_TIMELINE_EVENT` * * `CLEAR_TIMELINE_F...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const datatype_1 = require("../datatype"); // TODO: Support full 64-bit integer range using https://tc39.github.io/proposal-integer/ const MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; const MIN_SAFE_INTEGER = -(Math.pow(2, 53) - 1); class IntType e...
const path = require('path') const appEnv = process.env.APP_ENV || process.env.NODE_ENV || 'development' let publicPaths = { development: '/', ghpages: '/brocessing.men/', preprod: '/', production: '/' } module.exports = { // Used by the devServer and base href public: publicPaths[appEnv] || publicPaths.d...
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "Unnamed: 0": 0, "Incident Number": 150310032, "Date": "01\/31\/2015", "Time": "09:10 AM", "Police District": 7.0, "Offense 1": "MOTOR VEHICLE THEFT", "...
(function () { 'use strict'; angular .module('virtualRepeatDeferredLoadingDemo', ['ngMaterial']) .controller('AppCtrl', function ($timeout) { // In this example, we set up our model using a class. // Using a plain object works too. All that matters // is that...