code stringlengths 2 1.05M |
|---|
const path = require('path');
module.exports = {
"appenders": [
//always print in console
{
"type": "console"
},
//http error
{
"type": "dateFile",
"pattern": "-yyyy-MM-dd",
"filename": path.join(__dirname, '../../log/error/httpError/http-error-log.log'),
"category"... |
// ==========================================================================
// Project: Ember Runtime
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================... |
import { connect as redisConnection } from '../config/database'
import { connect as postgresConnection } from '../config/postgres'
import { load as configLoader } from '../config/config'
import { DbAdapter } from './support/DbAdapter'
import { PubSubAdapter } from './support/PubSubAdapter'
import pubSub from './pubsub... |
System.register(['angular2/platform/browser', './app.component', 'angular2/http'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var browser_1, app_component_1, http_1;
return {
setters:[
function (browser_1_1) {
browser_... |
'use strict';
var connect = require('readable-lists-api');
var ms = require('ms');
var run = require('./lib/run-bot.js');
var readers = {};
readers.pipermail = require('./lib/readers/pipermail');
readers.w3c = require('./lib/readers/w3c');
readers.w3 = require('./lib/readers/w3c'); // currently these can be read by t... |
'use strict';
module.exports = {
moduleType: 'locale',
name: 'fo',
dictionary: {},
format: {
days: [
'Sunnudagur', 'Mánadagur', 'Týsdagur', 'Mikudagur',
'Hósdagur', 'Fríggjadagur', 'Leyardagur'
],
shortDays: ['Sun', 'Mán', 'Týs', 'Mik', 'Hós', 'Frí', 'Ley... |
initSidebarItems({"enum":[["DefIdSource",""]],"fn":[["parse_bare_fn_ty_data",""],["parse_bounds_data",""],["parse_builtin_bounds_data",""],["parse_def_id",""],["parse_existential_bounds_data",""],["parse_ident",""],["parse_name",""],["parse_predicate",""],["parse_predicate_data",""],["parse_region_data",""],["parse_sta... |
var FontRendererPath = (function () {
var CanvasRenderer = require('fontpath-canvas');
var FontLib = require('font-lib');
/* Font proxy for CanvasRenderer
* Get font data from freetype directly instead of creating whole font json file
*/
var DynamicFontProxy = function (nativeFont, size) {
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.QualitativeRange = undefined;
var _dec, _dec2, _dec3, _class;
var _constants = require('../common/constants');
var _decorators = require('../common/decorators');
var _common = require('../common/common');
function _classCallChe... |
/* eslint-disable no-useless-escape */
export default function syntaxHighlight(json) {
const regExp = /("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g
return json.replace(regExp, match => {
var style = `color: #1177cd`
if (/^"/.test(match)) {
if ... |
// Compiled by ClojureScript 0.0-2311
goog.provide('cljs.core.async.impl.timers');
goog.require('cljs.core');
goog.require('cljs.core.async.impl.dispatch');
goog.require('cljs.core.async.impl.dispatch');
goog.require('cljs.core.async.impl.channels');
goog.require('cljs.core.async.impl.channels');
goog.require('cljs.cor... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { spec, check, match, prefixMatch } from 'ultra'
import { Use } from 'react-ultra'
function pipe(...fns) {
function invoke(v) {
return fns.reduce((acc, fn) => (fn ? fn.call(this, acc) : acc), v)
}
return invoke
}
let createMa... |
//主窗体
Game.ui.PVZScene = Game.extend(Game.ui.Scene,{
className:'Game.ui.PVZScene',
createScene:function(){
this.height=document.body.scrollHeight;
this.width=document.body.clientWidth;
//this.yRate = this.height / 600;
this.xRate = this.width / 1229;
this.marginLeft = parseInt(252*this.xRate);
this.margin... |
/*****************************************************************************************************************
* VGridConfig
* This generates the config used by vGridgenerator, other classes also calls this to get the information, also have misc utillity functions
* Created by vegar ringdal
*
********... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("circle", {
cx: "11",
cy: "6",
r: "2",
opacity: ".3"
}, "0"), /*#__PURE__*/_jsx("circle", {
cx: "16.6",
cy: "17.6",
r: "2",
opacity: ".3"
}, "1"), /*#__PURE... |
import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import Badge from '../index';
describe('Badge', () => {
it('renders dot prop correctly', () => {
const wrapper = render(
<Badge dot>
<span style={{ width: '0.52rem', height: '0.52rem', ... |
'use strict';
angular.module('promomemxApp')
.controller('SettingsCtrl', function ($scope, User, Auth) {
$scope.errors = {};
$scope.changePassword = function(form) {
$scope.submitted = true;
if(form.$valid) {
Auth.changePassword( $scope.user.oldPassword, $scope.user.newPassword )
... |
angular.module('fastpass.services', ['ionic'])
// factory to setup our firebase connection
// used in listController
.factory('listService', ['$firebase', '$ionicLoading', function($firebase, $ionicLoading) {
$ionicLoading.show({
template: '<i class="icon ion-loading-c"></i>'
});
var ref = new Firebase('http... |
// set up ======================================================================
var express = require('express');
var app = express(); // create our app w/ express
var mongoose = require('mongoose'); // mongoose for mongodb
var port = process.env.PORT || 9000; // set the port
var morgan = r... |
var s = "start/*\
comments testing";
/* This is "comment".
// Multiline comment.
*/
// This is "single line comment". /*
var e = "//end*/"; |
export class HomeCtrl {
$title = 'Home';
$fab = {
label: 'Add',
icon: 'add',
click: this.fabClick.bind(this)
}
$actions = [
{
label: 'More',
icon: 'more_vert',
menu: [
{
label: 'An item',
click: function() {
console.log('item clicked');
}.bind(this)
}
]
}
];
i... |
module.exports =
{
mode: "01",
pid: "1C",
name: "obdsup",
description: "OBD requirements to which vehicle is designed",
min: 0,
max: 0,
unit: "Bit Encoded",
bytes: 1,
convertToUseful: function( byteA )
{
var byteAvalue = parseInt( byteA, 16 );
va... |
var assert = require('assert');
var R = require('..');
describe('lt', function() {
it('reports whether one item is less than another', function() {
assert(R.lt(3, 5));
assert(!R.lt(6, 4));
assert(!R.lt(7.0, 7.0));
assert(R.lt('abc', 'xyz'));
assert(!R.lt('abcd', 'abc'));
... |
import utils from 'osg/utils';
import { vec3 } from 'osg/glMatrix';
import { mat4 } from 'osg/glMatrix';
import Intersector from 'osgUtil/Intersector';
import LineSegmentIntersectFunctor from 'osgUtil/LineSegmentIntersectFunctor';
var LineSegmentIntersector = function() {
Intersector.call(this);
this._start =... |
module.exports = {
name: 'SwapClearedFlagged',
type: 'checkbox',
default: false,
section: 'accounts',
title: 'Swap cleared and flagged columns',
description:
'Place the Cleared column on the left and the Flagged column on the right sides of an account screen.',
};
|
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l.59-.65L9.88 4h4.24l1.24 1.35.... |
/*
jQuery Masked Input Plugin
Copyright (c) 2007 - 2013 Josh Bush (digitalbush.com)
Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
Version: 1.3.1
*/
! function($) {
function getPasteEvent() {
var el = document.createElement("input"),
name = "onpaste";... |
/**
* Copyright 2010 Ajax.org B.V.
*
* This product includes software developed by
* Ajax.org B.V. (http://www.ajax.org/).
*
* Author: Fabian Jaokbs <fabian@ajax.org>
*/
var sys = require("sys");
var GitHubApi = require("../lib/github").GitHubApi;
var async_testing = require('../vendor/node-async-testing/async_... |
var test =
'11861i1670l81p3M614o704n674N826N79j165J1715o312j1376J3930K60r300N177';
//var test="123+456-789 1 2 3 -4 -5 -6"
var reg = /(\$\$.*|[,;\t \+]*|[,;\t \+-]*[,;\t \+])([a-zA-Z@%\-+]?[\d,\.]*)/g;
var result;
var start = new Date().getTime();
var counter = 0;
var reg = /(\$\$.*|[,;\t \+]*|[,;\t \+-]*[,;... |
/**
* @file pluginSettingsFunction
* @author Jim Bulkowski <jim.b@paperelectron.com>
* @project Pomegranate
* @license MIT {@link http://opensource.org/licenses/MIT}
*/
'use strict';
var stringifyObject = require('stringify-object');
var _ = require('lodash');
module.exports = function(pluginName, exportObj) {
... |
/*jshint quotmark: false*/
'use strict';
var Promise = require('../../lib/ext/promise');
var expect = require('chai').expect;
var assertFile = require('../helpers/assert-file');
var conf = require('../helpers/conf');
var ember = require('../helpers/ember');
var existsSync = require('exists-sync');
v... |
// DO NOT DELETE
|
// @flow
import React, { Component } from 'react';
import Button from 'material-ui/Button';
import Dialog, {
DialogTitle,
DialogContent,
DialogContentText,
DialogActions,
} from 'material-ui/Dialog';
import Typography from 'material-ui/Typography';
import withRoot from '../components/withRoot';
const styles =... |
'use strict';
/*!
* snakeskin.github.io
* https://github.com/SnakeskinTpl/snakeskin.github.io
*
* Released under the MIT license
* https://github.com/SnakeskinTpl/snakeskin.github.io/blob/master/LICENSE
*/
$(() => {
const
doc = $(document),
contents = $('nav.b-contents'),
headerHeight = $('header.b-heade... |
define(['angular','ngStorage','angular-route','lib/autocomplete','ngQuickDate'], function(angular){
return angular.module('app', ['ngStorage','ngRoute','autocomplete','ngQuickDate']);
});
|
import Alt from 'alt';
var alt = new Alt();
export default alt;
|
var charsStartIndex = require('./_charsStartIndex'),
stringToArray = require('./_stringToArray'),
toString = require('./toString');
/** Used to match leading and trailing whitespace. */
var reTrimStart = /^\s+/;
/**
* Removes leading whitespace or specified characters from `string`.
*
* @static
... |
a > b; |
var forEach = require('./forEach');
/**
* Call `methodName` on each item of the array passing custom arguments if
* needed.
*/
function invoke(arr, methodName, var_args){
var args = Array.prototype.slice.call(arguments, 2);
forEach(arr, function(item){
item[methodName... |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
/* inspired by http://github.com/requirejs/text */
/*global XMLHttpRequest, XDomainRequest */
define(['module'], function (module) {
'use strict';
var xmlRegExp = /^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\... |
'use strict';
module.exports = function(app){
var ApplicationService = app.getService('Application', true);
var TestGetService = ApplicationService.extend(function(app){
this.app = app;
this.serviceName = "TestGet";
}).methods();
return TestGetService;
};
|
var AWS = require('../core');
AWS.DirectConnect = AWS.Service.defineService('directconnect', ['2012-10-25']);
module.exports = AWS.DirectConnect;
|
'use strict';
var endsWith = require('../lib/utils').endsWith;
module.exports = function(AV) {
return function() {
return function(req, res, next) {
if ((AV.Cloud.__prod || endsWith(req.get('host'), '.leanapp.cn')) && (!req.secure)) {
return res.redirect('https://' + req.get('host') + req.original... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-1 10H4c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h1v3c0 .55.45 1 1 1s1-.4... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
/*!
* Overlay Modal Plugin
*
* Oddnut Software
* Copyright (c) 2009-2010 Eric Ferraiuolo - http://eric.ferraiuolo.name
* YUI BSD License - http://developer.yahoo.com/yui/license.html
*/
var OverlayModal,
OVERLAY_MODAL = 'overlayModal',
HOST = 'host',
BOUNDING_BOX = 'boundingBox',
OVERLAY = 'over... |
'use strict';
var _ = require('lodash');
var $ = require('preconditions').singleton();
var chai = require('chai');
var sinon = require('sinon');
var should = chai.should();
var async = require('async');
var Bitcore = require('bitcore');
var BitcorePayPro = require('bitcore-payment-protocol');
var request = require('su... |
describe('hide', function() {
it('should hide a given element', function() {
var el = $_(document.body).append('<div></div>').lastChild()
el.hide()
expect(el.element.offsetWidth).toEqual(0)
expect(el.element.style.$_savedDisplay).toEqual('block')
el.element.parentNode.removeChild(el.element)
})... |
/**
*
* UTF-8 data encode / decode
* http://www.webtoolkit.info/
*
**/
var Utf8 = {
// public method for url encoding
encode : function (string) {
string = string.replace(/\r\n/g,"\n");
var utftext = "";
for (var n = 0; n < string.length; n++) {
var c = string.charCodeAt(n);
if (c < 128) {
... |
/**
*
* @param {Array<String>} midiMessages
* @param {TrackBank} trackBank
* @constructor
*/
function TrackSelectorButtons(midiMessages, trackBank)
{
ControlGroup.call(this);
this.trackBank = trackBank;
this._previous = this.addControl(new Button(midiMessages.previous)).on('down', this.previous.bind(th... |
import React, { Component } from 'react';
export default class Header extends Component {
render() {
return (
<div className="blog-header">
<div className="container">
<h1 className="blog-title">The Bootstrap Blog</h1>
<p className="lead b... |
/* English/UK initialisation for the jQuery UI date picker plugin. */
/* Written by Stuart. */
jQuery(function ($) {
$.datepicker.regional['en-EN'] = {
closeText: 'Done',
prevText: 'Prev',
nextText: 'Next',
currentText: 'Today',
monthNames: ['January', 'February', 'M... |
// -------------------------------------------------------------------------
// Kicks off the angularJS application
// create the module and name it "mashupApp"
// -------------------------------------------------------------------------
var mashupApp = angular.module('mashupApp', ['ngRoute', 'ui.bootstrap', 'ngSan... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
var lgUtils = require('./core/lg-utilities');
module.exports = function lostMasonryColumnDecl(css, settings) {
css.walkDecls('lost-masonry-column', function lostMasonryColumnFunction(
decl
) {
var declArr = [];
var lostMasonryColumn;
var lostMasonryColumnRounder = settings.rounder;
var lostMaso... |
import { join } from 'aurelia-path';
import deepExtend from './deep-extend';
import { WindowInfo } from './window-info';
var AureliaConfiguration = (function () {
function AureliaConfiguration() {
this.environment = 'default';
this.environments = null;
this.directory = 'config';
this... |
var columnDefs = [
// here we are using a valueGetter to get the country name from the complex object
{ colId: "country", valueGetter: "data.country.name", rowGroup: true, hide: true },
{ field: "gold", aggFunc: 'sum' },
{ field: "silver", aggFunc: 'sum' },
{ field: "bronze", aggFunc: 'sum' }
];
... |
var _ = require('underscore');
module.exports = {
'desc': 'Update A Single Form Project.',
'examples': [{
cmd: 'fhc appforms projects update --id=<GUID Of Form Project To Update> --theme=<ID Of Theme To Associate With The Project> --forms=<formId1>,<formId2>',
desc: 'Update A Single Form Project'
}],
'... |
/**
* Simple UI Builder
* @ artbels
* artbels@gmail.com
* 2016
*/
;(function () {
var UI = this.UI = {}
UI.input = function (params, cb) {
params = params || {}
cb = cb || params.cb || function (value) {
console.log('you pressed enter and input value is >> ' + value + ' <<')
}
if ((ty... |
/* globals describe: false, it: false */
"use strict";
var J = require('../lib/parser'),
M = require('unparse-js').maybeerror,
assert = require('assert');
var module = describe,
test = it,
deepEqual = assert.deepEqual;
module("parser", function() {
function good(rest, state, value) {
re... |
module.exports = function(callback) {
this.DynamoDB.listTables({}, function(error, response) {
callback(error, response);
});
};
|
// Generated by CoffeeScript 1.10.0
(function() {
var Base, CarrierService,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child._... |
/*
* index.js: Top-level include for the Rackspace database module
*
* (C) 2011 Nodejitsu Inc.
*
*/
exports.Client = require('./client').Client;
exports.Flavor = require('../../openstack/database/flavor').Flavor;
exports.Instance = require('../../openstack/database/instance').Instance;
exports.Database = ... |
import axios from 'axios';
const instaHelpers = {
getAllThisUsersPics(accessToken) {
const token = window.localStorage.getItem('token');
return axios({
url: 'api/insta/getUserPics',
method: 'post',
headers: { Authorization: token },
data: { accessToken },
});
},
getUniqueTagP... |
define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/_base/array',
'dojo/domReady',
'dojo/store/Memory',
'dojo/store/Observable',
'dojox/mobile/parser',
'gridx/mobile/Grid',
'gridx/mobile/tests/support/data',
'dojox/mobile/Heading',
'dojox/mobile/View',
'dojox/mobile/ScrollableView',
"dojox/mobile/compa... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Koa = _interopDefault(require('koa'));
var Router = _interopDefault(require('koa-router'));
var koaBody = _interopDefault... |
import RunningTransition from "./running-transition";
import DSL from "./dsl";
import Ember from "ember";
import Action from "./action";
import internalRules from "./internal-rules";
import Constraints from "./constraints";
import getOwner from 'ember-getowner-polyfill';
var TransitionMap = Ember.Service.extend({
in... |
define({
"_widgetLabel": "Graf",
"executeChartTip": "Kliknutím na jednu z následujících položek úloh vytvoříte graf.",
"invalidConfig": "Neplatná konfigurace.",
"noneChartTip": "Pro tento widget nebyla nakonfigurována žádná úloha grafů.",
"chartParams": "Možnosti",
"charts": "GRAFY",
"apply": "POUŽÍT",
... |
HAL.Views.Browser = Backbone.View.extend({
initialize: function(opts) {
var self = this;
this.vent = opts.vent;
this.explorerView = new HAL.Views.Explorer({ vent: this.vent });
this.inspectorView = new HAL.Views.Inspector({ vent: this.vent });
},
className: 'hal-browser row-fluid',
render: fun... |
/*
* 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.
* 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.
*/
'... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const Event = require("./Event.js");
const impl = utils.implSymbol;
const convertPopStateEventInit = require("./PopStateEventInit").convert;
function PopStateEvent(type) {
if (!new.target) {
throw new TypeError... |
/*The MIT License (MIT)
Copyright (c) 2015 Apostolique
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, pu... |
'use strict';
/*jshint undef:false */
(function() {
var utils = require('../utils');
describe('app', function() {
var ptor;
beforeEach(function() {
ptor = protractor.getInstance();
console.info('\nrunning:', jasmine.getEnv().currentSpec.description);
});
afterEach(function() {
if... |
/**
* 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.
*
* @emails oncall+relay
* @flow
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
import type {RelayMockEnv... |
require('../../support/spec_helper');
describe("Cucumber.Listener.PrettyFormatter", function () {
var Cucumber = requireLib('cucumber');
var path = require('path');
var colors = require('colors/safe');
colors.enabled = true;
var formatter, formatterHearMethod, summaryFormatter, prettyFormatter, options... |
define(['aura/aura'], function (aura) {
'use strict';
/*global describe:true, it:true, before:true, sinon:true */
describe('Aura Apps', function () {
describe('App Public API', function () {
var ext = {
initialize: sinon.spy(function (app) {
app.sandbox.foo = 'bar';
}),
... |
var assocDelete = require('./_assocDelete');
/**
* Removes `key` and its value from the stack.
*
* @private
* @name delete
* @memberOf Stack
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
function stackDelete(key) ... |
/*jshint node:true*/
var stringUtil = require('../../lib/utilities/string');
var SilentError = require('../../lib/errors/silent');
module.exports = {
description: 'Generates an ember-data adapter.',
availableOptions: [
{ name: 'base-class', type: String }
],
locals: function(options) {
var adapterN... |
CKEDITOR.plugins.setLang("forms","sq",{button:{title:"Rekuizitat e Pullës",text:"Teskti (Vlera)",type:"LLoji",typeBtn:"Buton",typeSbm:"Dërgo",typeRst:"Rikthe"},checkboxAndRadio:{checkboxTitle:"Rekuizitat e Kutizë Përzgjedhëse",radioTitle:"Rekuizitat e Pullës",value:"Vlera",selected:"Përzgjedhur",required:"Required"},fo... |
version https://git-lfs.github.com/spec/v1
oid sha256:5a688e8597f5fa9eaa98dad26086f21ced1570abb0a2b469ab2daac01c3dfaac
size 2079
|
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
const configuration = {
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
... |
/*!
* https://github.com/adampietrasiak/jquery.initialize
*
* Copyright (c) 2015-2016 Adam Pietrasiak
* Released under the MIT license
* https://github.com/timpler/jquery.initialize/blob/master/LICENSE
*
* This is based on MutationObserver
* https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
*/
... |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from '../utils/griddleConnect';
import compose from 'recompose/compose';
import mapProps from 'recompose/mapProps';
import getContext from 'recompose/getContext';
import { classNamesForComponentSelector, stylesForComponentSelector } from... |
// Test the binary interface to bufferlists
var Buffer = require('buffer').Buffer;
var BufferList = require('bufferlist').BufferList; // old style
var Binary = require('bufferlist/binary').Binary; // old style
var sys = require('sys');
var assert = require('assert');
exports.binary = function () {
function runTest... |
/**
* Base Event class.
* @param {String} type - The type
* @param {Object} [data] - The data
* @constructor
* @class
*/
function Event(type, data){
this._sender = null;
this._type = type;
this._data = data;
for(var prop in data) {
this[prop] = data[prop];
}
this._stopPropaga... |
module.exports = {
findBundle: function(i, options) {
return ["a.js", "b.js", "c.js"];
}
};
|
var bodyParser = require('body-parser');
var path = require('path');
var mongoose = require('mongoose');
var express = require('express');
var app = express();
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://localhost/message_board');
/* set up schema */
var Schema = mongoose.Schema;
var MessageSchema ... |
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>description: Behavior for "fixed" headers and footers - be sure to also include the item 'Browser specific workarounds for "fixed" headers and footers' when supporting Android 2.x or iOS 5
//>>label: Toolbars: Fixed
//>>group: Widgets
//>>css.structure: ... |
/**
* @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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
glo... |
var Wallet = require('./index.js')
var ethUtil = require('ethereumjs-util')
var crypto = require('crypto')
var scryptsy = require('scrypt.js')
var utf8 = require('utf8')
var aesjs = require('aes-js')
function assert (val, msg) {
if (!val) {
throw new Error(msg || 'Assertion failed')
}
}
function decipherBuffe... |
(function() {
'use strict';
Modernizr.addTest('ios', /iPad|iPhone|iPod/.test(window.navigator.userAgent));
Modernizr.addTest('android', /Android/i.test(window.navigator.userAgent));
Modernizr.addTest('winphone', /IEMobile/i.test(window.navigator.userAgent));
Modernizr.addTest('mobile', /iPad|iPhone|iPod|Andro... |
x=function (t) { return t }; |
/*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* 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
*... |
(function(e,l){function s(a){return a.id&&e('label[for="'+a.id+'"]').val()||a.name}function A(a,b,c){c||(c=0);b.each(function(){var b=e(this),g=this,k=this.nodeName.toLowerCase(),f,j;"label"==k&&b.find("input, textarea, select").length&&(f=b.text(),b=b.children().first(),g=b.get(0),k=g.nodeName.toLowerCase());switch(k)... |
/*!
* jQuery QueryBuilder 2.4.1
* Locale: Portuguese (pt-PT)
* Author: Miguel Guerreiro, migas.csi@gmail.com
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
(function(root, factory) {
if (typeof define == 'function' && define.amd) {
define(['jquery', 'query-builder'], factory);
}
... |
module.exports={A:{A:{"2":"H D G E A B mB"},B:{"1":"N I J q","2":"C K f L"},C:{"1":"0 1 2 3 4 5 6 8 t u v w x y z EB MB DB BB FB HB IB JB KB LB","2":"jB NB F O H D G E A B C K f L N I J P Q R S T U V W X Y Z a b c d e AB g h i j k l m n o p M r s dB cB"},D:{"1":"0 1 2 3 4 5 6 8 v w x y z EB MB DB BB FB HB IB JB KB LB b... |
'use strict';
(function() {
// Tweets Controller Spec
describe('Tweets Controller Tests', function() {
// Initialize global variables
var TweetsController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the res... |
var path = require('path');
var fs = require('fs');
var express = require('express');
var expstate = require('express-state');
var browserify = require('browserify');
var im = require('istanbul-middleware');
var watchify = require('watchify');
var assign = require('lodash').assign;
var humanizeDuration = require('huma... |
/*
* Backstretch
* http://srobbin.com/jquery-plugins/backstretch/
*
* Copyright (c) 2013 Scott Robbin
* Licensed under the MIT license.
*/
;(function ($, window, undefined) {
'use strict';
/* PLUGIN DEFINITION
* ========================= */
$.fn.backstretch = function (images, options) {
/*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.