code
stringlengths
2
1.05M
module.exports = { "env": { "browser": true, "es6": true }, "extends": "eslint:recommended", "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" }, "parserOptions": { "ecmaVersion": 2018 }, "rules": { "accessor-pairs": "erro...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Paper from '....
/* Highmaps JS v8.2.2 (2020-10-22) Tilemap module (c) 2010-2019 Highsoft AS License: www.highcharts.com/license */ (function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/modules/tilemap",["highcharts","highcharts/modules/m...
Tasks = new Mongo.Collection('tasks');
var fs = require('fs-extra'), _ = require('lodash'), url = require('url'), debug = require('ghost-ignition').debug('custom-redirects'), config = require('../config'), errors = require('../errors'), logging = require('../logging'); /** * you can extend Ghost with a custom redirects file * see ...
/** * @license Highstock JS v1.1.5 (2012-03-15) * Prototype adapter * * @author Michael Nelson, Torstein Hønsi. * * Feel free to use and modify this script. * Highcharts license: www.highcharts.com/license. */ // JSLint options: /*global Effect, Class, Event, Element, $, $$, $A */ // Adapter interface between...
var http = require('http'); var util = require('util'); var cheerio = require('cheerio'); // Create an Object from an Array of objects. function toObject(objects, keyName, valueName) { return objects.reduce(function(acc, obj) { acc[obj[keyName]] = obj[valueName]; return acc; }, {}); } function parse(html)...
/*! * jQuery JavaScript Library v1.10.1 -wrap,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * ...
/* */ (function(process) { "use strict"; var rawAsap = require('./browser-raw'); var freeTasks = []; module.exports = asap; function asap(task) { var rawTask; if (freeTasks.length) { rawTask = freeTasks.pop(); } else { rawTask = new RawTask(); } rawTask.task = task; rawTas...
import { isObject } from 'utils/is'; import { getMatchingKeypaths, getKeypath, normalise } from 'shared/keypaths'; import runloop from 'global/runloop'; export default function Ractive$set ( keypath, value ) { var map, promise; promise = runloop.start( this, true ); // Set multiple keypaths in one go if ( isObje...
/** * Impact++ core that requires the primary modules and enhances ImpactJS's core. * @namespace ig * @author Collin Hover - collinhover.com * @example * // getting started with Impact++ is easy! * // add the two basic scripts to the end of your game HTML file: * // first the ImpactJS main script * <script t...
var searchData= [ ['opticaldistance',['OpticalDistance',['../classcom_1_1lasarobotics_1_1library_1_1sensor_1_1modernrobotics_1_1_optical_distance.html',1,'com::lasarobotics::library::sensor::modernrobotics']]] ];
'use strict'; 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]; } } } return target; }; var _slicedToArray = function () { function sl...
//! moment.js locale configuration //! locale : japanese (ja) //! author : LI Long : https://github.com/baryon import moment from '../moment'; export default moment.defineLocale('ja', { months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'...
version https://git-lfs.github.com/spec/v1 oid sha256:f496b65a5c0d027523555084a35b76b6d1560f8cb3bd944963be4cb1dc670eec size 4711
describe('node-jsx', function() { it('should work', function() { require('./index').install(); expect(require('./test-module')).toBe('jonx'); }); });
import { setOwner } from '@ember/-internals/owner'; import { runDestroy, buildOwner, moduleFor, AbstractTestCase } from 'internal-test-helpers'; import Service, { inject as injectService } from '@ember/service'; import { Object as EmberObject } from '@ember/-internals/runtime'; import EmberRoute from '../../lib/system/...
var Model = function ( attributes ) { this.attributes = attributes; this.callbacks = {}; this.transformers = {}; }; Model.prototype = { set: function ( attr, newValue ) { var transformer, oldValue = this.attributes[ attr ]; if ( transformer = this.transformers[ attr ] ) { newValue = transformer.call( this,...
//Written by Nabanita Maji and Cliff Shaffer "use strict"; /*global alert: true, ODSA */ (function ($) { var jsav; var x; var y; var mat1,mat2; var mat1data; var mat2data; function runit() { ODSA.AV.reset(true); jsav = new JSAV($('.avcontainer')); jsav.umsg("The following two matrices need to be ...
import React, { cloneElement } from 'react'; import classNames from 'classnames'; import ValidComponentChildren from './utils/ValidComponentChildren'; const Breadcrumb = React.createClass({ propTypes: { /** * bootstrap className * @private */ bsClass: React.PropTypes.string }, getDefaultP...
#pragma strict var key : int; var input : InputItem; function UpdateInput () { //Just get the values from Unity's input input.got = Input.GetMouseButton(key); input.down = Input.GetMouseButtonDown(key); input.up = Input.GetMouseButtonUp(key); }
'use strict'; /** * SHA512 HMAC based player authentication back-end. Generates tokens * according to the following scheme: * ``` * <PLAYER-TSID>|<HMAC> * ``` * The HMAC consists of the player TSID and a timestamp, hashed with a * secret key. * * Tokens are considered valid if the plain-text TSID matches the ...
'use strict'; const path = require('path'); const childProcess = require('child_process'); const crossSpawn = require('cross-spawn'); const stripFinalNewline = require('strip-final-newline'); const npmRunPath = require('npm-run-path'); const onetime = require('onetime'); const makeError = require('./lib/error'); const ...
module.exports = { env: { development: { presets: [ '@quasar/babel-preset-app' ] }, production: { presets: [ 'es2015-rollup' ], comments: false } } }
/** * SettingsHB Controller * * @description Controller for settings heartbeat dev tool */ (function() { 'use strict'; angular .module('starter.controllers') .controller('SettingsHBCtrl', SettingsHBCtrl); SettingsHBCtrl.$inject = ['$scope', 'NetworkService']; function SettingsHBCtrl($scope, Netwo...
require("should"); var dataUtil = require("../../../data-util/production/finishing-printing/daily-operation-data-util"); var helper = require("../../../helper"); var validate = require("dl-models").validator.production.finishingPrinting.dailyOperation; var codeGenerator = require('../../../../src/utils/code-generator')...
YUI.add('tabview-base', function (Y, NAME) { var getClassName = Y.ClassNameManager.getClassName, TABVIEW = 'tabview', TAB = 'tab', PANEL = 'panel', SELECTED = 'selected', EMPTY_OBJ = {}, DOT = '.', TabviewBase = function() { this.init.apply(this, arguments); }; TabviewBase.NAM...
(function(root, factory) { if (typeof define === "function" && define.amd) { define(function() { return factory(root); }); } else if (typeof module === "object" && module.exports) { module.exports = factory(root); } else { root.lottie = factory(root); ...
var IFCObj=function(){var a={statusChange:null,ySandboxFrame:null,findSandboxFrame:function(){frames&&frames.ifc_frame?(_dumpy(1,1,"MAIN: looking for bridge from 'ifc_frame'"),a.ySandboxFrame=frames.ifc_frame.contentWindow||frames.ifc_frame.contentDocument||frames.ifc_frame):(_dumpy(1,1,"MAIN: looking for bridge from '...
module.exports={A:{A:{"2":"K D G E A B gB"},B:{"2":"1 C d J M H I"},C:{"2":"0 1 2 3 5 6 7 8 9 dB EB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z GB AB CB DB XB WB"},D:{"2":"0 1 2 3 5 6 7 8 9 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k ...
require("requirish")._(module); var factories = require("lib/misc/factories"); var ObjWithIntegerId_Schema = { id: factories.next_available_id(), name: "ObjWithIntegerId", fields: [ {name: "title", fieldType: "UAString"}, { name: "requestHandle", fieldType: "IntegerId" ...
'use strict' const Bignumber = require('bignumber.js') exports.MT = { POS_INT: 0, NEG_INT: 1, BYTE_STRING: 2, UTF8_STRING: 3, ARRAY: 4, MAP: 5, TAG: 6, SIMPLE_FLOAT: 7 } exports.TAG = { DATE_STRING: 0, DATE_EPOCH: 1, POS_BIGINT: 2, NEG_BIGINT: 3, DECIMAL_FRAC: 4, BIGFLOAT: 5, BASE64URL_...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import { unstable_com...
import * as CounterState from './CounterState'; import * as NavigationState from '../../modules/navigation/NavigationState'; import React, {PropTypes} from 'react'; import { StyleSheet, TouchableOpacity, Image, Text, View } from 'react-native'; const CounterView = React.createClass({ propTypes: { count...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _helperPluginUtils() { const data = require("@babel/helper-plugin-utils"); _helperPluginUtils = function () { return data; }; return data; } function _core() { const data = require("@babe...
var name = "First Emblem of Grendaline"; var collection_type = 0; var is_secret = 0; var desc = "Got your first Grendaline Emblem"; var status_text = "Lo, meek one. For granting me the dues I so richly deserve, I have granted you 1000 favor points. And now I guess I will grant you this Emblem of Grendaline. Lo!"; v...
//jshint strict: false module.exports = function(config) { config.set({ basePath: './app', frameworks: ['jasmine'], files: [ 'lib/jquery.min.js', 'lib/angular.min.js', 'lib/angular-route.min.js', 'lib/angular-mocks.js', 'lib/firebase.js', 'lib/angularfire.min.js', 'js/*.js',...
define(['mobs', 'items', 'npcs', 'warrior', 'chest'], function(Mobs, Items, NPCs, Warrior, Chest) { var EntityFactory = {}; EntityFactory.createEntity = function(kind, id, name) { if(!kind) { log.error("kind is undefined", true); return; } if(!_.isFunction...
var name = "Order of the Hoarder"; var collection_type = 0; var is_secret = 0; var desc = "Crafted 211 Storage Display Boxes"; var status_text = "With your 211 magnificently crafted Storage Display Boxes, you have truly joined - if not founded - the Order of the Hoarder. Take your commemorative badge, and display i...
var parser = require('../index.js'); var expect = require('expect.js'); var helpers = require('./helpers.js'); var encode = parser.encode; var decode = parser.decode; var BlobBuilder = global.BlobBuilder || global.WebKitBlobBuilder || global.MSBlobBuilder || global.MozBlobBuilder; describe('parser', function() { it...
/** @module ember @submodule ember-runtime */ // .......................................................... // HELPERS // import Ember from 'ember-metal/core'; // ES6TODO: Ember.A import symbol from 'ember-metal/symbol'; import { get } from 'ember-metal/property_get'; import { computed, cacheFor } from 'ember-met...
/** * Link to list * * Usage: * <ma-list-button entity="entity" size="xs"></ma-list-button> */ function maListButtonDirective($state) { return { restrict: 'E', scope: { entity: '&', entityName: '@', size: '@', label: '@', }, link: ...
/* globals WebAppHashing */ import less from 'less'; import Autoprefixer from 'less-plugin-autoprefix'; import crypto from 'crypto'; const logger = new Logger('rocketchat:theme', { methods: { stop_rendering: { type: 'info' } } }); WebApp.rawConnectHandlers.use(function(req, res, next) { const path = req.ur...
/* eslint quote-props: ["error", "as-needed"] */ import React, { Component, PropTypes } from 'react'; import { findDOMNode } from 'react-dom'; import { css } from 'glamor'; import { FormInput, Glyph, GlyphButton } from '../../../elemental'; import theme from '../../../../theme'; class EditFormHeaderSearch extends Com...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > Result of boolean conversion from nonempty string value (length is not zero) is true; from empty String (length is zero) is false es5id: 9.2_A5_T4 description: Any n...
var parent = require('../../stable/string/replace-all'); module.exports = parent;
var isCanvasSupportsStreamCapturing = false; var isVideoSupportsStreamCapturing = false; ['captureStream', 'mozCaptureStream', 'webkitCaptureStream'].forEach(function(item) { // asdf if(item in document.createElement('canvas')) { isCanvasSupportsStreamCapturing = true; } if(item in document.cr...
var searchData= [ ['filter',['filter',['../interface_chipmunk_multi_grab.html#aa494a368c4c817b4613555ad15a2ac70',1,'ChipmunkMultiGrab::filter()'],['../interface_chipmunk_shape.html#ac7feb7912cc5469386b60d57c6fc37c8',1,'ChipmunkShape::filter()']]], ['flags',['flags',['../structcp_space_debug_draw_options.html#a1b4b5...
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
var _ = require('../util') var Cache = require('../cache') var templateCache = new Cache(1000) var idSelectorCache = new Cache(1000) var map = { _default: [0, '', ''], legend: [1, '<fieldset>', '</fieldset>'], tr: [2, '<table><tbody>', '</tbody></table>'], col: [ 2, '<table><tbody></tbody><colgroup>', ...
/** * (c) 2009-2020 Sebastian Bochann * * Price indicator for Highcharts * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! */ 'use strict'; import H from '../Core/Globals.js'; import U from '../Core/Utilities.js'; var addEvent = U.addEvent, isA...
/* * * * (c) 2010-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import Chart from './Chart/Chart.js'; import U from './Utilities.js'; var find = U.find, isArray = U.isArray, isObject = U.isObject, ...
;(function(win){ var store = {}, doc = win.document, localStorageName = 'localStorage', namespace = '__storejs__', storage store.disabled = false store.set = function(key, value) {} store.get = function(key) {} store.remove = function(key) {} store.clear = function() {} store.transact = function(key, de...
var BookListItem = React.createClass({ handleClick: function(event) { console.log('an item is clicked', this.props.book) this.props.onListItemClicked(this.props.book.id) }, render: function() { var book = this.props.book return ( <div className="book row" > ...
/* * Pass a function to whenReady() and it will be invoked (as a method of the * document) when the document is parsed and ready for manipulation. Registered * functions are triggered by the first DOMContentLoaded, readystatechange, or * load event that occurs. Once the document is ready and all functions have * b...
module.exports = require('./NativeSafeComponent');
/** * @file 支持的命令列表 * @author mengke01(kekee000@gmail.com) */ define( function (require) { var lang = require('common/lang'); var support = {}; lang.extend(support, require('./shape')); lang.extend(support, require('./transform')); lang.extend(support, require('./align'...
Meteor.methods({ doesArticleExist: function(slug) { return Article.first({ slug: slug }) }, isItArchy: function() { if (Meteor.user()) { if (Meteor.user().admin == 1) { return true; } } return false; } }); Artic...
'use strict'; module.exports = jsonpRequest; var errors = require('../errors'); var JSONPCounter = 0; function jsonpRequest(url, opts, cb) { if (opts.method !== 'GET') { cb(new Error('Method ' + opts.method + ' ' + url + ' is not supported by JSONP.')); return; } opts.debug('JSONP: start'); var cb...
version https://git-lfs.github.com/spec/v1 oid sha256:584e77eaff3bcc18c7dbe5c416bbd5f9ac05b2ae37928f292cdf7994cda86a4d size 1437
ko.bindingHandlers['text'] = { 'update': function (element, valueAccessor) { ko.utils.setTextContent(element, valueAccessor()); } }; ko.virtualElements.allowedBindings['text'] = true;
describe('<md-toolbar>', function() { var pageScope, element, controller; var $rootScope, $timeout; beforeEach(function() { module('material.components.toolbar', function($controllerProvider) { $controllerProvider.register('MockController', function() {}); }); }); beforeEach(inject(function(_$...
run_spec(__dirname, ["html"]); run_spec(__dirname, ["html"], { printWidth: 1 }); run_spec(__dirname, ["html"], { printWidth: Number.POSITIVE_INFINITY }); run_spec(__dirname, ["html"], { htmlWhitespaceSensitivity: "strict" }); run_spec(__dirname, ["html"], { htmlWhitespaceSensitivity: "ignore" });
/** * @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 { APP_BASE_HREF, HashLocationStrategy, LOCATION_INITIALIZED, Location, LocationStrategy, PathLocationStrategy,...
'use strict'; var bodyParser = require('body-parser'); var config = require('./config'); var errorhandler = require('errorhandler'); var express = require('express'); var historyApiFallback = require('connect-history-api-fallback'); var log4js = require('log4js'); var methodOverride = require('method-override'); var m...
/** * @file Contains all dynamic functionality needed on post and term pages. * * @output wp-admin/js/post.js */ /* global ajaxurl, wpAjax, postboxes, pagenow, tinymce, alert, deleteUserSetting, ClipboardJS */ /* global theList:true, theExtraList:true, getUserSetting, setUserSetting, commentReply, commentsBox */...
import Transaction from '../../transaction'; import inherits from 'inherits'; const debug = require('debug')('knex:tx') import * as helpers from '../../helpers'; import { assign, isUndefined } from 'lodash' function Transaction_MySQL2() { Transaction.apply(this, arguments) } inherits(Transaction_MySQL2, Transactio...
// { "framework": "Vue" } /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /****...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator x >>> y uses [[Default Value]] es5id: 11.7.3_A2.2_T1 description: If Type(value) is Object, evaluate ToPrimitive(value, Number) ---*/ //CHECK#1 if ({valueOf: functio...
var code = `var foo = 1; if (x) { const bar = 1; }`; var innerScope = true; var res = transform(code, { plugins: opts.plugins.concat([ function (b) { var t = b.types; return { visitor: { Scope: { exit: function(path) { if (innerScope) { ex...
/**************************************************************************** The MIT License (MIT) Copyright (c) 2013 Apigee 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 with...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
/*! jQuery UI - v1.10.4 - 2014-05-12 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["janvier","février","mars","avril","m...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'templates', 'hi', { button: 'टॅम्प्लेट', emptyListMsg: '(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)', insertOption: 'मूल शब्दों को बदलें', ...
var five = require("../lib/johnny-five.js"), board, photoresistor; board = new five.Board(); board.on("ready", function() { // Create a new `photoresistor` hardware instance. photoresistor = new five.Sensor({ pin: "A2", freq: 250 }); // Inject the `sensor` hardware into // the Repl instance's ...
/** * Copyright (c) 2015-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 patent rights can be found in the PATENTS file in the same directory. * * @provides...
'use strict'; /** * Module dependencies. */ var fs = require('fs'), http = require('http'), https = require('https'), express = require('express'), socketio = require('socket.io'), morgan = require('morgan'), bodyParser = require('body-parser'), session = require('express-session'), compress = require('compr...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'colordialog', 'zh', { clear: 'Clear', // MISSING highlight: 'Highlight', // MISSING options: 'Color Options', // MISSING selected: 'Sel...
'use strict'; var assert = require('assert'); var fs = require('fs'); var os = require('os'); var asar = require('../lib/asar'); var compDirs = require('./util/compareDirectories'); describe('api', function() { it('should create archive from directory', function(done) { asar.createPackage('test/input/packthis...
(function () { TaxonomyTranslation.models.Term = Backbone.Model.extend({ idAttribute: "term_taxonomy_id", defaults: function () { return { name: false, trid: false, term_taxonomy_id: false, language_code: false, slug: false, parent: false, correctedParent: false, description: f...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'toolbar', 'nb', { toolbarCollapse: 'Skjul verktøylinje', toolbarExpand: 'Vis verktøylinje', toolbarGroups: { document: 'Dokument', ...
'use strict'; var isPromise = require('../../is-promise') , deferred = require('../../deferred'); module.exports = function (t) { var x = {}, y = {}, e = new Error(); return { Limit: function (a) { a.deep(t([x, 34, 'raz'], 2), [x, 34]); }, Extend: function (a) { a.deep(t([x, 34, 'raz'], 5), [x, 34, '...
define(['./underscore', './_baseIteratee', './iteratee'], function (underscore, _baseIteratee, iteratee) { // The function we call internally to generate a callback. It invokes // `_.iteratee` if overridden, otherwise `baseIteratee`. function cb(value, context, argCount) { if (underscore.iteratee !== iterate...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('glamor')) : typeof define === 'function' && define.amd ? define(['react', 'glamor'], factory) : (global.glamorous = factory(global.React,global.Glamor)); }(this, (function ...
/** * * @authors Your Name (you@example.org) * @date 2015-10-30 14:50:51 * @version $Id$ */ $(function(){ dropdown.init(); });
/* * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from './Globals.js'; import './Utilities.js'; var Axis = H.Axis, getMagnitude = H.getMagnitude, normalizeTickInterval = H.normalizeTickInterval, timeUnits = H.timeUnits; /** * Set the tick position...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Undo/Redo system for saving shapshot for document modification * and other recordable changes. */ (function() { CKEDITOR.plugins.add( '...
/** * @jsx React.DOM */ var _ = require('lodash'); var React = require('react/addons'); var Loader = require('../../common/loader.js'); var DataTable = require('./data_table.js'); var KeenViz = require('./keen_viz.js'); var ExplorerUtils = require('../../../utils/ExplorerUtils'); var FormatUtils = require('../../../...
/****** * Comment Canvas Core For HTML5 VideoPlayers * Author : Jim Chen * Licensing : MIT License ******/ Array.prototype.remove = function(obj){ for(var a = 0; a < this.length;a++) if(this[a] == obj){ this.splice(a,1); break; } }; Array.prototype.bsearch = function(what,how){ if(this.length =...
/** @jsx React.DOM */ var assert = require('chai').assert; var _ = require('lodash'); var sinon = require('sinon'); var FilterValueFields = require('../../../../client/js/app/components/common/filter_value_fields.js'); var Geo = require('../../../../client/js/app/components/common/geo.js'); var Datepicker = require('.....
/* @flow */ "use strict" const hasInterpolation = require("../utils/hasInterpolation") /** * Check whether a value is standard */ module.exports = function (value/*: string*/)/*: boolean*/ { // SCSS variable if (value[0] === "$") { return false } // Less variable if (value[0] === "@") { return fal...
/** * jQuery Unveil2 * A very lightweight jQuery plugin to lazy load images * Based on https://github.com/luis-almeida/unveil * * Licensed under the MIT license. * Copyright 2015 Joram van den Boezem * https://github.com/hongaar/unveil2 */ /*global console, window */ (function ($) { "use strict"; ...
require("chai").should(); var Repos = require('../../../app/collections/repos'); describe('Repos', function() { it('should have a default url if params.user is not specified', function() { var repos = new Repos(); repos.url().should.equal('/repositories'); }); it('should have a unique url if params.us...
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of t...
module configurationModule from 'torii/configuration'; var configuration = configurationModule.default, configurable = configurationModule.configurable; var originalConfiguration = configuration.test, Testable = Ember.Object.extend({ configNamespace: 'test', required: configurable('apiKey'), ...
import propsToAriaRole from"./propsToAriaRole";var roleComponents={article:"article",banner:"header",complementary:"aside",contentinfo:"footer",form:"form",link:"a",list:"ul",listitem:"li",main:"main",navigation:"nav",region:"section"},emptyObject={},propsToAccessibilityComponent=function(o){if(void 0===o&&(o=emptyObje...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass; exports.default = void 0; var _unstyled = require("@material-ui/unstyled"); function getOutlinedInputUtilityClass(slot) { return (0, _unstyled.generateUtilityClass)('M...
(function() { // Default to the local version. var path = '../libs/jquery/jquery.js'; // Get any jquery=___ param from the query string. var jqversion = location.search.match(/[?&]jquery=(.*?)(?=&|$)/); // If a version was specified, use that version from code.jquery.com. if (jqversion) { path = ...
'use strict'; /* global describe, it, beforeEach */ var helper = require('../testHelpers/jsdomHelper'); helper(); var unexpected = require('unexpected'); var unexpectedDom = require('unexpected-dom'); var unexpectedSinon = require('unexpected-sinon'); var sinon = require('sinon'); var expect = unexpected .clone() ...
/* jQuery Tags Input Plugin 1.3.3 Copyright (c) 2011 XOXCO, Inc Documentation for this plugin lives here: http://xoxco.com/clickable/jquery-tags-input Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php ben@xoxco.com */ (function($) { var delimiter = new Array(); var t...