code stringlengths 2 1.05M |
|---|
// DATA_TEMPLATE: js_data
oTest.fnStart( "aaSorting" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData
} );
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Default sorting is single column",
null,
function () {
ret... |
module.exports={"title":"Server Fault","hex":"E7282D","source":"http://stackoverflow.com/company/logos","svg":"<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>Server Fault icon</title><path d=\"M24 18.185v2.274h-4.89v-2.274H24zm-24-.106h11.505v2.274H0v-2.279.005zm12.89 0h4.89v2.274h-... |
module.exports={"title":"Gravatar","hex":"1E8CBE","source":"https://automattic.com/press","svg":"<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title>Gravatar icon</title><path d=\"M12 0c-1.326 0-2.4 1.074-2.4 2.4v8.4c0 1.324 1.074 2.398 2.4 2.398s2.4-1.074 2.4-2.398V5.21c2.795.99 4.799 3... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.1.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
import { makeGetSet } from '../moment/get-set';
import { addFormatToken } from '../format/format';
import { addUnitAlias } from './aliases';
import { addRegexToken, match1to2, match2 } from '../parse/regex';
import { addParseToken } from '../parse/token';
import { HOUR } from './constants';
import toInt from '../... |
#!/usr/bin/env node
'use strict';
function removeResolvedKeys(json) {
if (json['resolved']) {
delete json['resolved'];
}
if (json['_resolved']) {
delete json['_resolved'];
}
const deps = json['dependencies'] || {};
for (const key of Object.keys(deps)) {
deps[key] = removeResolvedKeys(deps[key... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Observable_1 = require('../Observable');
var... |
/*!
* medium-editor-insert-plugin v0.3.0 - jQuery insert plugin for MediumEditor
*
* https://github.com/orthes/medium-editor-insert-plugin
*
* Copyright (c) 2014 Pavel Linkesch (http://linkesch.sk)
* Released under the MIT license
*/
!function(a){a.fn.mediumInsert.registerAddon("maps",{init:function(){this.$e... |
define(
//begin v1.x content
{
"field-dayperiod": "Período do dia",
"dateFormatItem-yyyyMMMEd": "E, d 'de' MMM 'de' y G",
"months-standAlone-abbr-leap": "Adar II",
"field-minute": "Minuto",
"dateFormatItem-MMMEd": "E, d 'de' MMM",
"field-day-relative+-1": "Ontem",
"field-weekday": "Dia da semana",
"field-day-re... |
/**
* @author humbletim / https://github.com/humbletim
* @author TristanVALCKE / https://github.com/Itee
*/
/* global QUnit */
import { _Math as ThreeMath } from '../../../../src/math/Math';
export default QUnit.module( 'Maths', () => {
QUnit.module( 'Math', () => {
// PUBLIC STUFF
QUnit.test( "generateUUID... |
module.exports = [
// see: https://github.com/tastejs/todomvc/issues/832
// chapling brunch does not mark items as completed via the completed CSS class
'TodoMVC - chaplin-brunch, No Todos, should hide #main and #footer',
'TodoMVC - chaplin-brunch, Mark all as completed, should allow me to mark all items as comple... |
"use strict";
exports.__esModule = true;
exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
var _attribute = _interopRequireDefault(require("./attrib... |
!function(a,b){"function"==typeof define&&define.amd?define(["../numeral"],b):b("object"==typeof module&&module.exports?require("../numeral"):a.numeral)}(this,function(a){a.register("locale","nl-nl",{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:f... |
'use strict';
var should = require('chai').should(); // eslint-disable-line
var qs = require('querystring');
describe('mail_to', function() {
var Hexo = require('../../../lib/hexo');
var hexo = new Hexo(__dirname);
var ctx = {
config: hexo.config
};
ctx.url_for = require('../../../lib/plugins/helper/u... |
var assert = require('assert');
var R = require('..');
describe('remove', function() {
it('splices out a sub-list of the given list', function() {
var list = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
assert.deepEqual(R.remove(2, 5, list), ['a', 'b', 'h', 'i', 'j']);
});
it('returns the appro... |
angular.module('optionsExample', [])
.controller('ExampleController', ['$scope', function($scope) {
$scope.user = { name: 'say', data: '' };
$scope.cancel = function(e) {
if (e.keyCode == 27) {
$scope.userForm.userName.$rollbackViewValue();
}
};
}]); |
// FILE IS GENERATED BY COMBINING THE SOURCES IN THE "classes" DIRECTORY SO DON'T MODIFY THIS FILE DIRECTLY
(function(win) {
var whiteSpaceRe = /^\s*|\s*$/g,
undef, isRegExpBroken = 'B'.replace(/A(.)|B/, '$1') === '$1';
var tinymce = {
majorVersion : '3',
minorVersion : '5.8',
releaseDate : '2012... |
/**
* Chirashi.js v6.2.5-beta
* (c) 2017 Alex Toudic
* Released under MIT License.
**/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.Chirashi = global.Ch... |
/*
* Chartkick.js
* Create beautiful Javascript charts with minimal code
* https://github.com/ankane/chartkick.js
* v1.2.2
* MIT License
*/
/*jslint browser: true, indent: 2, plusplus: true, vars: true */
(function (window) {
'use strict';
var config = window.Chartkick || {};
var Chartkick, ISO8601_PATTE... |
define( [
"./core",
"./core/init",
"./manipulation", // clone
"./traversing" // parent, contents
], function( jQuery ) {
"use strict";
jQuery.fn.extend( {
wrapAll: function( html ) {
var wrap;
if ( this[ 0 ] ) {
if ( jQuery.isFunction( html ) ) {
html = html.call( this[ 0 ] );
}
... |
/*!
* froala_editor v2.5.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2017 Froala Labs
*/
/**
* Portuguese spoken in Portugal
*/
$.FE.LANGUAGE['pt_pt'] = {
translation: {
// Place holder
"Type something": "Digite algo",
// Basic for... |
// Query Compiler
// -------
import * as helpers from '../helpers';
import Raw from '../raw';
import JoinClause from './joinclause';
import debug from 'debug'
import {
assign, bind, compact, groupBy, isEmpty, isString, isUndefined, map, omitBy,
reduce
} from 'lodash';
import uuid from 'node-uuid';
const debugBi... |
Elm.Native.Color = {};
Elm.Native.Color.make = function(localRuntime) {
localRuntime.Native = localRuntime.Native || {};
localRuntime.Native.Color = localRuntime.Native.Color || {};
if (localRuntime.Native.Color.values)
{
return localRuntime.Native.Color.values;
}
function toCss(c)
{
var format = '';
var ... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image2', 'zh-cn', {
alt: '替换文本',
btnUpload: '上传到服务器',
captioned: '带标题图像',
captionPlaceholder: '标题',
infoTab: '图像信息',
lockRatio: '锁定比例',
menu: ... |
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})(); |
import{generateUtilityClass,generateUtilityClasses}from"@material-ui/unstyled";function getListUtilityClass(t){return generateUtilityClass("MuiList",t)}const listClasses=generateUtilityClasses("MuiList",["root","padding","dense","subheader"]);export default listClasses;export{getListUtilityClass}; |
YUI.add('dd-drop', function(Y) {
/**
* The Drag & Drop Utility allows you to create a draggable interface efficiently, buffering you from browser-level abnormalities and enabling you to focus on the interesting logic surrounding your particular implementation. This component enables you to create a variety o... |
'use strict';
var map = require('map-stream');
var readDir = require('./readDir');
var bufferFile = require('./bufferFile');
var streamFile = require('./streamFile');
function getContents(opt) {
return map(function (file, cb) {
// don't fail to read a directory
if (file.isDirectory()) {
return readDi... |
var path = require('canonical-path');
/**
* @dgService
* @description
* This file reader will pull the contents from a text file (by default .md)
*
* The doc will initially have the form:
* ```
* {
* content: 'the content of the file',
* startingLine: 1
* }
* ```
*/
module.exports = function contentFil... |
'use strict';
describe("$animateCss", function() {
var triggerRAF, element;
beforeEach(inject(function($$rAF, $rootElement, $document) {
triggerRAF = function() {
$$rAF.flush();
};
var body = jqLite($document[0].body);
element = jqLite('<div></div>');
$rootElement.append(element);
b... |
define([
], function(){
return ["$scope", "$log", "$window", "$routeParams", function($scope, $log, $window, $routeParams){
}];
}); |
function d3_transition_each(callback) {
for (var j = 0, m = this.length; j < m; j++) {
for (var group = this[j], i = 0, n = group.length; i < n; i++) {
var node = group[i];
if (node) callback.call(node = node.node, node.__data__, i, j);
}
}
return this;
}
|
/**
* These plugins provide extra functionality for interaction with textareas.
*/
( function ( $ ) {
if ( document.selection && document.selection.createRange ) {
// On IE, patch the focus() method to restore the windows' scroll position
// (bug 32241)
$.fn.extend( {
focus: ( function ( jqFocus ) {
ret... |
/**
* Copyright (c) 2008-2012 The Open Source Geospatial Foundation
*
* Published under the BSD license.
* See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text
* of the license.
*/
/**
* @require OpenLayers/Layer.js
* @require OpenLayers/Format/JSON.js
* @require OpenLayers/Format/GeoJSON... |
/*!
* vue-i18n v4.8.0
* (c) 2016 kazuya kawaguchi
* Released under the MIT License.
*/
'use strict';
var babelHelpers = {};
babelHelpers.typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "funct... |
var _curry1 = require('./internal/_curry1');
/**
* Makes a comparator function out of a function that reports whether the first element is less than the second.
*
* @func
* @memberOf R
* @category Function
* @sig (a, b -> Boolean) -> (a, b -> Number)
* @param {Function} pred A predicate function of arity two.
... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'showblocks', 'pt', {
toolbar: 'Exibir blocos'
} );
|
/**
* @license
* Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
* Build: `lodash core -o ./dist/lodash.core.js`
*/
;(function(){function n(n){return H(n)&&pn.call(n,"callee")&&!yn.call(n,"callee")}function t(n,t){return n.push.apply(n,t),n}function r(n){return function(t){re... |
void 0===gj.grid&&(gj.grid={plugins:{},messages:[]}),gj.grid.messages["en-us"]={First:"First",Previous:"Previous",Next:"Next",Last:"Last",Page:"Page",FirstPageTooltip:"First Page",PreviousPageTooltip:"Previous Page",NextPageTooltip:"Next Page",LastPageTooltip:"Last Page",Refresh:"Refresh",Of:"of",DisplayingRecords:"Dis... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() {... |
(function () {
var _slice = Array.prototype.slice;
var Bacon = {
toString: function () {
return 'Bacon';
}
};
Bacon.version = '0.7.87';
var Exception = (typeof global !== 'undefined' && global !== null ? global : this).Error;
var nop = function () {
};
var lat... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
registerGlobals();
exports.extras = {
allowS... |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... |
/*!
* json-schema-faker library v0.3.4
* http://json-schema-faker.js.org
* @preserve
*
* Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin
* Released under the MIT license
*
* Date: 2016-07-06 12:54:51.655Z
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else i... |
module.exports={title:"Swift",slug:"swift",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Swift</title><path d="M21.984 16.348c.056-.112.056-.224.112-.336 1.346-5.272-1.851-11.44-7.347-14.693 2.412 3.253 3.365 7.122 2.524 10.599-.056.28-.168.617-.28.897a5.173 5.173 0 0 1-.45-.28S11.1... |
var configs={clear:!1,form:!1,input:!1,submit:!1};export default configs; |
import React from 'react';
import NavMain from './NavMain';
import PageHeader from './PageHeader';
import PageFooter from './PageFooter';
const NotFoundPage = React.createClass({
render() {
return (
<div>
<NavMain activePage="" />
<PageHeader
title="404"
subT... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Hls = f()}})(f... |
/*
* Globalize Culture pt
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* This file was generated by the Globalize Culture Generator
* Translation: bugs found in this file need to b... |
var assert = require('assert');
var fs = require('fs');
var asn1 = require('../../../');
var rfc5280 = require('..');
var Buffer = require('buffer').Buffer;
describe('asn1.js RFC5280', function() {
it('should decode Certificate', function() {
var data = fs.readFileSync(__dirname + '/fixtures/cert1.crt');
v... |
/*!
* froala_editor v2.2.2 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2016 Froala Labs
*/
/**
* Thai
*/
$.FE.LANGUAGE['th'] = {
translation: {
// Place holder
"Type something": "\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e1a\u0e32\u0e07\u0e2a\u0e3... |
/**
* Brazilian translation for bootstrap-datetimepicker
* Cauan Cabral <cauan@radig.com.br>
*/
;(function($){
$.fn.datetimepicker.dates['pt-BR'] = {
format: 'dd/mm/yyyy',
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
daysShort: ["Dom", "Seg", "Ter", "Q... |
function initializeJS() {
//tool tips
jQuery('.tooltips').tooltip();
//popovers
jQuery('.popovers').popover();
//custom scrollbar
//for html
jQuery("html").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '6', cursorborderradius: '10px', background: '#F7F7F7', cursorborder:... |
// Zepto.js
// (c) 2010-2015 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.
;(function($){
// Create a collection of callbacks to be fired in a sequence, with configurable behaviour
// Option flags:
// - once: Callbacks fired at most one time.
// - memory: Remember th... |
/**
* Angular Google Analytics - Easy tracking for your AngularJS application
* @version v0.0.9 - 2014-11-24
* @link http://github.com/revolunet/angular-google-analytics
* @author Julien Bouquillon <julien@revolunet.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.modu... |
import "ordinal";
import "scale";
/*
* This product includes color specifications and designs developed by Cynthia
* Brewer (http://colorbrewer.org/). See lib/colorbrewer for more information.
*/
d3.scale.category10 = function() {
return d3.scale.ordinal().range(d3_category10);
};
d3.scale.category20 = function... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* The PhysicsBody component manages the Game Objects physics body and physics enabling.
* It also overrides the x and ... |
/*global window */
/**
* @license countdown.js v2.4.2 http://countdownjs.org
* Copyright (c)2006-2014 Stephen M. McKamey.
* Licensed under The MIT License.
*/
/*jshint bitwise:false */
/**
* @public
* @type {Object|null}
*/
var module;
/**
* API entry
* @public
* @param {function(Object)|Date|number} start ... |
Package.describe({
summary: "Ordered traversable dictionary with a mutable ordering",
version: '1.0.4-plugins.0',
documentation: null
});
Package.onUse(function (api) {
api.use('underscore');
api.export('OrderedDict');
api.addFiles('ordered_dict.js', ['client', 'server']);
});
|
/*!
* ember-charts v0.2.0
* Copyright 2012-2014 Addepar Inc.
* See LICENSE.
*/
(function() {
var _ref;
})();
(function() {
Ember.TEMPLATES["chart"] = Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [4,'>= 1.0.0'];
helpers = this.merge(helpers, Ember.Handl... |
YUI.add("lang/calendar-base_es",function(e){e.Intl.add("calendar-base","es",{weekdays:["Domingo","Lunes","Martes","Mi\u00e9rcoles","Jueves","Viernes","S\u00e1bado"],short_weekdays:["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],very_short_weekdays:["Do","Lu","Ma","Mi","Ju","Vi","Sa"],first_weekday:1,weekends:[0,6]})},"@VER... |
var mapToRegistry = require('./utils/map-to-registry.js')
var npm = require('./npm')
var output = require('./utils/output.js')
module.exports = team
team.subcommands = ['create', 'destroy', 'add', 'rm', 'ls', 'edit']
team.usage =
'npm team create <scope:team>\n' +
'npm team destroy <scope:team>\n' +
'npm team ... |
var files =
[
[ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ]
]; |
'use strict';
var camelCase = require('camel-case');
var rPrefixUnderscore = /^(_+)/;
function getter(key) {
return function() {
return this[key];
};
}
function setter(key) {
return function(value) {
this[key] = value;
};
}
function camelCaseKeys(obj) {
if (typeof obj !== 'object') throw new Type... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2015 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* A Video object that takes a previously loaded Video from the Phaser Cache and handles playback of it.
*
* Alternati... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo', 'nb', {
label: 'Stil',
panelTitle: 'Stilformater',
panelTitle1: 'Blokkstiler',
panelTitle2: 'Inlinestiler',
panelTitle3: 'Objektst... |
// Load modules
// Declare internals
var internals = {};
exports.serial = function (array, method, callback) {
var il = array.length;
if (!il) {
callback();
}
else {
var i = 0;
var iterate = function () {
var done = function (err) {
if (err) {
... |
/* Adapter for jTable (http://jtable.org) to ASP.NET Boilerplate (http://aspnetboilerplate.com)
* by Halil ibrahim Kalkan (http://halilibrahimkalkan.com).
*/
(function ($) {
if (!$ || !$.hik || !$.hik.jtable) {
return;
}
//Reference to base object members
var base = {
_create: $.hik.... |
/*!
* inflection
* Copyright(c) 2011 Ben Lin <ben@dreamerslab.com>
* MIT Licensed
*
* @fileoverview
* A port of inflection-js to node.js module.
*/
( function ( root, factory ){
if( typeof define === 'function' && define.amd ){
define([], factory );
}else if( typeof exports === 'object' ){
module.ex... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var... |
tinymce.PluginManager.add("emoticons",function(t,e){function a(){var t;return t='<table role="list" class="mce-grid">',tinymce.each(i,function(a){t+="<tr>",tinymce.each(a,function(a){var i=e+"/img/smiley-"+a+".gif";t+='<td><a href="#" data-mce-url="'+i+'" data-mce-alt="'+a+'" tabindex="-1" role="option" aria-label="'+a... |
/*!
* Qoopido.js library v3.2.1, 2014-0-10
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("support/css/rem",e,["../../support"])}(function(e,t,o,s,r,i){"use strict";var n=e.support;return n.addTest("/css/rem",function(e){var t=n.po... |
var searchData=
[
['oculus_20rift_20guide',['Oculus Rift guide',['../rift.html',1,'']]]
];
|
'use strict';
/**
* Module dependencies.
*/
var _ = require('lodash'),
defaultAssets = require('./config/assets/default'),
testAssets = require('./config/assets/test');
// Karma configuration
module.exports = function (karmaConfig) {
karmaConfig.set({
// Frameworks to use
frameworks: ['jasmine'],
... |
"use strict";
var common = require('./common')
, utils = require('../utils')
, toError = require('../utils').toError
, f = require('util').format
, handleCallback = require('../utils').handleCallback
, shallowClone = utils.shallowClone
, WriteError = common.WriteError
, BulkWriteResult = common.BulkWriteResu... |
"use strict";
exports.__esModule = true;
exports.default = function () {
return {
manipulateOptions: function manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("exportExtensions");
}
};
};
module.exports = exports["default"]; |
var memoizedProperty = require('../util').memoizedProperty;
function Collection(iterable, options, fn, nameTr) {
nameTr = nameTr || String;
var self = this;
for (var id in iterable) {
if (iterable.hasOwnProperty(id)) {
(function(name) {
memoizedProperty(self, nameTr(name), function() {
... |
// import the necessary modules
var mongoose = require('../../lib');
var Schema = mongoose.Schema;
// create an export function to encapsulate the model creation
module.exports = function() {
// define schema
var PersonSchema = new Schema({
name : String,
age : Number,
birthday : Date
});
mongoose... |
"use strict";
var zip_1 = require('./zip');
/**
* @param project
* @return {Observable<R>|WebSocketSubject<T>|Observable<T>}
* @method zipAll
* @owner Observable
*/
function zipAll(project) {
return this.lift(new zip_1.ZipOperator(project));
}
exports.zipAll = zipAll;
//# sourceMappingURL=zipAll.js.map |
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../markdown/markdown"), require("../../addon/mode/overlay"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "../markdown/markdo... |
(function($){"use strict";$.extend($.fn.select2.defaults,{formatNoMatches:function(){return"Nenhum resultado encontrado"},formatInputTooShort:function(input,min){var n=min-input.length;return"Introduza "+n+" caracter"+(n==1?"":"es")},formatInputTooLong:function(input,max){var n=input.length-max;return"Apague "+n+" cara... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ConcatSource = require("webpack-core/lib/ConcatSource");
var Template = require("./Template");
function ChunkTemplate(outputOptions) {
Template.call(this, outputOptions);
}
module.exports = ChunkTemplate;
ChunkTe... |
;(function($){
/**
* jqGrid Bulgarian Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = $.jgrid || {};
$.extend($.jgrid,{
defau... |
var crossbow = require("./");
var through = require("through2");
var fs = require("vinyl-fs");
var rimraf = require("rimraf").sync;
var outpath = "./stream-out";
rimraf(outpath);
fs.src([
"test/fixtures/*.html",
"test/fixtures/_posts/**"
//"test/fixtures/docs/**",
//"test/fixtures/projects/**"
])
.pip... |
import GLVertexArray from './GLVertexArray.js'
import GLTexture from './GLTexture.js'
export default class GLObject {
#boundTextures = new Set()
#vertexArrays = new Map()
#program
constructor({
gl,
geometry = undefined,
program = undefined,
}) {
this.gl = gl
this.geometry = geometry
... |
"use strict";
const test = require("ava");
const Client = require("../lib/Client");
test("_findTransport", (t) => {
class Transport {
socketParameters(uri) {
if (uri === "a") {
return uri;
}
if (uri === "b") {
return undefined;
}
throw new Error("foobar");
}
... |
module.exports = {
PUSH: 'push'
};
|
define(['vbutil'], function(vbutil) {
var GroupChangerPlugin = function(mod) {
var usergroups = {
'member': 2,
'appellate': 5,
'administrator': 6,
'moderator': 7,
'donator': 16,
'veteran': 22,
'designer': 30,
'affiliate' : 49,
'sotw': 54,
'programmer': 63,
'respected': 69,
'superd... |
/*
Copyright (c) 2015, Ole Krause-Sparmann,
Andrew Monks <a@monks.co>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all
copies.
THE SOFTWARE IS PROV... |
const gulp = require('gulp');
const rimraf = require('rimraf');
gulp.task('clean', (done) => rimraf('build', done));
|
// ==UserScript==
// @name QuizWiz : Partial Credit
// @namespace https://github.com/jamesjonesmath/canvancement
// @description Regrading and speed enhancements for Canvas quizzes
// @include https://*.instructure.com/courses/*/gradebook/speed_grader?*
// @include https://*.instructure.com/courses/*/q... |
// Generated by CoffeeScript 1.8.0
(function() {
var InterpolationError, PathExp, _, _ref,
__slice = [].slice;
_ = require('underscore');
exports.formats = require('./formats');
exports.placeholders = require('./placeholders');
_ref = require('./compiler'), InterpolationError = _ref.InterpolationError... |
(function() {
module.exports = {
binarySearch: function(array, item) {
},
bubbleSort: function(array) {
},
insertionSort: function(array) {
},
linearSearch: function(array, item) {
}
};
})();
|
require('babel/register')({
stage: 1,
ignore: false
});
|
import mod20 from './mod20';
var value=mod20+1;
export default value;
|
if('querySelector' in document && 'classList' in document.createElement('a') && 'addEventListener' in window) {
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+css-extras+clike+javascript+bash+git */
self = (typeof window !== 'undefined')
? window // if in browser
: (
(typeof ... |
import Marionette from 'backbone.marionette';
import KeyBind from './KeyBind';
let behaviors = {
KeyBind,
};
export default function (app) {
app.behaviors = behaviors;
Marionette.Behaviors.behaviorsLookup = () => {
return app.behaviors;
};
}
|
// ==UserScript==
// @id iitc-plugin-keys-on-map@xelio
// @name IITC plugin: Keys on map
// @category Layer
// @version 0.2.1.@@DATETIMEVERSION@@
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Show the manually entered key counts from the 'keys' plugin on the map.
@@METAINFO@@
// ==... |
var getEvent = require('./event');
/**
* Gets the target of the event
*
* @see {@link https://msdn.microsoft.com/en-us/library/ie/ms534638(v=vs.85).aspx|MSDN#Events.srcElement}
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Event/target|MDN#Event.target}
* @param {Event} event The event object
* @... |
var redis = require('redis')
var Promise = require('bluebird')
function RedisStore (options) {
if (!(this instanceof RedisStore)) return new RedisStore(options)
options = options || {}
this.client = null
this.prefix = options.prefix || 'middleman:'
this.expire = null
this._expirationPolicy = false
if (o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.