code stringlengths 2 1.05M |
|---|
import _BidStatus from "./BidStatus"
import PropTypes from "prop-types"
import React from "react"
import block from "bem-cn-lite"
import classNames from "classnames"
import titleAndYear from "desktop/apps/auction/utils/titleAndYear"
import { connect } from "react-redux"
import { get } from "lodash"
// FIXME: Rewire
le... |
// swagger-client.js
// version 2.1.0-alpha.3
/**
* Array Model
**/
var ArrayModel = function(definition) {
this.name = "name";
this.definition = definition || {};
this.properties = [];
this.type;
this.ref;
var requiredFields = definition.enum || [];
var items = definition.items;
if(items) {
var ... |
describe("When both the prefix and routes have a trailing slash", function() {
beforeEach(function() {
var overrideRoutes = {
"/": "handleDefaultRoute",
"foo/": "handleFooRoute"
};
SubRouteTest.setUp.call(this, "subroute3/", {}, overrideRoutes);
});
afterE... |
/**
* @author Mugen87 / http://github.com/Mugen87
*/
import { BufferGeometry } from '../core/BufferGeometry.js';
import { BufferAttribute } from '../core/BufferAttribute.js';
import { LineBasicMaterial } from '../materials/LineBasicMaterial.js';
import { Line } from '../objects/Line.js';
import { _Math } from '../ma... |
var importRelease = function (number) {
var releaseNotes = Assets.getText("releases/" + number + ".md");
if (!Releases.findOne({number: number})) {
var release = {
number: number,
notes: releaseNotes,
createdAt: new Date(),
read: false
};
Releases.insert(release);
} else {
... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
'use strict'
const fs = require('fs')
const path = require('path')
module.exports = function () {
process.env['PATH'] =
process.env['PATH']
.split(';')
.filter(function(p) {
if (fs.existsSync(path.join(p, 'msbuild.exe'))) {
console.log('Excluding "' + p + '" from PATH to avoid msbu... |
'use strict';
/**
* @ngdoc module
* @name ngAnimate
* @description
*
* The `ngAnimate` module provides support for CSS-based animations (keyframes and transitions) as well as JavaScript-based animations via
* callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation h... |
/**
@module ember
@submodule ember-htmlbars
*/
import lookupHelper from "ember-htmlbars/system/lookup-helper";
export default function subexpr(env, view, path, params, hash) {
var helper = lookupHelper(path, view, env);
Ember.assert("A helper named '"+path+"' could not be found", helper);
var options = {
... |
// @flow
('yo': $Values<any>); // OK: `any` is a blackhole.
(123: $Values<any>); // OK: `any` is a blackhole.
(true: $Values<any>); // OK: `any` is a blackhole.
|
/*
* Copyright 2012 Cloud9 IDE, Inc.
*
* This product includes software developed by
* Cloud9 IDE, Inc (http://c9.io).
*
* Author: Mike de Boer <info@mikedeboer.nl>
*/
"use strict";
var Assert = require("assert");
var Client = require("./../../index");
describe("[statuses]", function() {
var client;
v... |
var hierarchy =
[
[ "illacceptanything.arbitraryBusinessLogic", "classillacceptanything_1_1arbitraryBusinessLogic.html", null ],
[ "Sharepoint2007.Web.BundleConfig", "classSharepoint2007_1_1Web_1_1BundleConfig.html", null ],
[ "Controller", null, [
[ "Sharepoint2007.Web.Controllers.AccountController",... |
module.exports = require('process');
|
/**
* Firebase database for browser npm package.
*
* Usage:
*
* database = require('firebase/database');
*/
require('./firebase-app');
require('./firebase-database');
module.exports = firebase.database;
|
// https://docs.cypress.io/api/introduction/api.html
describe('My First Test', () => {
it('Visits the app root url', () => {
cy.visit('/')
cy.contains('h1', 'Welcome to Your Vue.js App')
})
})
|
var Code = require('code'),
Lab = require('lab'),
lab = exports.lab = Lab.script(),
describe = lab.experiment,
before = lab.before,
after = lab.after,
it = lab.test,
expect = Code.expect,
redis = require('redis'),
spawn = require('child_process').spawn,
redisSessions = require('../../adapters/redis-... |
$(el).children();
|
// -- Sammy.js -- /plugins/sammy.haml.js
// http://sammyjs.org
// Version: 0.7.5
// Built: 2014-02-22 10:57:12 +0200
(function(factory){if(typeof define==="function"&&define.amd){define(["jquery","sammy","haml"],factory)}else{(window.Sammy=window.Sammy||{}).Haml=factory(window.jQuery,window.Sammy)}})(function($,Sammy){... |
/*!
* Module requirements
*/
var MongooseError = require('../error.js');
/**
* Document Validation Error
*
* @api private
* @param {Document} instance
* @inherits MongooseError
*/
function ValidationError(instance) {
if (instance && instance.constructor.name === 'model') {
MongooseError.call(this, ins... |
/*
* index.js: Top-level include for the Iriscouch database module
*
* (C) 2011 Charlie Robbins, Ken Perkins, Ross Kukulinski & the Contributors.
*
*/
exports.Client = require('./client').Client;
exports.createClient = function createClient(options) {
return new exports.Client(options);
};
|
// A simple node.js program which prints out ops as they are submitted to the
// 'hello' document.
var client = require('..').client;
client.open('hello', 'text', 'http://localhost:8000/channel', function(error, doc) {
if (error) {
throw error;
}
console.log('Document open at version ' + doc.version);
if (doc.... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'stylescombo', 'de', {
label: 'Stil',
panelTitle: 'Formatierungenstil',
panelTitle1: 'Block Stilart',
panelTitle2: 'Inline Stilart',
panelTitle... |
/*
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... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, 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 sou... |
// The Post Settings Menu available in the content preview screen, as well as the post editor.
/*global window, $, _, Ghost, moment */
(function () {
"use strict";
var parseDateFormats = ["DD MMM YY HH:mm", "DD MMM YYYY HH:mm", "DD/MM/YY HH:mm", "DD/MM/YYYY HH:mm",
"DD-MM-YY HH:mm", "DD-MM-YYYY H... |
define("dojox/mobile/bidi/Accordion", [
"dojo/_base/declare",
"./common"
], function(declare, common){
// module:
// dojox/mobile/bidi/Accordion
return declare(null, {
// summary:
// Support for control over text direction for mobile Accordion widget, using Unicode Control Characters to control text direct... |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/TeX/svg/Main/Italic/Main.js
*
* Copyright (c) 2011-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
/* ***** 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 sou... |
frappe.listview_settings["Error Snapshot"] = {
add_fields: ["parent_error_snapshot", "relapses", "seen"],
filters:[
["parent_error_snapshot","=",null],
["seen", "=", false]
],
get_indicator: function(doc){
if (doc.parent_error_snapshot && doc.parent_error_snapshot.length){
... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
/**
* @license AngularJS v1.4.7
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngTouch
* @description
*
* # ngTouch
*
* The `ngTouch` module provides touch events and other helpers for touch-enabled devices... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var grid_1 = require("../grid");
function initialiseAgGridWith... |
/*global define*/
// @see https://docs.angularjs.org/api/ng/service/$compile
define(function () {
'use strict';
function Compile($injector) {
var $compile = $injector.get('$compile');
return {
transclude: true,
link: function (scope, element, attrs, controller, transcl... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
"use strict";
var core_1 = require('@angular/core');
var lang_1 = require('../facade/lang');
var NgTemplateOutlet = (... |
/*! jQuery UI - v1.10.4 - 2014-06-04
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.nb={closeText:"Lukk",prevText:"«Forrige",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","ju... |
module.exports = {
extends: 'airbnb-base',
env: {
browser: true,
},
rules: {
'object-shorthand': ['error', 'always', {
avoidQuotes: true,
avoidExplicitReturnArrows: true,
}],
'function-paren-newline': ['error', 'consistent'],
'max-len': ['warn', 120, 2, {
ignoreUrls: true,
... |
ej.addCulture( "smj-NO", {
name: "smj-NO",
englishName: "Sami, Lule (Norway)",
nativeName: "julevusámegiella (Vuodna)",
language: "smj",
numberFormat: {
",": " ",
".": ",",
percent: {
pattern: ["-%n","%n"],
",": " ",
".": ","
},
currency: {
pattern: ["$ -n","$ n"],
",": " ",
".": ",",
... |
var Observable_1 = require('../../Observable');
var windowWhen_1 = require('../../operator/windowWhen');
Observable_1.Observable.prototype.windowWhen = windowWhen_1.windowWhen;
//# sourceMappingURL=windowWhen.js.map |
var path = require("path"),
fs = require("fs-extra"),
glob = require("glob"),
_ = require('lodash'),
request = require("superagent"),
async = require("async"),
tarball = require('tarball-extract'),
mkdirp = require('mkdirp');
var parse = function (json_file, ignore_missing, ignore_parse_fai... |
var Waterline = require('../../../lib/waterline'),
assert = require('assert');
describe('.beforeValidate()', function() {
describe('basic function', function() {
var person;
before(function(done) {
var waterline = new Waterline();
var Model = Waterline.Collection.extend({
identity: ... |
var Waterline = require('../../../lib/waterline'),
assert = require('assert');
describe('.afterValidate()', function() {
describe('basic function', function() {
var person;
before(function(done) {
var waterline = new Waterline();
var Model = Waterline.Collection.extend({
identity: '... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","sv",{euro:"Eurotecken",lsquo:"Enkelt vänster citattecken",rsquo:"Enkelt höger citattecken",ldquo:"Dubbelt vänster citattecken",rdquo:"D... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v7.2.2
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
f... |
var select = require('../');
var test = require('tape');
var through = require('through2');
test('overlapping transforms', function (t) {
var expected = [
[ 'open', '<html>' ],
[ 'open', '<body>' ],
[ 'open', '<DIV CLASS="LOUD">' ],
[ 'open', '<B>' ],
[ 'text', 'BEEP BOOP' ]... |
module.exports = function(arr, start, end, step) {
if (typeof start == 'string') throw new Error("start cannot be a string");
if (typeof end == 'string') throw new Error("end cannot be a string");
if (typeof step == 'string') throw new Error("step cannot be a string");
var len = arr.length;
if (step === 0)... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
/**
* 设置行内间距
* @file
* @since 1.2.6.1
*/
UE.plugins['lineheight'] = function(){
var me = this;
me.setOpt({'lineheight':['1', '1.5','1.75','2', '3', '4', '5']});
/**
* 行距
* @command lineheight
* @method execCommand
* @param { String } cmdName 命令字符串
* @param { Strin... |
let foo = () => {
foo = () => { };
};
foo();
|
function* foo() {
let a = yield;
return yield;
}
|
/**
* @author TristanVALCKE / https://github.com/Itee
*/
/* global QUnit */
import { NothingsIsExportedYet } from '../../../editor/js/Editor';
export default QUnit.module( 'Editor', () => {
QUnit.module.todo( 'Editor', () => {
QUnit.test( 'write me !', ( assert ) => {
assert.ok( false, "everything's gonna ... |
/*! /support/method 2.0.1 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */
!function(n){"use strict";function t(t,r,e){var u={};return function(a){var i,l,o,d,s=t(arguments[1])?arguments[1]:null,c=!!arguments[s?2:1],m=null;return s=s||n,i=s===n?"#window":s.nodeName,i&&(l=u[i]=u[i]||{},m=l[a]=u[i][a]||null),null===... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.1.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 __() {... |
/*
* /MathJax/jax/input/MathML/config.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* 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/licens... |
/*
* This file has been generated to support Visual Studio IntelliSense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jQuery library for all production use.
*
* Comment version: 1.6.2
*/
/*!
* jQuery JavaScr... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "flatpickr", "../../globals/js/settings", "../../globals/js/misc/mixin", "../../globals/js/mixins/create-component", "../../globals/js/mixins/init-component-by-search", "../../globals/js/mixins/handles", "../../glob... |
var app = require('app');
var ipc = require('ipc');
var dialog = require('dialog');
var BrowserWindow = require('browser-window');
var Menu = require('menu');
var window = null;
process.port = 0; // will be used by crash-reporter spec.
app.commandLine.appendSwitch('js-flags', '--expose_gc');
app.commandLine.appendSw... |
/**
* This file contains the variables used in other gulp files
* which defines tasks
* By design, we only put there very generic config values
* which are used in several places to keep good readability
* of the tasks
*/
var gutil = require('gulp-util');
/**
* The main paths of your project handle these... |
/**
* QUnit Composite v1.0.5-pre
*
* https://github.com/JamesMGreene/qunit-composite
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license/
*/
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( [ "qunit" ], factor... |
/* Copyright 2012 Mozilla Foundation
*
* 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 required by applicable law or agreed... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["ReduxForm"] = facto... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.1.2
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... |
/**
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react-co... |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M448 96c0-35.3-28.7-64-64-64s-64 28.7-64 64c0 32.3 23.9 59 55 63.4h1V219l-120 59.1L136 219v-59.5c31.6-3.9 56-30.8 56-63.5 0-35.3-28.7-64-64-64S64 60.7 64 96c0 32.3 23.9 59 55 63.4h1V229l128 63v60.3c-31.6 3.9-56 30.8-56 63.5 0 35.3 28.7 ... |
/**
* @fileoverview Tests for camelcase rule.
* @author Nicholas C. Zakas
* @copyright 2015 Dieter Oberkofler. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------... |
( function ( mw, $ ) {
QUnit.module( 'mediawiki.user', QUnit.newMwEnvironment( {
setup: function () {
this.server = this.sandbox.useFakeServer();
this.crypto = window.crypto;
this.msCrypto = window.msCrypto;
},
teardown: function () {
if ( this.crypto ) {
window.crypto = this.crypto;
}
if (... |
var RELANG = {};
RELANG['ro'] = {
html: 'HTML',
video: 'Adauga video...',
image: 'Adauga imagine...',
table: 'Tabel',
link: 'Legatura web',
link_insert: 'Adauga legatura web...',
unlink: 'Elimina legatura web',
formatting: 'Formatare',
paragraph: 'Paragraf',
quote: 'Citat',
code: 'Cod',
header1: 'Titlu 1',
... |
var ComponentsBootstrapTouchSpin = function() {
var handleDemo = function() {
$("#touchspin_1").TouchSpin({
min: 0,
max: 100,
step: 0.1,
decimals: 2,
boostat: 5,
maxboostedstep: 10,
postfix: '%'
});
... |
/**
* Easy to use Wizard library for AngularJS
* @version v0.1.1 - 2014-01-29 * @link https://github.com/mgonto/angular-wizard
* @author Martin Gontovnikas <martin@gon.to>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
angular.module('templates-angularwizard', ['step.html', 'wizard.html']);
ang... |
/**
* Attaches behaviors for the Comment module's "by-viewer" class.
*/
(function ($, Drupal, drupalSettings) {
"use strict";
/**
* Add 'by-viewer' class to comments written by the current user.
*/
Drupal.behaviors.commentByViewer = {
attach: function (context) {
var currentUserID = parseInt(d... |
jQuery.extend(jQuery.validator.messages,{required:"Hãy nhập.",remote:"Hãy sửa cho đúng.",email:"Hãy nhập email.",url:"Hãy nhập URL.",date:"Hãy nhập ngày.",dateISO:"Hãy nhập ngày (ISO).",number:"Hãy nhập số.",digits:"Hãy nhập chữ số.",creditcard:"Hãy nhập số thẻ tín dụng.",equalTo:"Hãy nhập thêm lần nữa.",accept:"Phần m... |
Plotly.register({moduleType:"locale",name:"he",dictionary:{},format:{days:["\u05e8\u05d0\u05e9\u05d5\u05df","\u05e9\u05e0\u05d9","\u05e9\u05dc\u05d9\u05e9\u05d9","\u05e8\u05d1\u05d9\u05e2\u05d9","\u05d7\u05de\u05d9\u05e9\u05d9","\u05e9\u05d9\u05e9\u05d9","\u05e9\u05d1\u05ea"],shortDays:["\u05d0'","\u05d1'","\u05d2'","\... |
/**
* @license AngularJS v1.1.2
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
/**
* @ngdoc overview
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*... |
/**
* o------------------------------------------------------------------------------o
* | This file is part of the RGraph package - you can learn more at: |
* | |
* | http://www.rgr... |
'use strict';
/* jshint -W030 */
var chai = require('chai')
, expect = chai.expect
, Support = require(__dirname + '/../../support')
, dialect = Support.getTestDialect()
, config = require(__dirname + '/../../../config/config')
, DataTypes = require(__dirname + '/../../../../lib/data-types');
if (dialect.ma... |
YUI.add('resize-base', function(Y) {
/**
* The Resize Utility allows you to make an HTML element resizable.
*
* @module resize
*/
var Lang = Y.Lang,
isArray = Lang.isArray,
isBoolean = Lang.isBoolean,
isNumber = Lang.isNumber,
isString = Lang.isString,
YArray = Y.Array,
trim = Lang.trim,
indexOf = YArray... |
/**
* Arabic
*/
$.Editable.LANGS['ar'] = {
translation: {
"Bold": "\u063a\u0627\u0645\u0642",
"Italic": "\u0645\u0627\u0626\u0644",
"Underline": "\u062a\u0633\u0637\u064a\u0631",
"Strikethrough": "\u064a\u062a\u0648\u0633\u0637 \u062e\u0637",
"Font Size": "\u062d\u062c\u0645 \u0627\u0644\u062e\... |
/* cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */
/*jshint -W100 */
var cptable = {version:"1.12.0"};
cptable[437] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\... |
// # Task automation for Ghost
//
// Run various tasks when developing for and working with Ghost.
//
// **Usage instructions:** can be found in the [Custom Tasks](#custom%20tasks) section or by running `grunt --help`.
//
// **Debug tip:** If you have any problems with any Grunt tasks, try running them with the `--verb... |
/*!
* Qoopido.js library v3.2.4, 2014-5-12
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(t){window.qoopido.register("function/merge",t)}(function(t,e,n,o,r,u,f){"use strict";return function i(){var t,e,n,o,r,u=arguments[0];for(t=1;(e=arguments[t])!==f;t++)f... |
/**
* CLDR JavaScript Library v0.3.1
* http://jquery.com/
*
* Copyright 2013 Rafael Xavier de Souza
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-03-08T13:53Z
*/
/*!
* CLDR JavaScript Library v0.3.1 2014-03-08T13:53Z MIT license © Rafael Xavier
* http://git.io/h4lmVg
*/
(functi... |
/*! Qoopido.js library 3.7.1, 2015-07-25 | https://github.com/dlueth/qoopido.js | (c) 2015 Dirk Lueth */
!function(e){var t=[];Array.prototype.indexOf||t.push("../array/indexof"),window.qoopido.register("polyfill/window/removeeventlistener",e,t)}(function(e,t,n,r,o,i,v){"use strict";return o.removeEventListener||(o.rem... |
/*!
* Qoopido.js library v3.5.2, 2014-8-12
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(t){window.qoopido.register("support/css/transform/2d",t,["../../../support","../transform"])}(function(t,r,o,s,e,n){"use strict";var p=t.support;return p.addTest("/css/t... |
OpenLayers.Format=OpenLayers.Class({options:null,externalProjection:null,internalProjection:null,data:null,keepData:!1,initialize:function(e){OpenLayers.Util.extend(this,e),this.options=e},destroy:function(){},read:function(){OpenLayers.Console.userError(OpenLayers.i18n("readNotImplemented"))},write:function(){OpenLaye... |
angular.module('TudaoApp')
.controller('IndexController', ['$scope', 'Question', 'Subject', 'Test', '$localStorage', '$interval', 'Message',
function($scope, Question, Subject, Test, $localStorage, $interval, Message) {
$scope.questions = [];
$scope.subjects = [];
$scope.tests = [];
$scope.test = {... |
#!/usr/bin/env node
var fs = require('fs')
var path = require('path')
var yargs = require('yargs')
var skeletron = require('skeletron')
var npmInstallPackage = require('npm-install-package')
switch (yargs.argv._[0]) {
// rukus init
case 'newproject': {
newproject()
break
}
// rukus component
case 'ne... |
(function() {
var app, bodyParser, express, indexController, server;
express = require('express');
bodyParser = require('body-parser');
indexController = require('./controllers/index.js');
app = express();
app.set('view engine', 'jade');
app.set('views', __dirname + '/views');
app.use(express["st... |
'use strict';
var assert = require('chai').assert;
var cheerio = require('cheerio');
var HTMLUglify = require('../lib/main.js');
var htmlUglify = new HTMLUglify();
describe('HTMLUglify', function() {
describe('#isWhitelisted', function() {
var whitelist;
var htmlUglify;
beforeEach(function() {
w... |
var uuid = require('node-uuid');
var LOBBY_LOG = false;
module.exports = (function () {
function Lobby (maxMembers) {
this.id = uuid();
this.maxMembers = maxMembers;
this.openRoomId = uuid();
/* pseudo rooms are just arrays of users. When a pseudo room reaches maximum capacity,
flush() returns it as a ma... |
const { toBeType } = require('jest-tobetype');
const mediasoup = require('../');
const { createWorker } = mediasoup;
expect.extend({ toBeType });
let worker;
let router;
let audioLevelObserver;
const mediaCodecs =
[
{
kind : 'audio',
mimeType : 'audio/opus',
clockRate : 48000,
channels : 2,
par... |
var assert = require("assert");
var _ = require("lodash");
var Promise = require('bluebird');
var responseEditTests = function(dbResponsePromise) {
describe('#edit()', function() {
/*
Note on validating params
By the time we get here we already know that not providing chance, o... |
import mod45 from './mod45';
var value=mod45+1;
export default value;
|
/**
* generate an inclusive range
*/
export function range(min, max) {
let values = new Set();
for (let i = min; i <= max; i++) {
values.add(i);
}
return values;
}
/**
* find all multiples of k up to limit
*/
export function multiples(k, limit) {
let values = new Set();
for (var i = 1; i*k <= limit... |
import $ from 'jquery';
import './footer.scss';
export default class Footer {
constructor($root) {
this.elements = {
$root,
$window: $(window)
};
}
}
|
module.exports = {
AbstractModel: require('./AbstractModel')
}; |
import route from 'koa-route';
import parse from 'co-body/lib/form';
import { INTERACTIVE_MESSAGE_RESPONSE } from '../';
import type Pool from '../pool';
type OptionsType = {
pool: Pool,
token: string,
url: ?string,
}
export default ({ pool, token, url = '/interactive-message' }: OptionsType) => (
route.post(... |
var path = require('path')
var webpack = require('webpack')
var banner = require('./webpack.banner')
var TARGET = process.env.TARGET || null
var externals = {
react: {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react',
},
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react... |
module.exports.DfpDate = {
to : function (dfpDate) {
return new Date(dfpDate.date.year, dfpDate.date.month, dfpDate.date.day, dfpDate.hour, dfpDate.minute, dfpDate.second);
},
from : function (today, timeZoneId, days, months) {
return {
date : {
year : today.getFullYear(),
mont... |
!function(e){try{e=angular.module("directiveSeed")}catch(t){e=angular.module("directiveSeed",[])}e.run(["$templateCache",function(e){e.put("directive-seed.tpl.html","<div><p>Angular directives are {{ awesome }}</p></div>")}])}(),function(){var e,t;try{t=angular.module("directiveSeed")}catch(r){e=r,t=angular.module("dir... |
'use strict'
module.exports = printHelp
const commands = require('./commands')
function printHelp() {
console.log()
console.log('Usage: ciex <command>')
console.log()
console.log('where <command> is one of:')
console.log(` ${commands.map(c => c.name).join(', ')}`)
commands.forEach(command... |
webpackJsonp([1],{
/***/ 5:
/***/ function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; desc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.