code stringlengths 2 1.05M |
|---|
var hasSaved = false;
function btnClicked()
{
if (hasSaved)
{
window.open('https://'+POCKET_DOMAIN+'/a/', 'pktbtn_queue');
}
else if (iLi)
{
var img = new ajaxImage('https://'+POCKET_DOMAIN+'/widgets/v1/button_save.gif', btnData, btnCallback);
img.send();
saved();
}
else
openLogin();
}
function b... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.4.1 (2020-07-08)
*/
!function(o){"use strict";var i=tiny... |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v21.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extend... |
var fs = require('fs');
function readData(filename, contentType, response)
{
fs.exists(filename, function(exists) {
if (exists) {
fs.readFile(filename, function(error, data) {
if (!error) {
response.writeHead(200, contentType);
response.end(data);
}
else {
response.writeHe... |
var util = require('util'),
extendWithGettersAndSetters = require('../util/extendWithGettersAndSetters'),
CssUrlTokenRelation = require('./CssUrlTokenRelation');
function CssAlphaImageLoader(config) {
CssUrlTokenRelation.call(this, config);
}
util.inherits(CssAlphaImageLoader, CssUrlTokenRelation);
exten... |
export default function Comparator () {}
|
(function() {
var exportedLog, ffSupport, formats, getOrderedMatches, hasMatches, isFF, isIE, isOpera, isSafari, log, makeArray, operaSupport, safariSupport, stringToArgs, _log;
if (!(window.console && window.console.log)) {
return;
}
log = function() {
var args;
args = [];
makeArray(arguments... |
(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%',
'... |
'use strict';
/**
* Create a markdown-formatted h5 heading.
*
* ```js
* utils.h5('This is a heading');
* //=> '##### This is a heading'
* ```
*
* @name h5
* @param {String} `str`
* @api public
*/
module.exports = function h5(str) {
return '##### ' + str;
}; |
var Promise = require("nodegit-promise");
var promisify = require("promisify-node");
var fse = promisify(require("fs-extra"));
var NodeGit = require("../");
var Blob = NodeGit.Blob;
var Checkout = NodeGit.Checkout;
var Commit = NodeGit.Commit;
var normalizeOptions = NodeGit.Utils.normalizeOptions;
var shallowClone = No... |
//
// This product uses the TMDb API but is not endorsed or certified by TMDb.
//
// make sure to create a config.js with the appropriate settings:
//
// exports.settings = {
// sqldbserver: 'tcp:<servername>.database.windows.net,1433',
// sqldbuser: '<dbuser>',
// sqldbpwd: '<dbpassword',
// sqldbdatabase: '<dbna... |
{
"AFN_currencyISO" : "AFN",
"AFN_currencySymbol" : "Af",
"ALK_currencyISO" : "AFN",
"ALK_currencySymbol" : "Af",
"ALL_currencyISO" : "AFN",
"ALL_currencySymbol" : "Af",
"AMD_currencyISO" : "AFN",
"AMD_currencySymbol" : "Af",
"ANG_currencyISO" : "ANG",
"ANG_currencySymbol" : "NAf.",
"AOA_currencyISO" : "AOA"... |
version https://git-lfs.github.com/spec/v1
oid sha256:516d35bdc7888e713c3b74c3cc3db6c2baa0eb62943ff8d82e42705bc14c1bc6
size 439
|
version https://git-lfs.github.com/spec/v1
oid sha256:d210be0648975e6914e0aeac9e74d6e3e04fe7976c8a988a20a6e9c6a4bf2fee
size 8713
|
/*!
* Module dependencies.
*/
var _ = require('underscore'),
moment = require('moment'),
keystone = require('../../../'),
util = require('util'),
knox = require('knox'),
// s3 = require('s3'),
utils = require('keystone-utils'),
grappling = require('grappling-hook'),
super_ = require('../Type');
/**
* S3Fil... |
"use strict";
var canvas;
var gl;
var pointsArray = [];
var near = -4;
var far = 4;
var theta = 0.0;
var left = -2.0;
var right = 2.0;
var ytop = 2.0;
var bottom = -2.0;
var modelViewMatrix, projectionMatrix;
var modelViewMatrixLoc, projectionMatrixLoc;
var fColor;
var eye, at, up;
var light;
var m;
var red;... |
/*!
* jQuery JavaScript Library v2.0.1 -css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jqu... |
(function() {
jQuery(function() {
var completer;
completer = new GmapsCompleter({
inputField: '#gmaps-input-address',
errorField: '#gmaps-error',
debugOn: true
});
return completer.autoCompleteInit({
country: "us"
});
});
}).call(this);
|
import { AppRegistry } from 'react-native'
import example from './basicExample.js'
// import example from './deletionExample.js'
// import example from './customAnimationExample.js'
AppRegistry.registerComponent('example', () => example);
|
"use strict";
var es = require("./es");
function throwHelper(node, esNode) {
if (arguments.length !== throwHelper.length) {
throw new Error("wrong number of arguments to throwHelper");
}
var throw_ = es.ThrowStatement(node.loc, esNode);
var block = es.BlockStatement(null, [throw_]);
var fn = es.Function... |
// Copyright (c) 2015 Uber Technologies, 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, copy, modify, merge... |
const ASSERT = require("assert");
const DEMO_SERVER = require("../demo/server");
const REQUEST = require("request");
function main(callback) {
var port = parseInt(process.env.PORT || 8080, 10);
console.log("Port: " + port);
DEMO_SERVER.main("default", function(err, app) {
if (err) return callback(err);
RE... |
'use strict';
var root = require('../../../'),
SPFA = root.Graph.SPFA,
Graph = root.DataStructures.Graph,
assert = require('assert');
describe('SPFA Algorithm', function () {
it('should return the shortest paths to all nodes from a given origin',
function () {
var graph = new Graph(true);
... |
describe("m.redraw()", function () {
"use strict"
beforeEach(function () {
mock.requestAnimationFrame.$resolve()
})
it("exists", function () {
expect(m.redraw).to.be.a("function")
})
it("correctly renders a property if the controller value changes", function () { // eslint-disable-line
var ctx
var root... |
/**!
*
* Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.
*/
'use strict';
var Magic = require('mmmagic');
var ShareActivityBase = require('./share-activity-base');
/**
* @class
* @extends {Conversation.ShareActivityBase}
* @memberof Conversation
*/
var ShareActivity = ShareActivityBase.extend({... |
module.exports = {
rewrites() {
return [
{
source: '/:hello*',
destination: '/:hello',
},
]
},
}
|
/*!
* froala_editor v3.0.4 (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... |
/**
* jqModal - Minimalist Modaling with jQuery
* (http://dev.iceburg.net/jquery/jqmodal/)
*
* Copyright (c) 2007,2008 Brice Burgess <bhb@iceburg.net>
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* $Version: ... |
var getNotifications = function () {
return Herald.collection.find({userId: Meteor.userId(), read: false}, {sort: {timestamp: -1}}).fetch();
};
Template.notifications_menu.helpers({
hasNotifications: function () {
var notifications = getNotifications();
return notifications.length;
},
menuLabel: functi... |
'use strict'
// realtime
// external modules
var cookie = require('cookie')
var cookieParser = require('cookie-parser')
var url = require('url')
var async = require('async')
var LZString = require('lz-string')
var randomcolor = require('randomcolor')
var Chance = require('chance')
var chance = new Chance()
var moment =... |
module.exports={A:{A:{"2":"H D G E A B fB"},B:{"1":"N I","2":"1 C p J L"},C:{"1":"0 2 5 6 7 8 9 u v w x y z BB CB DB","2":"1 3 dB FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t bB VB"},D:{"1":"0 2 5 6 7 8 9 j k l m n o M q r s t u v w x y z BB CB DB GB PB KB IB gB LB MB NB"... |
/*!
* vue-i18n v8.9.0
* (c) 2019 kazuya kawaguchi
* Released under the MIT License.
*/
/* */
/**
* utilities
*/
function warn (msg, err) {
if (typeof console !== 'undefined') {
console.warn('[vue-i18n] ' + msg);
/* istanbul ignore if */
if (err) {
console.warn(err.stack);
}
}
}
func... |
/**
* @license Highcharts JS v7.2.0 (2019-09-03)
* @module highcharts/modules/cylinder
* @requires highcharts
* @requires highcharts/highcharts-3d
*
* Highcharts cylinder module
*
* (c) 2010-2019 Kacper Madej
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/cylinder.src.js';
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
The [[Prototype]] property of the newly constructed object
is set to the original Array prototype object, the one that
is the initial value of Array.prototype
es... |
System.register(["github:aurelia/loader-default@0.4.3/index"], function($__export) {
return { setters: [function(m) { for (var p in m) $__export(p, m[p]); }], execute: function() {} };
}); |
/* *
*
* (c) 2009-2021 Øystein Moseng
*
* Accessibility component for chart info region and table.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
var __extends = (this && this.__extends) || (function () {
var ex... |
/**
* This file establishes the Firebase.util namespace and
* defines the exports for all packages when using node.js
*/
'use strict';
var util = require('./common/index.js');
// put all our public methods into the exported scope
util.extend(exports,
require('./common/exports.js'),
require('./NormalizedCollect... |
var name = "Social Antisocialist";
var collection_type = 0;
var is_secret = 0;
var desc = "Set 7 Daily Records for Hi Sign evasion. Daily Records are recognized at the end of each game day";
var status_text = "It doesn't take much to just stop and say hello: it takes a lot more effort to run from a hello. Run, run ... |
var title = "Automagically Emblematical";
var desc = "Donate to your favorite Giant's <b>Shrine<\/b> until you get an <b>Emblem<\/b>. The first Emblem is awarded at 1000 favor points.";
var offer = "Emblem. It's a weird-looking word, don't you think? <split butt_txt=\"Now that you mention it...\" \/> The more you look ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.1.2.5_A2.2;
* @section: 15.1.2.5, 15.2.4.5, 11.4.1;
* @assertion: The length property of isFinite has the attribute DontDelete;
* @description: Checking use hasOwnPro... |
/// <reference path="../../defs/tsd.d.ts"/>
var _ = require('lodash');
var fs = require('fs');
var path = require('path');
var utils = require('./utils');
var eol = utils.eol;
/////////////////////////////////////////////////////////////////////
// AngularJS templateCache
///////////////////////////////////////////////... |
(function($) {
$.entwine('ss', function($){
$('.memberdatetimeoptionset').entwine({
onmatch: function() {
this.find('.description .toggle-content').hide();
this._super();
}
});
$('.memberdatetimeoptionset .toggle').entwine({
onclick: function(e) {
jQuery(this).closest('.description').fin... |
"use strict"
var tape = require("tape")
var compare = require("./util/normalize").compare
var triangulate = require("../triangulate")
tape("delaunay-2d", function(t) {
var points = [
[0,0,0],
[0,0,1],
[0,1,0],
[0,1,1],
[1,0,0],
[1,0,1],
[1,1,0],
[1,1,1],
[0.5,0.5,0.5]
]
comp... |
/*
* Copyright (c) 2014 Chukong Technologies 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, copy, modify, ... |
'use strict';
const common = require('../common');
const { OutgoingMessage } = require('http');
const warn = 'OutgoingMessage.prototype._headerNames is deprecated';
common.expectWarning('DeprecationWarning', warn, 'DEP0066');
{
// Tests for _headerNames set method
const outgoingMessage = new OutgoingMessage();
... |
/* globals module require global __dirname */
const mongoose = require("mongoose");
const fs = require("fs");
const path = require("path");
module.exports = function(config) {
mongoose.Promise = global.Promise;
mongoose.connect(config.connectionString);
let Superhero = require("../models/superhero-model")... |
'use strict';
var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;
var create = require('../internals/object-create');
var createPropertyDescriptor = require('../internals/create-property-descriptor');
var setToStringTag = require('../internals/set-to-string-tag');
var Iterators = require('... |
var should = require('chai').should(),
expect = require('chai').expect,
nock = require('nock'),
shopifyAPI = require('../lib/shopify.js');
describe('Constructor Function: #shopifyAPI', function(){
it('throws error if no config object is passed in', function(){
var msg = "ShopifyAPI module expe... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const EventEmitter = require("events").EventEmitter;
const fs = require("graceful-fs");
const path = require("path");
const watchEventSource = require("./watchEventSource");
const EXISTANCE_ONLY_TIME_ENT... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*global check, _, $, cp*/
|
/*
*
* 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... |
/**
* Happy JSON response
* @param {Object} obj The info object
* @return {Object} The json response to be output
*/
var happy = function(obj, res) {
res.send({
success: 1,
res: obj
});
};
var list = function(obj, res) {
res.send(obj);
};
/**
* Unhappy JSON response
* @param {Error} err The ... |
version https://git-lfs.github.com/spec/v1
oid sha256:4311addb8c2672267212a47eefcc9ad50a55064e176fc076696049320fee9f0c
size 1955
|
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = exports.DELAY_RIPPLE = void 0... |
(function(){
if(!document.body.addEventListener) {
return;
}
$$('[data-src][data-type="text/html"]').forEach(function(element) {
var src = element.getAttribute('data-src'),
html = element.getAttribute('data-type') === 'text/html',
contentProperty = html? 'innerHTML' : 'textContent';
$u.xhr({
url: src,... |
var gsNoTopics="No results found";
var gsLoadXmlFailed="Failed to load XML file";
var gsInitDatabaseFailed="Failed to initialize database";
var gsInvalidExpression="The search string you typed is not valid.";
var gsSearching="Searching...";
var gsCancel="Cancel";
var gsCanceled="Canceled";
var gsSubstrSrch=0;
var g_R... |
;(function ($, Formstone, undefined) {
"use strict";
/**
* @method private
* @name resize
* @description Handles window resize
*/
function resize(windowWidth) {
Functions.iterate.call($Instances, resizeInstance);
}
/**
* @method private
* @name cacheInstances
* @description Cac... |
/**
* @author bhouston / http://exocortex.com
*/
module( "Matrix4" );
var matrixEquals4 = function( a, b, tolerance ) {
tolerance = tolerance || 0.0001;
if( a.elements.length != b.elements.length ) {
return false;
}
for( var i = 0, il = a.elements.length; i < il; i ++ ) {
var delta = a.elements[i] - b.eleme... |
{
var keyVal = parseInt(key, 10);
if (keyVal) {
return "$event.keyCode!==" + keyVal;
}
var alias = keyCodes[key];
return (
"_k($event.keyCode," +
JSON.stringify(key) +
(alias ? "," + JSON.stringify(alias) : "") +
")"
);
}
|
// The server ID - a unique ID describing this Showdown server
exports.serverid = 'pokecommunity';
// The server token - to access the login database and ladder on pokemonshowdown.com
// This token must be registered for accessing the ladder, but you will
// still be able to login with an unregistered token.
expor... |
'use strict';
/**
* Module dependencies.
*/
var users = require('../../app/controllers/users.server.controller'),
articles = require('../../app/controllers/articles.server.controller');
module.exports = function(app) {
// Article Routes
app.route('/articles')
.get(articles.list)
.post(users.requi... |
Kanboard.BoardDragAndDrop = function(app) {
this.app = app;
this.savingInProgress = false;
};
Kanboard.BoardDragAndDrop.prototype.execute = function() {
if (this.app.hasId("board")) {
this.executeListeners();
this.dragAndDrop();
}
};
Kanboard.BoardDragAndDrop.prototype.dragAndDrop = fu... |
/*
* 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.
*/
... |
/**
* Return the filters of a Bookshelf model.
*
* @param {Bookshelf.Model} model
* @return {String}
*/
export default function filters (model) {
return model.filters;
}
|
/**
* 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.
*
* @flow
*/
let React;
let ReactFeatureFlags;
let tabbableScopeQuery;
describe('TabbableScopeQuery', () => {
beforeEach(() => {... |
/*global Backbone, jQuery, _, ENTER_KEY */
var app = app || {};
(function ($) {
'use strict';
// Todo Item View
// --------------
// The DOM element for a todo item...
app.TodoView = Backbone.View.extend({
//... is a list tag.
tagName: 'li',
// Cache the template function for a single item.
template: ... |
/*!
* jQuery JavaScript Library v2.1.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-css,-css/addGetHookIf,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/support,-css/swap,-css/var/cssExpand,-css/var/getStyl... |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
https://github.com/mishoo/UglifyJS2
-------------------------------- (C) ---------------------------------
Author: Mihai Bazon
... |
(function () {
var lang = YAHOO.lang, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom;
/**
* Create a radio button. Here are the added options :
* <ul>
* <li>choices: list of choices (array of string)</li>
* <li>values: list of returned values (array )</li>
* <li>allowAny: add an option with a string ... |
define([
"doh", "require",
"dojo/_base/declare", "dojo/Evented", "dojo/has", "dojo/on", "dojo/query", "dojo/topic"
], function(doh, require, declare, Evented, has, on, query, topic){
doh.register("tests.on", [
function object(t){
var order = [];
var obj = new Evented();
obj.oncustom = function(event){
... |
/* globals Importer */
Importer.CSV = class ImporterCSV extends Importer.Base {
constructor(name, descriptionI18N, mimeType) {
super(name, descriptionI18N, mimeType);
this.logger.debug('Constructed a new CSV Importer.');
this.csvParser = Npm.require('csv-parse/lib/sync');
this.messages = new Map();
}
prep... |
import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';
import authReducer from './auth';
import dataReducer from './data';
export default combineReducers({
auth: authReducer,
data: dataReducer,
routing: routerReducer
});
|
import { EventDispatcher } from '../core/EventDispatcher';
import { UVMapping } from '../constants';
import { MirroredRepeatWrapping, ClampToEdgeWrapping, RepeatWrapping, LinearEncoding, UnsignedByteType, RGBAFormat, LinearMipMapLinearFilter, LinearFilter } from '../constants';
import { _Math } from '../math/Math';
imp... |
require("./transforms/collapseTables");
require("./transforms/relocateFirstParagraph");
require("./transforms/hideRedLinks");
require("./transforms/addImageOverflowContainers");
require("./transforms/collapsePageIssuesAndDisambig");
|
// VERSION: 1.2 LAST UPDATE: 12.09.2016
/*
* . . .
* | | |
* ,-. ,-. |-. . . |- |- ,-. ;-. ,-.
* | `-. | | | | | | | | | | `-.
* `-' `-' `-' `-` `-' `-' `-' ' ' `-'
*
* Social customs counter buttons (Facebook, Twitter, Google+, LinkedIn, Pinterest)
* Made by Mathieu O... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
describe("Control.Draw", function(){
var map, control, container;
beforeEach(function(){
map = L.map(document.createElement('div'));
control = new L.Control.Draw({
}).addTo(map);
container = control.getContainer();
});
it("exists", function() {
expect(container.innerHTML).to.be.ok();
});
});
|
'use strict';
var assign = require('object-assign');
var Decompress = require('decompress');
var each = require('each-async');
var fs = require('fs-extra');
var path = require('path');
var Ware = require('ware');
/**
* Initialize Download
*
* @param {Object} opts
* @api public
*/
function Downlo... |
CKEDITOR.plugins.setLang("horizontalrule","en",{toolbar:"Insert Horizontal Line"}); |
'use strict';
var debug = require('debug')('base:cli:process');
/**
* Load pipeline plugins. Requires the [base-pipeline][] plugin to be
* registered.
*
* _(Modules must be locally installed and listed in `dependencies` or
* `devDependencies`)_.
*
* ```json
* {"verb": {"plugins": {"eslint": {"name": "gulp-esl... |
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.[]', 'tabsManager.tabPanes.[]',
function () {
... |
/**
* @fileoverview Rule to flag when deleting variables
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
meta: {
... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ContextDependencyHelpers = exports;
ContextDependencyHelpers.create = function(Dep, range, param, expr, options) {
if(param.isWrapped() && (param.prefix && param.prefix.isString() || param.postfix && param.postfix.... |
'use strict';
if (process.addAsyncListener) throw new Error("Don't require polyfill unless needed");
var shimmer = require('shimmer')
, wrap = shimmer.wrap
, massWrap = shimmer.massWrap
, wrapCallback = require('./glue.js')
, util = require('util')
;
// Shim activator for functions... |
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../fold/xml-fold"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "../fold/xml-fold"], mod);
else // Plain browser env
... |
/* jshint quotmark: false */
'use strict';
require('colors');
var FS = require('fs'),
PATH = require('path'),
SVGO = require('../svgo'),
YAML = require('js-yaml'),
PKG = require('../../package.json'),
mkdirp = require('mkdirp'),
encodeSVGDatauri = require('./tools').encodeSVGDatauri,
decod... |
// Stacked-to-Grouped Bars
// Credits to: http://bl.ocks.org/3943967
/*
Switch between stacked and grouped layouts using sequenced transitions! Animations
reserve object constancy and allow the user to follow the data across views. Animation
design by Heer and Robertson. Colors and data generation inspired by Byro... |
import React from 'react';
import Formsy from 'formsy-react';
const MyRadioGroup = React.createClass({
mixins: [Formsy.Mixin],
componentDidMount() {
const value = this.props.value;
this.setValue(value);
this.setState({ value });
},
changeValue(value) {
this.setValue(value);
this.setState(... |
/*!
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/*
* Sample Image Organizer utilizing Ext.Direct
* Tagging/Organizing into galleries
* Image uploading
*/
Ext.ns('Imgorg','Imgorg.App');
Imgorg.App = function() {
var swfu;
SWFUplo... |
/*!
* ui-grid - v4.5.0 - 2018-06-15
* Copyright (c) 2018 ; License: MIT
*/
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.cellNav
*
* @description
#ui.grid.cellNav
<div class="alert alert-success" role="alert"><strong>Stable</strong> This feature is stable. The... |
"use strict"
const doiuse = require("doiuse")
const report = require("../../utils/report")
const ruleMessages = require("../../utils/ruleMessages")
const validateOptions = require("../../utils/validateOptions")
const Result = require("postcss/lib/result")
const _ = require("lodash")
const ruleName = "no-unsupported-b... |
define(
'tinymce.core.test.CaretAsserts',
[
'ephox.agar.api.Assertions',
'ephox.mcagar.api.LegacyUnit',
'tinymce.core.dom.DOMUtils'
],
function (Assertions, LegacyUnit, DOMUtils) {
var assertCaretPosition = function (actual, expected, message) {
if (expected === null) {
LegacyUnit.... |
export default class LinkedItem {
constructor() {
this.next = null;
this.prev = null;
}
}
|
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["actions", "children", "defaultValue", "name", "onChange", "value"];
import * as React from 'react';
import PropTypes from 'prop-types';
impo... |
'no use strict';
// Remove "use strict"; from transpiled module until
// https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
/**
@module ember
@submodule ember-metal
*/
import Ember from 'ember-metal/core'; // warn, assert, wrap, et;
import EmberError from 'ember-metal/error';
import { debugSeal, assert, deprecate... |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var ActionOpenInNew = React.createClass({
displayName: 'ActionOpenInNew',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
... |
version https://git-lfs.github.com/spec/v1
oid sha256:465045b0b7678c2dace2108259a57e17412fc205eaf141fedeaab6247f14bf47
size 404
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
'use strict';
var assert = require('chai').assert;
var Device = require('./device.js');
var deviceJson = JSON.stringify({ deviceId: 'testDevice', generationId:'123456... |
intellisense.annotate(ej,{
Accordion:function(){
/// <signature>
/// <summary>Constructor of ej.Accordion</summary>
/// </signature>
}
});
ej.Accordion=(function(){
var original=ej.Accordion
var wrapper=function(){
var instance = new original();
intellisense.annotate(instance, {
addItem:function(header_name, conte... |
(function( window, undefined ) {
kendo.cultures["el-GR"] = {
name: "el-GR",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ".",
".": ",",
groupSize: [3],
percent: {
pattern: ["-n%","n%"],
dec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.