code
stringlengths
2
1.05M
/** * @fileoverview client模式,serve时js文件处理 * @author liweitao */ 'use strict'; module.exports = function ($, appConf, moduleConf, args) { return function (mod, modulePath, appPath) { return new Promise(function (resolve, reject) { var vfs = require('vinyl-fs'); var path = require('path'); var ...
/* * Routes handlers */ var exec = require('child_process').exec, child_process = require('child_process'), fs = require('fs'), child_processes = []; // Basic routing module.exports = function(app) { app.get("/", getHomePage); app.post("/add", postAddScraper); } function getHomePage(req, res) { var port...
MSG.title = "Webduino Blockly 課程 1-3:控制兩顆 LED 燈"; MSG.subTitle = "課程 1-3:控制兩顆 LED 燈"; MSG.demoDescription = "點選下圖左右兩顆燈泡,分別控制兩顆 LED 的開或關";
/*global require*/ require({ baseUrl : '.', paths : { domReady : '../../ThirdParty/requirejs-2.1.20/domReady', Cesium : '../../Source' } }, [ 'CesiumViewer' ], function() { });
import requestAnimationFrame from 'requestanimationframe' import { DistributeHeight } from './DistributeHeight' export class Resize { constructor () { this.ticking = false // Create an instance of DistributeHeight for each element $('[data-distribute-height]').each((index, element) => { element.di...
/*! * froala_editor v3.0.6 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2019 Froala Labs */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) : typeof define === 'function...
//copy codes from d3.js, add 4 functions: tickAttr, tickTextAttr, minorTickAttr and domainAttr; //axis() changes, need a raphael paper object param, return raphael set object. //examples in ../examples/axis/ to know the usage. //a basic part for other data visualization format /*global d3*/ /*! * Axis兼容定义 */ ;(functi...
var EventEmitter = require('events').EventEmitter; var fs = require('fs'); var content; function readFileIfRequired(cb) { if (!content) { //<co id="callout-globals-nexttick-3-1" /> fs.readFile(__filename, 'utf8', function(err, data) { content = data; console.log('readFileIfRequired: readFile'); ...
function* f1() { a = (yield) ? 1 : 1; a = yield 1 ? 1 : 1; a = (yield 1) ? 1 : 1; a = 1 ? yield : yield; a = 1 ? yield 1 : yield 1; } function* f2() { a = yield* 1 ? 1 : 1; a = (yield* 1) ? 1 : 1; a = 1 ? yield* 1 : yield* 1; } async function f3() { a = await 1 ? 1 : 1; a = (await 1) ? 1 : 1; a ...
import React from 'react'; import PropTypes from 'prop-types'; const Soon = () => ( <div> <article className="glitch"> <span>ALWAYS Ɐ WIP</span> </article> </div> ); export default Soon;
module.exports = { rules: { 'max-nested-callbacks': 0 } };
function setup() { createCanvas(600, 400); noLoop(); noStroke(); textSize(20); loadJSON("data.json", drawData); } function draw() { background(255, 0, 0); console.log(int(random(0, 2))); } function drawData(data) { background(120, 180, 200); // person 1 bubble fill(155, 30, 180, 180); ellip...
version https://git-lfs.github.com/spec/v1 oid sha256:c2c3856c7f168c79af5e259afd0648e280f99384ba53df89f67814f2bafd5c74 size 18348
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){return"Túl hosszú. "+(e.input.length-e.maximum)+" karakterrel több, mint ...
'use strict'; /** * @ngdoc function * @name ng.filter:limitTo * @function * * @description * Creates a new array or string containing only a specified number of elements. The elements * are taken from either the beginning or the end of the source array or string, as specified by * the value and sign (positive ...
'use strict'; const expect = require('chai').expect; const LiveReloadServer = require('../../../../lib/tasks/server/livereload-server'); const MockUI = require('console-ui/mock'); const MockExpressServer = require('../../../helpers/mock-express-server'); const net = require('net'); const EOL = require('os').EOL; const...
"use strict"; var chokidar = require("chokidar"), shell = require("shelljs"), files = { "./src/pages/schema-edit/parse-schema.js" : "./gen/parse-schema.js" }; exports.watch = function() { // Make sure files stay up to date in the /gen folder chokidar.watch(Object.keys(files)).on("all",...
// Underscore.js 1.8.3 // http://underscorejs.org // (c) 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. (function() { // Baseline setup // -------------- // Establish the root object, `window` (`self`...
// moment.js locale configuration // locale : Marathi (mr) // author : Harshad Kale : https://github.com/kalehv (function (factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD } else if (typeof exports === 'object') { module.exports = factory(...
// Call spamassassin via spamd var sock = require('./line_socket'); var prettySize = require('./utils').prettySize; var defaults = { spamd_socket: 'localhost:783', max_size: 500000, old_headers_action: "rename", subject_prefix: "*** SPAM ***", }; exports.hook_data_post = function (next, connectio...
"use strict"; var _foob, _foob$test; var _toArray = function (arr) { return Array.isArray(arr) ? arr : Array.from(arr); }; (_foob = foob).add.apply(_foob, [foo, bar].concat(_toArray(numbers))); (_foob$test = foob.test).add.apply(_foob$test, [foo, bar].concat(_toArray(numbers)));
import { useState } from 'react' import { useRouter } from 'next/router' import Link from 'next/link' import { gql, useMutation } from '@apollo/client' import { getErrorMessage } from '../lib/form' import Field from '../components/field' const SignUpMutation = gql` mutation SignUpMutation($email: String!, $password:...
const nest = require('depnest') const { h, Value } = require('mutant') exports.needs = nest({ 'app.sync.goTo': 'first', 'message.html.backlinks': 'first', 'message.html.author': 'first', 'message.html.meta': 'map', 'message.html.timestamp': 'first' }) exports.gives = nest('message.html.layout') exports.cre...
var gbxremote = require('gbxremote'), async = require('async'); module.exports = require('./core').extend({ init: function() { this._super(); this.options.port = 2350; this.options.port_query = 5000; this.gbxclient = false; }, reset: function() { this._super(); if(this.gbxclient) { this.gbxclient.te...
/** * Module dependencies. */ var http = require('http'); var read = require('fs').readFileSync; var parse = require('url').parse; var engine = require('engine.io'); var client = require('socket.io-client'); var clientVersion = require('socket.io-client/package').version; var Client = require('./client'); var Names...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../xml/xml"), require("../meta")); else if...
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var ActionSettingsInputHdmi = React.createClass({ displayName: 'ActionSettingsInputHdmi', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement...
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Horizontal Page Break */ // Register a plugin named "pagebreak". CKEDITOR.plugins.add( 'pagebreak', { init : function( editor ) { // Register...
/*! * ===================================================== * dmui v0.1.0 (http://www.91holy.com) * ===================================================== */ /*! * dmui JavaScript Library v0.1.0 * https://dmui.com/ * Copyright dmui Foundation and other contributors * Released under the MIT license * https://gi...
import { sortSurveyElements } from '../index'; describe('sortSurveyElements', () => { it('sorts survey elements by weight', () => { const inputSurvey = { title: 'Sample Survey', sections: [ { id: 1, title: 'Later Section', weight: 1 }, { id: 2, title: 'Earlier Sect...
const should = require('should'); const sinon = require('sinon'); const configUtils = require('../../../utils/configUtils'); // Stuff we are testing const img_url = require('../../../../core/frontend/helpers/img_url'); const logging = require('@tryghost/logging'); describe('{{img_url}} helper', function () { let...
import { findPort, killApp, nextBuild, nextStart, renderViaHTTP, File, waitFor, } from 'next-test-utils' import webdriver from 'next-webdriver' import { join } from 'path' const appDir = join(__dirname, '../') let appPort let app let browser let html const indexPage = new File(join(appDir, 'pages/static...
const DrawCard = require('../../drawcard.js'); class AeronDamphair extends DrawCard { setupCardAbilities() { this.reaction({ when: { onCardSaved: event => event.card.getType() === 'character' }, handler: context => { let card = context.ev...
function foo() { throw <Bar />; } function foo() { throw <Bar>baz</Bar>; } function foo() { throw <Bar baz={baz} />; } function foo() { throw <Bar baz={baz}>foo</Bar>; } function foo() { throw <></>; } function foo() { throw <>foo</>; }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); // This is a very simple test, and could be made more robust. // All we do is check for the presence of "http://" or "https://" // at the start of the string. var description = 'Relative src URLs can break (i.e. if recipients are outside t...
var assert = require('assert'); var R = require('..'); describe('join', function() { it("concatenates a list's elements to a string, with an seperator string between elements", function() { var list = [1, 2, 3, 4]; assert.strictEqual(R.join('~', list), '1~2~3~4'); }); });
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fas'; var iconName = 'intersection'; var width = 384; var height = 512; var ligatures = []; var unicode = 'f668'; var svgPathData = 'M166.74 33.62C69.96 46.04 0 133.11 0 230.68V464c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V224...
/* * Moonshine - a Lua virtual machine. * * Email: [email protected] * http://moonshinejs.org * * Copyright (c) 2013-2015 Gamesys Limited. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "S...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- var promises = require('../utilities/promises'), log = require('../logger'); module.exports = ...
/*globals EmberDev */ import Ember from "ember-metal/core"; import {get} from "ember-metal/property_get"; import {set} from "ember-metal/property_set"; import {forEach} from "ember-metal/array"; import run from "ember-metal/run_loop"; import Application from "ember-application/system/application"; import {DefaultResol...
/** * rcmuserAdminUsersApp.rcmuserAdminUsers */ angular.module('rcmuserAdminUsersApp').controller( 'rcmuserAdminUsers', [ '$window', '$scope', '$log', '$uibModal', 'RcmUserResult', 'RcmResults', 'rcmUserUserService', function ( $windo...
(function(w){function D(c,b,f,k){if(b.points.errorbars){c=[{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}];f=b.points.errorbars;if("x"==f||"xy"==f)b.points.xerr.asymmetric&&c.push({x:!0,number:!0,required:!0}),c.push({x:!0,number:!0,required:!0});if("y"==f||"xy"==f)b.points.yerr.asymmetric&&c.push({y:!0,numb...
(function () { 'use strict'; function foo () { return embiggen( 6, 7 ); } /** * Embiggens a number * @param {number} num - the number to embiggen * @param {number} factor - the factor to embiggen it by * @returns {number} */ function embiggen ( num, factor ) { return num * factor; } alert( foo()...
require('./options-styles'); var CodeMirror = require('codemirror'); require('codemirror/addon/fold/foldcode'); require('codemirror/addon/fold/foldgutter'); require('codemirror/addon/fold/brace-fold'); require('codemirror/mode/javascript/javascript'); require('codemirror/addon/hint/show-hint'); require('codemirror/addo...
/** * Theme: Simple Admin Template * Author: Coderthemes * VectorMap */ ! function($) { "use strict"; var VectorMap = function() { }; VectorMap.prototype.init = function() { //various examples $('#world-map-markers').vectorMap({ map : 'world_mill_en', scaleColors : ['#4bd396', '#4bd396'], normal...
/*eslint-env node */ module.exports = function (grunt) { grunt.initConfig({ "bolt-init": { "plugin": { config_dir: "config/bolt" } }, "bolt-build": { "plugin": { config_js: "config/bolt/prod.js", output_dir: "scratch", main: "tinymce.wordcount.Plugin", filename: "plugin", gene...
'use strict'; Editor.polymerElement({ });
//>>built define({"days-standAlone-short":"dom seg ter qua qui sex s\u00e1b".split(" "),"field-weekday":"Dia da semana","field-wed-relative+0":"esta quarta-feira","field-wed-relative+1":"pr\u00f3xima quarta-feira","dateFormatItem-GyMMMEd":"E, d 'de' MMM 'de' y G","dateFormatItem-MMMEd":"E, d 'de' MMM","field-tue-relati...
class A { static get #x() {} get #x() {} }
const fs = require('fs'); const fse = require('fs-extra'); const path = require('path'); module.exports = function (params) { const unpackFile = path.join( params.appOutDir, '*NAMECASENOSPACE*.app/Contents/Resources/app.asar.unpacked' ); fse.removeSync(unpackFile); };
var WINDOW = { ms_Width: 0, ms_Height: 0, ms_Callbacks: { 70: "WINDOW.toggleFullScreen()" // Toggle fullscreen }, initialize: function initialize() { this.updateSize(); // Create callbacks from keyboard $(document).keydown(function(inEvent) { WINDOW.callAction(inEvent.keyCode); }) ; $(window).resiz...
// Converted from: ../../examples/obj/torus/Torus.obj // vertices: 576 // faces: 576 // materials: 1 // // Generated with OBJ -> Three.js converter // http://github.com/alteredq/three.js/blob/master/utils/exporters/convert_obj_three.py var model = { "version" : 1, "materials": [ { "DbgCo...
/*! * Module dependencies. */ 'use strict'; const MongooseError = require('./'); /** * Schema validator error * * @param {Object} properties * @inherits MongooseError * @api private */ function ValidatorError(properties) { let msg = properties.message; if (!msg) { msg = MongooseError.messages.genera...
/* @Name: Horizontal multilevel menu @Author: Muffin Group @WWW: www.muffingroup.com @Version: 1.5.2 */ (function($){ $.fn.extend({ muffingroup_menu: function(options) { var menu = $(this); var defaults = { delay : 100, hoverClass : 'hover', arrows : true, animation...
import Moment from 'moment'; import { functions, has, includes } from 'lodash'; export default function(dateString, context) { const date = Moment(dateString); if (has(context.hash, 'type') && includes(functions(date), context.hash.type)) { return date[context.hash.type](); } return date.cale...
Clazz.declarePackage ("J.smiles"); Clazz.load (["java.util.Hashtable", "JU.BS", "J.smiles.VTemp"], "J.smiles.SmilesGenerator", ["JU.List", "$.SB", "J.smiles.InvalidSmilesException", "$.SmilesAromatic", "$.SmilesAtom", "$.SmilesBond", "$.SmilesParser", "$.SmilesSearch", "J.util.BSUtil", "$.Elements", "$.JmolMolecule", ...
define([ // '../../../../src/utils/event', // '../../../../src/utils/objectCreate' ], function( // Event, // objectCreate ){ var objectCreate = hello.utils.objectCreate; var utils = hello.utils; // // Events // describe('utils / event', function(){ var hello, arbitary_data, event_name; beforeEach(function(){ ...
import collapsibleFactory from '../common/collapsible'; import collapsibleGroupFactory from '../common/collapsible-group'; const PLUGIN_KEY = 'menu'; /* * Manage the behaviour of a menu * @param {jQuery} $menu */ class Menu { constructor($menu) { this.$menu = $menu; this.$body = $('body'); ...
'use strict'; var users = require('../../app/controllers/users'), speakers = require('../../app/controllers/speakers'); module.exports = function(app) { // Speakers Routes app.route('/speakers') .get(speakers.list) .post(users.requiresLogin, speakers.create); app.route('/speakers/:speakerId') .get(speak...
import * as React from 'react'; import ApiPage from 'docs/src/modules/components/ApiPage'; import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; import jsonPageContent from './avatar.json'; export default function Page(props) { const { descriptions, pageContent } = props; return <ApiP...
var webpack = require('webpack'); var path = require('path'); module.exports = { entry: './src/main.ts', output: { filename: './bundle.js' }, resolve: { root: [ path.join(__dirname, 'src') ], extensions: ['', '.ts', '.js'] }, module: { loaders: [ { test: /\.ts$/, loader: 'ts-loader'...
(function($) { $.Redactor.prototype.source = function() { return { init: function() { var button = this.button.addFirst('html', 'HTML'); this.button.setIcon(button, '<i class="re-icon-html"></i>'); this.button.addCallback(button, this.source.toggle); var style = { 'width': '100%', '...
(function () { 'use strict'; angular .module('crowdsource.config', ['angular-loading-bar']) .config(config); config.$inject = ['$httpProvider', '$locationProvider', '$mdThemingProvider', 'cfpLoadingBarProvider']; /** * @name config * @desc Enable HTML5 routing */ fu...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > If the eval function is called with some argument, then use a first argument es5id: 15.1.2.1_A1.2_T1 description: eval("x = 1", "x = 2"), x equal 1, not 2 ---*/ //C...
module.exports = [ require('./ngdoc'), require('./name'), require('./area'), require('./module'), require('./id'), require('./restrict'), require('./eventType'), require('./example'), require('./element'), require('./fullName'), require('./priority'), require('./title'), require('./parent'), ...
Astro.createValidator({ name: 'array', validate: _.isArray, events: { validationerror: function(e) { var fieldName = e.data.field; e.data.message = 'The "' + fieldName + '" field\'s value has to be an array'; } } });
/* * * * (c) 2010-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from './Globals.js'; /** * @interface Highcharts.PointEventsOptionsObject */ /** * Fires when the point is selected either...
//When change in default attribute: // Make code revision and check all values working with the default HTML attribute name 'gridindex' and or the variable `attribute` var navigationItem, attribute; var navigationActive = false; var gridindex = "1-2"; var backupGridindex = "1-2"; var lastGridindex_col = {}; var attrib...
// @ts-check const { ESLintUtils } = require('@typescript-eslint/experimental-utils') const RuleTester = ESLintUtils.RuleTester const rule = require('../react-proper-lifecycle-methods') // ------------------------------------------------------------------------------ // Tests // -------------------------------------...
angular.module('ui.bootstrap.alert', []) .controller('UibAlertController', ['$scope', '$attrs', '$timeout', function($scope, $attrs, $timeout) { $scope.closeable = !!$attrs.close; if (angular.isDefined($attrs.dismissOnTimeout)) { $timeout(function() { $scope.close(); }, parseInt($attrs.dismissOnTime...
/* * This file contains generic tests that are run against every rule. Early on, * we found some common rule patterns that would cause errors under certain * conditions. Instead of tracking them down individually, this file runs * the same tests on every defined rule to track down these patterns. * * When run in ...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const { SyncWaterfallHook } = require("tapable"); const Template = require("../Template"); class JsonpMainTemplatePlugin { apply(mainTemplate) { const needChunkOnDemandLoadingCode = chunk => { for (...
// from https://gist.github.com/mathewbyrne/1280286 slugify = function(text){ return text.toString().toLowerCase() .replace(/\s+/g, '-') // Replace spaces with - .replace(/[^\w\-]+/g, '') // Remove all non-word chars .replace(/\-\-+/g, '-') // Replace multiple - with single - ....
define(function() { "use strict"; function RangeFilter(columnKey, isMinEnabled, minValue, isMaxEnabled, maxValue) { InputValidator.validateNotNull("columnKey", columnKey); InputValidator.validateNotNull("isMinEnabled", isMinEnabled); InputValidator.validateNotNull("minValue", minVal...
const debug = require('ghost-ignition').debug('api:canary:utils:serializers:input:authors'); const slugFilterOrder = require('./utils/slug-filter-order'); const utils = require('../../index'); function setDefaultOrder(frame) { if (!frame.options.order && frame.options.filter) { frame.options.autoOrder = sl...
(function() { 'use strict'; /* * This feature allows you to specify a grid over a portion or the entire chart area. * * @name grid */ d4.feature('grid', function(name) { var xAxis = d3.svg.axis(); var yAxis = d3.svg.axis(); return { accessors: { formatXAxis: function(xAxis)...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
var searchData= [ ['get_5fmodel_5fhandle',['GET_MODEL_HANDLE',['../serializer_8h.html#a887590f4b40f78bf359c8e56f03c56fe',1,'serializer.h']]] ];
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
import { Mesh, OrthographicCamera, PerspectiveCamera, PlaneGeometry, Scene, ShaderMaterial, UniformsUtils, WebGLRenderTarget } from 'three'; import { BokehShader } from '../shaders/BokehShader2.js'; import { BokehDepthShader } from '../shaders/BokehShader2.js'; class CinematicCamera extends PerspectiveCamera ...
import Social from './Social' export default Social
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colorbutton', 'ja', { auto: '自動', bgColorTitle: '背景色', colors: { '000': 'Black', '800000': 'Maroon', '8B4513': 'Saddle B...
var parent = require('../../actual/array-buffer'); module.exports = parent;
/*! * gumshoe v4.0.1 * A simple, framework-agnostic scrollspy script. * (c) 2019 Chris Ferdinandi * MIT License * http://github.com/cferdinandi/gumshoe */ (function (root, factory) { if ( typeof define === 'function' && define.amd ) { define([], (function () { return factory(root); })); } else if ( type...
var Mocks = require("mocks"); var AssistantToTheTransportManager = require('core/transports/assistant_to_the_transport_manager').default; var Util = require('core/util').default; describe("AssistantToTheTransportManager", function() { var transport, transportClass; var manager; beforeEach(function() { jasmi...
const React = require('react') module.exports = () => <div>test2</div>
/*! * Waves v0.5.3 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors * Released under the MIT license * https://github.com/fians/Waves/blob/master/LICENSE */ ;(function(window) { 'use strict'; var Waves = Waves || {}; var $$ = document.querySelectorAll.bind...
/* * Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved. * * 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 * ...
uv.LineGraph = function (graphdef, config) { var self = this; uv.Graph.call(self, graphdef, config).setDefaults().init(); self.linegroups = {}; self.dataset = uv.util.getDataArray(self.graphdef); var linegroup, linepath, linefunc, idx, len = self.categories.length, domainData = self.labels; self.axes...
var _ = require('lodash'), Promise = require('bluebird'), models = require('../../../../models'), utils = require('../../../../utils'), SubscribersImporter = require('./subscribers'), PostsImporter = require('./posts'), TagsImporter = require('./tags'), SettingsImporter = require('./settings...
var utils = require('../../../utils'); module.exports = function CodeType(config) { var self = { selector: '.field-type-code[for="' + config.fieldName + '"]', elements: { label: '.FormLabel', lineNumber: '.CodeMirror-linenumber', codeMirror: '.CodeMirror-container', }, commands: [{ assertUI: funct...
// Run if you want to monitor unresolved promises (in properly working // application there should be no promises that are never resolved) 'use strict'; var max = Math.max , callable = require('es5-ext/lib/Object/valid-callable') , isCallable = require('es5-ext/lib/Object/is-callable') , toUint = r...
define( //begin v1.x content { "field-quarter-short-relative+0": "tento štvrťr.", "field-quarter-short-relative+1": "budúci štvrťr.", "dayPeriods-standAlone-abbr-noon": "pol.", "field-tue-relative+-1": "minulý utorok", "field-year": "rok", "dateFormatItem-yw": "w. 'týždeň' 'v' 'roku' y", "dayPeriods-format-abbr-...
; (function() { var app = angular.module('dashboardApp', [ 'ngRoute', 'dashboard' ]); var dashboard = angular.module('dashboard', []); dashboard.run(function($rootScope, invocationUtils, stringUtils, api, urls) { $rootScope.invocationUtils = invocationUtils; $rootScope...
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize exports="amd" -o ./compat/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigat...
version https://git-lfs.github.com/spec/v1 oid sha256:44bac44ffbed21920407278ce3bc7678e40959a50ea1544d0cb61289445b900e size 3181
/* * * 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 ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
describe('zoom normal animation', function() { var prefixes = { '-webkit-transform': true, '-moz-transform': true, '-o-transform': true, 'transform': true }; var transform; beforeEach(module('ngAnimate')); beforeEach(module('ngAnimateMock')); beforeEach(module('fx.animations')); it("shoul...
/** * Original shader from http://glsl.heroku.com/e#4122.10 * Tweaked, uniforms added and converted to Phaser/PIXI by Richard Davey */ Phaser.Filter.LightBeam = function (game) { Phaser.Filter.call(this, game); this.uniforms.alpha = { type: '1f', value: 1 }; this.uniforms.thickness = { type: '1f'...
/** @ngdoc directive @name umbraco.directives.directive:umbIcon @restrict E @scope @description Use this directive to show an render an umbraco backoffice svg icon. All svg icons used by this directive should use the following naming convention to keep things consistent: icon-[name of icon]. For example <pre>icon-alert...