code
stringlengths
2
1.05M
/** * Simple static class for processing server-side JSON. */ var JsonRewriter = module.exports = { /** * Filter affected nodes by type. * * If affectedNodes is not a valid set of nodes, returns an empty array. */ filterAnodes: function (affectedNodes, type) { if (!affectedNodes) return []; r...
(function() { 'use strict'; var OSG = window.OSG; var osg = OSG.osg; var osgShader = OSG.osgShader; var osgUtil = OSG.osgUtil; var ExampleOSGJS = window.ExampleOSGJS; var composeFragmentShader = [ 'vec4 blend ()', '{', ' vec4 transp = TEXTURE_2D_TextureTransparent(...
var searchData= [ ['hitcheck',['hitCheck',['../classObstacle.html#a6e5a041c22edafd47b549f85a08c801b',1,'Obstacle']]] ];
$(document).ready(function() { });
var utils = require('../../utils'), math = require('../../math'), CONST = require('../../const'), ObjectRenderer = require('../../renderers/webgl/utils/ObjectRenderer'), WebGLRenderer = require('../../renderers/webgl/WebGLRenderer'), WebGLGraphicsData = require('./WebGLGraphicsData'); /** * Render...
import { InternalHelperReference } from '../utils/references'; import { SafeString } from '../utils/string'; function htmlSafe({ positional }) { let path = positional.at(0); return new SafeString(path.value()); } export default { isInternalHelper: true, toReference(args) { return new InternalHelperReferen...
import isomorphicFetch from "isomorphic-fetch"; import react from "react"; import reactDOM from "react-dom"; console.log(isomorphicFetch, react, reactDOM); import("./lazy");
function imageLoader(imgSrc, callback) { const img = new window.Image(); img.onload = function () { callback(img); }; img.src = imgSrc; } export const appendImageToCanvas = (argObj) => new Promise((resolve) => { const scale = argObj.scale || 1.0; const zoom = argObj.zoom || 1.0; const { canva...
import template from './<%= hyphenated %>.html'; import controller from './<%= hyphenated %>.controller'; import './<%= hyphenated %>.styl'; let <%= name %>Component = function () { return { restrict: 'E', scope: {}, template, controller, controllerAs: 'vm', bindToController: true }; }; ex...
const usersController = (() => { function getRegister() { contextService.loadCommon(this) .then(function () { this.loadPartials({ registerForm: './views/register/registerForm.hbs', validatorForm: './views/common/validatorForm.hbs' }); }) .then(function () { ...
/** * @file Get initial data and define sankey view's series model * @author Deqing Li(annong035@gmail.com) */ var SeriesModel = require('../../model/Series'); var createGraphFromNodeEdge = require('../helper/createGraphFromNodeEdge'); var SankeySeries = SeriesModel.extend({ type: 'series.san...
YUI.add('async-queue', function (Y, NAME) { /** * <p>AsyncQueue allows you create a chain of function callbacks executed * via setTimeout (or synchronously) that are guaranteed to run in order. * Items in the queue can be promoted or removed. Start or resume the * execution chain with run(). pause() to temporari...
import express from 'express'; import passport from 'passport'; import UserCtrl from '../../../controllers/user.controller'; import msgUtils from '../../../utils/message.utils'; let router = express.Router(); let failureRes = { "success": false }; /** * GET user/profile - get user's profile * @param {Object} req ...
(function(scope) { var RS = window.RS; Polymer({ publish: { 'min': 0, 'max': 100, 'value': 0, 'ratio': 1, 'dragFactor': 5 }, lastY: undefined, eventDelegates: { 'mousedown': 'startDrag', }, observe: { 'value': 'rotate', }, rotate: functi...
// Flags: --expose-http2 'use strict'; // Verifies that write callbacks are called const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const http2 = require('http2'); const server = http2.createServer(); server.on('stream', common.mustCall((...
const inBrowser = typeof window !== 'undefined'; import target from './_target'; const listen_types = {click: true}; // Property key for handler const BVT = '__BV_toggle__'; // Event nmmes const EVENT_TOGGLE = 'collapse::toggle'; const EVENT_STATE = 'collapse::toggle::state'; export default { bind(el, binding,...
module.exports = [ { "_id": "5bbf32d516fe4e53b0ffff2e", "name": { "first": "Keri", "last": "Doyle", "fullName": "Keri Doyle" }, "fmeRequestedDate": "2018-10-05T13:00:07+00:00", "fmeType": [ "Factual report" ], "illnesses": [ { "dataname": "condition1",...
"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")...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
export const LOGIN_ERROR = 'LOGIN_ERROR'; export const LOGIN_START = 'LOGIN_START'; export const LOGIN_SUCCESS = 'LOGIN_SUCCESS'; export const ON_AUTH_FORM_FIELD_CHANGE = 'ON_AUTH_FORM_FIELD_CHANGE'; const FORM_FIELD_MAX_LENGTH = 100; export function onAuthFormFieldChange({target: {name, value}}) { value = value.sl...
const rightNav = this.props.token ? ( <ul className="nav navbar-nav navbar-right"> <li className="dropdown"> <a href="#" data-toggle="dropdown" className="navbar-avatar dropdown-toggle"> <img src={this.props.user.picture || this.props.user.gravatar}/> {' '}{this.props.user.name || this.props...
var expect = require('chai').expect; var parse = require('../..'); describe('cli-argparse:', function() { it('should treat short argument as option w/ short option', function(done) { var args = ['-h', 'localhost', '-p', '8080']; var result = parse(args, {short: true}); expect(result.raw).to.eql(args); ...
/// <reference path="../../../Scripts/endgate-0.2.0.d.ts" /> /// <reference path="../Ship.ts" /> var __extends = 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 __(); }; var S...
'use strict'; var response = require('../context').response; describe('res.writable', function(){ it('should return the request is writable', function(){ var res = response(); res.writable.should.be.ok; }) describe('when res.socket not present', function (){ it('should return the request is not wr...
console.log( 'index.js' );
define(["exports","./Cartesian2-49b1de22","./Check-6c0211bc","./when-54c2dc71"],function(e,n,i,h){"use strict";function r(){this.high=n.Cartesian3.clone(n.Cartesian3.ZERO),this.low=n.Cartesian3.clone(n.Cartesian3.ZERO)}r.encode=function(e,n){var i;return h.defined(n)||(n={high:0,low:0}),0<=e?(i=65536*Math.floor(e/65536...
Ext.define('Log.model.ComboFunc', { extend: 'Ext.data.Model', fields: [ { name: 'LOG_ID', type: 'string' }, { name: 'FUNC', type: 'string' }, { name: 'PARAMS', type: 'string' }, { name: 'RETURN', type: 'string' }, { name: 'CALL_TIME', type: 'float' }, { name: 'RET...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.0.3-master-34e0278 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.checkbox * @description Checkbox module! */ angular .module('material.components.checkbox', ['m...
/* * Test error object lineNumber properties. * * Edit this file carefully, line numbers and expected values must match. */ /*--- { "custom": true } ---*/ /* 10 tests */ /*=== 29 35 41 47 53 59 65 71 77 83 ===*/ try { foo; } catch (e) { print(e.lineNumber); } try { foo; } catch (e) { prin...
define(function (require) { 'use strict'; var camelReg = /(?:(^-)|-)+(.)?/g; /** * Temp element for checking css properties. */ var supportElement = document.createElement('div'); /** * Prefix type for browsers. * @const */ var PREFIX_TYPE = ['webkit', 'moz', 'ms', 'o'...
module.exports = require('util').inspect module.exports.label = 'util-inspect'
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M5 1v22h14V1H5zm12 17H7V6h10v12zm-1-6h-3V8h-2v4H8l4 4 4-4z" }), 'SystemSecurityUpdateSharp');
var Zone = require("../../lib/zone"); var xhrZone = require("../../xhr"); var testee = require("testee"); var utils = require("./utils"); var mockXHR = utils.mockXHR; var injectTest = utils.injectTest; describe("Script injection", function(){ this.timeout(50000); beforeEach(function(){ var resp = '</script><scri...
function getTime() { return new Date().getTime(); } function getPlayer(tsid){ if (!tsid) return null; var pc = apiFindObject(tsid); if (pc === null || pc === undefined) return null; if (pc.is_player) return pc; return null; } function time(){ return intval(Math.round(getTime() / 1000)); } ...
const resolveFrom = require('resolve-from') const logger = require('@poi/logger') const isLocalPath = require('./isLocalPath') const PoiError = require('./PoiError') const normalizePluginName = (name, cwd) => { if (isLocalPath(name)) return name // @poi/foo => @poi/plugin-foo // @my-org/hehe => @my-org/poi-plug...
/* global Crafty,_,console,game,player,cloak,escape */ _.extend(game, { registerUsername: function() { var loginUIElement = document.getElementById('login-ui'); var loginElement = document.getElementById('login'); if (loginElement.value.trim() === '') { loginUIElement.innerHTML += '<p>Enter a valid...
describe('setTextContent', function () { var element; beforeEach(function () { element = document.createElement('DIV'); }); // NOTE: will test innerHTML because <IE8 doesn't have textContent it('defaults to empty string', function () { ko.utils.setTextContent(element); exp...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.5 4c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-7 0c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 1...
exports = module.exports; var db = require('../../models'), extend = require('util')._extend, foreach = require('util')._each; exports.showTypes = function(req, res) { //res.locals.info = 'not yet implemented'; var context = { title: 'Configure Records', pageActive: 'Config...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.1_A1_T1; * @section: 15.1; * @assertion: The global object does not have a [[Construct]] property; * @description: It is not possible to use the global object ...
/** * Copyright (c) 2008-2010 The Open Source Geospatial Foundation * * Published under the BSD license. * See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text * of the license. */ /** api: (define) * module = GeoExt.data * class = ScaleStore * base_link = `Ext.data.DataStore <http://...
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
#! /usr/bin/env node /* * cssi * https://github.com/bitbonsai/cssi * * Copyright (c) 2014 Mauricio Wolff * Licensed under the MIT license. */ 'use strict'; console.log(process.argv);
#!/usr/bin/env node /* Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, thi...
'use strict' const Lab = require('lab') const lab = exports.lab = Lab.script() const suite = lab.suite const test = lab.test const before = lab.before var Code = require('code') var expect = Code.expect const after = lab.after const Util = require('./test-init') suite('Groups test suite ', () => { var seneca var...
/* Let's add a callback to the new post method that appends a random emoji to the newly submitted post's title. */ import Telescope from 'meteor/nova:lib'; function PostsNewAddRandomEmoji (post, user) { post.title = post.title; return post; } Telescope.callbacks.add("posts.new.sync", PostsNewAddRandomEmoji); /...
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt /* eslint-disable no-console */ window.get_server_fields = function(method, arg, table_field, doc, dt, dn, allow_edit, call_back) { console.warn("This function 'get_server_fields' has been deprecated and will be remo...
/* eslint-disable func-names */ const curry = binaryFn => { return function(firstArg) { return function(secondArg) { return binaryFn(firstArg, secondArg); }; }; }; module.exports = curry;
/* global d3 topojson*/ 'use strict'; { const map = 'https://raw.githubusercontent.com/d33con/d3-meteorite-strike-map/master/data/world-110m.json'; const source = 'https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/meteorite-strike-data.json'; const init = () => { getJsonData(source, ...
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'widget', 'af', { 'move': 'Klik en trek on te beweeg' } );
'use strict'; const constants = require('../util/constants'); const path = require('path'); module.exports = (route, controller, steps, start) => (req, res, next) => { if (req.sessionModel.get(constants.APPLICATION_COMPLETE) && !controller.options.allowPostComplete) { req.sessionModel.reset(); res.redirect(...
/** * @author jonobr1 / http://jonobr1.com * */ var has = (function() { var root = this; var previousHas = root.has || {}; // Let's do a bunch of navigator detections shall we? var ua = root.navigator.userAgent; var has = { // Mobile Detection Android: !!ua.match(/Android/ig), Blackberr...
/* global suite, test */ require('../../src/NafIndex'); var NafInterface = require('../../src/NafInterface'); suite('NafInterface', function() { suite('notImplemented', function() { test('runs', function() { var obj = new NafInterface(); obj.notImplemented(); }); }); });
import { isPresent } from 'angular2/src/facade/lang'; import { unimplemented } from 'angular2/src/facade/exceptions'; /** * A DebugElement contains information from the Angular compiler about an * element and provides access to the corresponding ElementInjector and * underlying DOM Element, as well as a way to query...
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // 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...
var app = angular.module('StrawberryCupcake', [ 'ui.router', 'ui.bootstrap', 'ngCookies', 'ngResource', 'permission', 'uiGmapgoogle-maps', 'btford.socket-io' ] ); ;app.config(['$httpProvider', function ($httpProvider) { $httpProvider.interceptors.push(...
/** * Created by asakawa on 8/14/16. */ describe('Notifications -', function() { var notifs = ''; var defaultNotif = [ {hours: 10, minutes: 0, seconds: 0, on: true}, {hours: 14, minutes: 0, seconds: 0, on: true}, {hours: 19, minutes: 0, seconds: 0, on: true} ]; beforeEach(module('careWheels')); ...
angular.module('app', ['charts.ng.sparkline.seriesbar']).controller('myController', function($scope) { $scope.valuespark = 0; $scope.valuespark2 = 0; function getRandomInt (min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } setInterval(function(){ $scope.$apply(funct...
import React, { Component } from "react"; class DashboardMale extends Component { constructor(props) { super(props); this.state = { roommates: [] }; } componentDidMount() { fetch(`https://house-keys-api.herokuapp.com/roommates/male`, { method: 'GET' }) .then((results) => { resul...
const hotels = {} module.exports = { save: (hotel) => { const id = Object.keys(hotels).length + 1 hotel.id = id let newHotel = { id, name: hotel.name, location: hotel.location, description: hotel.description, numberOfRooms: hotel.numberOfRooms, image: hotel.image, ...
/** * * LeftSection * */ import React from 'react'; import styled from 'styled-components'; export default styled.section` width: 24%; float: ${props=>props.lang==='ar' ? 'right' : 'left'}; text-align: left; &::after { clear: both; } `;
var mandrill = require('mandrill-api/mandrill'); var path = require('nodame/path'); var mailer = (function () { // TODO: make flexible var key = nodame.config('email.clients.mandrill.key'); var client = new mandrill.Mandrill(key); var body = ''; var bodyBaseDir = path.safe('...
'use strict'; module.exports = function (gulp, $, config) { /** * Watches styles, scripts, tests, the main HTML for changes. * * If there's a change in: * * * `paths.app.styles` the {@link styles} task is executed. * * `paths.app.scripts` the {@link lint lint:scripts}, {@link test tes...
"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")...
// Load Code formatting widget (supports line numbering, alternating line highlighting, line ranges and loading from remote url): dojo.require("dojox.highlight.widget.Code"); // Load the languages and pygment renderers for the languages we're displaying... dojo.require("dojox.highlight.languages.xml"); dojo.require("do...
module.exports = function() { var cmd = this.require('./utils/cmd'), Q = this.require('q'); this.task('init', function(logger) { if (arguments.length > 1) { throw new Error('Wrong argument'); } logger.head('Installing package from composer...'); return cmd('...
var assert = require('geojson-assert') , fs = require('fs'); describe('bicycle_parking.geojson', function() { it('should should be a valid GeoJSON file',function(done){ fs.readFile('bicycle_parking.geojson', {encoding:'utf8'}, function(err,result){ if (err) { return done(err); } don...
const PIXI = require('pixi.js'); /** * Code in this class is based on PIXI AnimatedSprite class: https://github.com/pixijs/pixi.js/blob/dev/src/extras/AnimatedSprite.js */ export default class AnimatedSprite extends PIXI.Sprite { /** * @param {PIXI.Texture[]|FrameObject[]} textures - an array of {@link PIXI.Tex...
function randNum(){ return ((Math.floor( Math.random()* (1+40-20) ) ) + 20)* 1200; } function randNum2(){ return ((Math.floor( Math.random()* (1+40-20) ) ) + 20) * 500; } function randNum3(){ return ((Math.floor( Math.random()* (1+40-20) ) ) + 20) * 300; } function randNum4(){ return ((Math.floor( Math.random()*...
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "Unnamed: 0": 0, "Incident Number": 133340043, "Date": "11\/30\/2013", "Time": "10:12 AM", "Police District": 7.0, "Offense 1": "MOTOR VEHICLE THEFT", "Offense 2": null, "Offense 3": null, "Offense 4": null, "Offense 5": null, "Location":...
/** * Each section of the site has its own module. It probably also has * submodules, though this boilerplate is too simple to demonstrate it. Within * `src/app/home`, however, could exist several additional folders representing * additional modules that would then be listed as dependencies of this one. * For exam...
var _ = require('underscore'), $ = require('jquery'), React = require('react'), Field = require('../Field'); var SUPPORTED_TYPES = ['image/gif', 'image/png', 'image/jpeg', 'image/bmp', 'image/x-icon', 'application/pdf', 'image/x-tiff', 'image/x-tiff', 'application/postscript', 'image/vnd.adobe.photoshop']; var Thu...
import React, { Component } from 'react' import { StyleSheet, View, Text } from 'react-native' import IonIcon from 'react-native-vector-icons/Ionicons' import EvilIcon from 'react-native-vector-icons/EvilIcons' class MnmEntradaInfo extends Component { render() { const e = this.props.entry; return ( <...
module.exports = { /** * Serialize an object into a string of query parameters. This does not return the beginning ?. * * @param {object} object The object to serialize * @returns {string} */ serialize: function (object) { var parts = []; for (var param in object) { if (object.hasOwnProperty(param)) ...
{ "name": "visibly.js", "url": "https://github.com/addyosmani/visibly.js.git" }
a() -/> { x, y = 1 } <- fetch()
import React from 'react'; import PropTypes from 'prop-types'; const Italic = ({ children, ...props }) => <i {...props}>{children}</i>; Italic.propTypes = { children: PropTypes.node.isRequired, }; export default Italic;
//noinspection BadExpressionStatementJS 'format es6'; export default class CtxDummy { $q () { return null; } }
var gulp = require('gulp'); var dogen = require('gulp-dogen'); dogen.config({ templatesPath: 'gulp/templates', gulp: gulp }); // This will create this gulp task as: // gulp dogen --endpoint the-name-to-be-scaffolded dogen.task('ngmodule', 'src/components/'); dogen.task('ngservice', 'src/app/core/services');
/** Makes editable any HTML element on the page. Applied as jQuery method. @class editable @uses editableContainer **/ (function ($) { "use strict"; var Editable = function (element, options) { this.$element = $(element); //data-* has more priority over js options: because dynamically created ...
var ModelProxy = require('../../lib/model/modelProxy'); var expect = require('expect.js'); function isBrowser() { return typeof window !== 'undefined'; } if (isBrowser()) { function noop() { } require.resolve = noop; } describe('bearcat', function() { describe('#modelProxy', function() { it('should do model...
'use strict'; var debug = require('debug')('amqp10:types:described'); /** * Described type, as described in the AMQP 1.0 spec as follows: * <pre> constructor untyped bytes | | +-----------+-----------+ +-----------------+--...
/** * Re-export the line-bounded-area helper into the app namespace */ export {default, lineBoundedArea} from 'ember-frost-chart/helpers/line-bounded-area'
// # Ghost Configuration // Setup your Ghost install for various environments var path = require('path'), config; config = { // ### Development **(default)** development: { // The url to use when providing links to the site, E.g. in RSS and email. url: 'http://blog.{{ domain }}', ...
/** @type {import("../../../../").Configuration} */ module.exports = { mode: "none", target: "electron-renderer", output: { assetModuleFilename: "[name][ext]", importMetaName: "pseudoImport.meta", scriptType: "module", filename: "index.mjs" }, module: { rules: [ { test: /\.jpg$/, type: "asset/...
'use strict'; const { omit } = require('lodash/fp'); const createConditionProvider = require('../provider'); const domain = require('../'); const providerMethods = [ 'register', 'registerMany', 'delete', 'get', 'getWhere', 'values', 'keys', 'has', 'size', 'clear', ]; describe('Condition Provider'...
module.exports = { env: { node: true, mocha: true, es6: true }, globals: { expect: true, expectRejection: true, sinon: true }, parserOptions: { ecmaVersion: 6 }, rules: { // Possible errors 'comma-dangle': [2, 'never'], 'no-cond-assign': 2, 'no-console': 1, 'no-constant-condition': 1, '...
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/com.orcasinc.childbrowser/www/childbrowser.js", "id": "com.orcasinc.childbrowser.ChildBrowser", "clobbers": [ "ChildBrowser" ] }, { "file": "pl...
/*! Animatelo | The MIT License (MIT) | Copyright (c) 2017 GibboK */ ; (function (animatelo) { 'use strict'; animatelo.jello = function (selector, options) { var keyframeset = [ { "transform": "none", "offset": "0", "easing": "ease" ...
'use strict'; const config = global.config, eslint = require('gulp-eslint'); module.exports = gulp => { return gulp.src(config.paths.eslint) .pipe(eslint()) .pipe(eslint.format()); };
var userAuth = function(username, email, next){ var proxy = this.__proxy; var url = this.proxy.buildUrl(this.paths.users, data.username, data.password); this.proxy.ajax ({url: url, data: data}, callback); } module.export.userAuth = userAuth;
import React from "react"; import Button from "../../../Shared/Button"; import Input from "../../../Shared/Input"; import Select from "../../../Shared/Select"; import Textarea from "../../../Shared/Textarea"; import Actions from "./Actions"; import Notification from "../../../Shared/Notifications"; var EditPage = Reac...
"use babel"; // @flow export type Point = { column: number, row: number, }; export type Range = { start: Point, end: Point, }; export type TextChange = { oldText: string, newText: string, oldRange: Range, newRange: Range, }; export type AtomEditorSaveEvent = { path: string, }; export type AtomEdi...
console.log("Try s modifying this script!")
export default function updateLights (lights) { for (var i = 0; i < lights.length; i++) { lights[i].update() } }
define(function () { /** Returns a new quote DS for the current customer @param {Object[]} bezl - reference to calling bezl @param {string} company - Company ID for the calling @param {Number} custNum - customer number */ function NewQuote(bezl, connection, company, custID) { bezl.dataS...
var searchData= [ ['scale',['scale',['../classhum_1_1Transformation.html#a2e1a9616caa1f4591e8d5497a56b05dc',1,'hum::Transformation']]], ['seconds',['seconds',['../classhum_1_1Time.html#af0c6f255da8d5fbd3f065ff7bb1d563a',1,'hum::Time']]], ['setrunning',['setRunning',['../classhum_1_1Game.html#a2f3a6b502a5e44bd967f...
'use strict'; angular.module('ngSocket', []).factory('$socket', ['$rootScope', function ($rootScope) { //Check if socket is undefined if (typeof socket === 'undefined') { var socket = io(); } // var angularCallback = function (callback) { return function () { if (callback) { ...
/* * Copyright (c) 2011 The ORMMA.org project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. All contributing project authors may * be found in the AUTHORS file in the root of the source tr...
var CHARACTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'; function Async(task) { var gen = task(callback); function callback(err, result) { if (err) { throw err; } else { gen.next(result); } }; gen.next(); }; function MakeIdentity() { var identity = ''; for(var i = ...