code
stringlengths
2
1.05M
/** * @class Platform * @classdesc **App平台级别**的初始化类 * * * ## 说明 * * 这个类用于从设备中获取平台信息, 比如设备种类/运行平台/设备方向/文字方向等, 以此使得代码适配所有机型. 此外, 还支持平台方法的注册, 使业务与平台解耦. * */ /** * 结构体定义 * * @typedef {Object} PlatformConfig * { * isEngine?: boolean; * initialize?: Function; * isMatch?: Function; * superset?: ...
/** * Copyright 2015 Telerik AD * * 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 ...
var $ = require('jquery'), geojson2svg = require('geojson2svg'), parseSVG = require('parse-svg'); // get wountires geojson data $.getJSON('./data/countries.geo.json',drawGeoJSON); function drawGeoJSON(geojson) { // get the width and height of svgg element. // as the width of the map container is 100%, we hav...
import Ember from "ember"; export default Ember.Controller.extend({ needs: ['project', 'project/sketch', 'project/sketch/graph', 'project/sketch/graph/hypernode'], projectController: Ember.computed.alias('controllers.project'), sketchController: Ember.computed.alias('controllers.project/sketch'), nodeC...
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } __export(require('./baMenu.component')); //# sourceMappingURL=index.js.map
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M15.5 6.5C15.5 5.66 17 4 17 4s1.5 1.66 1.5 2.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5zm4 8.5c1.38 0 2.5-1.12 2.5-2.5 0-1.67-2.5-4.5-2.5-4.5S17 10.83 17 12.5...
'use strict'; var Socket = require('net').Socket , log = require('debug')('discover') , debug = require('debug')('discover:debug') , ip = require('ip') var PORT = 2000 var HELLO_APP = 'HELLOAPP' var HELLO_KETTLE = 'HELLOKETTLE\n' var kettle = null; var checkForKettle = function(ip, portDetails, callback)...
version https://git-lfs.github.com/spec/v1 oid sha256:e4355c8075e6311d09fcb779c217f7fd5bdee80e27926b42df4415880ec9e63b size 3250
const path = require( 'path' ); module.exports = { entry: './index.js', mode: 'development', output: { filename: './bundle.js', path: path.resolve( __dirname ) }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, use: { loader: 'babel-loader', options: { presets: [...
findMate.filter('dateFilter', function ($filter) { return function (items) { var filtered = []; var todayDate = new Date(); var todayDay = todayDate.getDate(); for (var i = 0; i < items.length; i++) { var item = items[i]; var itemDate = item.startDate; if (itemDate.getDate() < todayDate) { filtere...
'use strict'; /** * @ngdoc function * @name bangularApp.factory:TodoModel * @description * # TodoModel * Todo model of the bangularApp */ angular .module('bangularApp') .factory('TodoModel', ['BaseModel', function(BaseModel) { var _super = BaseModel.prototype; function TodoModel() { BaseMode...
angular.module('pyroApp.controllers') .controller('HomeCtrl', function($rootScope, $scope, $state, pyroService) { console.log('HomeCtrl'); });
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
//>>built define({aliceblue:"\uc568\ub9ac\uc2a4 \ube14\ub8e8(alice blue)",antiquewhite:"\uc564\ud2f1 \ud654\uc774\ud2b8(antique white)",aqua:"\uc544\ucfe0\uc544(aqua)",aquamarine:"\uc544\ucfe0\uc544\ub9c8\ub9b0(aquamarine)",azure:"\uc560\uc96c\uc5b4(azure)",beige:"\ubca0\uc774\uc9c0(beige)",bisque:"\ube44\uc2a4\ud06c(b...
import React, { Component } from 'react' import { ItemCart, Cart, CartButton } from 'components' import { getGoodsWord, isEmpty } from 'helpers' export default class CartItems extends Component { render() { const { data, changeQuantity, onRemove, totalQuantity, totalPrice } = this.props; const tit...
import React from 'react' import PropTypes from 'prop-types' import { routerShape } from 'found/lib/PropTypes' import { createFragmentContainer, graphql } from 'react-relay' import Formsy from 'formsy-react' import { FormsyText } from 'formsy-material-ui' import RaisedButton from 'material-ui/RaisedButton' import Regi...
import EventEmitter from 'events'; import nock from 'nock'; import Tumblr from '../../src/tumblr'; import TumblrStream from '../../src/tumblr/stream'; import { generateNewMessage, generateOldMessage } from './utils'; describe('TumblrStream', () => { const auth = { consumerKey: 'consumerKey', }; const tumblr ...
import Terrain from 'react-icons/lib/md/terrain' import SnowFlake from 'react-icons/lib/ti/weather-snow' import Calendar from 'react-icons/lib/fa/calendar' import PropTypes from 'prop-types' export const SkiDayRow = (days) => ( <tr> <td>{days.date.getMonth()+1}/{days.date.getDate()}/{days.date.getFullYear()}</td> ...
/** * canvas.transition(option) implement. * @module component/canvas/transition * @see module:component/canvas */ import { every, isNumber, } from 'zero-lang'; export default function transition(option) { /** * graph transition. * @function * @param {number} option.x - x. * @param {number} opti...
var util = require('util') , stream = require('stream') , os = require('os') ; function network(opts, app) { this.config = function(rpc,cb) { cb(null,os.networkInterfaces()); }; }; util.inherits(network, stream); module.exports = network;
import React from "react"; import ReactDOM from "react-dom"; import { Router, Route, IndexRoute, hashHistory} from "react-router"; //Components import About from './Pages/About'; import Home from './Pages/Home'; import Layout from './components/Layout'; import MyReviewsContainer from './components/MyReviewsContainer';...
Package.describe({ name: 'angular-blaze-templates-compiler', summary: 'Compile angular templates into the template cache for .ng extensions', version: '0.0.1', git: 'https://github.com/Urigo/angular-meteor.git', documentation: null }); Package.registerBuildPlugin({ name: 'compileNGTemplate', sources: [ ...
(() => { 'use strict'; // The name used by this script to send alerts to the GM in the chat. const CHAT_NAME = '5E-Generic'; const SHEET_ATTRS = { ogl: { ac: 'ac', strSaveModifier: 'strength_save_bonus', dexSaveModifier: 'dexterity_save_bonus', conSaveModifier: 'constitution_save_b...
/** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ var config = { map: { '*': { quickSearch: 'Magento_Search/form-mini' } } };
import eachView from './each-view'; export default function findComponentElements(container, componentKlass) { var elements = []; eachView(container, function(view){ if (componentKlass.detectInstance(view)) { elements.push(view.element); } }); return elements; }
// core.module.js (function() { 'use strict'; angular .module('app.core', [ // Libraries 'ngAnimate', 'ngAria', 'ngCookies', 'ngMaterial', 'ngMessages', 'ngResource', 'ngSanitize', 'ngMap', 'angular-google-analytics', 'pasc...
/** * Cesium - https://github.com/AnalyticalGraphicsInc/cesium * * Copyright 2011-2016 Cesium Contributors * * 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.apa...
(function(bespoke) { bespoke.plugins.bullets = function(deck, options) { var activeSlideIndex, activeBulletIndex, bullets = deck.slides.map(function(slide) { return [].slice.call(slide.querySelectorAll((typeof options === 'string' ? options : '[data-bespoke-bullet]')), 0); }), next = function() { ...
/** * @fileoverview Rule to flag when return statement contains assignment * @author Ilya Volodin */ //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = function(context...
import React from 'react' import { BarChart, Tooltip, XAxis, YAxis, CartesianGrid, Legend, Bar } from 'recharts' const BarDiagram = ({data}) => <BarChart width={400} height={300} data={data} options={{}}> <XAxis dataKey='name' /> <YAxis /> <CartesianGrid strokeDasharray='6 3' /> <Tooltip /> <Lege...
"use strict"; import {expect,assert} from 'chai'; import {all, random , parse , get, Dom } from './index.js'; describe('Emotsjs' ,() => { describe('all' ,() => { it('should be an array of strings' ,() => { expect(all()).to.satisfy(isArrayOfString); function isArrayOfString(array){ return array.every((i...
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; describe('Sleep Talk', function () { afterEach(function () { battle.destroy(); }); it('should run conditions for submove', function () { battle = common.createBattle(); battle.setPlayer('p1', {team...
/* */ module.exports = require('./cursor/index');
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
"use strict"; var immutableMap = require('immutable').Map; var database = require('../../database'); /* keys of this object will be used as annotations_task.type */ var annotationFunctions = { 'facebook_like': require('./facebookLikes'), 'facebook_share': require('./facebookShares'), 'linkedin_share'...
const _ = require('lodash'); const Promise = require('bluebird'); const db = require('../../data/db'); const commands = require('../schema').commands; const ghostVersion = require('../../lib/ghost-version'); const {i18n} = require('../../lib/common'); const logging = require('../../../shared/logging'); const errors = r...
/* html2canvas @VERSION@ <http://html2canvas.hertzen.com> Copyright (c) 2011 Niklas von Hertzen. All rights reserved. http://www.twitter.com/niklasvh Released under MIT License */ /* * New function for traversing elements */ _html2canvas.Parse = function ( images, options ) { window.scroll(0,0); ...
require('./navbar.less'); var _ = require('underscore'); navbarController.$inject = [ '$rootScope', 'notificationService', '$state', '$scope' ]; function navbarController($rootScope, notificationService, $state, $scope) { var self = this; self.showNotImplementedNotification = function() { notificatio...
'use strict'; var Promise = require('promise'); var List = require('immutable').List; var Map = require('immutable').Map; var Specberus = require('specberus/lib/validator').Specberus; require('../config.js'); /** * @exports lib/specberus-wrapper */ var SpecberusWrapper = {}; SpecberusWrapper.validate = function ...
var searchData= [ ['wifi_5fget_5fchannel',['wifi_get_channel',['../group___wi_fi___sniffer___a_p_is.html#ga152796dafaf3baffe84e1a45ff05b5e0',1,'esp_wifi.h']]], ['wifi_5fget_5finterface',['wifi_get_interface',['../group___wi_fi___common___a_p_is.html#ga57972bf91a06b4b38453a8041d597582',1,'esp_wifi.h']]], ['wifi_5f...
production: { root: rootPath, app: { name: 'ThingLabs Azure Dashboard' }, port: process.env.port, }
// // const R = require('ramda') // const expect = require('chai').expect // const Node = require('./../src/node') // describe('Node:', () => { // let node // describe('constructor:', () => { // it('success', () => { // node = new Node() // }) // }) // })
'use strict'; var should = require('should'); var lib = require('../lib'); var _ = require('lodash'); describe('test suite', function(){ it('should pass', function(done){ lib.add(1, 1).should.equal(2); done(); }); it('clone', function(cb){ this.timeout(30000); var data = []; _.rang...
require('tiparsejs_wrapper')(Alloy.CFG.parseOptions); setTimeout(function(){ var Test = Parse.Object.extend("Test"); // Create a new instance of that class. var obj = new Test(); obj.set("Name", "Testing 123 - Parse module"); Ti.API.info("Name set to: " + obj.get("Name")); obj.save(null, { success: function...
import React from 'react'; import Button from './Button'; import { storiesOf } from '@storybook/react'; import { Meta, Story } from '@storybook/addon-docs/blocks'; <Meta title='Button' component={Button} parameters={{ foo: 1, bar: 2, }} /> <Story name='with kind parameters'><Button label='The Button' ...
var myApp = angular.module('myapplication', ['ngRoute', 'ngResource']); //Factory myApp.factory('Users', ['$resource',function($resource){ return $resource('/users.json', {},{ query: { method: 'GET', isArray: true }, create: { method: 'POST' } }) }]); myApp.factory('User', ['$resource', function($resour...
import mth from 'osg/math'; import glm from 'gl-matrix'; import config from 'config.js'; glm.glMatrix.setMatrixArrayType(config.ArrayType); glm.glMatrix.EPSILON = 1e-9; var vec2 = glm.vec2; var vec3 = glm.vec3; var vec4 = glm.vec4; var mat4 = glm.mat4; var mat3 = glm.mat3; var quat = glm.quat; // osg vec3 additions ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics Drag Event. * * This event is dispatched by a Matter Physics World instance when a Pointer Constraint * is activel...
/** * VexFlow - EasyScore Tests * Copyright Mohit Muthanna 2010 <mohit@muthanna.com> */ Vex.Flow.Test.EasyScore = (function () { var EasyScore = { Start: function () { QUnit.module('EasyScore'); var VFT = Vex.Flow.Test; QUnit.test('Basic', VFT.EasyScore.basic); QUnit.test('Accidentals'...
import React from 'react'; import { shallow } from 'enzyme'; import assert from 'assert'; import WeUI from '../src/index'; const {Toast, Mask, Icon} = WeUI; describe('<Toast></Toast>', ()=> { ['small', 'large'].map((iconSize) => { [undefined, null, false, true].map((show) => { ['toast', 'loadi...
/** * Created by dietn on 28/11/14. */ var mysql = require("mysql"); var settings = require("../settings.json"); function getConnection(){ var db = mysql.createConnection({ host : settings.dbHost, user : settings.dbUser, password : settings.dbPwd, database: settings.dbName...
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' // 'starter.services' is found in services.js // 'start...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2014 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * The ScaleManager object is responsible for helping you manage the scaling, resizing and alignment of your game withi...
import React from "react" import renderer from "react-test-renderer" import Index from "./index.js" describe("Index", () => it("Renders correctly", () => { const tree = renderer.create( <Index /> ).toJSON() expect(tree).toMatchSnapshot() }))
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); };System.register(['../validation/utilities', '../validation/validation-locale'], function(expo...
var searchData= [ ['data',['data',['../struct_arbiter_user_value.html#a21ad42b0d600af18edb221b0cc7a2870',1,'ArbiterUserValue::data()'],['../struct_arbiter_user_context.html#a97f275e4272b241b8281690c08b00b11',1,'ArbiterUserContext::data()']]], ['destructor',['destructor',['../struct_arbiter_user_value.html#a46326f86...
var Url = require('fire-url'); Polymer({ created: function () { this.viewMode = "list"; this.searchText = ""; this.items = []; this._curId = ""; }, ready: function () { window.onkeydown = function ( event ) { switch ( event.which ) { // enter...
/*global describe, it, browser */ describe('infinite scroll', function () { 'use strict'; it('match the baseline infinite scroll screenshot', function () { return browser .setupTest('/infinitescroll/fixtures/test.full.html') .click('.bb-btn-secondary') .pause(1000)...
define([ 'jquery', 'kb_common/jsonRpc/dynamicServiceClient', 'widgets/modeling/KBModeling', 'widgets/modeling/kbaseTabTable' ], function ($, DynamicServiceClient, KBModeling) { 'use strict'; function KBaseBiochem_CompoundSet(tabwidget) { var self = this; this.tabwidget = tabwidge...
// quickly turn HTML strings into a wrapped JSX component. // useful for when getting html strings from endpoint export const htmlToJsx = (__html) => ( <div dangerouslySetInnerHTML={{__html}} /> // eslint-disable-line ); export default htmlToJsx;
/* * Superfish v1.4.8 - jQuery menu widget * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt */ ;(functi...
YUI.add('series-spline-stacked', function (Y, NAME) { /** * Provides functionality for creating a stacked spline series. * * @module charts * @submodule series-spline-stacked */ /** * StackedSplineSeries creates spline graphs in which the different series are stacked along a value axis * to indicate their contr...
window.myDay = { }; window.myDay.loadClubs = function(target, callback) { window.api.get("myDay/clubs/getAll", function(data) { for (var clubIndex in data.clubs) { var club = data.clubs[clubIndex]; var option = $('<option></option>'); option.val(club.clubId); option.text(club.name); target.append(...
/*global Ext, Ijobs, window, document, printMsg, reset, console, getUserName */ var listStore; var listGrid; var datefield1, datefield2, application; Ext.onReady(function () { application = new Ijobs.common.ux.AppComboBox({ id: 'cmbApplication', triggerAction: "all", editable: true, ...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 2C8.14 2 5 5.14 5 9c0 4.17 4.42 9.92 6.24 12.11.4.48 1.13.48 1.53 0C14.58 18.92 19 13.17 19 9c0-3.86-3.14-7-7-7zm3 8h-2v2c0 .55-.45 1-1 1s-1...
// Version: 3.6.1 (function(){ /* CryptoJS v3.1.2 code.google.com/p/crypto-js (c) 2009-2013 by Jeff Mott. All rights reserved. code.google.com/p/crypto-js/wiki/License */ var CryptoJS=CryptoJS||function(h,s){var f={},g=f.lib={},q=function(){},m=g.Base={extend:function(a){q.prototype=this;var c=new q;a&&c.mixIn(a);c.has...
!function(e){e.fn.datepicker.dates.sk={days:["Nede\u013ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota","Nede\u013ea"],daysShort:["Ned","Pon","Uto","Str","\u0160tv","Pia","Sob","Ned"],daysMin:["Ne","Po","Ut","St","\u0160t","Pia","So","Ne"],months:["Janu\xe1r","Febru\xe1r","Marec","Apr\xedl","M\xe1j","J...
/* eslint-env mocha */ /* globals expect */ import { getCredentials, api, request, credentials } from '../../data/api-data.js'; describe('[EmojiCustom]', function() { this.retries(0); before((done) => getCredentials(done)); describe('GET', () => { it('[/emoji-custom]', (done) => { request.get(api('emoji-cus...
define([ 'jquery', 'underscore', 'backbone', 'helpers/conf', 'text!templates/modal.html', 'text!templates/welcome.html' ], function($, _, Backbone, ConfHelper, ModalTemplate, WelcomeTemplate) { return { version: '', isExtension: true, urlPrefix: 'https://eksisozluk.com/', initialize: fu...
var MeshData = require('../renderer/MeshData'); var Capabilities = require('../renderer/Capabilities'); var Vector3 = require('../math/Vector3'); /** * Combines the MeshData of passed-in entities into one new MeshData. This can be useful to reduce draw calls. * Combination is currently limited to 65536 vertices. * ...
import { dispatch } from "../redux/index.js"; import { MyButtercupClient } from "../../shared/library/buttercup.js"; import { MYBUTTERCUP_CLIENT_ID, MYBUTTERCUP_CLIENT_SECRET, MYBUTTERCUP_REDIRECT_URI } from "../../shared/library/myButtercup.js"; import { setName, setVaultID } from "../../shared/actions/myB...
function require(name) { return this[name]; } var FunctionCalls = new Array(); var CallbackCalls = new Array(); var BatchedBridge = { 'callFunctionReturnFlushedQueue': function (moduleId, methodId, args) { FunctionCalls.push([moduleId, methodId, args]); return [[],[],[]]; }, 'invok...
/** * Created by vmaltsev on 4/17/2015. */ // and event model var models = require('../../models'); module.exports = function(app) { // ============================================================================= // ROUTES FOR USERS ================================================== // ===========================...
version https://git-lfs.github.com/spec/v1 oid sha256:55d386f35fef3025caa440592404d827cb534ef367630f1ea5464d6b23cf0c44 size 322
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema, crypto = require('crypto'); /** * A Validation function for local strategy properties */ var validateLocalStrategyProperty = function(property) { return ((this.provider !== 'local' && !this.updated) || pro...
import { Component } from '@angular/core'; import pluginClass from './plugin.class.js'; export default class indent extends pluginClass { static get annotations() { return [ new Component({ selector: 'atlui-plugin-indent', template: ` <button class="btn btn-default icon ic...
'use strict'; var webapp=angular.module('waecm', [ 'ngRoute', 'ngStorage', 'naif.base64' ]).config(['$routeProvider', function($routeProvider) { $routeProvider. when('/home', { templateUrl: 'views/home.html', controller: 'HomeCtrl as hmCtrl' }). when('/register', { templateUrl: 'views/newUser.html',...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, { children: [/*#__PURE__*/_jsx("path", { fillOpacity: ".3", d:...
import React, {Component} from 'react'; import {AppRegistry, NativeModules} from 'react-native'; import _ from 'lodash'; import PropRegistry from './PropRegistry'; const NativeReactModule = NativeModules.NavigationReactModule; async function startApp(activityParams) { savePassProps(activityParams); return await N...
$(function () { var nb = $('#navbtn'); var n = $('#topnav nav'); $(window).on('resize', function () { if ($(this).width() < 570 && n.hasClass('keep-nav-closed')) { // if the nav menu and nav button are both visible, // then the responsive nav transitioned from o...
"use strict"; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNyYy9mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEZhY3RvcnlEZWZpbml0aW9uPFQ+IHtcbiAgY3JlYXRlKGluamVjdGlvbn...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.boolToStatus = exports.WebRTCMedia = exports.Call = undefined; var _call = require('./call'); Object.defineProperty(exports, 'Call', { enumerable: true, get: function get() { return _interopRequireDefault(_call).default; ...
import { Injectable, defineInjectable, inject } from '@angular/core'; import { Angulartics2 } from 'angulartics2'; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class Angulartics2Mixpanel { /** * @param {?} angula...
// Copyright 2013 the V8 project authors. All rights reserved. // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple 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: // 1. Redistributions o...
module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-bower-install-simple'); grunt.loadNpmTasks('grunt-bower'); var bpSrc = []; var bpDest = []; [ "404.html", "apple-touch-icon.png", "crossdomain.xml", "browser...
var mocha = require('../') , Suite = mocha.Suite , Runner = mocha.Runner , Test = mocha.Test; describe('Runner', function(){ var suite, runner; beforeEach(function(){ suite = new Suite('Suite', 'root'); runner = new Runner(suite); }) describe('.grep()', function(){ it('should update the run...
var _div$statics = ["id", "id", "key", ""]; function fn3o() { _div$statics[3] = key4; return elementVoid("div", key4, _div$statics); }
// https://github.com/tlianza/ajaxHooks/blob/master/src/ajax/xdr.js (function( jQuery ) { if ( window.XDomainRequest ) { jQuery.ajaxTransport(function( s ) { if ( s.crossDomain && s.async ) { if ( s.timeout ) { s.xdrTimeout = s.timeout; delete s.timeout; } var xdr; return ...
/* * 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. */ ...
/** * Replace any instance of a specific string in another word * @param {String} word * @param {String} replace * @param {String} replacement * @param {Bool} g * @return {String} **/ function regexReplace( word, replace, replacement, g ) { return word.replace(new RegExp(replace, Boolean(g) === true ? "g" : ...
// Copyright 2013 the V8 project authors. All rights reserved. // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple 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: // 1. Redistributions o...
//Author : @arboshiki //create lobibox object var Lobibox = Lobibox || {}; (function(){ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ //User can set default properties for prompt in the fol...
/** * Javascript ical Parser * Proof of concept method of reading icalendar (.ics) files with javascript. * * @author: Carl Saggs * @source: https://github.com/thybag/ * @version: 0.2 */ function ical_parser(feed_url, callback){ //store of unproccesed data. this.raw_data = null; //Store of proccessed data. ...
export default function ({ types: t }) { function hasRefOrSpread(attrs) { for (let i = 0; i < attrs.length; i++) { const attr = attrs[i]; if (t.isJSXSpreadAttribute(attr)) return true; if (isJSXAttributeOfName(attr, "ref")) return true; } return false; } function isJSXAttributeOfNam...
(function(b){var c="Afrikaans",a=b.cultures,e=a.en,f=e.calendars.standard,d=a.af=b.extend(true,{},e,{name:"af",englishName:c,nativeName:c,language:"af",numberFormat:{percent:{pattern:["-n%","n%"]},currency:{pattern:["$-n","$ n"],symbol:"R"}},calendars:{standard:b.extend(true,{},f,{days:{names:["Sondag","Maandag","Dinsd...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.1-master-7cdd32a */ !function(n,i,t){"use strict";function e(n){return{restrict:"E",link:function(i,t,e){t.addClass("_md"),n(t)}}}e.$inject=["$mdTheming"],i.module("material.components.card",["material.core"]).directive("mdCa...
goog.provide('ol.render.webgl.Immediate'); goog.require('ol'); goog.require('ol.extent'); goog.require('ol.geom.GeometryType'); goog.require('ol.render.ReplayType'); goog.require('ol.render.VectorContext'); goog.require('ol.render.webgl.ReplayGroup'); if (ol.ENABLE_WEBGL) { /** * @constructor * @extends {ol...
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Format/XML/VersionedOGC.js */ ...
function locationSwitchChanged() { if (locationSwitch.isChecked()) { menu.setMainPage('mapClusterView.html', {closeMenu: false}); } else { menu.setMainPage('noLocationServices.html', {closeMenu: false}); } }; function fuzzingSwitchChanged() { alert(fuzzingSwitch.isChecked() ? 'Fuzzing on' : 'Fuzzing ...
'use strict'; var exports = {}; exports.BlockFilter = require('./block-filter'); exports.Client = require('./client'); exports.ClientConfig = require('./client/config'); exports.Config = require('./config'); exports.Server = require('./server'); exports.WalletService = require('./wallet-service'); exports.models = r...