code
stringlengths
2
1.05M
import magicAdaptor from './magic'; import arrayAdaptor from './array/index'; var magicArrayAdaptor, MagicArrayWrapper; if ( magicAdaptor ) { magicArrayAdaptor = { filter: function ( object, keypath, ractive ) { return magicAdaptor.filter( object, keypath, ractive ) && arrayAdaptor.filter( object ); }, wra...
require('../../modules/es.object.is-extensible'); module.exports = require('../../internals/path').Object.isExtensible;
module.exports = { 'desc' : 'List All Forms Deployed To An Environment', 'examples' : [{ cmd : 'fhc appforms environments forms list --environment=<ID Of Environment To List Forms>', desc : 'List All Forms Deployed To An Environment'}], 'demand' : ['environment'], 'alias' : {}, 'describe' : { 'environmen...
/* * ============================================================= * dust helpers * ============================================================= * */ //umd pattern (function (root, factory) { if (typeof module !== 'undefined' && module.exports) { //commonjs module.exports = factory(require(...
version https://git-lfs.github.com/spec/v1 oid sha256:08869a2140f73bac2be4473782de5830e8c9b0e78e547c6f6063eeb44c4c5e82 size 2327
'use strict'; describe('Directive: sumaCsvHourly', function () { // load the directive's module beforeEach(module('sumaAnalysis')); beforeEach(module('csvHourlyMock')); // load the directive's template beforeEach(module('views/directives/csv.html')); var element, scope, Ctrlscope, Moc...
const stampit = require('../src/stampit'); const _ = require('lodash'); const assert = require('assert'); // Composing behaviors. /** * Implements convertOne() method for future usage. */ const DbToApiCommodityConverter = stampit.methods({ convertOne(entity) { var keysMap = {_id: 'id'}; return _.mapKeys(_...
module.exports = function(grunt) { "use strict"; // List required source files that will be built into wysihtml5x.js var base = [ "src/wysihtml5.js", "src/polyfills.js", "node_modules/rangy/lib/rangy-core.js", "node_modules/rangy/lib/rangy-textrange.js", "node_modules/rangy/lib/rangy-selecti...
/** * SmartEditor2 NHN_Library:SE2.3.10.O11329:SmartEditor2.0-OpenSource * @version 11329 */ var nSE2Version = 11329;if(typeof window.nhn=='undefined') window.nhn = {}; /** * @fileOverview This file contains a function that takes care of various operations related to find and replace * @name N_FindReplac...
import React from 'react'; import Button from '../../src/Button'; import FABButton from '../../src/FABButton'; import IconButton from '../../src/IconButton'; import Icon from '../../src/Icon'; class Demo extends React.Component { render() { return ( <div> <h1>Colored FAB Button<...
var moment = require("../../index"); exports["Asia/Aden"] = { "1949" : function (t) { t.equal(moment("1949-12-31T21:00:05+00:00").tz("Asia/Aden").format("HH:mm:ss"), "23:59:59", "1949-12-31T21:00:05+00:00 should be 23:59:59 LMT"); t.equal(moment("1949-12-31T21:00:06+00:00").tz("Asia/Aden").format("HH:mm:ss"), "0...
/*jshint node:true, laxbreak:true */ 'use strict'; module.exports = function(grunt) { grunt.config.merge({ /** * Turns any JSON files into JavaScript files. */ json: { jsonToJS: { options: { namespace: 'JSON_DATA', ...
/** * optimize.js - frame optimizer for ttystudio * Copyright (c) 2015, Christopher Jeffrey (MIT License). * https://github.com/chjj/ttystudio */ /** * Optimizer */ function Optimizer(options) { this.options = options || {}; } Optimizer.prototype.reset = function(frame) { delete this.damage; }; Optimizer....
/*!@license * Infragistics.Web.ClientUI data source localization resources 15.1.20151.1005 * * Copyright (c) 2011-2015 Infragistics Inc. * * http://www.infragistics.com/ * */ /*global jQuery */ (function ($) { $.ig = $.ig || {}; if (!$.ig.DataSourceLocale) { $.ig.DataSourceLocale = {}; $.extend($....
'use strict'; // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ var rule = require('../rules/no-jquery-angularelement'); var RuleTester = require('eslint').RuleTester; var commonFalsePosit...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
var common = require('../common.js'); var assert = require('assert'); var Signal = process.binding('signal_wrap').Signal; // Test Signal `this` safety // https://github.com/joyent/node/issues/6690 assert.throws(function() { var s = new Signal(); var nots = { start: s.start }; nots.start(9); }, TypeError);
/** * @license React * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'u...
import{generateUtilityClass,generateUtilityClasses}from"@material-ui/unstyled";export function getSnackbarUtilityClass(t){return generateUtilityClass("MuiSnackbar",t)};var snackbarClasses=generateUtilityClasses("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOrigin...
function rad(deg) { return deg * PI / 180; } function deg(rad) { return rad / PI * 180; } function pixelToGeo(x, y) { var res = {}; x /= MAP_SIZE; y /= MAP_SIZE; res[LAT] = y <= 0 ? 90 : y >= 1 ? -90 : deg(2 * atan(exp(PI * (1 - 2*y))) - HALF_PI); res[LON] = (x === 1 ? 1 : (x%1 + 1) % 1) * 360 - 180;...
'use strict'; module.exports = require('./lib/asyncLoop');
'use strict'; var getBuiltIn = require('../internals/get-built-in'); var uncurryThis = require('../internals/function-uncurry-this'); var aCallable = require('../internals/a-callable'); var lengthOfArrayLike = require('../internals/length-of-array-like'); var toObject = require('../internals/to-object'); var arraySpeci...
$(function(){ $(".win-homepage").click(function(){ if(document.all){ document.body.style.behavior = 'url(#default#homepage)'; document.body.setHomePage(document.URL); }else{alert("设置首页失败,请手动设置!");} }); $(".win-favorite").click(function(){ var sURL=document.URL; var sTitle=doc...
// 43: array - `Array.prototype.values` // To do: make all tests pass, leave the assert lines unchanged! describe('`Array.prototype.values` returns an iterator for all values in the array', () => { it('`values()` returns an iterator', function() { const arr = ['k', 'e', 'y']; const iterator = arr.values();...
'use strict'; require('./testUtils'); var utils = require('../lib/utils'); var expect = require('chai').expect; describe('utils', function() { describe('makeURLInterpolator', function() { it('Interpolates values into a prepared template', function() { var template = utils.makeURLInterpolator('/some/url/...
/*! * iButton jQuery Plug-in * * Copyright 2011 Giva, Inc. (http://www.givainc.com/labs/) * * 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/LICEN...
var forever = require('forever-monitor'); var child = new (forever.Monitor)('app.js', { max: 3 }); child.on('exit', function () { console.warn('app.js has exited after 3 restarts'); }); child.start();
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.1.3.2_A1.13_T1; * @section: 15.1.3.2; * @assertion: If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B), throw URIError; * @description: Complex t...
const R = require('ramda') const Type = require('union-type') const patch = require('snabbdom').init([ require('snabbdom/modules/class'), require('snabbdom/modules/props'), require('snabbdom/modules/eventlisteners'), require('snabbdom/modules/style'), ]); const h = require('snabbdom/h') require('./style.css') ...
require([ 'jquery', 'underscore', 'routing', 'oroui/js/mediator', 'orotranslation/js/translator' ], function($, _, routing, mediator, __) { 'use strict'; $(function() { var _searchFlag = false; var timeout = 700; var searchBarContainer = $('#search-div'); ...
import angular from 'angular'; // Create the module where our functionality can attach to let dashboardModule = angular.module('app.dashboard', []); // Include our UI-Router config settings import DashboardConfig from './dashboard.config'; dashboardModule.config(DashboardConfig); // Controllers import DashboardCtrl ...
var QueryCommand = require('./query_command').QueryCommand, InsertCommand = require('./insert_command').InsertCommand, inherits = require('util').inherits, debug = require('util').debug, crypto = require('crypto'), inspect = require('util').inspect; /** Db Command **/ var DbCommand = exports.DbCommand = fu...
'use strict'; module.exports = function (client) { client.disco.addFeature('vcard-temp'); client.getVCard = function (jid, cb) { return this.sendIq({ to: jid, type: 'get', vCardTemp: true }, cb); }; client.publishVCard = function (vcard, cb) { ...
/* ============================================================ * DataTables * Generate advanced tables with sorting, export options using * jQuery DataTables plugin * For DEMO purposes only. Extract what you need. * ============================================================ */ (function($) { 'use strict'; ...
module.exports = { 'name': 'setIsSubset', 'category': 'Set', 'syntax': [ 'setIsSubset(set1, set2)' ], 'description': 'Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before...
const GroupStore = require('app/stores/groupStore'); const SelectedGroupStore = require('app/stores/selectedGroupStore'); describe('SelectedGroupStore', function() { beforeEach(function() { SelectedGroupStore.records = {}; this.sandbox = sinon.sandbox.create(); this.trigger = this.sandbox.spy(SelectedG...
module.exports = { entry: "./index", performance: false };
function good() { let obj = { val: true }; return { data: obj }; }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const webpackMerge = require('webpack-merge'); const config_1 = require("./config"); const webpack_configs_1 = require("./webpack-configs"); const path = require('path'); class NgCliWebpackConfig { constructor(buildOptions, appConfig) { ...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of so...
var common = require("./common") , odbc = require("../") , db = new odbc.ODBC() , assert = require("assert") , exitCode = 0 ; db.createConnection(function (err, conn) { conn.openSync(common.connectionString); conn.createStatement(function (err, stmt) { var r, result, caughtError; //try ex...
module.exports={A:{A:{"1":"E B A","2":"UB","8":"J","132":"C G"},B:{"1":"D X g H L"},C:{"1":"0 2 4 F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s QB PB","2":"1 SB"},D:{"1":"0 2 4 8 F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p...
var Cancel = require('../../../lib/cancel/Cancel'); describe('Cancel', function() { describe('toString', function() { it('returns correct result when message is not specified', function() { var cancel = new Cancel(); expect(cancel.toString()).toBe('Cancel'); }); it('returns correct result wh...
// @flow export default class Rocket { country: string; year: number; name: string; constructor (country: string, name: string, year: number) { this.country = country; this.name = name; this.year = year; } launch (payload: number) { if (payload < 0 |...
/** @license * @pnp/config-store v1.1.1 - pnp - provides a way to manage configuration within your application * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https:github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issu...
// Custom jQuery // ----------------------------------- (function(window, document, $, undefined){ $(function(){ // BOOTSTRAP SLIDER CTRL // ----------------------------------- $('[data-ui-slider]').slider(); // CHOSEN // ----------------------------------- $('.chosen...
/*! * jQuery JavaScript Library v1.11.0 -css,-css/addGetHookIf,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/support,-css/swap,-css/var/cssExpand,-css/var/isHidden,-css/var/rmargin,-css/var/rnumnonpx,-effects,-effects/Tween,-effects/animatedSelector,-effects/support,-dimensions,-offset * http://jqu...
'use strict'; var util = require('./util'); var red = util.color.red; module.exports = function (report, errorsOnly) { var buf = ''; Object.keys(report.files).forEach(function (file) { var issues = report.files[file]; if (!issues.length) { if (!errorsOnly) { buf += util.color.green('PASS')...
/*! * reveal.js 2.0 r22 * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se */ var Reveal = (function(){ var HORIZONTAL_SLIDES_SELECTOR = '.reveal .slides>section', VERTICAL_SLIDES_SELECTOR = '.reveal .slides>section.present>section', IS_TOUCH_DEVIC...
"use strict"; var tsApi = require('./tsapi'); var utils = require('./utils'); var fs = require('fs'); var path = require('path'); var libDirectory = '__lib/'; var Host = (function () { function Host(typescript, currentDirectory, input, externalResolve, libFileName) { var _this = this; this.getCurren...
CKEDITOR.plugins.setLang('youtube', 'nl', { button : 'Youtube video insluiten', title : 'Youtube video insluiten', txtEmbed : 'Plak embedcode hier', txtUrl : 'Plak video URL', txtWidth : 'Breedte', txtHeight : 'Hoogte', chkRelated : 'Toon gesuggereerde video aan het einde van de video', txtStartAt : 'St...
var Lab = require('lab'); var Code = require('code'); var Path = require('path'); var Config = require('../../../config'); var Manifest = require('../../../manifest'); var Hapi = require('hapi'); var HapiAuth = require('hapi-auth-cookie'); var Proxyquire = require('proxyquire'); var AuthPlugin = require('../../../serve...
/*global process:false*/ /*global module:true*/ /*global exports:true*/ "use strict"; var transform = require('jstransform').transform; var visitors = require('./visitors'); /** * @typechecks * @param {string} source * @param {object?} options * @param {array?} excludes * @return {string} */ function transformA...
/* Riot v3.8.1, @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.riot = factory()); }(this, (function () { 'use strict'; var __TAGS_CACHE = []; var __TAG_IM...
!function(o){function r(t){if(e[t])return e[t].exports;var n=e[t]={exports:{},id:t,loaded:!1};return o[t].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var e={};return r.m=o,r.c=e,r.p="",r(0)}([function(o,r){o.exports={el:"#info",data:{info:window.$info}},Vue.ready(o.exports)}]);
var env; var SuperVillain, HomePlanet, EvilMinion; var run = Ember.run; module("integration/multiple_stores - Multiple Stores Tests", { setup: function() { SuperVillain = DS.Model.extend({ firstName: DS.attr('string'), lastName: DS.attr('string'), homePlanet: DS.belongsTo('hom...
/* Poke-Anagrams */ var Anagrams = require('./constructors.js').Anagrams; var RandomGenerator = require('./pokerand.js'); function send (room, str) { Bot.say(room, str); } function trans (data, room) { var lang = Config.language || 'english'; if (Settings.settings['language'] && Settings.settings['language'][roo...
import { get } from '@ember/-internals/metal'; import { AbstractTestCase, runLoopSettled } from 'internal-test-helpers'; import { runArrayTests, newFixture } from '../helpers/array'; class RemoveObjectTests extends AbstractTestCase { '@test should return receiver'() { let before = newFixture(3); let obj = th...
angular.module('typicms').directive('highlighter', ['$timeout', function ($timeout) { return { restrict: 'A', link: function (scope, element, attrs) { scope.$watch(attrs.highlighter, function (nv, ov) { if (nv !== ov) { // apply class ...
/** * @fileoverview Rule to flag the use of redundant constructors in classes. * @author Alberto Rodríguez * @copyright 2015 Alberto Rodríguez. All rights reserved. * See LICENSE file in root directory for full license. */ "use strict"; //---------------------------------------------------------------------------...
'use strict'; /* global jqLiteRemove */ var ngOptionsMinErr = minErr('ngOptions'); /** * @ngdoc directive * @name ngOptions * @restrict A * * @description * * The `ngOptions` attribute can be used to dynamically generate a list of `<option>` * elements for the `<select>` element using the array or object obt...
!function(n){n(function(){n(document).trigger("enhance.tablesaw")})}(shoestring||jQuery);
#!/usr/bin/env node var args = process.argv; var SDC = require('../lib/statsd-client'), sdc = new SDC({ host: 'localhost', prefix: args[2] || 'data.generator' }), rand, time = new Date(), iterations = 0; function sendSomeData() { iterations += 1; if (iterations % 10 === 0) ...
'use strict'; var agents = require('caniuse-db/data.json').agents; module.exports = { formatBrowserName: function formatBrowserName(browserKey, versions) { var browserName = (agents[browserKey] || {}).browser; if (!versions) { return browserName; } return browserName + ' (' + versions.join(','...
/*! * Justified Gallery - v3.6.5 * http://miromannino.github.io/Justified-Gallery/ * Copyright (c) 2018 Miro Mannino * Licensed under the MIT license. */ (function($) { function hasScrollBar() { return $("body").height() > $(window).height(); } /** * Justified Gallery controller constructor * *...
/*! * Ext JS Library 3.2.1 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ Ext.lib.Point = function(x, y) { if (Ext.isArray(x)) { y = x[1]; x = x[0]; } var me = this; me.x = me.right = me.left = me[0] = x; ...
/* globals RSVP:true */ import Ember from 'ember-metal/core'; import { assert } from 'ember-metal/debug'; import Logger from 'ember-metal/logger'; import run from 'ember-metal/run_loop'; import * as RSVP from 'rsvp'; var testModuleName = 'ember-testing/test'; var Test; var asyncStart = function() { if (Ember.Test ...
// I18N constants // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 // Author: Mihai Bazon, http://dynarch.com/mishoo // FOR TRANSLATORS: // // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE // (at least a valid email address) // // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; // (if this is not pos...
/* * ------------------------------------------ * 清除样式命令封装实现文件 * @version 1.0 * @author cheng-lin(cheng-lin@corp.netease.com) * ------------------------------------------ */ /** util/editor/command/format */ NEJ.define([ 'base/global', 'base/klass', 'util/editor/command' ],function(NEJ,_k,_t0,_p,_o...
(function (tree) { tree.sourceMapOutput = function (options) { this._css = []; this._rootNode = options.rootNode; this._writeSourceMap = options.writeSourceMap; this._contentsMap = options.contentsMap; this._sourceMapFilename = options.sourceMapFilename; this._output...
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
class Kind { set "a"(x) {} }
YUI.add("dd-drop-plugin",function(e,t){var n=function(e){e.node=e.host,n.superclass.constructor.apply(this,arguments)};n.NAME="dd-drop-plugin",n.NS="drop",e.extend(n,e.DD.Drop),e.namespace("Plugin"),e.Plugin.Drop=n},"3.18.1",{requires:["dd-drop"]});
(function(wysihtml5) { // List of supported color format parsing methods // If radix is not defined 10 is expected as default var colorParseMethods = { rgba : { regex: /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([\d\.]+)\s*\)/i, name: "rgba" }, rgb : ...
/* json-schema-faker library v0.4.5 http://json-schema-faker.js.org @preserve Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin Released under the MIT license Date: 2017-10-15 21:00:53.301Z ***************************************************************************** Copyright (c) Microsoft Corporation. Al...
version https://git-lfs.github.com/spec/v1 oid sha256:ef2b3c25e4ff39d81b86b97178959b8370a017afd06e6509e0313124a3637ef4 size 1976
version https://git-lfs.github.com/spec/v1 oid sha256:be8f9445e0a8f2293908aedc93313b77110f492f35a9ecf1083b1a532e0ead39 size 2288
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('wordcount', 'hr', { WordCount: 'Riječi:', CharCount: 'Znakova:', CharCountWithHTML: 'Znakova (uključujući HTML):', Paragraphs: 'Para...
let x: typeof y.z;
var connect = require('connect'); var serveStatic = require('serve-static'); connect().use(serveStatic(__dirname)).listen(8080, function(){ console.log('Server running on 8080...'); });
// 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 requ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Utils_1 = require("../Utils/Utils"); var HoverMode_1 = require("../../Enums/Modes/HoverMode"); var Mover = (function () { function Mover(container, particle) { this.container = container; this.particle = particle; }...
/*! (c) 2014 - present: Jason Quense | https://github.com/jquense/react-widgets/blob/master/LICENSE.md */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define ...
define( [ "./selector-sizzle" ], function() { "use strict"; } );
/*syn@0.3.0#key*/ var syn = require('./synthetic.js'); require('./typeable.js'); require('./browsers.js'); var h = syn.helpers, formElExp = /input|textarea/i, supportsSelection = function (el) { var result; try { result = el.selectionStart !== undefined && el.selectionStart !== null; ...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'colorbutton', 'bg', { auto: 'Автоматично', bgColorTitle: 'Фонов цвят', colors: { '000': 'Черно', '800000': 'Кестеняво', '8B4513': 'Светлокаф...
/*! * <%= meta.title %> v<%= meta.version %> Google Calendar Plugin * Docs & License: <%= meta.homepage %> * (c) <%= meta.copyright %> */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else { factory(jQuery); } })(function($) { var API_BASE = 'htt...
/** * * Send a sequence of key strokes to an element. * * @param {String} ID ID of a WebElement JSON object to route the command to * @param {String|String[]} value The sequence of keys to type. An array must be provided. The server should flatten the array items to a single string to be typed. * *...
/*! * GMaps.js v0.3.1 * http://hpneo.github.com/gmaps/ * * Copyright 2012, Gustavo Leon * Released under the MIT License. */ if(window.google && window.google.maps){ var GMaps = (function(global) { "use strict"; var doc = document; var getElementById = function(id, context) { var ele ...
import {findDOMNode} from '../../../find-dom-node'; const React = window.React; export class CodeEditor extends React.Component { shouldComponentUpdate() { return false; } componentDidMount() { this.textarea = findDOMNode(this); // Important: CodeMirror incorrectly lays out the editor // if it...
(function ($) { $.fn.rating = function () { var element; // A private function to highlight a star corresponding to a given value function _paintValue(ratingInput, value) { var selectedStar = $(ratingInput).find('[data-value=' + value + ']'); selectedStar.removeClass('glyphicon-star-empty')...
;(function (root, factory, undef) { if (typeof exports === "object") { // CommonJS module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha512"), require("./sha384"), require("./hmac")); } else if (typeof define === "function" && define.amd) { // AMD define(["./core", "./x6...
/*! lowdb v0.12.4 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["low"] = factory(); e...
/* Office JavaScript API library */ /* Version: 16.0.3825.1000 */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419. */ var OSF = OSF || {}; OSF.HostSpecificFileVersion = "16.00"; ...
/** * Way data is stored for this database * For a Node.js/Node Webkit database it's the file system * For a browser-side database it's localforage which chooses the best option depending on user browser (IndexedDB then WebSQL then localStorage) * * This version is the Node.js/Node Webkit version * It's essential...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.3 * @link http://www.ag-grid.com/ * @license MIT */ var utils_1 = require('../utils'); var TabbedLayout = (function () { function TabbedLayout(params) { var _this = this; t...
"no use strict"; !(function(window) { if (typeof window.window != "undefined" && window.document) return; if (window.require && window.define) return; if (!window.console) { window.console = function() { var msgs = Array.prototype.slice.call(arguments, 0); postMessage({type: "log", data: ms...
(function ($) { $.fn.characterCounter = function(){ return this.each(function(){ itHasLengthAttribute = $(this).attr('length') != undefined; if(itHasLengthAttribute){ $(this).on('input', updateCounter); $(this).on('focus', updateCounter); $(this).on('blur', removeCounterElem...
var core = require('../../core'); // @see https://github.com/substack/brfs/issues/25 var fs = require('fs'); /** * The BlurYTintFilter applies a vertical Gaussian blur to an object. * * @class * @extends PIXI.AbstractFilter * @memberof PIXI.filters */ function BlurYTintFilter() { core.AbstractFilter.call(th...