code
stringlengths
2
1.05M
/** * QCObjects 2.3 * ________________ * * Author: Jean Machuca <correojean@gmail.com> * * Cross Browser Javascript Framework for MVC Patterns * QuickCorp/QCObjects is licensed under the * GNU Lesser General Public License v3.0 * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt) * *...
/* Copyright (c) 2011, Chris Umbel 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, distribute, su...
'use strict' module.exports = { map: { inline: false, annotation: true, sourcesContent: true }, plugins: [ require('autoprefixer')({ cascade: false }) ] }
var prr = require('prr') function init (type, message, cause) { prr(this, { type : type , name : type // can be passed just a 'cause' , cause : typeof message != 'string' ? message : cause , message : !!message && typeof message != 'string' ? message.message : message }, ...
define({ "_widgetLabel": "Slāņu saraksts", "titleBasemap": "Pamatkartes", "titleLayers": "Operacionālie slāņi", "labelLayer": "Slāņa nosaukums", "itemZoomTo": "Pietuvināt", "itemTransparency": "Caurspīdīgums", "itemSetVisibilityRange": "Iestatīt redzamības diapazonu", "itemTransparent": "Caurspīdīgs", ...
(function () { 'use strict'; angular.module('sections.about') .directive('svAboutTabs', function ($mdDialog, $state) { return { replace: true, templateUrl: 'scripts/sections/about/directives/sv-about-tabs.html', scope: {}, link...
exports.BattleMovedex = { acidarmor: { inherit: true, pp: 40 }, aircutter: { inherit: true, basePower: 55 }, airslash: { inherit: true, pp: 20 }, aromatherapy: { inherit: true, onHit: function (pokemon, source) { var side = pokemon.side; for (var i = 0; i < side.pokemon.length; i++) { s...
/* Backbone ModalView http://github.com/amiliaapp/backbone-bootstrap-widgets Copyright (c) 2014 Amilia Inc. Written by Martin Drapeau Licensed under the MIT @license */ (function(){ Backbone.ModalView = Backbone.View.extend({ className: "modal backbone-modal", template: _.template([ '<div c...
import hammerhead from '../../deps/hammerhead'; import { KEY_MAPS, domUtils, arrayUtils, } from '../../deps/testcafe-core'; import isLetter from '../../utils/is-letter'; const nativeMethods = hammerhead.nativeMethods; const browserUtils = hammerhead.utils.browser; const focusBlurSandbox = hammerhe...
version https://git-lfs.github.com/spec/v1 oid sha256:98330701dfc195610961cf7e92f2ca7d466904d18465b95a2418fc65f60adc0e size 73817
// Karma configuration module.exports = function (config) { config.set({ // ... normal karma configuration basePath: "", // How long will Karma wait for a message from a browser before disconnecting from it (in ms). browserNoActivityTimeout: 60000, client: { mo...
import { renderComponent, expect } from '../test_helper'; import App from '../../src/components/app'; describe('App', () => { let component; beforeEach(() => { component = renderComponent(App); }); it('renders something', () => { expect(component).to.exist; }); });
const foo1 = { noEffect: () => {} }; let foo2 = { noEffect: () => {} }; const bar = {}; assignFoo(); foo2.noEffect = () => { bar.baz = 'present'; }; foo1.noEffect(); function assignFoo () { foo2 = foo1; } export default bar;
'use strict'; var should = require('should'), request = require('supertest'), app = require('../../server'), mongoose = require('mongoose'), User = mongoose.model('User'), Advert = mongoose.model('Advert'), agent = request.agent(app); /** * Globals */ var credentials, user, advert; /** * Advert routes tests...
var _CSGDEBUG=false; /* ## License Copyright (c) 2012 Joost Nieuwenhuijse (joost@newhouse.nl) Copyright (c) 2011 Evan Wallace (http://evanw.github.com/csg.js/) Copyright (c) 2012 Alexandre Girard (https://github.com/alx) All code released under MIT license ## Overview For an overview of the CSG process see the ori...
/** * @module spotlight * @author Flavio De Stefano <flavio.destefano@caffeinalab.com> */ /** * @property config * @property {String} [config.enqueueRoute=true] Enqueue route from the searchableItemActivityIdentifier parameter */ exports.config = _.extend({ enqueueRoute: true }, Alloy.CFG.T ? Alloy.CFG.T.spo...
'use strict'; var _ = require( '../utils' ); var colors = require( './colors' ); var addBoxGeometry = require( '../geometry/box-geometry' ); var Color = require( '../math/color' ); var Geometry = require( '../geometry/geometry' ); var LambertMaterial = require( '../materials/lambert-material' ); var Mesh = require( '....
module.exports = require('./webpack.config.base')({ target: 'renderer', alwaysHasNode: true, targetDeletesNodeGlobals: true, wrapInitWithProfilingTimeout: true, wrapInitWithTryCatch: true });
require('./Examples.less'); require('./Autosuggest.less'); import React, { Component } from 'react'; import BasicExample from './BasicExample/BasicExample'; import CustomRenderer from './CustomRenderer/CustomRenderer'; import MultipleSections from './MultipleSections/MultipleSections'; import ControlledComponent from ...
/** mass : kg dist : km apeed : km/s radius: km */ define( [ 'jsorrery/NameSpace', 'jsorrery/scenario/CommonCelestialBodies' ], function(ns, common) { var cnf = { name : 'InnerSolarSystem', title : 'Inner Solar System', commonBodies : [ 'sun', 'mercury', 'venus'...
/// <reference path="../_references.d.ts" /> angular.module('dotjem.routing.pages').service('plunkr', [ '$document', function ($document) { function post(fields) { var form = angular.element('<form style="display: none;" method="post" action="http://plnkr.co/edit/?p=preview" target="_blank"></fo...
/** * @fileoverview Tests for require newline before `return` statement * @author Kai Cataldo * @deprecated */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const rule ...
// module that takes data sets, // serialize them wrt number of total options, // generate highcharts options with serialized target, // save into optionArr.json // and inject target into html with src // generate chart.js for bundling // run gulp task browser sync // dependencies var fs = require('fs'); var q = requi...
'use strict'; var config = require('../config'); var gulp = require('gulp'); var gulpif = require('gulp-if'); var gutil = require('gulp-util'); var source = require('vinyl-source-stream'); var streamify = require('gulp-streamify'); var watchify = require('watchify'); var browser...
(function (Dataflow) { var Menu = Dataflow.prototype.plugin('menu'); var MenuCard = Dataflow.prototype.module('menucard'); Menu.initialize = function (dataflow) { Menu.card = new MenuCard.Model({ dataflow: dataflow, pinned: true }); Menu.card.view = new MenuCard.View({ model: Menu.c...
/*global module */ module.exports = function( grunt ) { 'use strict'; grunt.initConfig({ uglify: { options: { mangle: { except: ['Swipe'] }, preserveComments: 'some' }, dist: { files: { 'build/swipe.min.js': 'swipe.js' } } ...
/*jshint node:true*/ 'use strict'; var cmd = {}; module.exports = function(program, opts) { opts = opts || {}; opts.name = opts.name || program._name || require('path').basename(process.mainModule.filename); program._name = opts.name; var didYouMean = require('didyoumean'), commands = {}; ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2015 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Utility functions for dealing with Arrays. * * @class Phaser.ArrayUtils * @static */ Phaser.ArrayUtils =...
import Lh from '../helpers/LaneHelper' const boardReducer = (state = {lanes: null}, action) => { const {payload, type} = action switch (type) { case 'LOAD_BOARD': return Lh.initialiseLanes(state, payload) case 'ADD_CARD': return Lh.appendCardToLane(state, payload) case 'REMOVE_CARD': ...
/*! * Bootstrap-select v1.13.11 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2019 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ !function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeo...
module.exports={A:{A:{"1":"A B","2":"H D G E FB"},B:{"1":"C p z J L N I"},C:{"1":"0 2 3 5 6 8 9 F K H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","2":"4 aB YB SB"},D:{"1":"0 2 3 5 6 8 9 J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w...
(function(Browser) { Browser.Items = Browser.Items || {}; Browser.Items.Views = Browser.Items || {}; Browser.Items.Views.CollectionPage = Backbone.View.extend({ el : $('#jda-collection-filter-new'), events: { 'click a.play' : 'playCollection', 'click button.share' : function(){alert('Opens publi...
var template = '<li>%s (<a href="/latest/%s/%s">%s</a> or <a href="/latest/%s/%s">%s</a>)</li>'; document.addEventListener('DOMContentLoaded', function(event) { var xhr = new XMLHttpRequest(); xhr.open('GET', '/distributions'); xhr.onload = function(e) { var list = document.querySelector("ul#js-downloads"); ...
Namespaced.declare('Scheddo.Util'); _.extend(Scheddo.Util, (function() { var nextDate = null; return { setDatepickerDefaultDates: function() { $('.primary-suggestion'). datepicker('option', 'defaultDate', nextDate); }, datepicker: function() { var self = this; // Displays a ...
const ExceptionInterface = Jymfony.Component.Filesystem.Exception.ExceptionInterface; /** * Thrown when an unsupported operation has been called on a * stream wrapper (ex: readdir on http). * * @memberOf Jymfony.Component.Filesystem.Exception */ export default class UnsupportedOperationException extends mix(Runti...
// Philips Hue: http://meethue.com var http = require('http') , https = require('https') , md5 = require('MD5') , stringify = require('json-stringify-safe') , url = require('url') , util = require('util') , db = require('./../../core/database').db , devices ...
'use strict'; var errorHandler = require('./errors.server.controller'); var mongoose = require('mongoose'); var Following = mongoose.model('Following'); var Follower = mongoose.model('Follower'); exports.show = function(req, res, next) { var is_following = false; var is_followed = false; if (req.user) { ...
/*! * Module exports. */ 'use strict'; exports.Binary = require('./binary'); exports.Collection = require('./collection'); exports.Decimal128 = require('./decimal128'); exports.ObjectId = require('./objectid'); exports.ReadPreference = require('./ReadPreference');
/*! * Masonry PACKAGED v3.1.2 * Cascading grid layout library * http://masonry.desandro.com * MIT License * by David DeSandro */ /** * Bridget makes jQuery widgets * v1.0.0 */ ( function( window ) { 'use strict'; // -------------------------- utils -------------------------- // var slic...
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; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; (function (factory) { if (typeof module === 'object' && ty...
var React = require('react'), render = require('../src/render.js').render; describe('Render', function() { var domContainer, children = [React.createElement('span', { key: '1', children: 'test child' })]; class Component extends React.Component { render() { return React.D...
var path = require('path'); module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), browserify: { dist: { files: { 'dist/bundle.js': ['clientscripts/*.js'] } ...
var dives = [ { site: 'Abu Gotta Ramada', location: 'hurghada, Ehypt', depth: 72, time: 54 }, { site: 'Ponte Mahoon', location: 'Maehbourg, Mauritius', depth: 54, time: 38 }, { site: 'Molnar Cave', location: 'Budapest, Hungary', depth: 98, time: 62 } ];
import Geometry from '../geom/Geometry'; import hasInterface from '../../../../hasInterface'; import GeometryFactory from '../geom/GeometryFactory'; import Collection from '../../../../java/util/Collection'; import IncrementalDelaunayTriangulator from './IncrementalDelaunayTriangulator'; import QuadEdgeSubdivision from...
describe('iD.actionMerge', function () { it('merges multiple points to a line', function () { var graph = iD.coreGraph([ iD.osmNode({id: 'a', tags: {a: 'a'}}), iD.osmNode({id: 'b', tags: {b: 'b'}}), iD.osmWay({id: 'w'}), iD.osmRelation({id: 'r'...
(function() { 'use strict'; window.Plugins = window.Plugins || { PluginManager: {} }; window.Plugins.PluginManager = window.Plugins.PluginManager || { }; window.Plugins.PluginManager.Config = function () { var self = this; self.get = function (pluginName, callback) { $.get('system-plugin/plugin-m...
/* global assert, process, setup, suite, test */ var entityFactory = require('../helpers').entityFactory; var THREE = require('index').THREE; var VIDEO = 'base/tests/assets/test.mp4'; suite('standard material', function () { setup(function (done) { var el = this.el = entityFactory(); el.setAttribute('materi...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsPhone = (props) => ( <SvgIcon {...props}> <path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-...
var argv = require('optimist').argv, Task = require('./task').Task, IonicAppLib = require('ionic-app-lib'), IonicResources = IonicAppLib.resources, IonicStats = require('./stats').IonicStats, Utils = IonicAppLib.utils; var Project = IonicAppLib.project; var IonicTask = function() {}; IonicTask.pro...
/* global wait */ import Test from 'ember-simple-auth/authenticators/test'; const TEST_CONTAINER_KEY = 'authenticator:test'; function ensureAuthenticator(app, container) { const authenticator = container.lookup(TEST_CONTAINER_KEY); if (!authenticator) { app.register(TEST_CONTAINER_KEY, Test); } } export f...
/*! * Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved. * * This software was developed by Webdetails and is provided under the terms * of the Mozilla Public License, Version 2.0, or any later version. You may not use * this file except in compliance with the license. If you need a copy of...
YUI.add('button-core', function (Y, NAME) { /** * Provides an interface for working with button-like DOM nodes * * @module button-core * @since 3.5.0 */ var getClassName = Y.ClassNameManager.getClassName, AttributeCore = Y.AttributeCore; /** * Creates a button * * @class ButtonCore * @uses AttributeCore ...
version https://git-lfs.github.com/spec/v1 oid sha256:63884ff2926068fae0dc1dbb0a10ebead7f971e6871b79d515900d8897eed417 size 82424
steal.loadedProductionCSS = true; steal('steal/less') .then('./stylesheets/site.less') .then('jquery/controller', 'jquery/view/ejs') .then('site/views/blog.ejs', function($){ jQuery.Controller.extend('Feed', /* @Static */ { }, /* @Prototype */ { date_template: '{day}, {date} {month} {year}', days : ["Sunday","Mo...
'use strict'; const common = require('../common'); const assert = require('assert'); const dgram = require('dgram'); const client = dgram.createSocket('udp4'); const buf = Buffer.allocUnsafe(256); const offset = 20; const len = buf.length - offset; const messageSent = common.mustCall(function messageSent(err, bytes...
/*! * jQuery JavaScript Library v1.10.1 -event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * ht...
import Affix from './Affix'; export default Affix;
/* Language: C++ */ hljs.LANGUAGES.cpp = function(){ var CPP_KEYWORDS = { 'keyword': { 'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1, 'char': 1, 'catch': 1, 'export': 1, 'virtual': 1, 'operator': 2, 'sizeof': 2, 'dynamic_cast': 2, 'typedef': 2, 'const_cast': 2, 'const': 1, 's...
import {Entity} from 'aframe-react'; import React from 'react'; export default props => ( <Entity geometry={{primitive: 'sphere', radius: 5000}} material={{color: "#73CFF0", shader: 'flat'}} scale="1 1 -1"/> );
/* * @name Variables de color * @description (Homenajen a Albers.) Este ejemplo crea variables de colores * que pueden ser referenciadas en el programa por un nombre, en vez de un número. */ function setup() { createCanvas(710, 400); noStroke(); background(51, 0, 0); var inside = color(204, 102, 0); var ...
/*! @license Firebase v4.2.0 Build: rev-d6b2db4 Terms: https://firebase.google.com/terms/ */ /** * 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...
$wnd.jsme.runAsyncCallback3('t(622,620,xx);_.ad=function(){this.a.i&&j2(this.a.i);this.a.i=new o2(0,this.a)};v(pY)(3);\n//@ sourceURL=3.js\n')
/** * Developer: Stepan Burguchev * Date: 8/20/2015 * Copyright: 2009-2015 Comindware® * All Rights Reserved * * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Comindware * The copyright notice above does not evidence any * actual or intended publication of such source code. */ /*...
'use strict'; var _inherits = require('babel-runtime/helpers/inherits')['default']; var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default']; var _objectWithoutProperties = require('babel-runtime/helpers/object-without-properties')['default']; var _extends = require('babel-runtime/helpers/...
/* * * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from './Globals.js'; /** * @interface Highcharts.PointOptionsObject */ /** * Pie series only. Whether to display a slice o...
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * French language. */ /**#@+ @type String @example */ /** * Contains the dict...
/* Copyright (c) 2008-2019 Pivotal Labs 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, distribut...
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory(mod.exports); global.input = mod.exports; } })(typeof globalThis ...
cordova.define("com.gss.pdfrenderer.PDFRenderer", function(require, exports, module) { var argscheck = require('cordova/argscheck'), exec = require('cordova/exec'), PDFRenderer = require('./PDFRendererConstants'); var pdfRendererExport = {}; var GSS_PDFRenderer = "PDFRenderer"; var preference = { openType: PDFRende...
/** * 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. * * @jest-environment node */ 'use strict'; let React; let ReactNoop; let Scheduler; let act; let readText; let resolveText; let s...
/*! * jQuery JavaScript Library v1.10.2 -wrap,-event-alias,-deprecated * 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-07T16:56Z */ (funct...
// start at one to make the falsy semantics easier let uuidGenerator = 1; class ElementMap { constructor() { this._map = {}; } set(key, value) { let uuid = key._uuid; if (!uuid) { key._uuid = uuid = '' + uuidGenerator++; } this._map[uuid] = value; } get(key) { if (key._uuid) { ...
///<reference path="../lib/jquery/dist/jquery.js" /> ///<reference path="../lib/knockout/dist/knockout.js" /> (function (ko, $, campaigns) { function Campaign(item) { for (var prop in item) { this[prop] = item[prop]; } this.displayDate = function () { var start = mo...
describe('extract-github', function () { 'use strict'; var extract = require('../') , path = require('path') , chai = require('chai') , expect = chai.expect , fs = require('fs'); // // Expose the fixtures in a readable format. // var fixture = fs.readdirSync( path.join(__dirname, 'fixt...
Rickshaw.namespace('Rickshaw.Graph.Axis.X'); Rickshaw.Graph.Axis.X = function(args) { var self = this; var berthRate = 0.10; this.initialize = function(args) { this.graph = args.graph; this.orientation = args.orientation || 'top'; var pixelsPerTick = args.pixelsPerTick || 75; this.ticks = args.ticks || ...
var moment = require("../../index"); exports["America/Santo_Domingo"] = { "1933" : function (t) { t.equal(moment("1933-04-01T16:39:59+00:00").tz("America/Santo_Domingo").format("HH:mm:ss"), "11:59:59", "1933-04-01T16:39:59+00:00 should be 11:59:59 SDMT"); t.equal(moment("1933-04-01T16:40:00+00:00").tz("America/S...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: "RegularExpressionChar :: LineTerminator is incorrect" es5id: 7.8.5_A2.3_T4 description: Carriage Return, with eval ---*/ //CHECK#1 try { eval("/a\u000D/").source; $ERR...
'use strict'; const common = require('../common.js'); const bench = common.createBenchmark(main, { method: ['offset', 'slice'], size: [16, 512, 4096, 16386], n: [1e6] }); function compareUsingSlice(b0, b1, len, iter) { for (let i = 0; i < iter; i++) Buffer.compare(b0.slice(1, len), b1.slice(1, len)); } f...
if(!__qc){var __qc={qcdst:function(){if(__qc.qctzoff(0)!=__qc.qctzoff(6))return 1;return 0;},qctzoff:function(m){var d1=new Date(2000,m,1,0,0,0,0);var t=d1.toGMTString();var d3=new Date(t.substring(0,t.lastIndexOf(" ")-1));return d1-d3;},qceuc:function(s){if(typeof(encodeURIComponent)=='function'){return encodeURICompo...
const logging = require('../../../../../shared/logging'); const uuid = require('uuid'); module.exports = { config: { transaction: true }, async up(options) { const conn = options.connection || options.transacting; const membersWithoutUUID = await conn.select('id').from('members').w...
function mainLoop() { requestAnimationFrame(mainLoop); DEMO.update(); } $(function() { WINDOW.initialize(); DEMO.initialize('canvas-3d'); WINDOW.resizeCallback = function(inWidth, inHeight) { DEMO.resize(inWidth, inHeight); }; DEMO.resize(WINDOW.ms_Width, WINDOW.ms_Height); mainLoop(); });
/** * @fileoverview Used for creating a suggested configuration based on project code. * @author Ian VanSchooten */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const ...
var searchData= [ ['action',['action',['../struct_shield_event.html#a85e74c7b7ac673719510d2967a730fec',1,'ShieldEvent::action()'],['../_sensor_8h.html#a51f043ac8f90e73f22ff61109ee724dd',1,'ACTION():&#160;Sensor.h']]], ['actionhash',['actionHash',['../struct_shield_event.html#a379e9bbe0a49a97aec71fc78a8540c86',1,'Sh...
'use strict' const electronInstaller = require('electron-winstaller') const fs = require('fs-extra') const glob = require('glob') const path = require('path') const CONFIG = require('../config') module.exports = (packagedAppPath) => { const archSuffix = process.arch === 'ia32' ? '' : '-' + process.arch const opt...
function GameManager(size, InputManager, Actuator, ScoreManager) { this.inputManager = new InputManager; this.scoreManager = new ScoreManager; this.actuator = new Actuator; //this.inputManager.on("jump", this.jump.bind(this)); this.setup(); this.timer(); } // Restart the game GameManager.prototype.r...
/** * Used by the inv/send controller * - set default quantity & show as max */ $(document).ready(function() { var trackItemAddFieldSelector = '#sub_defaultsend_package_item_defaultsend_package_item_i_track_item_id_edit_none', trackItemAddField = $(trackItemAddFieldSelector); if (trackItemAddField....
/* Copyright (c) 2006-2011 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/Filter.js */ /** * Class: OpenLayers.F...
module.exports = global.CKEDITOR;
module.exports = require('./src/skylight.jsx');
define(function(require) { 'use strict'; var Backbone = require('backbone'), Core = require('core'), Events = require('events'); var AppRouter = Backbone.Router.extend({ initialize: function() { this.listenTo(Events, 'page:navigate', this._navigatePage); }, ...
// 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.5_A1_T3; * @section: 15.5.4.5; * @assertion: String.prototype.charCodeAt(pos); * @description: Use numbers and strings as pos; */ charCodeAt = String.prototype.charC...
( function ( $ ) { 'use strict'; var siWijesekara = { id: 'si-wijesekara', name: 'Sinhalese Wijesekara', description: 'Wijesekara layout for Sinhalese', date: '2012-10-16', URL: 'http://www.ucsc.lk/ltrl/services/layout/', author: 'Junaid P V', license: 'GPLv3', version: '1.0', contextLength: 0, m...
'use strict'; angular.module('mgcrea.ngStrap.select', ['mgcrea.ngStrap.tooltip', 'mgcrea.ngStrap.helpers.parseOptions']) .provider('$select', function() { var defaults = this.defaults = { animation: 'am-fade', prefixClass: 'select', placement: 'bottom-left', template: 'select/select.tpl...
/** * @ngdoc service * @name ngCordovaMocks.cordovaBLE * * @description * A service for ble features * in an app build with ngCordova. **/ ngCordovaMocks.factory('$cordovaBLE', ['$q', '$timeout', function($q, $timeout) { var deviceScan = { "name": "Test Device", "id": "AA:BB:CC:DD:EE:FF", "advertisin...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = useControlled; var React = _interopRequireWildcard(require("react")); /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exh...
/* globals jQuery */ (function($) { // Selector to select only not already processed elements $.expr[":"].notmdproc = function(obj){ if ($(obj).data("mdproc")) { return false; } else { return true; } }; function _isChar(evt) { if (typeof evt.which == "undefined") { return tru...
/// <reference path="../app/namespace.js" /> (function () { // Private functions. Only used by this file; not exposed globally. function convertNumberToHexString(number) { return ('0' + number.toString(16)).substr(-2); } function randomByte() { // Random number between 0 an...
/*! * Bootstrap v3.1.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } /* ================================================...
'use strict'; var global = require('../internals/global'); var anObject = require('../internals/an-object'); var ordinaryToPrimitive = require('../internals/ordinary-to-primitive'); var TypeError = global.TypeError; // `Date.prototype[@@toPrimitive](hint)` method implementation // https://tc39.es/ecma262/#sec-date.pr...
var Package = require('dgeni').Package; module.exports = new Package('links', []) .factory(require('./inline-tag-defs/link')) .factory(require('./inline-tag-defs/linkDevGuide')) .factory(require('./inline-tag-defs/example')) .factory(require('./inline-tag-defs/exampleTabs')) .factory(require('dgeni-packages/links/ser...