code stringlengths 2 1.05M |
|---|
/*!
* froala_editor v3.0.5 (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... |
version https://git-lfs.github.com/spec/v1
oid sha256:9d14e3992ae30f9f4c2fdaa4abea078af225c1925240fc738ff83d2d88028407
size 2781
|
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import ListContext from './ListCont... |
#!/usr/bin/env node
var profiler = require("v8-profiler");
var Bitcoin = require('../lib/bitcoin');
// Settings
// -----------------------------------------------------------------------------
var settings = new Bitcoin.Settings();
// Connect to live Bitcoin network
settings.setLivenetDefaults();
// Add peers to c... |
/**
* Boundary geometry node type
*
* @author xeolabs / http://xeolabs.com
*
* <p>Usage example:</p>
*
* <pre>
* someNode.addNode({
* type: "geometry/boundary",
* min: [-9, -3, -2],
* max: [2,3,12],
* wire: false // Default
* });
* </pre>
*/
(function () {
SceneJS.Types.addType... |
/* eslint no-var: 0, no-console: 0, import/no-extraneous-dependencies: 0 */
import webpack from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import webpackConfig from './webpack.client.rails.hot.config';
const hotRailsPort = process.env.HOT_RAILS_PORT || 3500;
const compiler = webpack(webpackConfig... |
/**
* # ItemCheckbox-test.js
*
* This class tests that the ItemCheckbox renders correctly under
* numerous conditions
*
* *Note:* if you want to understand the structures here, add a
* ```console.log``` and then ```npm test```.
*
*/
'use strict';
jest.autoMockOff();
/**
* ## Imports
*
* React is mocked i... |
module.exports={A:{A:{"2":"K C G E A B CB"},B:{"1":"M H","2":"D u Y I"},C:{"1":"0 2 3 4 5 6 7 y z v","2":"1 VB F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t TB SB"},D:{"1":"3 5 6 7 v HB g DB XB EB FB","2":"F J K C G E A B D u Y I M H N O P Q R S T U V W X w Z a b c d e f ... |
/** (July 2012, Erik Weitnauer)
The html-plugin will load and display an arbitrary number of html pages. To proceed to the next, the
user might either press a button on the page or a specific key. Afterwards, the page get hidden and
the plugin will wait of a specified time before it proceeds.
documentation: docs.jspsy... |
version https://git-lfs.github.com/spec/v1
oid sha256:591441a267a599c2fdad0dc121564d5bb9d572af5098ee5272d4cdbe45a045c9
size 11246
|
/**
The missing SVG.toDataURL library for your SVG elements
SVG.toDataURL( [type], [keepNonSafe=false], [keepOutsideViewport=false] )
type MIME type of the exported data.
Default: image/svg+xml.
Must support: image/png.
[the rest of the parameters only apply when exportin image/png (or other non-svg)]
... |
//
// Copyright (c) 2016 Cisco Systems
// Licensed under the MIT License
//
/*
* a Cisco Spark Bot that listens to specific Webhooks events, leverages node-sparkbot webhook.onEvent() function.
*/
var SparkBot = require("node-sparkbot");
// Leverage a simple webhook framework
var bot = new SparkBot();
bot.onEv... |
/*global define*/
define(['underscore', 'models/graphite-model'], function(_, GraphiteModel) {
'use strict';
// Request the Pool ids for a given cluster FSID.
var GraphitePoolIopsModel = GraphiteModel.extend({
url: function() {
var name = this.clusterName || 'ceph';
return ... |
(function ($) {
$.extend(true, window, {
Slick: {
CompositeEditor: CompositeEditor
}
});
/***
* A composite SlickGrid editor factory.
* Generates an editor that is composed of multiple editors for given columns.
* Individual editors are provided given containers instead of the original ce... |
'use strict';
const common = require('../common');
const assert = require('assert');
const cp = require('child_process');
const fs = require('fs');
const { isMainThread } = require('worker_threads');
if (isMainThread) {
const CODE = 'const { Worker } = require(\'worker_threads\'); ' +
`new Worker('${_... |
import { test } from '../qunit';
import isNumber from '../../lib/utils/is-number.js';
test('isNumber recognizes numbers', function (assert) {
assert.ok(isNumber(1), 'simple integer');
assert.ok(isNumber(0), 'simple number');
assert.ok(isNumber(-0), 'silly number');
assert.ok(isNumber(1010010293029), 'l... |
/* http://j2s.sf.net/ */$_L(null,"java.lang.AbstractStringBuilder",["java.io.InvalidObjectException","java.lang.ArrayIndexOutOfBoundsException","$.IndexOutOfBoundsException","$.NegativeArraySizeException","$.NullPointerException","$.StringIndexOutOfBoundsException"],function(){
c$=$_C(function(){
this.value=null;
th... |
$(function() {
// Toggle forms
$('.show-form').on('click', function(e) {
e.preventDefault();
$('.well-section[id$=form]').each(function() {
$(this).hide();
});
$($(this).data('target')).show();
});
});
|
module.exports = {
rules: {
'no-unused-vars': 'off'
}
}
|
const common = require('../../../../lib/common');
const uuid = require('uuid');
module.exports = {
config: {
transaction: true
},
async up(options) {
const conn = options.connection || options.transacting;
const membersWithoutUUID = await conn.select('id').from('members').whereNull... |
function SwapTexture(config, count) {
count = count || 1;
config = config || {};
var me = this;
gl.supports_OES_texture_float = !!gl.getExtension('OES_texture_float');
config = Utils.merge({
width: 512,
height: 512,
bindToTexture: {
pixelStore: [],
parameters: [
{
nam... |
'use strict';
exports['default'] = {
isMac: function isMac() {
return typeof window !== 'undefined' && window.navigator && /Mac/.test(window.navigator.platform);
},
isWin: function isWin() {
return typeof window !== 'undefined' && window.navigator && /Win/.test(window.navigator.platform);
}
}; |
/* global HTMLCollection: true */
module.exports = function(els, fn, context) {
if (
els instanceof HTMLCollection ||
els instanceof NodeList ||
els instanceof Array
) {
return Array.prototype.forEach.call(els, fn, context);
}
// assume simple DOM element
return fn.call(context, els);
};
|
module.exports = require('../bar/abc').default + '.2';
|
/**
@Fileoverview A facet for a customized Exhibit month
@fileoverview
This is where the monthly layout is defined. The layout is designed to
resemble the equivalent Google Calendar view.
@author Quanquan Liu <quanquan@mit.edu>
@author Mason Tang
*/
Exhibit.MonthFacet = function(containerElmt, uiContext, confi... |
var _ = require('underscore');
var sourcemap = require('source-map');
var buildmessage = require('../buildmessage.js');
var isopackets = require('../isopackets.js');
var watch = require('../watch.js');
var Profile = require('../profile.js').Profile;
import LRU from 'lru-cache';
import {sourceMapLength} from '../utils.j... |
/*!
* global/window.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2018 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 4.0.0-beta.64
*/
"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exp... |
define(
//begin v1.x content
{
"field-quarter-short-relative+0": "dette kv.",
"field-quarter-short-relative+1": "neste kv.",
"field-tue-relative+-1": "tirsdag sist uke",
"field-year": "år",
"field-wed-relative+0": "onsdag denne uken",
"field-wed-relative+1": "onsdag neste uke",
"field-minute": "minutt",
"field-... |
#!/usr/bin/env node
var dirName = "js/tquery.core.create.js";
var cmdline = "make buildBundle"
// Run the first time
//require('child_process').exec(cmdline)
var onChange = function (curr, prev){
console.log("trigger", curr.mtime, prev.mtime)
if( curr.mtime - prev.mtime === 0 ) return;
//console.dir(curr.mtime)
... |
/*! jQuery UI - v1.10.4 - 2014-05-25
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","jul... |
if (typeof print !== 'function') { print = console.log; }
function test() {
var b = (Uint8Array.allocPlain || Duktape.Buffer)(4096);
var i;
print(typeof b);
for (i = 0; i < 1e7; i++) {
b[100] = 123;
b[100] = 123;
b[100] = 123;
b[100] = 123;
b[100] = 123;
... |
/* global Babel */
import _ from 'underscore';
import s from 'underscore.string';
const scopedChannels = ['all_public_channels', 'all_private_groups', 'all_direct_messages'];
const validChannelChars = ['@', '#'];
function _verifyRequiredFields(integration) {
if (!integration.event || !Match.test(integration.event, St... |
function range(start, end) {
var array = [];
for (var i = start; i <= end; i++) {
array.push(i);
}
return array;
}
function sum(numbersArray) {
var sum = 0;
numbersArray.forEach(function (element) {
sum += element;
});
return sum;
}
console.log(sum(range(1, 10)... |
'use strict';
angular.module('ngQuantum.services.parseOptions', [])
.provider('$parseOptions', function () {
var defaults = this.defaults = { regexp: /^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("./foundation.core"), require("./foundation.util.keyboard"), require("./foundation.util.mediaQuery"), require("./foundation.util.motion"), require("jquery"));
el... |
'use strict';
var async = require('async');
var validator = require('validator');
var user = require('../user');
var topics = require('../topics');
var pagination = require('../pagination');
var helpers = require('./helpers');
var tagsController = {};
tagsController.getTag = function (req, res, next) {
var tag = v... |
'use strict';
const isObj = require('is-obj');
const disallowedKeys = [
'__proto__',
'prototype',
'constructor'
];
const isValidPath = pathSegments => !pathSegments.some(segment => disallowedKeys.includes(segment));
function getPathSegments(path) {
const pathArray = path.split('.');
const parts = [];
for (let... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = rewriteLiveReferences;
function _assert() {
const data = _interopRequireDefault(require("assert"));
_assert = function () {
return data;
};
return data;
}
function t() {
const data = _interopRequireWildca... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("specialchar","tr",{euro:"Euro işareti",lsquo:"Sol tek tırnak işareti",rsquo:"Sağ tek tırnak işareti",ldquo:"Sol çift tırnak işare... |
/*
RequireJS text 1.0.7 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
Available via the MIT or new BSD license.
see: http://github.com/jrburke/requirejs for details
*/
(function(){var k=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\... |
/** @jsx React.DOM */
var React = require('react');
var Router = require('react-router');
var Routes = Router.Routes;
var Route = Router.Route;
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var ActiveState = Router.ActiveState;
var data = require('./data');
var CategoryNav = React.createClass({
get... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.2.11_A1_T7;
* @section: 15.10.2.11, 15.10.2.9;
* @assertion: DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit];
* @description: DecimalInteger... |
/*!
* Pikaday
*
* Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/dbushell/Pikaday
*/
(function (root, factory) {
'use strict';
var moment;
if (typeof exports === 'object') {
// CommonJS module
// Load moment.js as an optional dependency
try { moment = ... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_composeClasses as composeClasses } from '@material-ui/unsty... |
describe('iD.Graph', function() {
describe("constructor", function () {
it("accepts an entities Array", function () {
var entity = iD.Entity(),
graph = iD.Graph([entity]);
expect(graph.entity(entity.id)).to.equal(entity);
});
it("accepts a Graph", fun... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.9.5_A4.1_T1;
* @section: 11.9.5, 11.9.6;
* @assertion: If x or y is NaN, return true;
* @description: x is NaN;
*/
//CHECK#1
if (!(Number.NaN !== true)) {
$ERROR('... |
// silly custom pseudo just for tests
Q.pseudos.humanoid = function(e, v) { return Q.is(e, 'li:contains(human)') || Q.is(e, 'ol:contains(human)') }
var hasQSA = !!document.querySelectorAll
, sinkSuite = function (label, suite) {
sink(label + (hasQSA ? ' [qSA]' : ''), function () {
hasQSA && Q.configure(... |
import Ember from 'ember';
import ValidationEngine from 'ghost/mixins/validation-engine';
import {request as ajax} from 'ic-ajax';
export default Ember.Controller.extend(ValidationEngine, {
submitting: false,
loggingIn: false,
ghostPaths: Ember.inject.service('ghost-paths'),
notifications: Ember.injec... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.10.2_A2.4_T1;
* @section: 11.10.2;
* @assertion: First expression is evaluated first, and then second expression;
* @description: Checking with "=";
*/
//CHECK#1
var... |
/*! jQuery UI - v1.11.0 - 2014-08-11
* http://jqueryui.com
* Includes: core.js, widget.js, position.js, autocomplete.js, menu.js
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function (e) {
"function" == typeof define && define.amd ? define(["jquery"], e) : e(jQuery)
})(function (e) ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.6.3_A12_T1;
* @section: 12.6.3;
* @assertion: If (Evaluate Statement).type is "break" and (Evaluate Statement).target is in the current label set, (normal, (Evaluate Stat... |
'use strict'
var crypto = require('crypto')
function encode(bytes, keyBytes) {
for (var i = 0; i < bytes.length; i++) {
// This is really dense but happens commonly so I'm in-lining some of what
// could be tossed into variables. It takes the current byte of bytes, then
// XORs it with the current byte ... |
describe('Native template engine', function() {
beforeEach(function() {
function ensureNodeExistsAndIsEmpty(id, tagName, type) {
var existingNode = document.getElementById(id);
if (existingNode != null)
existingNode.parentNode.removeChild(existingNode);
va... |
'use strict';
require('./')(); |
'use strict';
var matrix = require( 'dstructs-matrix' ),
pdf = require( './../lib' );
var data,
mat,
out,
tmp,
i;
// ----
// Plain arrays...
data = new Array( 10 );
for ( i = 0; i < data.length; i++ ) {
data[ i ] = i * 0.5;
}
out = pdf( data );
console.log( 'Arrays: %s\n', out );
// ----
// Object arrays (ac... |
/*!
* Bootstrap-select v1.13.0 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a... |
/*!
* JavaScript Cookie v2.2.0
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
;(function (factory) {
var registeredInModuleLoader;
if (typeof define === 'function' && define.amd) {
define(factory);
registeredInModuleLoader = t... |
/*
YUI 3.5.0 (build 5089)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('dom-base', function(Y) {
/**
* @for DOM
* @module dom
*/
var documentElement = Y.config.doc.documentElement,
Y_DOM = Y.DOM,
TAG_NAME = 'tagName',
OWNER_DOCUME... |
/*
* Copyright (c) 2009 WiQuery team
*
* 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,... |
module.exports = {
"plugins": [
"react",
"spellcheck"
],
"env": {
"browser": true,
"commonjs": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"settings": {
"react": {
"version": "16"
}
},
"parserOptions": {... |
var templateUrlRegex = /templateUrl\s*:(\s*['"`](.*?)['"`]\s*)/gm;
var stylesRegex = /styleUrls *:(\s*\[[^\]]*?\])/g;
var stringRegex = /(['`"])((?:[^\\]\\\1|.)*?)\1/g;
module.exports.translate = function (load) {
if (load.source.indexOf('moduleId') != -1) return load;
var url = document.createElement('a')... |
/*
* Ensure gap/indent handling deals with NUL codepoints correctly.
*/
/*===
{
--<NUL>-->"foo": 1,
--<NUL>-->"bar": 2,
--<NUL>-->"quux": 3,
--<NUL>-->"baz": [
--<NUL>-->--<NUL>-->1,
--<NUL>-->--<NUL>-->2,
--<NUL>-->--<NUL>-->3
--<NUL>-->]
}
===*/
function nulInGapTest() {
var obj = { foo: 1, bar: 2, quux: 3, ... |
'use strict';
var es = require('event-stream');
var Writer = require('./Writer');
var EMPTY_COMPONENT = '$$';
function writeLog(commits, options, done) {
var log = '';
var stream = es.through(function(data) {
log += data;
}, function() {
done(null, log);
});
var writer = new Writer(stream, options)... |
'use strict';
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp... |
version https://git-lfs.github.com/spec/v1
oid sha256:a5547ad40d959d0925dead85818b7e457ac214b497b446f03e9497ffbe7ec60e
size 2245
|
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'liststyle', 'sl', {
armenian: 'Armenian numbering',
bulletedTitle: 'Bulleted List Properties',
circle: 'Circle',
decimal: 'Decimal (1, 2, 3, etc.)... |
/****************************************************************************
http://www.cocos2d-html5.org
http://www.cocos2d-iphone.org
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to d... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'indent', 'lt', {
indent: 'Padidinti įtrauką',
outdent: 'Sumažinti įtrauką'
});
|
/* ========================================================================
* ZUI: boards.js
* http://zui.sexy
* ========================================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
* ======================================================================== */
(... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'mk', {
options: 'Контекст-мени опции'
} );
|
import format from './format';
import defaultLang from './lang/zh-CN';
let _lang = defaultLang
function use(lang) {
_lang = lang;
}
function t(path, options) {
const array = path.split('.');
let current = _lang;
for (var i = 0, j = array.length; i < j; i++) {
var property = array[i];
var val... |
/*! asmCrypto v0.14.0, (c) 2018 Artem S Vybornov, opensource.org/licenses/MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.asmCrypto = {})));
}(this... |
/* parser generated by jison 0.4.17-144 */
/*
* Returns a Parser object of the following structure:
*
* Parser: {
* yy: {} The so-called "shared state" or rather the *source* of it;
* the real "shared state" `yy` passed around to
* the rule actions, etc. is a derivative/copy of... |
/**
* A stream is an abstract interface implemented by various objects in
* Node.
*/
var stream = {};
/**
* A Readable Stream has the following methods, members, and events.
* @constructor
*/
stream.ReadableStream = function() {}
stream.ReadableStream.prototype = new events.EventEmitter();
/**
* Issues an advi... |
'use strict';
// Load modules
const Punycode = require('punycode');
// Declare internals
const internals = {
hasOwn: Object.prototype.hasOwnProperty,
indexOf: Array.prototype.indexOf,
defaultThreshold: 16,
maxIPv6Groups: 8,
categories: {
valid: 1,
dnsWarn: 7,
rfc5321: 15... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'eo', {
title: 'Uzindikoj pri atingeblo',
contents: 'Helpilenhavo. Por fermi tiun dialogon, premu la ESKAPAN klavon.',... |
const assert = require('assert');
const brains = require('./helpers/brains');
const Browser = require('../src');
// Parse string with cookies in it (like document.cookies) and return object
// with name/value pairs for each cookie.
function parse(cookies) {
return cookies
.split(/;\s*/)
.map((cookie)=> co... |
module.exports = {
DropModal: require('./DropModal'),
WaveModal: require('./WaveModal'),
FlyModal: require('./FlyModal'),
FadeModal: require('./FadeModal'),
ScaleModal: require('./ScaleModal'),
OutlineModal: require('./OutlineModal'),
}
|
/**
* @license
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copy... |
THREE.UCSCharacter = function() {
var scope = this;
var mesh;
this.scale = 1;
this.root = new THREE.Object3D();
this.numSkins;
this.numMorphs;
this.skins = [];
this.materials = [];
this.morphs = [];
this.mixer = new THREE.AnimationMixer( this.root );
this.onLoadComplete = function ... |
/* global LocationHashbangUrl: false, LocationHtml5Url: false */
'use strict';
describe('$location', function() {
// Mock out the $log function - see testabilityPatch.js
beforeEach(module(provideLog));
afterEach(function() {
// link rewriting used in html5 mode on legacy browsers binds to document.onClick,... |
const passport = require('passport');
const LocalPassport = require('passport-local');
const User = require('mongoose').model('User');
module.exports = () => {
passport.use(new LocalPassport((username, password, done) => {
User.findOne({ username: username }).then(user => {
if (!user) return do... |
export { default } from '../table-route';
|
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ca",{title:"Instruccions d'Accessibilitat",contents:"Continguts de l'Ajuda. Per tancar aquest quadre de diàleg premi ESC.",legend:[{name:"... |
steal('jquery', function($){
// copied from jQuery 1.8.3
var uaMatch = function( ua ) {
ua = ua.toLowerCase();
var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
/(webkit)[ \/]([\w.]+)/.exec( ua ) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
/(msie) ([\w.]+)/.exec( ua ) ||
ua.indexOf("compa... |
define({scientificFormat:"#E0",infinity:"∞",superscriptingExponent:"×",list:";",percentSign:"%",minusSign:"-","decimalFormat-short":"000 tril'.'",nan:"NaN",plusSign:"+",currencyFormat:"#,##0.00 ¤;(#,##0.00 ¤)",perMille:"‰",group:".",percentFormat:"#,##0 %","decimalFormat-long":"000 de trilioane",decimalFormat:"#,##0.##... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof2 = require("babel-runtime/helpers/typeof");
var _typeof3 = _interopRequireDefault(_typeof2);
var _keys = require("babel-runtime/core-js/object/keys");
var _keys2 = _interopRequireDefault(_keys);
var _getIterator2 = requir... |
var assert = Iron.utils.assert;
var env = process.env.NODE_ENV || 'development';
/**
* Server specific initialization.
*/
Router.prototype.init = function (options) {};
/**
* Give people a chance to customize the body parser
* behavior.
*/
Router.prototype.configureBodyParsers = function () {
Router.onBeforeA... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'devtools', 'bg', {
title: 'Информация за елемента',
dialogName: 'Име на диалоговия прозорец',
tabName: 'Име на таб',
elementId:... |
(function (window) {
'use strict';
/*global define, module, exports, require */
var c3 = { version: "0.4.10-rc5" };
var c3_chart_fn,
c3_chart_internal_fn,
c3_chart_internal_axis_fn;
function API(owner) {
this.owner = owner;
}
function inherit(base, derived) {
... |
try {
console.log;
}
catch (e) {
window.console = undefined;
}
(function($) {
/* Create a subclass of the jQuery object. This was introduced in jQuery 1.5, but removed again in 1.9 */
var sub = function() {
function jQuerySub( selector, context ) {
return new jQuerySub.fn.init( selector, context );
}
jQ... |
/**
* Dynamic Queries
*
* Query the collection using the name of the attribute directly
*/
var _ = require('lodash');
var usageError = require('../../utils/usageError');
var utils = require('../../utils/helpers');
var normalize = require('../../utils/normalize');
var hasOwnProperty = utils.object.hasOwnProperty;
... |
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
class NotFoundPage extends React.Component {
render() {
const { data } = this.props
const siteTitle = data.site.siteMetadata.title
return (
<Layout location={th... |
var chai = require('chai'),
expect = chai.expect,
cron = require('../lib/cron');
describe('crontime', function() {
it('should test stars (* * * * * *)', function() {
expect(function() {
new cron.CronTime('* * * * * *');
}).to.not.throw;
});
it('should test digit (0 * * * * *)', function() {
expect(func... |
var tap = require("tap")
var server = require("./lib/server.js")
var common = require("./lib/common.js")
var client = common.freshClient()
var password = "%1234@asdf%"
, username = "username"
, email = "i@izs.me"
, userdata = {
name: username,
email: email,
_id: "org.couchdb.user:username",
type: "user",
ro... |
/*
Highcharts JS v6.0.5 (2018-01-31)
Indicator series type for Highstock
(c) 2010-2017 Sebastian Bochan
License: www.highcharts.com/license
*/
(function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(l){function n(a){return a.reduce(function(a,b){return Math.m... |
+function($) {
'use strict'
// Hide the post bottom bar when the post footer is visible by the user,
// and show it when the post footer isn't visible by the user
/**
* PostBottomBar
* @constructor
*/
var PostBottomBar = function() {
this.$postBottomBar = $('.post-bottom-bar... |
var baseFlatten = require('./_baseFlatten');
/**
* Flattens `array` a single level deep.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to flatten.
* @returns {Array} Returns the new flattened array.
* @example
*
* _.flatten([1, [2, [3, [4]], 5]]);
... |
/*!
* Draggabilly PACKAGED v1.2.0
* Make that shiz draggable
* http://draggabilly.desandro.com
* MIT license
*/
/**
* Bridget makes jQuery widgets
* v1.1.0
* MIT license
*/
( function( window ) {
// -------------------------- utils -------------------------- //
var slice = Array.prototype.slice;
functio... |
/*!
* FileInput Danish Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see http://github.com/kartik-v/bootstrap-fileinput
*
* NOTE: this file must be saved in UTF-8 encoding.
*/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.