code
stringlengths
2
1.05M
/* * Tests for Object isSealed(), isFrozen(), isExtensible(), seal(), * and freeze(). */ /*=== sealed: false, frozen: false, extensible: true sealed: true, frozen: false, extensible: false sealed: false, frozen: false, extensible: true sealed: true, frozen: true, extensible: false sealed: false, frozen: false, ex...
version https://git-lfs.github.com/spec/v1 oid sha256:0d45ccaee70cd9c64aaa80088dad7a787cce3bb03528a189912358ecce5f83c9 size 13177
module.exports={title:"Twitch",slug:"twitch",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitch</title><path d="'+this.path+'"/></svg>'},path:"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.57...
/** * Demo.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /*eslint no-console:0 */ define( 'tinymce.plugins.legacyoutput.demo.Demo', [ 'tinymce.core.Editor...
/* eslint-disable no-unused-vars, valid-jsdoc */ const Guild = require('discord.js').Guild; /** * Loads and stores settings associated with guilds * @abstract */ class SettingProvider { constructor() { if(this.constructor.name === 'SettingProvider') throw new Error('The base SettingProvider cannot be instantiate...
/* jshint node: true */ var RSVP = require('rsvp'); var spawn = require('child_process').spawn; function run(command, args, opts) { opts = opts || {}; opts.stdio = 'inherit'; return new RSVP.Promise(function(resolve, reject) { var p = spawn(command, args, opts); p.on('close', function(code){ if (c...
/*jslint browser: true*/ /*global jQuery, console, WPGlobusVendor, wpseoMetaboxL10n, ystUpdateSnippet */ 'use strict'; var wpglobus_wpseo = function () { if (typeof wpseoMetaboxL10n === "undefined") { return; } // @see ystReplaceVariables() function wpglobus_replaceVariables(str, language, callback) { if (t...
const _ = require('lodash'); const buildConfig = require('../../../config/build.config.js'); // We don't need to publish all of a doc's data to the app, that will // add many kilobytes of loading overhead. function publicDocData(doc, extraData) { const options = _.assign(extraData || {}, { hasDemo: (doc.docType === ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S8.8_A2_T1; * @section: 8.8; * @assertion: Values of the List type are simply ordered sequences of values; * @description: Call function __mFunc(1,2,3) with 3 arguments; */ ...
/** * This is a service worker stub, meant only to allow development builds * to load properly. The actual bramble-sw.js file is generated at build * time, see Gruntfile and swPrecache task. */ console.log("[Bramble] Service Worker cache not running in development.");
/** * This plugin creates a summary tag, if missing, from the first sentence in the description. * * @module plugins/summarize */ 'use strict'; exports.handlers = { /** * Autogenerate summaries, if missing, from the description, if present. */ newDoclet: function(e) { var endTag; ...
// jQuery.editable.js v1.1.2 // http://shokai.github.io/jQuery.editable // (c) 2012-2015 Sho Hashimoto <hashimoto@shokai.org> // The MIT License (function($){ var escape_html = function(str){ return str.replace(/</gm, '&lt;').replace(/>/gm, '&gt;'); }; var unescape_html = function(str){ return str.replace...
'use strict' const gunzip = require('./util/gunzip-maybe') const path = require('path') const pipeline = require('mississippi').pipeline const tar = require('tar-fs') module.exports = extractStream function extractStream (dest, opts) { opts = opts || {} const sawIgnores = {} return pipeline(gunzip(), tar.extrac...
define([], function() { return { "PropertyPaneDescription": "Configure todo web part", "BasicGroupName": "Basics" } });
var parent = require('../stable/is-iterable'); module.exports = parent;
import Promise from 'bluebird'; import chalk from 'chalk'; import _fs from 'fs'; import glob from 'glob'; import googleTranslate from 'google-translate'; import R from 'ramda'; import _request from 'request'; import path from 'path'; import prompt from 'prompt'; if (!process.env.TRANSIFEX_KEY) { console.log('TRANSI...
// $Id$ /** * Represents a Solr parameter. * * @param properties A map of fields to set. Refer to the list of public fields. * @class Parameter */ AjaxSolr.Parameter = AjaxSolr.Class.extend( /** @lends AjaxSolr.Parameter.prototype */ { /** * The parameter's name. * * @field * @private * @type...
/** * Base search class for AJAX searching */ !function(global, $) { 'use strict'; function ConcreteAjaxSearch($element, options) { options = options || {}; options = $.extend({ 'result': {}, 'onLoad': false, 'onUpdateResults': false, 'bulkParameterName': 'item' }, options); this.$ele...
var foo = "bar"; var Foo = function Foo(_foo) { "use strict"; babelHelpers.classCallCheck(this, Foo); babelHelpers.defineProperty(this, "bar", this); babelHelpers.defineProperty(this, "baz", foo); };
version https://git-lfs.github.com/spec/v1 oid sha256:23e9e4ad4d2c3a4763bc85d5ceff31b9e0e455ea52fe33d4e724036c6d7414a9 size 3154
#!/usr/bin/env node require('colors'); var browserify = require('browserify'); var EventEmitter = require('events').EventEmitter; var fs = require('fs'); var httpServer = require('http-server'); var nodeunit = require('nodeunit'); var optimist = require('./runner-options'); var Q = require('q'); var querystring = requ...
/*! * utility - lib/optimize.js * * Copyright(c) 2012 - 2014 fengmk2 <fengmk2@gmail.com> * MIT Licensed */ "use strict"; /** * optimize try catch * @param {Function} fn * @return {Object} * - {Error} error * - {Mix} value */ exports.try = function (fn) { var res = { error: undefined, value: u...
/*! * froala_editor v2.8.1 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2018 Froala Labs */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory)...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'maximize', 'et', { maximize: 'Maksimeerimine', minimize: 'Minimeerimine' });
(function () { var colorpicker = (function () { 'use strict'; var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager'); var Color = tinymce.util.Tools.resolve('tinymce.util.Color'); var showPreview = function (win, hexColor) { win.find('#preview')[0].getEl().style.background = hexColor; ...
"use strict"; var app = require("../server"); var request = require("supertest").agent(app.listen()); describe("Errors", function() { it("should return 404", function(done) { request.get("/urlThatDoesNotExist") .accept("json") .expect(404) .end(done); }); });
//related to index.ui
import Table from './table.vue'; export default Table;
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'find', 'sk', { find: 'Hľadať', findOptions: 'Nájsť možnosti', findWhat: 'Čo hľadať:', matchCase: 'Rozlišovať malé a veľké písmená', m...
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; var _excluded = ["children", "header", "viewWidth", "viewHeight", "sizeX", "hasMouse", "onClose", "settlingHeight", "dynamicContentHeight", "getModalContentRef", "nav"]; import {...
var fs = require("fs"); var path = require("path"); var serverJsonPath = path.resolve(process.argv[2]); module.exports = JSON.parse(fs.readFileSync(serverJsonPath, 'utf8'));
$(document).ready(function() { module("Collections"); test("collections: each", function() { _.each([1, 2, 3], function(num, i) { equals(num, i + 1, 'each iterators provide value and iteration count'); }); var answers = []; _.each([1, 2, 3], function(num){ answers.push(num * this.multiplier...
/* Copyright 2013-2015 ASIAL CORPORATION 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 law or agreed to in writing, so...
// @AngularClass require('ts-node/register'); exports.config = { baseUrl: 'http://localhost:3000/', // use `npm run e2e` specs: [ 'src/**/**.e2e.ts', 'src/**/*.e2e.ts' ], exclude: [], framework: 'jasmine', allScriptsTimeout: 110000, jasmineNodeOpts: { showTiming: true, showColors: t...
import{urlAlphabet}from"./url-alphabet/index.js";let random=t=>crypto.getRandomValues(new Uint8Array(t)),customRandom=(o,a,n)=>{let l=(2<<Math.log(o.length-1)/Math.LN2)-1,m=-~(1.6*l*a/o.length);return()=>{let r="";for(;;){var e=n(m);let t=m;for(;t--;)if(r+=o[e[t]&l]||"",r.length===a)return r}}},customAlphabet=(t,r)=>cu...
/** * @author qiao / https://github.com/qiao * @author mrdoob / http://mrdoob.com * @author alteredq / http://alteredqualia.com/ * @author WestLangley / http://github.com/WestLangley * @author erich666 / http://erichaines.com */ /*global THREE, console */ // This set of controls performs orbiting, dollying (zoom...
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * 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 limitatio...
/* exported defaults */ /* Magic Mirror * Config Defauls * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var defaults = { port: 8080, kioskmode: false, electronOptions: {}, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: "en", timeFormat: 24, units: "metric", zoom: 1, m...
#!/usr/bin/env node 'use strict'; const clear = require('clear'); const {join, relative} = require('path'); const theme = require('../theme'); module.exports = ({cwd}, isStableRelease) => { const publishPath = relative( process.env.PWD, join(__dirname, '../publish.js') ); clear(); let message; if...
var pwd = process.cwd(); var helper = require('../integration_test_helper.js'); module.exports = { 'Dynamically created context menu is shown': function (test) { test .open('file://' + pwd + '/test/integration/html/dynamic-create.html') .execute(helper.rightClick, '.context-menu-one') .waitForE...
Route = FlowRouter.Route; Tinytest.addAsync('Client - Route - Reactivity - getParam', function (test, done) { var r = new Route(); Tracker.autorun(function(c) { var param = r.getParam("id"); if(param) { test.equal(param, "hello"); c.stop(); Meteor.defer(done); } }); setTimeout...
/* global NAME */ /** * Home for a Confirmation class. * * @module moodle-core-languninstallconfirm */ /** * A class for a language uninstall confirmation. * * @class M.core.languninstallconfirm * @constructor * @extends Base */ function Confirmation() { Confirmation.superclass.constructor.apply(this, arguments)...
// Copyright 2011 Mark Cavage, Inc. All rights reserved. var test = require('tape').test; var asn1 = require('asn1'); ///--- Globals var EqualityFilter; var BerReader = asn1.BerReader; var BerWriter = asn1.BerWriter; ///--- Tests test('load library', function (t) { var filters = require('../../lib/index').f...
/** * UnionCMS Core * * This file is part of the of the simple cms based on CakePHP 3. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package Core * @license MIT * @copyright MIT License http://www.opensource.org/licenses/mi...
/* * The MIT License * * Copyright (c) 2019 CloudBees, Inc. * * 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, co...
[ { "mask": "+44(113)-###-####", "cc": "UK", "cd": "United Kingdom", "city": "Leeds" }, { "mask": "+44(114)-###-####", "cc": "UK", "cd": "United Kingdom", "city": "Sheffield" }, { "mask": "+44(115)-###-####", "cc": "UK", "cd": "United Kingdom", "city": "Nottingham" }, { "mask": "+44(116)-###-####", "cc"...
require('espower-loader')({ // directory where match starts with cwd: process.cwd(), // glob pattern using minimatch module pattern: 'test/**/*.js', // options for espower module espowerOptions: { powerAssertVariableName: 'assert', targetMethods: { oneArg: [ ...
#!/usr/bin/env node require('../lib/command').run();
Meteor.publish('livechat:integration', function() { if (!this.userId) { return this.error(new Meteor.Error('error-not-authorized', 'Not authorized', { publish: 'livechat:integration' })); } if (!RocketChat.authz.hasPermission(this.userId, 'view-livechat-manager')) { return this.error(new Meteor.Error('error-not...
module.exports={"title":"Kaggle","hex":"20BEFF","source":"https://www.kaggle.com/contact","svg":"<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>Kaggle icon</title><path d=\"M18.825 23.859c-.022.092-.117.141-.281.141h-3.139c-.187 0-.351-.082-.492-.248l-5.178-6.589-1.448 1.374v5.111c0...
// // Copyright (c) Microsoft and contributors. 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...
/^https?:\/\//u.test(string);
var config = require('../../config'), events = require(config.get('paths:corePath') + '/server/events'), models = require(config.get('paths:corePath') + '/server/models'), errors = require(config.get('paths:corePath') + '/server/errors'), logging = require(config.get('paths:corePath') + '/server/logging...
/************************************************************* * * MathJax/localization/zh-hans/FontWarnings.js * * Copyright (c) 2009-2016 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...
// Invalid LHS parameter after type parameters a ? <T>(b => c) : d => (e) : f => g;
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js * * Copyright (c) 2009-2016 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
updateScore = function (args) { var collection = args.collection; var item = args.item; var forceUpdate = args.forceUpdate; // For performance reasons, the database is only updated if the difference between the old score and the new score // is meaningful enough. To find out, we calculate the "power" of a si...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var Observable_1 = require('../Observable'); /**...
import Ember from 'ember'; import ValidationEngine from 'ghost/mixins/validation-engine'; import {request as ajax} from 'ic-ajax'; const {$, Controller, inject} = Ember; export default Controller.extend(ValidationEngine, { submitting: false, loggingIn: false, authProperties: ['identification', 'password']...
/** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'pastefromword', 'bn', { confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSI...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var display_processor_1 = require("../display-pr...
define( //begin v1.x content { "HKD_displayName": "Δολάριο Χονγκ Κονγκ", "CHF_displayName": "Φράγκο Ελβετίας", "JPY_symbol": "JP¥", "CAD_displayName": "Δολάριο Καναδά", "HKD_symbol": "HK$", "CNY_displayName": "Γουάν Κίνας", "USD_symbol": "$", "AUD_displayName": "Δολάριο Αυστραλίας", "JPY_displayName...
'use strict'; module.exports = function(System, app, auth, database) { // Home route var index = require('../controllers/index'); app.route('/') .get(index.render); };
module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // frameworks to use frameworks: ['jasmine'], // list of files / patterns to load in the browser files: [ 'node_modules/sinon/pkg/sinon-1.7.3.js', 'test/...
// Define search commands. Depends on dialog.js or another // implementation of the openDialog method. // Replace works a little oddly -- it will do the replace on the next // Ctrl-G (or whatever is bound to findNext) press. You prevent a // replace by making sure the match is no longer selected when hitting // Ctrl-G...
import { A as emberA } from '../../../system/native_array'; import MutableArrayTests from '../../suites/mutable_array'; MutableArrayTests.extend({ name: 'Native Array', newObject(ary) { return emberA(ary ? ary.slice() : this.newFixture(3)); }, mutate(obj) { obj.pushObject(obj.length + 1); }, toA...
/** * Module exports. */ module.exports = deprecate; /** * Mark that a method should not be used. * Returns a modified function which warns once by default. * * If `localStorage.noDeprecation = true` is set, then it is a no-op. * * If `localStorage.throwDeprecation = true` is set, then deprecate...
/** * Returns the tagName associated with a JSXElement. */ export default function elementType(node = {}) { const { name } = node; if (!name) { throw new Error('The argument provided is not a JSXElement node.'); } if (name.type === 'JSXMemberExpression') { const { object, property } = name; retu...
/* * grunt * https://github.com/cowboy/grunt * * Copyright (c) 2012 "Cowboy" Ben Alman * Licensed under the MIT license. * http://benalman.com/about/license/ */ // ============================================================================ // TASKS // ===========================================================...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalAtm = (props) => ( <SvgIcon {...props}> <path d="M11 17h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2v1zm9-13H4c-1.11 0-1.99.89-1.99 2L2 1...
require('./source-map-support').install({ emptyCacheBetweenOperations: true // Needed to be able to test for failure }); var SourceMapGenerator = require('source-map').SourceMapGenerator; var child_process = require('child_process'); var assert = require('assert'); var fs = require('fs'); function compareLines(actu...
/** * The MIT License (MIT) * * Copyright (c) 2015 Famous Industries Inc. * * 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...
export var tabbarHeight = 48; //# sourceMappingURL=constants.js.map
/** * This indirection is needed to free up Component, etc symbols in the public API * to be used by the decorator versions of these annotations. */ import { makeDecorator } from '../../core_private'; import { CanActivate as CanActivateAnnotation } from './lifecycle_annotations_impl'; export { routerCanDeactivate, r...
export { default as createShallow } from './createShallow'; export { default as createMount } from './createMount'; export { default as createRender } from './createRender'; export { default as findOutermostIntrinsic } from './findOutermostIntrinsic'; export { default as getClasses } from './getClasses'; export { defau...
var resolve = require("path").resolve var createReadStream = require("graceful-fs").createReadStream var readFileSync = require("graceful-fs").readFileSync var tap = require("tap") var cat = require("concat-stream") var server = require("./lib/server.js") var common = require("./lib/common.js") var tgz = resolve(__d...
/* All of the code within the ZingChart software is developed and copyrighted by PINT, Inc., and may not be copied, replicated, or used in any other software or application without prior permission from PINT. All usage must coincide with the ZingChart End User License Agreement which can be requested by email at suppor...
/** * Vidom * @author Filatov Dmitry <dfilatov@inbox.ru> * @version 0.3.19 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.vidom = global.vidom || {})...
/** @constructor */ function Zop() { } /** @class */ Foo = function(id) { // this is a bit twisted, but if you call Foo() you will then // modify Foo(). This is kinda, sorta non-insane, because you // would have to call Foo() 100% of the time to use Foo's methods Foo.prototype.methodOne = function(bar)...
/* Copyright 2014 David Bau. 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, merge, publish, distribute, sublicen...
import { dom, roles, } from 'aria-query'; import { getProp, getLiteralPropValue } from 'jsx-ast-utils'; const abstractRoles = new Set([...roles.keys()] .filter(role => roles.get(role).abstract)); const DOMElements = [...dom.keys()]; const isAbstractRole = (tagName, attributes) => { // Do not test higher leve...
version https://git-lfs.github.com/spec/v1 oid sha256:001262fa01caa953655a6d2f86f0fbcb3e0ce545837c8e5781ce8c5dafd9e4c9 size 1968
import { deprecate } from 'ember-metal/debug'; import calculateLocationDisplay from 'ember-template-compiler/system/calculate-location-display'; /** @module ember @submodule ember-htmlbars */ /** An HTMLBars AST transformation that replaces all instances of ```handlebars {{input on="enter" action="doStuff"}} ...
'use strict'; module.exports = function(Chart) { var helpers = Chart.helpers, globalOpts = Chart.defaults.global, defaultColor = globalOpts.defaultColor; globalOpts.elements.point = { radius: 3, pointStyle: 'circle', backgroundColor: defaultColor, borderWidth: 1, borderColor: defaultColor, // Hover...
/*! * Fine Uploader * * Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com * * Version: 5.3.0-10 * * Homepage: http://fineuploader.com * * Repository: git://github.com/FineUploader/fine-uploader.git * * Licensed only under the Widen Commercial License (http://fineuploader.com/licensing). */ /*globals wind...
var core = require('../core'); /** * Holds all information related to an Interaction event * * @class * @memberof PIXI.interaction */ function InteractionData() { /** * This point stores the global coords of where the touch/mouse event happened * * @member {Point} */ this.global = new ...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.3 * @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 e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
function module.exports
var vows = require("vows"), load = require("../load"), assert = require("../assert"); var suite = vows.describe("selection.append"); suite.addBatch({ "select(body)": { topic: load("selection/append").document(), "on a simple page": { topic: function(d3) { return d3.select("body"); ...
/**! * AngularJS file upload directives and services. Supoorts: file upload/drop/paste, resume, cancel/abort, * progress, resize, thumbnail, preview, validation and CORS * @author Danial <danial.farid@gmail.com> * @version 7.3.6 */ if (window.XMLHttpRequest && !(window.FileAPI && FileAPI.shouldLoad)) { window...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
// ngGrid is also lazy loaded by $ocLazyLoad thanks to the module dependency injection ! angular.module('gridModule', [{ name: 'ui.grid.rowEdit', files: [ 'bower_components/angular-ui-grid/ui-grid.js', 'bower_components/angular-ui-grid/ui-grid.css' ] }]).controller('GridModuleCtrl', function($scope) { con...
/* Japanese initialisation for the jQuery UI date picker plugin. */ /* Written by Kentaro SATO (kentaro@ranvis.com). */ (function($) { $.datepick.regional['ja'] = { clearText: 'クリア', clearStatus: '日付をクリアします', closeText: '閉じる', closeStatus: '変更せずに閉じます', prevText: '&#x3c;前', prevStatus: '前月を表示します', prevBigText:...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'clipboard', 'nb', { copy: 'Kopier', copyError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk t...
/** * @license * Lo-Dash 1.0.0 <http://lodash.com/> * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.4.4 <http://underscorejs.org/> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc. * Available under MIT license <http://lodash.com/license> */ ;(function(wi...
// Copyright 2008 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...
var linksProcessor = require('../processors/add-links'); var _ = require('lodash'); describe('add-links', function() { var addLinks = function(docs) { linksProcessor.process(docs); }; it('should add protractor link', function() { var doc = { fileName: 'protractor', startingLine: 123 }; ...
/** * @module echarts/component/toolbox/feature/DataView */ define(function (require) { var zrUtil = require('zrender/core/util'); var eventTool = require('zrender/core/event'); var BLOCK_SPLITER = new Array(60).join('-'); var ITEM_SPLITER = '\t'; /** * Group series into two types * ...