code stringlengths 2 1.05M |
|---|
/* Copyright (c) 2014-2015 Richard Rodger, MIT License */
'use strict'
var Net = require('net')
var Code = require('code')
var Lab = require('lab')
var Seneca = require('..')
// Test shortcuts
var lab = exports.lab = Lab.script()
var describe = lab.describe
var it = lab.it
var expect = Code.expect
var internals = {}... |
var wymeditor_inputs = [];
var wymeditors_loaded = 0;
// supply custom_wymeditor_boot_options if you want to override anything here.
if (typeof(custom_wymeditor_boot_options) == "undefined") { custom_wymeditor_boot_options = {}; }
var wymeditor_boot_options = $.extend({
skin: 'refinery'
, basePath: "/javascripts/wy... |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @RelayResolver
*
* @onType User
* @fieldName favorite_page
* @edgeTo Page
* @rootFragment myRootFragment
* @deprec... |
var never = false;
it("should not crash on missing requires", function() {
if (never) {
require("./a");
require("./b");
require("./c");
require("./d");
require("./e");
require("./f");
require("./h");
require("./i");
require("./j");
require("./k");
require("./l");
require("./m");
require("./n... |
/**
* MatchKeys.js
*
* Released under LGPL License.
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
define(
'tinymce.core.keyboard.MatchKeys',
[
'ephox.katamari.api.Arr',
'ephox.katamari.api... |
'use strict';
var assert = require('assert');
var ReactDOM= require('react-dom/server');
var jade = require('react-jade');
var test = /^\<div id\=\"container\".*\>Some Text\<\/div\>$/;
var templateA = jade`
#container Some Text
;
assert(test.test(ReactDOM.renderToString(templateA())));
var templateB = jade.compile(... |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* Represents a command that can be executed on an editor instance.
*
* var command = new CKEDITOR.command( editor, {
* exec: function( editor ) {
... |
var express = require('express');
var router = express.Router();
var devAccount = require("./../config").devAccount;
var endpoints = require("../bin/aerohive/api/main");
var Device = require("../bin/aerohive/models/device");
var Location = require("../bin/aerohive/models/location");
/*===============================... |
var DOCUMENTER_CURRENT_VERSION = "v0.5.4";
|
import * as types from "./FeatureTypes";
const INITIAL_STATE = {};
// Replace with you own reducer
export default (state = INITIAL_STATE, action) => {
switch (action.type) {
case types.GET_DATA_RECEIVE:
return {
...state,
...action.payload
};
default:
return state;
}
};
|
var unidecode = require('unidecode'),
_ = require('lodash'),
utils,
getRandomInt;
/**
* Return a random int, used by `utils.uid()`
*
* @param {Number} min
* @param {Number} max
* @return {Number}
* @api private
*/
getRandomInt = function (min, max) {
return Math.floor(Math.random() * (... |
const {hsv2rgb} = require("../lib");
describe("hsv2rgb", () => {
it("should correctly convert valid hsv values to rgb", () => {
expect(hsv2rgb([0, 0, 1])).toEqual([255, 255, 255]);
expect(hsv2rgb([120, 1, 1])).toEqual([0, 255, 0]);
expect(hsv2rgb([300, 1, 0.5])).toEqual([128, 0, 128]);
expect(hsv2rgb... |
module.exports = {
plugin: require('./events'),
setup: setup,
}
function setup(store) {
test('events', function() {
store.set('foo', 'bar')
var expectationNone = _createExpectation('expectNone', undefined)
store.watch('foo', function(){})
var expectation1 = _createExpectation('foo', 'bar')
var expect... |
version https://git-lfs.github.com/spec/v1
oid sha256:0c5a3b029fc98d5255cffc0bf6721373a9123eace933b55ebd03f5d5f85328fd
size 825
|
var fs = require("fs"), path = require("path");
var projectDir = path.resolve(__dirname, "..");
exports.resolve = function(pth) { return path.resolve(projectDir, pth); };
exports.ecma5 = JSON.parse(fs.readFileSync(exports.resolve("defs/ecma5.json")), "utf8");
exports.browser = JSON.parse(fs.readFileSync(exports.resol... |
!function(e){"function"==typeof define&&define.amd?define(["../widgets/datepicker"],e):e(jQuery.datepicker)}(function(e){return e.regional.lt={closeText:"U\u017edaryti",prevText:"<Atgal",nextText:"Pirmyn>",currentText:"\u0160iandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegu\u017e\u0117","Bir\u0... |
import React, { Component } from 'react';
import { Text, View } from 'react-native';
class Blink extends Component {
constructor(props) {
super(props);
this.state = { showText: true };
// 每1000毫秒对showText状态做一次取反操作
setInterval(() => {
this.setState({ showText: !this.state.showText });
}, 10... |
/*******************************************************
* task service implementation
* transitions document (server)
* Mike Amundsen (@mamund)
*******************************************************/
// holds the list of *all* possible state transitions for this service
// run on first load;
var trans ... |
/**
* Creator for tQuery.PoolBall
* @return {tQuery.Mesh} instance of
*/
tQuery.registerStatic('createPoolBall', function(opts){
// handle parameter polymorphism
if( typeof(opts) === 'string' ) opts = {ballDesc: opts};
// handle default options
opts = tQuery.extend(opts, {
ballDesc : '8',
stripped : true,
... |
OVERRIDE(EXPORT_IMG_TYPE, function(origin) {
'use strict';
/**
* export img type. (fix for IE)
*/
global.EXPORT_IMG_TYPE = METHOD({
run : function(img, callback) {
//REQUIRED: img
//REQUIRED: callback
var
// image
image = new Image();
image.onload = function() {
callback(image.mimeTyp... |
Package.describe({
name: "telescope:subscribe-to-posts",
summary: "Subscribe to posts to be notified when they get new comments",
version: "0.25.2",
git: "https://github.com/TelescopeJS/telescope-subscribe-to-posts.git"
});
Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
// --------------... |
/**
* Simple, lightweight, usable local autocomplete library for modern browsers
* Because there weren’t enough autocomplete scripts in the world? Because I’m completely insane and have NIH syndrome? Probably both. :P
* @author Lea Verou http://leaverou.github.io/awesomplete
* MIT license
*/
(function () {
var _... |
import _curry3 from './internal/_curry3.js';
/**
* The `mapAccum` function behaves like a combination of map and reduce; it
* applies a function to each element of a list, passing an accumulating
* parameter from left to right, and returning a final value of this
* accumulator together with the new list.
*
* Th... |
/**
* San
* Copyright 2016 Baidu Inc. All rights reserved.
*
* @file 主文件
* @author errorrik(errorrik@gmail.com)
* otakustay(otakustay@gmail.com)
* junmer(junmer@foxmail.com)
*/
(function (root) {
// 人工调整打包代码顺序,通过注释手工写一些依赖
// // require('./util/empty');
// // require('./util/extend')... |
{
"AD" : "CE",
"Africa/Abidjan_Z_abbreviated" : "(CI)",
"Africa/Abidjan_Z_short" : "GMT",
"Africa/Accra_Z_abbreviated" : "(GH)",
"Africa/Accra_Z_short" : "GMT",
"Africa/Addis_Ababa_Z_abbreviated" : "(ET)",
"Africa/Addis_Ababa_Z_short" : "EAT",
"Africa/Algiers_Z_abbreviated" : "(DZ)",
"Africa/Algiers_Z_short" :... |
/* *
*
* Copyright (c) 2019-2019 Highsoft AS
*
* Boost module: stripped-down renderer for higher performance
*
* License: highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../../parts/Globals.js';
import '../../parts/Col... |
/**
* Filemanager JS core
*
* filemanager.js
*
* @license MIT License
* @author Jason Huck - Core Five Labs
* @author Simon Georget <simon (at) linea21 (dot) com>
* @copyright Authors
*/
(function($) {
// function to retrieve GET params
$.urlParam = function(name){
var results = new RegExp('[\\?&]' + nam... |
import { actionLinks } from './lib/actionLinks';
import './actionLinkHandler';
export {
actionLinks,
};
|
import React, { cloneElement, Component, PropTypes } from "react";
import Radium from "radium";
@Radium
export default class Overview extends Component {
_renderSlides() {
const slide = this.props.slide;
return this.props.slides.map((child, index) => {
if (index < slide - 3 || slide + 3 < index) { retu... |
/*global requirejs*/
/*jshint browser:true*/
(function (files, callback) {
'use strict';
var file, match, tests = [], libs = {};
for (file in files) {
if (files.hasOwnProperty(file)) {
// collect tests
if (/Spec\.js$/.test(file)) {
tests.push(file);
... |
/**
* Durandal 2.0.0-pre Copyright (c) 2012 Blue Spire Consulting, Inc. All Rights Reserved.
* Available via the MIT license.
* see: http://durandaljs.com or https://github.com/BlueSpire/Durandal for details.
*/
/**
* The viewLocator module collaborates with the viewEngine module to provide views (literally dom su... |
version https://git-lfs.github.com/spec/v1
oid sha256:cab88156472b93cebbadd6957f297f7780ba4d97520d742440049174bf3a39fb
size 10187
|
/**
* @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 Arcade Physics world. Contains Arcade Physics related collision, overlap and motion methods.
*
* @class Phaser.P... |
/*
* Copyright (C) 2010 Google Inc. 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 source code must retain the above copyright
* notice, this list of conditio... |
var name = "Sparkle Buddy";
var collection_type = 0;
var is_secret = 0;
var desc = "Made seven players extra-happy at the same time with Sparkle Powder";
var status_text = "Waytago! A regular life of the party you are, making all those nice people happy with your Sparkle Powder. You deserve the coveted Sparkle Budd... |
'use strict';
/**
* The `kss/generator` module loads the {@link KssGenerator} class constructor.
* ```
* var KssGenerator = require('kss/generator');
* ```
* @module kss/generator
*/
/* **************************************************************
See kss_example_generator.js for how to implement a generato... |
'use strict';
/* jshint -W030 */
/* jshint -W110 */
var chai = require('chai')
, Sequelize = require('../../index')
, expect = chai.expect
, Support = require(__dirname + '/support')
, sinon = require('sinon')
, _ = require('lodash')
, moment = require('moment')
, current = Support.sequelize
, uuid = r... |
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
};
|
import { run } from '@ember/runloop';
import { Component, getTemplate, setTemplates, hasTemplate, setTemplate } from 'ember-glimmer';
import bootstrap from '../../lib/system/bootstrap';
import {
runAppend,
runDestroy,
buildOwner,
moduleFor,
AbstractTestCase,
} from 'internal-test-helpers';
let component, fix... |
// Vex Base Libraries.
// Mohit Muthanna Cheppudira <mohit@muthanna.com>
//
// Copyright Mohit Muthanna Cheppudira 2010
/* global window: false */
/* global document: false */
function Vex() {}
/**
* Enable debug mode for special-case code.
*
* @define {boolean}
*/
Vex.Debug = true;
/**
* Logging levels availa... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var message_constants_1 = require("../../binary-protocol/src/message-constants");
var constants_1 = require("../../src/constants");
var Listener = /** @class */ (function () {
function Listener(topic, services) {
this.topic = topic... |
/*!
* bindings/inputmask.binding.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.1-beta.37
*/
!function(a){"function"==typeof define&&define.amd?define(["jquery","../inputma... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.7.4.2_A2_T06;
* @section: 15.7.4.2;
* @assertion: toString: If radix is an integer from 2 to 36, but not 10,
* the result is a string, the choice of which is impleme... |
module.exports = function(config){
config.set({
basePath : '../',
files : [
'app/bower_components/angular/angular.js',
'app/bower_components/angular-route/angular-route.js',
'app/bower_components/angular-mocks/angular-mocks.js',
'app/js/**/*.js',
'test/unit/**/*.js'
... |
const BaseChecker = require('./../base-checker')
const { severityDescription } = require('../../doc/utils')
const DEFAULT_SEVERITY = 'warn'
const DEFAULT_IGNORE_CONSTRUCTORS = false
const DEFAULT_OPTION = { ignoreConstructors: DEFAULT_IGNORE_CONSTRUCTORS }
const ruleId = 'func-visibility'
const meta = {
type: 'secu... |
'use strict';
var memwatch = require('memwatch');
var dbServerName = '192.168.13.190';
var dbPort = 1433;
var dbName = 'test';
var dbUserId = 'test';
var dbPassword = 'test';
var dbConnectString = 'jdbc:sqlserver://' + dbServerName + ':' + dbPort + ';databaseName=' + dbName + ';selectMethod=direct;responseBuffering=a... |
//////////////////////////////////////////////////////////////////////////
// //
// This is a generated file. You can view the original //
// source in your browser if your browser supports source maps. //
// Source maps are s... |
;(function() {
"use strict";
$script.ready('validation', function()
{
$script(validationMethodsJs);
});
$script.ready('app_editor', function()
{
$script(indexJs,'index');
});
$script.ready(['config','index'], function()
{
Index.init({
DataTable: {... |
/**
* Example of micromono server.
*/
// setup express app
var app = require('express')();
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
// Get a micromono instance.
var micromono = require('micromono')();
// Boot the service(s) with express server
// do stuff in the promise callback.
mic... |
/*************************************************************
*
* MathJax/localization/bg/HelpDialog.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 ma... |
/* @flow */
import { decode } from 'he'
import { parseHTML } from './html-parser'
import { parseText } from './text-parser'
import { parseFilters } from './filter-parser'
import { cached, no, camelize } from 'shared/util'
import { isIE, isServerRendering } from 'core/util/env'
import {
pluckModuleFunction,
getAndR... |
/* global google, jQuery */
jQuery( function ( $ ) {
'use strict';
/**
* Callback function for Google Maps Lazy Load library to display map
*
* @return void
*/
function displayMap() {
var $container = $( this ),
options = $container.data( 'map_options' );
var mapOptions = options.js_options,
cen... |
///
/// Remote methods and access control.
///
const hasOwn = Object.prototype.hasOwnProperty;
// Restrict default mutators on collection. allow() and deny() take the
// same options:
//
// options.insert {Function(userId, doc)}
// return true to allow/deny adding this document
//
// options.update {Function(userId... |
/**
* @author oosmoxiecode
* based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3D/src/away3d/primitives/TorusKnot.as?spec=svn2473&r=2473
*/
THREE.TorusKnotGeometry = function ( radius, tube, segmentsR, segmentsT, p, q, heightScale ) {
THREE.Geometry.call( this );
var scope = this;
this.rad... |
'use strict';
module.exports = {
TXHEX: [
[ // From Mainnet Block 100014
// From: http://btc.blockr.io/api/v1/tx/raw/652b0aa4cf4f17bdb31f7a1d308331bba91f3b3cbf8f39c9cb5e19d4015b9f01
"0100000001834537b2f1ce8ef9373a258e10545ce5a50b758df616cd4356e0032554ebd3c4000000008b483045022100e68f422dd7c34fdce11eeb... |
//See: https://github.com/pablojim/highcharts-ng
$(function () {
var myapp = angular.module('myapp', ["highcharts-ng"]);
myapp.controller('myctrl', function ($scope) {
$scope.addPoints = function () {
var seriesArray = $scope.chartConfig.series;
var rndIdx = Math.floor(Math.random() * seriesArray... |
'use strict';
const assert = require('./../../assert');
const common = require('./../../common');
let battle;
describe('Pledge moves', function () {
afterEach(function () {
battle.destroy();
});
it(`should work`, function () {
battle = common.createBattle({gameType: 'doubles'});
battle.setPlayer('p1', {tea... |
/*
* jquery.collision
* https://github.com/ducksboard/gridster.js
*
* Copyright (c) 2012 ducksboard
* Licensed under the MIT licenses.
*/
;(function($, window, document, undefined){
var defaults = {
colliders_context: document.body,
overlapping_region: 'C'
// ,on_overlap: function(co... |
/*
* /MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js
*
* Copyright (c) 2012 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance wit... |
var azure = require('azure');
function read(query, user, request) {
var accountName = 'accountname';
var accountKey = 'accountkey';
var host = accountName + '.blob.core.windows.net';
var blobService = azure.createBlobService(accountName, accountKey, host);
blobService.listContainers(funct... |
import React from 'react';
import PropTypes from 'prop-types';
const FinancialReport = ({ url, name }) => <p><a href={url}>{name}</a></p>;
FinancialReport.propTypes = {
name: PropTypes.string.isRequired,
url: PropTypes.string.isRequired,
};
export default FinancialReport;
|
/**
* @fileoverview Rule to flag use of constructors without capital letters
* @author Nicholas C. Zakas
* @copyright 2014 Jordan Harband. All rights reserved.
* @copyright 2013-2014 Nicholas C. Zakas. All rights reserved.
*/
"use strict";
//-----------------------------------------------------------------------... |
(function () {
var Ext = window.Ext4 || window.Ext;
Ext.define("Rally.apps.iterationtrackingboard.statsbanner.iterationprogresscharts.IterationProgressMixin", {
requires: [
"Rally.ui.chart.Chart"
],
_configureYAxis: function(ticks, axis) {
var intervalY = (this... |
/**
* ResizeHandle.js
*
* Released under LGPL License.
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* Renders a resize handle that fires ResizeStart, Resize and ResizeEnd events.
*
* @-x-less ... |
/*
Language: CMake
Description: CMake is an open-source cross-platform system for build automation.
Author: Igor Kalnitsky <igor@kalnitsky.org>
Website: https://cmake.org
*/
/** @type LanguageFn */
function cmake(hljs) {
return {
name: 'CMake',
aliases: ['cmake.in'],
case_insensitive: true,
keywords:... |
/**
* propertygrid - jQuery EasyUI
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: jeasyui@gmail.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
* Dep... |
/**
* Utilities for reading and writing the metadata of JavaScript functions.
*
* @module metadata
*/
export {Origin} from './origin';
export {ResourceType} from './resource-type';
export {Metadata} from './metadata'; |
var m;
module('pc.input.mouse', {
setup: function () {
m = new pc.input.Mouse();
m.attach(document.body);
},
teardown: function () {
m.detach(document.body);
}
});
test("Object exists", function () {
ok(pc.input.Mouse);
});
test("mousedown: middlebutton", 10, function () ... |
/*
YUI 3.8.0pr2 (build 154)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('scrollview-base-ie', function (Y, NAME) {
/**
* IE specific support for the scrollview-base module.
*
* @module scrollview-base-ie
*/
Y.mix(Y.ScrollView.prototype,... |
import $ from 'jquery';
import Dropzone from 'dropzone';
import request from '../../utils/request';
import { config, translations } from 'grav-config';
// translations
const Dictionary = {
dictCancelUpload: translations.PLUGIN_ADMIN.DROPZONE_CANCEL_UPLOAD,
dictCancelUploadConfirmation: translations.PLUGIN_ADMI... |
define(['mout/string/hyphenate'], function (hyphenate) {
describe('string/hyphenate()', function(){
it('should split camelCase text', function(){
var str = 'loremIpsum';
expect( hyphenate(str) ).toEqual('lorem-ipsum');
});
it('should replace spaces with hyphens', f... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
/**
* Exporting module
*
* (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/* eslint indent:0 */
'use strict';
import H from '../parts/Globals.js';
import '../parts/Utilities.js';
import '../parts/Options.js';
import '../parts/Chart.js';
// create shortcuts
var defaultOptions = H.default... |
version https://git-lfs.github.com/spec/v1
oid sha256:dc8631c89d8afb852678d770bac42c3b4e487fbe60893c1e69298224db5747d6
size 720
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... |
/** @license React v16.3.0-alpha.1
* react-dom-test-utils.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';(function(m,p){"object"===typeof exports&&"undef... |
module.exports={A:{A:{"1":"B A","2":"J C G E VB"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 6 L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t","2":"TB z RB QB","33":"I J C G E B A D Y g H","164":"F"},D:{"1":"0 1 3 4 5 6 V W X v Z a b c d e f K h i j k l m n o p q r s x y u t FB AB CB UB DB","33"... |
// 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 to in writing, software
// distributed ... |
(function($, QUnit){
'use strict';
QUnit.module('utility');
var util = $.smoothStateUtility;
/**
* Checks to see if the url is external
*/
QUnit.test( 'isExternal', function( assert ) {
var externalUrls = [
'http://www.google.com',
'//www.google.com',
'//google.com',
... |
#!/usr/bin/env node
'use strict';
const {exec, spawn} = require('child-process-promise');
const {join} = require('path');
const {readFileSync} = require('fs');
const theme = require('./theme');
const {logPromise, printDiff} = require('./utils');
const cwd = join(__dirname, '..', '..');
const CIRCLE_CI_BUILD = 12707... |
ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"], function(acequire, exports, module) {
"use strict";
var dom = acequire("../lib/dom");
var lang = acequire("../lib/lang");
var event = acequire("../lib/event");
var sear... |
dojo.provide("dojo.testsDOH._base._loader.hostenv_rhino"),tests.register("testsDOH._base._loader.hostenv_rhino",[function(e){var t=dojo.moduleUrl("testsDOH._base._loader","getText.txt"),t=(t=new String(readText(t))).replace(/[\r\n]+$/,"");e.assertEqual("dojo._getText() test data",t)}]); |
define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "";
exports.scope = "apache_conf";
});
(function() {
window.require(["ace/snippets/apache_conf"], function(m) {
if (typ... |
module.exports={A:{A:{"1":"C G E B A","2":"UB","8":"J"},B:{"1":"D X g H L"},C:{"1":"0 1 2 4 5 SB F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s QB PB"},D:{"1":"0 1 4 5 8 F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v... |
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _extends = Object.assign || fu... |
/*!
* reveal.js 2.0 r19
* http://lab.hakim.se/reveal-js
* MIT licensed
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
var Reveal = (function(){
var HORIZONTAL_SLIDES_SELECTOR = '.reveal .slides>section',
VERTICAL_SLIDES_SELECTOR = '.reveal .slides>section.present>section',
IS_TOUCH_DEVIC... |
describe('Documents', function(){
beforeEach(function(){
setFixtures(sandbox({id: 'something'}));
appendSetFixtures('<a id="revisions-anchor" href="#">Revisions</a><div id="revisions" style="display:none"><br/>This is <b>first</b> revision</div>');
reloadScript('documents.js');
WebsiteOne.Documents.in... |
import { applyMiddleware, compose, createStore } from 'redux'
import { routerMiddleware } from 'react-router-redux'
import thunk from 'redux-thunk'
import reducers from './reducers'
export default (initialState = {}, history) => {
let middleware = applyMiddleware(thunk, routerMiddleware(history))
// Use DevTools... |
import { hooks } from '../utils/hooks';
import hasOwnProp from '../utils/has-own-prop';
import getParsingFlags from '../create/parsing-flags';
// Plugins that add properties should also add the key here (null value),
// so we can properly clone ourselves.
var momentProperties = hooks.momentProperties = [];
export fun... |
/**
* @author Hamza Waqas <hamzawaqas@live.com>
* @since 2/9/14
*/
var linkedin = require('../../')('75gyccfxufrozz', 'HKwSAPg0z7oGYfh5')
token = process.env.IN_TOKEN;
jasmine.getEnv().defaultTimeoutInterval = 20000;
linkedin = linkedin.init(token);
describe('API: People Test Suite', function() {
it('sho... |
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.data.DataProxy
* @extends Ext.util.Observable
* <p>Abstract base class for implementations which provide retrieval of unformatted data objects.
* This class is intended to b... |
/*global describe, it, before, after */
/*jshint expr:true*/
var testUtils = require('../../../utils'),
should = require('should'),
supertest = require('supertest'),
express = require('express'),
ghost = require('../../../../../core'),
httpServer,
request;
describ... |
/*
* Serve JSON to our AngularJS client
*/
exports.name = function (req, res) {
res.json({
name: 'Bob'
});
}; |
import demoTest from '../../../tests/shared/demoTest';
demoTest('tag');
|
'use strict';
module.exports = {
db: 'mongodb://localhost/northwindnode-dev',
app: {
title: 'NorthwindNode - Development Environment'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
callbackURL: '/auth/facebook/callback'
},
twitter:... |
// ==UserScript==
// @id iitc-plugin-basemap-kartverket@sollie
// @name IITC plugin: Kartverket.no map tiles
// @category Map Tiles
// @version 0.1.0.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// ... |
var objectAssign = require('object-assign');
var webpack = require('webpack');
var path = require('path');
var webpackConfig = require('./webpack.config.js');
module.exports = webpackConfig.map(function(config) {
return objectAssign({}, config, {
output: {
path: root("dist"),
filename: "[name].min.js... |
'use strict';
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true
}
},
plugins: [
'ember'
],
extends: [
'eslint:recommended',
'plugin:ember/recommended'
],
env: {
... |
/*
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2013, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file, and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying, or distribu... |
/*
Copyright 2013-2014 Daniel Wirtz <dcode@dcode.io>
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 to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.