code stringlengths 2 1.05M |
|---|
var recurly = require('./recurly');
module.exports = require('./recurly');
module.exports.SignedQuery = require('./signer').SignedQuery;
module.exports.createParser = require('./parser').createParser;
|
/*!
* Piwik - free/libre analytics platform
*
* JavaScript tracking client
*
* @link http://piwik.org
* @source https://github.com/piwik/piwik/blob/master/js/piwik.js
* @license http://piwik.org/free-software/bsd/ BSD-3 Clause (also in js/LICENSE.txt)
* @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db02... |
describe("Test case (keyframes)", function() {
var absurd = require('../../../index.js')();
it("keyframes / js", function(done) {
absurd.import(__dirname + '/code.js').compile(function(err, css) {
expect(err).toBe(null);
expect(css).toBeDefined();
expect(css).toBe('@keyframes fade {0%{opacity: 0;}10%{opa... |
import Ember from 'ember';
import moment from 'moment';
import layout from '../templates/components/ilios-calendar-day';
const { run, computed, isEmpty } = Ember;
export default Ember.Component.extend({
classNames: ['ilios-calendar-day'],
layout: layout,
date: null,
calendarEvents: [],
didInsertElement(){
... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_composeClasses as composeClasses } from '@material-ui/unsty... |
$var = ($number % 10 >= 2 && ($number % 100 < 10 || $number % 100 >= 20)
? kochabCooieGameOnOboleUnweave
: annularCooeedSplicesWalksWayWay)
? anodyneCondosMalateOverateRetinol
: averredBathersBoxroomBuggyNurl;
const value = (bifornCringerMoshedPerplexSawder
? askTrovenaBeenaDependsRowans
: glimseGlyphsHazardNoopsT... |
'use strict'
var defaultTemplate = {
package: {
version: '',
dependencies: {},
devDependencies: {},
optionalDependencies: {}
},
loaded: false,
children: [],
requiredBy: [],
requires: [],
missingDeps: {},
missingDevDeps: {},
phantomChildren: {},
path: null,
realpath: null,
locati... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
/**
The azure-mobile-apps logging framework, configured using {@link loggingConfiguration}
@module ... |
var R = require('..');
var eq = require('./shared/eq');
describe('xprod', function() {
var a = [1, 2], b = ['a', 'b', 'c'];
it('returns an empty list if either input list is empty', function() {
eq(R.xprod([], [1, 2, 3]), []);
eq(R.xprod([1, 2, 3], []), []);
});
it('creates the collection of all cro... |
module.exports = function(app, passport) {
// normal routes ===============================================================
// show the home page (will also have our login links)
app.get('/', function(req, res) {
res.render('index.ejs');
});
// PROFILE SECTION =========================
app.get('/prof... |
/*
* October General Utilities
*/
/*
* Ensure the CSRF token is added to all AJAX requests.
*/
$.ajaxPrefilter(function(options) {
var token = $('meta[name="csrf-token"]').attr('content')
if (token) {
if (!options.headers) options.headers = {}
options.headers['X-CSRF-TOKEN'] = token
}... |
/** @babel */
import _ from 'lodash'
import Logger from './logger'
export default class ErrorMarker {
constructor (editor, messages) {
this.editor = editor
this.messages = messages
this.markers = []
this.mark()
}
mark () {
this.markers = _.map(_.groupBy(this.messages, 'range'), messages => ... |
/**
* Copyright 2017 Google Inc.
*
* 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 i... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
/*!
* Copyright 2012, Chris Wanstrath
* Released under the MIT License
* https://github.com/defunkt/jquery-pjax
*/
(function($){
// When called on a container with a selector, fetches the href with
// ajax into the container or with the data-pjax attribute on the link
// itself.
//
// Tries to make sure the back ... |
(function(__global) {
var tmp0, tmp1, tmp2, tmp5, tmp6, tmp7, tmp8, tmp9, tmp10, tmp11, tmp12, tmp13, tmp14, tmp15, tmp16, tmp17;
tmp1 = 0;
tmp0 = "i";
__global[tmp0] = tmp1;
tmp2 = true;
tmp3: {
while (tmp2) {
tmp4: {
tmp6 = "alert";
tmp5 = __... |
module.exports =
cmd = atom.config.get('Repl.coffee')
prompt = ""
args = ['-i']
endSequence = '\n' // need Check
|
/*
Language: Lua
Author: Andrew Fedorov <dmmdrs@mail.ru>
*/
module.exports = function (hljs) {
hljs.LANGUAGES.lua = function () {
var OPENING_LONG_BRACKET = '\\[=*\\[';
var CLOSING_LONG_BRACKET = '\\]=*\\]';
var LONG_BRACKETS = {
begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_... |
/*global chrome*/
'use strict';
var slice = Array.prototype.slice;
var manifest = chrome.runtime.getManifest();
var allOptions = ["usingStorageApi", "url", "syncOptions", "lastInstall", "showWelcome", "upgrade_3.1", "always-tab-update"];
function log(){
var args = slice.call(arguments);
var msg = args.shift();... |
$(document).ready(function() {
/*
$("ul.nav li a").each(function() {
if ($(this).attr('href') == location.pathname) {
$(this).parent().addClass("active");
}
});
*/
});
|
import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionFavorite = (props) => (
<SvgIcon {...props}>
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</S... |
import Mark from './lib/mark';
import $ from 'jquery';
$.fn.mark = function(sv, opt) {
new Mark(this.get()).mark(sv, opt);
return this;
};
$.fn.markRegExp = function(regexp, opt) {
new Mark(this.get()).markRegExp(regexp, opt);
return this;
};
$.fn.markRanges = function(ranges, opt) {
new Mark(this.get()).mar... |
//= require_vendor vendor1
//= require_lib lib1
|
/* jshint esnext:true */
class Foo {}
export default class {}
export class Bar {}
export { Foo };
|
var net = require('net');
module.exports = function () {
var s = new net.Stream;
s.readable = true;
s.writable = true;
s.write = function (buf) { s.emit('data', buf) };
s.end = function () { s.emit('end') };
return s;
};
|
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"dimanche",
"lu... |
version https://git-lfs.github.com/spec/v1
oid sha256:402fe91e7b33aaf27f05d5fc726ca0ddf858cd134d99b249ac955c9409ec5324
size 28861
|
var exec = require('child_process').exec;
var spawn = require('child_process').spawn;
/* 启动浏览器 */
var openURL = function (url) {
switch (process.platform) {
case "darwin":
exec('open ' + url);
break;
case "win32":
exec('start ' + url);
break;
... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* Contains UI features related to an editor instance.
* @constructor
* @param {CKEDITOR.editor} editor The editor instance.
* @example
*/
CKEDITOR.ui = function(... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _resourceRouterMiddleware = require('resource-router-middleware');
var _resourceRouterMiddleware2 = _interopRequireDefault(_resourceRouterMiddleware);
var _facets = require('../models/facets');
var _facets2 = _interopRequireDefault(_... |
import CGAlgorithms from '../../algorithm/CGAlgorithms';
import CoordinateList from '../../geom/CoordinateList';
import WKTWriter from '../../io/WKTWriter';
import CoordinateArraySequence from '../../geom/impl/CoordinateArraySequence';
import LinearRing from '../../geom/LinearRing';
import extend from '../../../../../e... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
import Ember from 'ember';
export default Ember.View.extend({
didInsertElement: function() {
this._super();
Ember.$(accordion);
}
});
|
/****************************************************************
*
* Copyright 2010 The President and Fellows of Harvard College
* Copyright 2010 Modo Labs Inc.
*
*****************************************************************/
// Globals.
var g_csvData = null;
// If you want to use spreadsheetDrivenTestSu... |
'use strict';
const rewire = require('rewire');
const Q = require('q');
const constants = require('../constants');
const common = require('./common');
const ec2Mock = require('./ec2-mock');
const Acl = rewire('./aclManager');
const C = require('../chai');
/*global describe, it, expect, beforeEach, afterEach */
desc... |
/* http://keith-wood.name/countdown.html
Urdu (اردو) initialisation for the jQuery countdown extension
Translated by Azhar Rasheed (azhar.rasheed19@gmail.com), November 2013. */
(function($) {
'use strict';
$.countdown.regionalOptions.ur = {
labels: ['سال','مہينے','ہفتے','دن','گھنٹے','منٹس','سيکنڑز'],
... |
/**
* Module dependencies.
*/
var connect = require('connect'),
helpers = require('./helpers'),
assert = require('assert'),
http = require('http');
module.exports = {
'test defaults': function(){
var server = helpers.run(
function(req, res, next){
next(new Error(... |
var async = require('async');
var config = require('../config');
var read = require('./read');
var save = require('./save');
var debug = require('debug')('blog:update:all');
var classList;
var articleList = {};
async.series([
// 获取文章分类列表
function (done) {
read.classList(config.sinaBlog.url, function (err, l... |
;(function (w, $, undefined) {
w.jqBoxSlider.registerAnimator('blindDown,blindLeft', (function () {
var adaptor = {};
// creates the blinds and sets up the content slider css
adaptor.initialize = function ($box, $slides, settings) {
var $wrapper = $(document.createElement('div'))
, imgSrc... |
import McFly from 'mcfly';
const Flux = new McFly();
import ServerActions from '../actions/server_actions.js';
let _activeIndex = 0;
let _summary = false;
let _wizardKey = null;
const _panels = [{
title: I18n.t('wizard.course_dates'),
description: '',
active: true,
options: [],
type: -1,
minimum: 0,
key... |
var selftest = require('../tool-testing/selftest.js');
var Sandbox = selftest.Sandbox;
var utils = require('../utils/utils.js');
selftest.define("css hot code push", function (options) {
var s = new Sandbox({
clients: options.clients
});
s.createApp("myapp", "css-injection-test");
s.cd("myapp");
s.testW... |
'use strict';
var Harness = require('./support');
var post = Harness.definePostTable();
Harness.test({
query: post.select(post.content).order(post.content),
pg: {
text : 'SELECT "post"."content" FROM "post" ORDER BY "post"."content"',
string: 'SELECT "post"."content" FROM "post" ORDER BY "post"."content"... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'colorbutton', 'lv', {
auto: 'Automātiska',
bgColorTitle: 'Fona krāsa',
colors: {
'000': 'Melns',
'800000': 'Sarkanbrūns',
'8B4513'... |
/**
* Fork https://github.com/egoist/docute/blob/master/src/utils/yaml.js
*/
/* eslint-disable */
/*
YAML parser for Javascript
Author: Diogo Costa
This program is released under the MIT License as follows:
Copyright (c) 2011 Diogo Costa (costa.h4evr@gmail.com)
Permission is hereby granted, free of charge, to any per... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'basicstyles', 'vi', {
bold: 'Đậm',
italic: 'Nghiêng',
strike: 'Gạch xuyên ngang',
subscript: 'Chỉ số dưới',
superscript: 'Chỉ số trên',... |
(function (window, $, ch) {
'use strict';
/**
* Zoom shows a contextual reference to an augmented version of a declared image.
* @memberof ch
* @constructor
* @augments ch.Layer
* @requires ch.OnImagesLoads
* @param {(jQuerySelector | ZeptoSelector)} $el A jQuery or Zepto Selector... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Creates a new Line object with a start and an end point.
*
* @class Phaser.Line
* @constructor
* @param {number} [x1... |
'use strict';
var is = require('./is');
var util = require('./util');
var Style = require('./style');
// a dummy stylesheet object that doesn't need a reference to the core
// (useful for init)
var Stylesheet = function(){
if( !(this instanceof Stylesheet) ){
return new Stylesheet();
}
this.length = 0;
};
... |
/*global define*/
define(['backbone', 'routing', 'orocalendar/js/calendar/event/model'
], function (Backbone, routing, EventModel) {
'use strict';
/**
* @export orocalendar/js/calendar/event/collection
* @class orocalendar.calendar.event.Collection
* @extends Backbone.Collection
*/
... |
/*!
* jQuery JavaScript Library v2.0.3 -css,-event-alias,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-07T17... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'colordialog', 'fi', {
clear: 'Poista',
highlight: 'Korostus',
options: 'Värin ominaisuudet',
selected: 'Valittu',
title: 'Valitse väri'... |
Type.registerNamespace('Sys.Extended.UI');
Sys.Extended.UI.BoxCorners = function() {
throw Error.invalidOperation();
}
Sys.Extended.UI.BoxCorners.prototype = {
None: 0x00,
TopLeft: 0x01,
TopRight: 0x02,
BottomRight: 0x04,
BottomLeft: 0x08,
Top: 0x01 | 0x02,
Right: 0x02 | 0x04,
Bo... |
Tinytest.addAsync(
'Jobs - get',
function (test, done) {
var value = 10;
var id = 'the-id';
var newSend = function(_id) {
test.equal(_id, id);
done();
};
hijackCoreApi('getJob', newSend, function() {
Kadira.Jobs.get(id);
});
}
);
Tinytest.addAsync(
'Jobs - set',
fu... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
'use strict';
let PropTypes;
let React;
let ReactDOM;
let ReactTestUtils;
describe('ReactElementClone',... |
(function () {
/* Imports */
var Meteor = Package.meteor.Meteor;
/* Exports */
if (typeof Package === 'undefined') Package = {};
Package['frozeman:persistent-minimongo'] = {};
})();
//# sourceMappingURL=frozeman_persistent-minimongo.js.map
|
/**
* Trip.js
*
* This is a jQuery plugin that can help you customize your tutorial trip
* with full flexibilities.
*
* Version: 3.3.4
*
* Author: EragonJ <eragonj@eragonj.me>
* Blog: http://eragonj.me
*
* @preserve
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports ==... |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.html.ellipsis"]){
dojo._hasResource["dojox.html.ellipsis"]=true;
dojo.provide("dojox.html.elli... |
/**
* @license
* v1.3.0
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
import { RuntimeConfig, PnPClientStorage, dateAdd, combine, getCtxCallback, g... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.4.14_A4_T12;
* @section: 15.5.4.14;
* @assertion: String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting th... |
/*!@license
* Infragistics.Web.ClientUI Upload localization resources 15.1.20151.1005
*
* Copyright (c) 2011-2015 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
/*global jQuery */
(function ($) {
$.ig = $.ig || {};
if (!$.ig.Upload) {
$.ig.Upload = {};
$.extend($.ig.Upload, {
local... |
/*jshint esversion: 6 */
//credit to Brian on the forums for this framework!
on('chat:message', function(msg) {
if (msg.type != 'api') return;
var parts = msg.content.split(' ');
var command = parts.shift().substring(1);
function ManhDist(token1,token2) { //Manhattan Distance in tiles between two units
... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
function wlCommonInit(){
/*
* Use of WL.Client.connect() API before any connectivity to a MobileFirst Server is required.
* This API should be called only once, before any other WL.Client methods that communicate with the MobileFirst Server.
* Don't forget to specify and implement onSuccess and onFailure callba... |
define("p3/widget/viewer/File", [
'dojo/_base/declare', 'dijit/layout/BorderContainer', 'dojo/on',
'dojo/dom-class', 'dijit/layout/ContentPane', 'dojo/dom-construct', 'dojo/dom-style',
'../formatter', '../../WorkspaceManager', 'dojo/_base/Deferred', 'dojo/dom-attr', 'dojo/_base/array'
], function (
declare, Bor... |
/*! Select2 4.0.6 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(e){... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.namespace = void 0;
var namespace = babelHelpers.interopRequireWildcard(require("./foo"));
exports.namespace = namespace;
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.1.3.1_A1.8_T1;
* @section: 15.1.3.1;
* @assertion: If B = 1110xxxx (n = 3) and string.charAt(k + 3),
* string.charAt(k + 6) not equal "%", throw URIError;
* @descri... |
/**
* @fileoverview Firebase server Auth API.
* Version: 3.7.0
*
* Copyright 2017 Google Inc. All Rights Reserved.
*
* 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... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.10_A3.6_T1;
* @section: 12.10;
* @assertion: No matter how control leaves the embedded 'Statement',
* the scope chain is always restored to its former state;
* @des... |
// Auth against a flat file
var net_utils = require('./net_utils');
exports.register = function () {
var plugin = this;
plugin.inherits('auth/auth_base');
plugin.load_flat_ini();
};
exports.load_flat_ini = function () {
var plugin = this;
plugin.cfg = plugin.config.get('auth_flat_file.ini', functi... |
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
... |
var lunr = require('../lunr.js'),
Benchmark = require('benchmark'),
wordList = require('word-list'),
fs = require('fs')
var suite = function (name, fn) {
var s = new Benchmark.Suite(name, {
onStart: function (e) { console.log(e.currentTarget.name) },
onCycle: function (e) { console.log(" " + Str... |
/**!
* cnpmjs.org - services/default_user_service.js
*
* Copyright(c) fengmk2 and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)
*/
'use strict';
/**
* Module dependencies.
*/
var gravatar = require('gravatar');
// var User = require('../proxy/us... |
// https://github.com/jeromegn/Backbone.localStorage
// We are wrapping the above Backbone localStorage adapter to slightly
// change its behavior. By default, it overrides Backbone.sync globally,
// forcing all models and collections to sync to localStorage
// We are modifying it to leave the default sync in tact, an... |
jQuery(".pp_accordion_close").accordion({ active: 1, collapsible: true, clearStyle: true, heightStyle: "content" });
jQuery(".pp_accordion").accordion({ active: 0, collapsible: true, clearStyle: true, heightStyle: "content" }); |
"use strict"
const punctuationSets = {}
punctuationSets.mediaFeaturePunctuation = new Set([
":",
"=",
">",
">=",
"<",
"<=",
])
punctuationSets.nonSpaceCombinators = new Set([
">",
"+",
"~",
">>>",
"/deep/",
])
module.exports = punctuationSets
|
importScripts("ctm.js", "lzma.js");
self.addEventListener("message", function (event) {
var message = event.data;
switch (message.type) {
case "decodeFile":
decodeOpenCTM(message);
break;
case "close":
self.close();
break;
default:
var e = new Error("Unrecognized message received: " + message.ty... |
module.exports = {
outputPath: 'lib',
useTypescript: true
};
|
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _expect = require('expect');
var _expect2 = _interopRequireDefault(_expect);
var _getValue = require('../getValue');
var _getValue2 = _interopRequireDefault(_getValue);
describe('getValue', function... |
/*
Copyright (c) 2012 DinahMoe AB
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, publish... |
'use strict';
var HttpStateSource = require('./http');
var registerStateSource = require('../core/registerStateSource');
module.exports = function (marty) {
registerStateSource(marty, 'HttpStateSource', 'http', HttpStateSource);
marty.hooks = require('./hooks');
}; |
var React = require('react');
var resolveAsyncState = require('../helpers/resolveAsyncState');
/**
* A mixin for route handler component classes that fetch at least
* part of their state asynchronously. Classes that use it should
* declare a static `getInitialAsyncState` method that fetches state
* for a component... |
/* */
require('../../modules/es6.regexp.match');
module.exports = require('../../modules/_wks')('match');
|
/**
* @license Angular v2.4.6
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/symbol/observable'), require('rxjs/Subject'), require('rxjs/Observable')) :
typeof defi... |
(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... |
import { declare } from "@babel/helper-plugin-utils";
import syntaxExportDefaultFrom from "@babel/plugin-syntax-export-default-from";
import { types as t } from "@babel/core";
export default declare(api => {
api.assertVersion(7);
return {
inherits: syntaxExportDefaultFrom,
visitor: {
ExportNamedDec... |
(function (angular, sinon) {
'use strict';
describe('jcs.autoValidate debounce', function () {
var sandbox, $rootScope, $timeout, debounce;
beforeEach(module('jcs-autoValidate'));
describe('bootstrap3ElementModifier', function () {
beforeEach(inject(function ($injector) {
sandbox = sino... |
module.exports={title:"Sensu",slug:"sensu",svg:'<svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>Sensu icon</title><path d="M24 12L12 0 0 12l12 12 12-12zM12 3.197l4.418 4.418c-1.445-.386-2.93-.586-4.418-.586s-2.974.199-4.418.588L12 3.196zM8.069 16.87c1.19-.658 2.534-1.008 3.931-1.008s2.741.... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-------------------------------------------------... |
import { NgModule } from '@angular/core';
import { NgbModalBackdrop } from './modal-backdrop';
import { NgbModalWindow } from './modal-window';
import { NgbModalStack } from './modal-stack';
import { NgbModal } from './modal';
export { NgbModal } from './modal';
export { NgbModalRef, NgbActiveModal } from './modal-ref'... |
'use strict';
import config from '../config';
import gulp from 'gulp';
import browserSync from 'browser-sync';
import merge from 'merge-stream';
import templateCache from 'gulp-angular-templatecache';
// Views task
gulp.task('views', function() {
// Put our index.html in the dist folder
... |
$(document).ready(function() {
if ($('#customer_autocomplete_template').length > 0) {
window.customerTemplate = Handlebars.compile($('#customer_autocomplete_template').text());
}
formatCustomerResult = function(customer) {
return customerTemplate({
customer: customer,
bill_address: customer.b... |
// We make use of this 'server' variable to provide the address of the
// REST Janus API. By default, in this example we assume that Janus is
// co-located with the web server hosting the HTML pages but listening
// on a different port (8088, the default for HTTP in Janus), which is
// why we make use of the 'window.lo... |
// CHART SPLINE
// -----------------------------------
(function(window, document, $, undefined){
$(function(){
var data = [{
"label": "Uniques",
"color": "#768294",
"data": [
["Mar", 70],
["Apr", 85],
["May", 59],
["Jun", 93],
["Jul", 66]... |
define("d3/test/transition/transition-test-remove", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){
var assert = require("../assert");
module.exports = {
"on a new transition": {
topic: function(d3) {
var callback = this.callback,
t = d3.select("body").append("div").transition().remove();
... |
/**
* @name InfoBox
* @version 1.1.5 [March 1, 2011]
* @author Gary Little (inspired by proof-of-concept code from Pamela Fox of Google)
* @copyright Copyright 2010 Gary Little [gary at luxcentral.com]
* @fileoverview InfoBox extends the Google Maps JavaScript API V3 <tt>OverlayView</tt> class.
* <p>
* An Info... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
export {
isValidElementType,
typeOf,
ContextConsumer,
ContextProvider,
Element,
ForwardRef,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.