code
stringlengths
2
1.05M
//常量 //Canvas const VERSION="v2067UR"; const WINDOW_X=1000; const WINDOW_Y=600; const HIT_FULLSCREEN=new PIXI.Rectangle(-10000,-10000,20000,20000); const RADIUS=170; const EDGE_DIST=Math.sqrt(WINDOW_X*WINDOW_X+WINDOW_Y*WINDOW_Y)/2-RADIUS; const CENTER_POS=new PIXI.Point(WINDOW_X/2,WINDOW_Y/2); const MAX_SCENE=5; //Anch...
'use strict'; var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); var arraySlice = require('../internals/array-slice'); var arrayToSpliced = require('../internals/array-to-spliced'); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArr...
var searchData= [ ['value',['value',['../struct_q_joystick_axis_event.html#a3cc39770f2ffc48ce84bbc8f0626735a',1,'QJoystickAxisEvent']]] ];
version https://git-lfs.github.com/spec/v1 oid sha256:8b21d81f79bca28721b3410dd4ecf631e99e5668a2ba2ef467b762759b4133fd size 646
export default class Body { constructor(width, height) { this.x = 0; this.y = 0; this.w = width; this.h = height; this.vx = 0; this.vy = 0; } setPosition(x, y) { this.x = x; this.y = y; } setVelocity(vx, vy) { this.vx = vx; this.vy = vy; } update() { this.x ...
/* @license dhtmlxGantt v.4.1.0 Stardard This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. (c) Dinamenta, UAB. */ gantt.locale={date:{month_full:["Ianuarie","F...
var _dasherize = require('underscore.string/dasherize'); var _curry = require('chickencurry'); module.exports = _curry(_dasherize);
YUI.add('axis-time', function (Y, NAME) { /** * Provides functionality for drawing a time axis for use with a chart. * * @module charts * @submodule axis-time */ /** * TimeAxis draws a time-based axis for a chart. * * @class TimeAxis * @constructor * @extends Axis * @uses TimeImpl * @param {Object} config ...
BASE.require(["Object"], function () { BASE.namespace("LG.core.dataModel.core"); var _globalObject = this; LG.core.dataModel.core.LGEmployeeRoleTitle = (function (Super) { var LGEmployeeRoleTitle = function () { var self = this; if (self === _globalObject) { ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
angular.module('starter.controllers', []) .controller('AppCtrl', function($scope, $ionicModal, $timeout, IAPFactory) { IAPFactory.doTest("Test from AppCtrl"); IAPFactory.setVar("monkey1234"); $scope.IAPFactory = IAPFactory; $scope.IAPFactory.IAP.render = function(){ alert("IAP.render()! products:" +...
'use strict'; var walletBalanceCtrl = function($scope, $sce, $rootScope) { $scope.ajaxReq = ajaxReq; $scope.tokensLoaded = false; $scope.showAllTokens = false; $scope.localToken = { contractAdd: "", symbol: "", decimals: "", type: "custom", }; $scope.slide = 1; ...
"use strict"; var redis = require('redis'); var url = require("url"); exports.createRedisClient = createRedisClient; exports.redis = redis; function createRedisClient(redisUrl) { if(!redisUrl) { var client = withErrorHandling(redis.createClient()); return client; } var parsedUrl = url.par...
/* alameda 1.2.1 Copyright jQuery Foundation and other contributors. Released under MIT license, https://github.com/requirejs/alameda/blob/master/LICENSE */ var requirejs,require,define; (function(Y,L,D){function na(g,e){return e||""}function p(g,e){return g&&E.call(g,e)&&g[e]}function h(){return Object.create(null)}...
var Config = require("../config"); var Photos = require("../models/photos"); var Users = require("../models/users"); var Aws = require("aws-sdk"); module.exports = { view: { auth: { mode: "optional" }, handler: function (request, reply) { if (request.auth.isAuthenticated) { var profile = request.au...
define(['../time/now'], function (now) { /** */ /** * Description * @method throttle * @param {} fn * @param {} delay * @return throttled */ function throttle(fn, delay){ var context, timeout, result, args, cur, diff, prev = 0; /** * D...
/** * @ignore * KISSY.Popup * @author qiaohua@taobao.com, yiminghe@gmail.com */ KISSY.add('overlay/popup', function (S, Overlay, undefined) { /** * @class KISSY.Overlay.Popup * KISSY Popup Component. * xclass: 'popup'. * @extends KISSY.Overlay */ return Overlay.extend({ in...
// LICENSE : MIT "use strict"; /* 1.1.3.箇条書き 基本的に本文の文体に合わせます。 ただし、本文が「敬体」である場合、箇条書きに「常体」または「体言止め」も使う場合があります。 一般読者向け の文書で、本文が敬体である場合、多くの場合、箇条書きでも敬体を使います。 本文が「常体」である場合、箇条書きには「常体」または「体言止め」を使います。「敬体」は使いません。 いずれの場合も、ひとまとまりの箇条書きでは、敬体と常体を混在させません。文末に句点(。)を付けるかどうかも統一します。 */ import { analyzeDesumasu, analyzeDearu } from "analy...
import React, { PropTypes } from 'react'; import * as m from 'material-ui'; import TodoAdd from './Todo/ToDoAdd'; import TodoEdit from './Todo/ToDoEdit'; export default class NoteDialog extends React.Component { constructor(props) { super(props); this.state = { open: false }; } handleOpen() ...
#!/usr/bin/env node 'use strict'; var cli = require('../dist/cli'); var exitCode = cli.execute(process.argv); /*eslint no-process-exit:0*/ process.exit(exitCode);
var ManagerUsers; Meteor.startup(function() { ManagerUsers = new Mongo.Collection('managerUsers'); }); Template.livechatUsers.helpers({ managers() { return ManagerUsers.find({}, { sort: { name: 1 } }); }, agents() { return AgentUsers.find({}, { sort: { name: 1 } }); }, emailAddress() { if (this.emails && ...
version https://git-lfs.github.com/spec/v1 oid sha256:6aec0f265ad214ab8d54fb2d12181a5faf383c121d2e44a53a947d301c0ef51b size 39503
/** * @fileOverview Uploader上传类 */ define([ './base', './mediator' ], function( Base, Mediator ) { var $ = Base.$; /** * 上传入口类。 * @class Uploader * @constructor * @grammar new Uploader( opts ) => Uploader * @example * var uploader = WebUploader.Uploader({ * swf...
// prettier.config.js or .prettierrc.js module.exports = { printWidth: 120, tabWidth: 2, semi: true, singleQuote: true, bracketSpacing: true, arrowParens: 'avoid', endOfLine: 'lf' };
var n = 15; console.log (n.toLocaleString()); console.log (Object.prototype.toLocaleString.call(n));
/* jshint esversion: 6 */ let urlSelect = 'clients/select'; let urlInsert = 'clients/insert'; let urlUpdate = 'clients/update'; let urlDelete = 'clients/delete'; let dataTable; $(function() { 'use strict'; if (!$.fn.DataTable.isDataTable('.dataTable')) { dataTable = buildDataTable(); } }); function buildDataTa...
class Template { constructor() { // if you want to have global vars in your plugin youd put them here this.somear = 'xd'; } default (command) { var self = this; var embed = Math.floor(Math.random() * 0x999099); self.disnode.bot.DeleteMessage(command.msg.channel_id, command.msg.id);...
/** * Check and return true if an object not undefined or null */ export function isPresent(obj) { return obj !== undefined && obj !== null; }
{ this.defaults = instanceConfig; this.interceptors = { request: new InterceptorManager(), response: new InterceptorManager() }; }
/** * @author Ed Spencer * * Fields are used to define what a Model is. They aren't instantiated directly - instead, when we create a class that * extends {@link Ext.data.Model}, it will automatically create a Field instance for each field configured in a {@link * Ext.data.Model Model}. For example, we might set u...
(function() { var _ = require('lodash'); var ID = require('./ID'); var Request = require('./Request'); var Entry = require('./Entry'); var Utils = require('./Utils'); var Node = function(nodeInfo, localId, nodeFactory, connectionFactory, requestHandler, config) { if (!Node.isValidNodeInfo(nodeInfo)) { ...
/// <binding ProjectOpened='watch' /> // all gulp tasks are located in the ./build/tasks directory // gulp configuration is in files in ./build directory require('require-dir')('build/tasks');
#!/usr/bin/env node 'use strict'; /*eslint no-console: 0, no-sync: 0*/ // System.js bundler // simple and yet reusable system.js bundler // bundles, minifies and gzips const fs = require('fs'); const del = require('del'); const path = require('path'); const zlib = require('zlib'); const async = require('async'); con...
import BendpointRules from './BendpointRules'; export default { __init__: [ 'bendpointRules' ], bendpointRules: [ 'type', BendpointRules ] };
describe('assessment: headerH1', function () { var client, assessments, quailResults, cases; // Evaluate the test page with Quail. before('load webdrivers and run evaluations with Quail', function () { return quailTestRunner.setup({ url: 'http://localhost:9999/headerH1/headerH1.html', assessm...
/*! * 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...
ZRF = { JUMP: 0, IF: 1, FORK: 2, FUNCTION: 3, IN_ZONE: 4, FLAG: 5, SET_FLAG: 6, POS_FLAG: 7, SET_POS_FLAG: 8, ATTR: 9, SET_ATTR: 10, PROMOTE: 11, MODE: 12, ON_BOARD_DIR: 13, ...
var API = require('../'); var expect = require('expect.js'); var config = require('./config'); describe('api_common', function () { describe('isAccessTokenValid', function () { it('should invalid', function () { var token = new API.AccessToken('token', new Date().getTime() - 7200 * 1000); expect(toke...
'use strict'; var fs = require('fs'); var path = require('path'); var mkdirp = require('mkdirp'); var Writer = require('broccoli-writer'); function CustomReplace (inputTree, configTree, options) { if (!(this instanceof CustomReplace)) { return new CustomReplace(inputTree, configTree, options); } Writer.cal...
'use strict'; var localUtils = require('./utils'); var abstractMapReduce = require('pouchdb-abstract-mapreduce'); var parseField = localUtils.parseField; // // One thing about these mappers: // // Per the advice of John-David Dalton (http://youtu.be/NthmeLEhDDM), // what you want to do in this case is optimize for th...
// @flow import React from 'react' import Route from 'react-router-dom/Route' import { Wheel1, Wheel2 } from 'components/Wheels' import styles from './Wheels.css' type Props = {} const Wheel = (props: Props) => ( <div className={styles['wheels']}> <Route path='/wheels/1' component={Wheel1} exact /> <Route p...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('v...
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('team', 'Unit | Model | team', { // Specify the other units that are required for this test. needs: [] }); test('it exists', function(assert) { let model = this.subject(); // let store = this.store(); assert.ok(!!model); });
var vec2 = require('../math/vec2'); var Ray = require('../collision/Ray'); module.exports = RaycastResult; /** * Storage for Ray casting hit data. * @class RaycastResult * @constructor */ function RaycastResult(){ /** * The normal of the hit, oriented in world space. * @property {array} normal */ this.no...
//Finance.js //For more information, visit http://financejs.org //Copyright 2014 - 2015 Essam Al Joubori, MIT license // Instantiate a Finance class var Finance = function() {}; // Present Value (PV) Finance.prototype.PV = function (rate, cf1) { var rate = rate/100, pv; pv = cf1 / (1 + rate); return Math.round(...
define([ "./AA", "./AB" ], function(AA, AB) { return { name: "A", dependencies: arguments } });
import React, {Component} from 'react' import {render} from 'react-dom' import TodoContainer from './components/TodoContainer' import {AppStore} from './AppStore' class App extends Component { static childContextTypes = { store: React.PropTypes.any } getChildContext() { return { store: AppStore ...
jQuery(document).ready(function () { $('[data-filter-select]').change(function () { var options = $(this).data('filter-select'); options = $.extend({ url: '/filters' }, options); var data = options.data ? options.data : {}; data[option...
{ "AD" : "Մ․Թ․", "BC" : "Մ․Թ․Ա․", "DateTimeCombination" : "{1} {0}", "DateTimeTimezoneCombination" : "{1} {0} {2}", "DateTimezoneCombination" : "{1} {2}", "HMS_long" : "{0} {1} {2}", "HMS_short" : "{0}:{1}:{2}", "HM_abbreviated" : "h:mm a", "HM_short" : "h:mm a", "H_abbreviated" : "h a", "MD_abbreviated" : "...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's // vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisa...
/** @module ember @submodule ember-runtime */ // BEGIN IMPORTS import Ember from 'ember-metal'; import isEqual from 'ember-runtime/is-equal'; import compare from 'ember-runtime/compare'; import copy from 'ember-runtime/copy'; import inject from 'ember-runtime/inject'; import Namespace from 'ember-runtime/system/names...
module.exports = function( gulp ) { gulp.task( 'watch', function () { gulp.watch( 'front-end/resources/css/stylus/app.styl', ['stylus'] ) }) }
const nodeType = 3; export default function (textContent) { return { nodeType, textContent }; }
{ "name": "mark.js", "url": "https://github.com/julmot/mark.js.git" }
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.getFunctionName = getFunctionName; exports.default = getDisplayName; var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeo...
'use strict'; const alt = require('../alt'); class EditTemplateActions { cancelChanges(){ this.dispatch(); } setDeltaTemplate(newTemplate){ this.dispatch(newTemplate); } setDeltaUrl(newUrl){ this.dispatch(newUrl); } } module.exports = alt.createActions(EditTemplateActions);
import styles from './css/_bits.scss'; import Html from './template.html'; import ClickEvent from "./js/click_event.js"; import ScrollEvent from './js/scroll_event.js'; import ScrollReveal from "./js/scroll_reveal.js"; import scrollSpeed from "./js/scroll-parallax.js"; import particles from "./js/perfect_particles.js";...
var assert = require("assert"); var Lib = require("./../ramda"); describe('tap', function() { var tap = Lib.tap; it("returns a function that returns tap's argument", function() { var f = tap(100); assert.equal(typeof f, "function"); assert.equal(f(null), 100); }); it("may take ...
var roundedRect = Chart.helpers.canvas.roundedRect; module.exports = { config: { type: 'line', plugins: [{ afterDraw: function(chart) { var ctx = chart.ctx; ctx.strokeStyle = '#0000ff'; ctx.lineWidth = 4; ctx.fillStyle = '#00ff00'; ctx.beginPath(); roundedRect(ctx, 10, 10, 50, 50, 25); ...
const _ = require("lodash") , b_helper = require("./helpers/browserify_builder") , config = require("./config") , es = require("event-stream") , folder = require("./helpers/folder_helpers") , fs = require("fs"); let args = process.argv.slice(2, process.argv.length) _.forEach(config.jav...
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'devtools', 'he', { devTools : { title : 'מידע על האלמנט', dialogName : 'שם הדיאלוג', tabName : 'שם הטאב', elementId : 'ID ...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const makeSerializable = require("../util/makeSerializable"); const ModuleDependency = require("./ModuleDependency"); /** @typedef {import("../ModuleGraph")} ModuleGraph */ class WebAssemblyExportImport...
/*! jQuery UI - v1.10.3 - 2013-12-28 * http://jqueryui.com * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","au...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
module.exports = require('./lib/prerenderRedisCache');
module.exports = { "StackLayout": { }, "*": {} };
(function() { /* Copyright 2015 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.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
/* * Selecter Plugin [Formtone Library] * @author Ben Plum * @version 2.2.3 * * Copyright © 2013 Ben Plum <mr@benplum.com> * Released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ if (jQuery) (function($) { // Mobile Detect var isFirefox = navigator.userAgent.toLowerCase().in...
export const VOL_AND_READING_BEGIN_TIME = '2012-10' export const OTHER_BEGIN_TIME = '2016-01' export const MONTH_MAP = ['Jan.', 'Feb.', 'Mar.', 'Apr.', 'May.','Jun.', 'Jul.', 'Aug.', 'Sep.', 'Otc.', 'Nov.', 'Dec.'] export const AUDIO_PLAY_TEXT = '收听' export const AUDIO_PLAY_IMG = '../../../i...
describe('SheetClip.stringify', function () { var UNDEFINED = (function () { }()); describe('JSON specific - data types', function () { it('should treat undefined as empty string', function () { var arr = [ [1, UNDEFINED, 3], [4, 5, 6] ]; var str = SheetClip.stringify(arr);...
var webpack = require('webpack'); var pkg = require('./webtask.json'); var StringReplacePlugin = require("string-replace-webpack-plugin"); module.exports = { entry: './src/public/react/app', output: { filename: './dist/public/'+pkg.name+'-'+pkg.version+'.min.js' }, module: { loaders: [{ test...
const router = require('express').Router() const { APP_PERMISSIONS } = require('./constants') const { handleDeleteCompanyList, renderDeleteCompanyListPage, } = require('./controllers/delete') const { renderEditCompanyListPage, handleEditCompanyList, } = require('./controllers/edit') const { fetchListsCompany...
var DOCUMENTER_CURRENT_VERSION = "latest";
(function ($) { $.fn.parallax = function () { var window_width = $(window).width(); // Parallax Scripts return this.each(function(i) { var $this = $(this); $this.addClass('parallax'); function updateParallax(initial) { var container_height; ...
'use strict'; /** * @ignore * @suppress {dupicate} */ var OutdatedCacheError = /** @type {function(new:OutdatedCacheError, string, string, string, string): undefined} */ (require('../../../src/compiler/OutdatedCacheError.js')); describe('Class OutdatedCacheError', function () { describe('can be instantiate...
// Load modules var Hoek = require('hoek'); var Boom = require('boom'); // Declare internals var internals = { day: 24 * 60 * 60 * 1000 }; exports = module.exports = internals.Policy = function (options, cache, segment) { Hoek.assert(this.constructor === internals.Policy, 'Cache Policy must be instantiat...
var AWS = require('../core'); var byteLength = AWS.util.string.byteLength; var Buffer = AWS.util.Buffer; /** * The managed uploader allows for easy and efficient uploading of buffers, * blobs, or streams, using a configurable amount of concurrency to perform * multipart uploads where possible. This abstraction also...
/* IIP Protocol Handler */ Protocols.IIP = new Class({ /* Return metadata URL */ getMetaDataURL: function(server,image){ return server+"?FIF=" + image + "&obj=IIP,1.0&obj=Max-size&obj=Tile-size&obj=Resolution-number"; }, /* Return an individual tile request URL */ getTileURL: function(t){ va...
js.extend('lsn.hashtable.view', function (js) { var CComboBox = js.hubb.ui.ComboBox; this.FileCombo = function () { CComboBox.apply(this); }; var FileCombo = this.FileCombo.prototype = js.lang.createMethods(CComboBox); FileCombo.canExpand = function (tnode) { return tnode.data.isDirectory(); }; ...
const BaseCardSelector = require('./BaseCardSelector.js'); class ExactlyXCardSelector extends BaseCardSelector { constructor(numCards, properties) { super(properties); this.numCards = numCards; } defaultActivePromptTitle() { return this.numCards === 1 ? 'Select a character' : `Sel...
/** * app/controllers/product.js * @type {exports} */ var InvalidArgumentError = require('../errors/invalidArgument'), InternalServerError = require('../errors/internal'), ProductModel = require('../models/product'); var ProductController = function () {}; /** * Find one Product by Id * * @param req * @para...
export default function transformAngleBracketComponents(/* env */) { return { name: 'transform-angle-bracket-components', visitor: { ComponentNode(node) { node.tag = `<${node.tag}>`; }, }, }; }
'use strict'; const iconv = require('iconv-lite'); const encodingJapanese = require('encoding-japanese'); const charsets = require('./charsets'); /** * Character set encoding and decoding functions */ const charset = (module.exports = { /** * Encodes an unicode string into an Buffer object as UTF-8 * ...
/*jshint eqeqeq:true, proto:true, laxcomma:true, undef:true, node:true, expr: true*/ /* chat.io * (c) 2012 Daniel Baulig <daniel.baulig@gmx.de> * MIT Licensed */ var EventEmitter = process.EventEmitter , channelPrefix = '#' , userPrefix = '@' , first = require('first'); // hack until socket.disconnect is fix...
(function (factory) { if (typeof define === 'function' && define.amd) { define(['jquery', 'jquery-ui'], factory); } else { factory(jQuery); } }(function ($) { $("<span>" + $.trim("foo") + "</span>"); // OK }));
var rewritePattern = require("regexpu/rewrite-pattern"); var _ = require("lodash"); exports.Literal = function (node) { var regex = node.regex; if (!regex) return; var flags = regex.flags.split(""); if (regex.flags.indexOf("u") < 0) return; _.pull(flags, "u"); regex.pattern = rewritePattern(...
import Ember from 'ember'; export default Ember.Route.extend({ actions: { linkTo(url) { window.open(url); }, transitionTo(routeName) { const nameParts = routeName.split('-'); const [ one, two, three ] = nameParts; const oneCapitalized = Ember.String.capitalize(one); this...
import {deleteActivity} from '@webex/redux-module-conversation'; export const UPDATE_WIDGET_STATE = 'widget-message/UPDATE_WIDGET_STATE'; export const SET_SCROLL_POSITION = 'widget-message/SET_SCROLL_POSITION'; export const RESET_WIDGET_STATE = 'widget-message/RESET_WIDGET_STATE'; export function updateWidgetState(s...
const electron = require('electron'); const contextMenu = require('electron-context-menu'); const fs = require('fs'); const os = require('os'); const path = require('path'); const url = require('url'); // Module to control application life. const app = electron.app; // Module to create native browser window. const Bro...
var frontdoor = require("../../frontdoor"); var errors = require("http-error"); module.exports = function() { var api = frontdoor("TODO app"); var todo = new Todo(); todo.add({description: "get a hair cut"}, function() {}); todo.add({description: "buy milk"}, function() {}); todo.update({id: 1, do...
exports.jsonrpc2 = require('./jsonrpc2'); exports.xmlrpc = require('./xmlrpc'); if(process.title !== 'browser') { //@browserify-ignore exports.node_xmlrpc = require('./node-xmlrpc'); //@browserify-ignore exports.mainline = require('./mainline'); }
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * An Impact.js compatible physics world, body and solver, for those who are used * to the Impact way of defining...
//browserify client/app.js -o public/bundle.js //jquery items
#!/usr/bin/env node /** * DNSServer service, 19.11.2014 Spaceify Inc. * */ var Config = require("./config")(); var DNSServer = require("./dnsserver"); var url2ip = {}; url2ip[Config.EDGE_HOSTNAME] = {ip: Config.EDGE_IP, ttl: 0}; var dnsserver = new DNSServer(); dnsserver.connect({ port: Config.DNS_PORT, // ...
'use strict'; var _ = require('underscore'); var sanitise = { booleanParameter: function(variable){ if(_.isString(variable)){ if(variable === 'true'){ return true; } else if(variable === 'false'){ return false; } } return variable; }, numberParameter: function(vari...
require('bootstrap/dist/css/bootstrap.css'); require('bootstrap/dist/js/bootstrap'); require('font-awesome/css/font-awesome.css'); require('../stylesheets/base.css');
version https://git-lfs.github.com/spec/v1 oid sha256:a85ddc891dc23e6e052493b7db06ff6276560aaf40148ecbeab01b14c048d990 size 9646
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from '../utils/griddleConnect'; import getContext from 'recompose/getContext'; import mapProps from 'recompose/mapProps'; import compose from 'recompose/compose'; import { customComponentSelector, cellValueSelector, cellPropertiesS...
var mage = require('../../../mage'); var logger = mage.core.logger.context('archivist'); function executeOperation(archivist, change) { switch (change.operation) { case 'add': archivist.add(change.topic, change.index, change.data, change.mediaType, change.encoding, change.expirationTime); break; case 'set': ...
var mutators = { cmd: { parent: true, options: false, commands: false, sections: true, names: false, key: true, name: true, extra: true, options: true, commands: true, last: true }, arg: { names: false, key: true, name: true, optional: true, multiple...