code
stringlengths
2
1.05M
'use strict' var stream = require('stream') var Promise = require('promise') if (!stream.Transform) { module.exports = requires10 requires10.Readable = requires10 requires10.Writable = requires10 requires10.Duplex = requires10 requires10.Transform = requires10 requires10.PassThrough = requires10 requir...
setInterval(() => { console.log('这里是在执行') } , 1000) let ifExit = false process.on('SIGINT', () => { if(ifExit){ process.exit() }else{ ifExit = true } setTimeout(function() { ifExit = false }, 1000); } )
(function() { function jetpack(d3) { d3.selection.prototype.translate = function(xy) { return this.attr('transform', function(d,i) { return 'translate('+[typeof xy == 'function' ? xy(d,i) : xy]+')'; }); }; d3.selection.prototype.tspans = func...
/* eslint no-use-before-define: ["error", { "variables": false }] */ import PropTypes from 'prop-types'; import React from 'react'; import { StyleSheet, View, Keyboard, ViewPropTypes, TouchableOpacity } from 'react-native'; import Composer from './Composer'; import Send from './Send'; import Actions from './Actions';...
import React, {Component, PropTypes} from 'react'; import d3 from 'd3'; export default class LiquidGauge extends Component { static propTypes = { backgroundColor: PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.arrayOf(React.PropTypes.string) ]), compassFont: PropTypes.string, ...
'use strict'; var gulp = require('gulp'); var plugins = require('gulp-load-plugins')(); var CI = process.env.CI === 'true'; var paths = { coffee: ['./lib/**/*.coffee'], watch: ['./gulpfile.js', './lib/**', './spec/**', '!spec/{temp,temp/**}'], tests: ['./spec/**/*.coffee', '!spec/{temp,temp/**}'] }; var plum...
const { updateUsername } = require('../helpers/userData'); const getConfig = require('../getConfig'); const config = getConfig(); before(async function() { this.timeout(15000); });
var React = require('react'); var JoinSpeaker = React.createClass({ start() { var speakerName = React.findDOMNode(this.refs.name).value; var title = React.findDOMNode(this.refs.title).value; this.props.emit('start', {name:speakerName, title: title }); }, render() { return ( <form action="javascript:void...
'use strict'; class Query { constructor(query) { this._query = query; } compile() { this._compiledQuery = new Array(); this._query.forEach((el) => { const currPos = this._compiledQuery.length - 1; if (typeof el === 'string' || typeof el === 'number') { this._compiledQuery.push(...
$(document).ready(function() { var updateOutput = function(e) { var list = e.length ? e : $(e.target), output = list.data('output'); if (window.JSON) { output.val(window.JSON.stringify(list.nestable('serialize')));//, null, 2)); } else { output....
/* Input Mask plugin extensions http://github.com/RobinHerbots/jquery.inputmask Copyright (c) 2010 - Robin Herbots Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) Version: 0.0.0-dev Phone extension. */ (function (factory) { if (typeof define === "function" && define.amd) {...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.ui.commons.ValueHelpField. sap.ui.define(['jquery.sap.global', './TextField', './library', 'sap/ui/core/IconP...
'use strict'; module.exports = { source: { templates: './src/templates/**/*.jade', slides: './src/slides/*.md', js: './src/js/**/*.js', styl: './src/styl/**/*.styl', img: './src/img/**/*', files: { jade: './src/templates/index.jade', styl: './src/styl/main.styl' } }, brow...
describe(__filename, function() { before(function() { foo(); }); after(function() { foo(); }); beforeEach(function() { foo(); }); afterEach(function() { foo(); }); });
var path = require('path'); var request = require('request'); var Frontserv = require('../../'); describe('test basic functionality', function() { var server; beforeEach(function(done) { server = new Frontserv({ dir: path.resolve(__dirname, '../www-data') }); server.listen...
import Reflux from 'reflux'; export default Reflux.createActions([ 'presentationStarted', 'presentationEnded', 'navigateSlide', 'didUpdateSlide', 'didNavigateToSlide' ]);
'use strict'; var pluralize = require('pluralize'), utils = require('util'); var Long = require('long'); var Query = require('./query'); var nullCallback = function () { }; //TODO: Parse arguments needs to know about modelSchema to take advantage of 'hint' (same w/ parseSave) //Just some fancy string manipula...
import React from 'react'; import Icon from '../Icon'; export default class DirectionsRunIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M27 9c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm-7.2 27.8l1.9-8.8 4.3 4v12h4V28.9l-4.1-4.1 1.2...
var Communication = require("./api/communication"); var UserManager = require("./api/user_manager"); //Create and setup the server Communication.createServer();
define(['backbone', 'hbs!templates/layout/admin', 'marionette'], function(Backbone, template){ var AdminLayout = Backbone.Marionette.Layout.extend({ template:template, regions: { listItems: "#admin-collection-list", detail: "#admin-edit-content" }, setActiveTa...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var SET_PROPERTIES = exports.SET_PROPERTIES = 'SET_PROPERTIES'; var setProperties = exports.setProperties = function setProperties(properties) { return { type: SET_PROPERTIES, properties: properties }; }; var SET_...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
/* Copyright (c) 2010-2011, CloudMade, Vladimir Agafonkin Leaflet is a modern open-source JavaScript library for interactive maps. http://leaflet.cloudmade.com */ (function (root) { root.L = { VERSION: '0.3', ROOT_URL: root.L_ROOT_URL || (function () { var scripts = document.getElementsByTagName('script'),...
var messageFormView = function(){ //namespace function var $el = document.getElementById("messageFormView"); //variable to clean up coding and access the chatRoom1 <div> in index.html var messageFormEl = document.createElement('input'); messageFormEl.id = "inputMessageBlock"; messageFormEl.type = "text"; ...
(function () { var slice = Array.prototype.slice; var urlStyles = [ 'fill', 'stroke', 'clip-path', 'marker-start', 'marker-mid', 'marker-end', 'mask', 'filter' ]; function wrap(target, wrapper) { return function wrapped() { return wrapper.apply(this, [ target ].concat(slice.call(arguments))); }; ...
Package.describe({ name: "tap-tests:project-no-project-tap-i18n", version: "0.0.1" }); both = ['server', 'client']; server = 'server'; client = 'client'; Package.on_use(function (api) { api.use(['tap:i18n'], both); api.export('TAPi18next'); api.use(['tap-tests:blank-package-tap-i18n'], both); api.use(['ta...
import { Meteor } from 'meteor/meteor'; Meteor.startup(function() { return Meteor.defer(function() { return RocketChat.models.Messages.tryEnsureIndex({ 'starred._id': 1, }, { sparse: 1, }); }); });
export { default } from 'nypr-ui/components/animated-loading-icon';
/** * @fileoverview Disallow the use of process.exit() * @author Nicholas C. Zakas * @deprecated in ESLint v7.0.0 */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ mo...
import Ember from 'ember'; export function sumStats([stats]/*, hash*/) { return stats.reduce((sum, stat) => sum + stat.base_stat, 0); } export default Ember.Helper.helper(sumStats);
// i18next, v1.6.0 // Copyright (c)2013 Jan Mühlemann (jamuhl). // Distributed under MIT license // http://i18next.com (function() { // add indexOf to non ECMA-262 standard compliant browsers if (!Array.prototype.indexOf) { Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { ...
module.exports = { Tree: require('./Tree') }
'use strict' /** * Test dependencies */ const cwd = process.cwd() const path = require('path') const chai = require('chai') /** * Assertions */ chai.should() let expect = chai.expect /** * Code under test */ //const JSONSchema = require(path.join(cwd, 'src', 'JSONSchema')) const JSONSchema = require('../src/JS...
/* jshint node: true */ /* jslint node: true */ /* jshint strict:false */ /* jslint browser: true */ /* jslint asi: true */ 'use strict' var Q = require('q') var mat4 = require('gl-mat4') var vec3 = require('gl-vec3') var loader = require('./loader.js') var model = require('./model.js') function loadAssets (gl) { ...
import Ember from 'ember'; import { setDefaultHighChartOptions } from '../utils/option-loader'; const { computed, get, set, merge, on, observer, run } = Ember; export default Ember.Component.extend({ classNames: ['highcharts-wrapper'], content: undefined, mode: undefined, chartOptions: undefi...
'use strict'; var convert = require('./convert'), func = convert('invokeMap', require('../invokeMap')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2ZwL2ludm9rZU1hcC5q...
// automatically copied from webly resources module.exports = function (config) { config.set({ browsers: ['ChromiumHeadless'], // The directory where the output file lives basePath: 'target', // The file itself files: ['ci.js'], frameworks: ['cljs-test'], plug...
const CliErrorRenderer = Jymfony.Component.Debug.ErrorRenderer.CliErrorRenderer; const ErrorException = Jymfony.Component.Debug.Exception.ErrorException; const LogLevel = Jymfony.Contracts.Logger.LogLevel; /** * @memberOf Jymfony.Component.Debug */ export default class ErrorHandler { /** * Constructor. ...
/** * @author Toru Nagashima * @copyright 2016 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ "use strict" const assert = require("assert") const Rules = require("./_rules") describe("'+eslint-plugin.js'", () => { const config = require("../../../lib/configs/+es...
'use strict'; var myModule = require('./6-module'); var directory = process.argv[2]; var extension = process.argv[3]; myModule(directory, extension, function (err, data) { if (err) { throw err; } data.forEach(function (file) { console.log(file); }); });
var express = require('express'); var ect = require('ect'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var busboy = require('connect-busboy'); var expressValidator = require('ex...
const assert = require('chai').assert const Http = require('http') const { httpGet, httpRequest } = require('../../util/http') const Config = require('../../config') const MAX_TIMEOUT = 60 * 1000 const Fs = require('fs') const Path = require('path') const agent = new Http.Agent({ keepAlive: true, maxSockets: 1 }) ...
if (window.name.substring(0,2)=='mc') { var ImagesDialog = { init : function(ed) { tinyMCEPopup.resizeToInnerSize(); }, insert : function(text) { var ed = tinyMCEPopup.editor, dom = ed.dom; tinyMCEPopup.execCommand('mceInsertContent', false, text); ...
/* eslint-env jasmine */ /* global jQuery, loadFixtures, testGet */ const basepath = this.parent.karma ? 'base/dist/test/' : ''; jasmine.getFixtures().fixturesPath = `${basepath}fixtures/`; describe('Test', function() { beforeEach(function() { loadFixtures('test.html'); }); it('should works!', function() ...
/** * @author chenx * @date 2015.10.14 * copyright 2015 Qcplay All Rights Reserved. * * 日志系统支持 */ // 设置 log4js 的日志类型 var log4js = require('log4js'); var config = G.getConfig(); log4js.configure({ appenders : [ { "type": 'console', "category": "console", "layout": {...
/** * [Global Service will hold constants] * @return {[object]} [settings,radius,milesToHr,kmToMile] */ var settings = (function(){ var _gOpts = { timeout : 1000, enableHighAccuracy : false }, _eR = 6378, _msToHr = 0.000277778, _kTom = 0.62137; _getOptions = function...
let routes = ($stateProvider, $urlRouterProvider, $locationProvider) => { $stateProvider .state('authentication', { url: "/", templateUrl: './user_module/user.html', controller: 'UserController', controllerAs: 'vm', authenticate: false }) .state('checklist', { url: "/checklist", templateUrl:...
/* global process */ 'use strict'; var commandBuilder = require('./msbuild-command-builder'); var gutil = require('gulp-util'); var childProcess = require('child_process'); module.exports.startMsBuildTask = function (options, file, callback) { var command = commandBuilder.construct(file, options); if (options.lo...
'use script'; module.exports = { 'presets': [ ['@babel/preset-env', { 'modules': false, // 'debug': true, 'useBuiltIns': false }] ] }
'use strict' var _ = require( 'lodash' ) var traverse = require( 'traverse' ) function filterLeafPaths( paths ) { function subPath( path ) { return function ( p ) { return _.isEqual( path, _.take( p, path.length ) ) } } paths.sort( function ( a, b ) { return b.length - a.length } ) return _.reduce...
window.FavoriteItemForm = Backbone.View.extend({ template: Handlebars.compile($('#favorites-form-template').text()), render: function () { this.$el.html(this.template()); this.delegateEvents({ 'click .btn-primary': 'save' }); return this; }, save: function...
(function(){ CKEDITOR.plugins.add('btgrid', { lang: 'en,ru,fr,nl,de', requires: 'widget,dialog', icons: 'btgrid', init: function(editor) { var maxGridColumns = 12; var lang = editor.lang.btgrid; CKEDITOR.dialog.add('btgrid', this.path + 'dialogs/btgrid.js'); edit...
/** * Allows to create a group of elements with similar style, * wrap Html code * @todo add event listeners * * Basic use case: * * template * <code> * <%= include(item, flyweight)) %> * <%= include(item2, flyweight)) %> * </code> * * after this code will set width on both items * flyweight.setWidth(2...
// // Get the URL parameters // function getUrlVar(key){ var result = new RegExp(key + "=([^&]*)", "i").exec(window.location.search); return result && unescape(result[1]) || ""; } // // Set the screensaver // // 6 min = 360 sec = 360000 msec // Longer than normal since we've got some long-ish videos // var s_s...
'use strict'; angular.module('scribaApp') .filter('reverse', function() { return function(items) { return angular.isArray(items)? items.slice().reverse() : []; }; });
ScalaJS.is.scala_collection_convert_Wrappers$IterableWrapperTrait = (function(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scala_collection_convert_Wrappers$IterableWrapperTrait))) }); ScalaJS.as.scala_collection_convert_Wrappers$IterableWrapperTrait = (function(obj) { if ((ScalaJS.is.scal...
/* * jQuery.splitter.js - two-pane splitter window plugin * * version 1.6 (2010/01/03) * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ /** * The splitter() plugin implements a two-pane resizable splitter...
/* This file is part of the ChinesePuzzle package. (c) Mathieu Ledru For the full copyright and license information, please view the LICENSE file that was distributed with this source code. */ cpz.Background = cc.Layer.extend({ _bgPattern: null, _gs: null, initWithGameScene: function(gs) { var texParams, t...
'use strict'; import mongoose from 'mongoose'; module.exports = function (done) { const Schema = mongoose.Schema; const ObjectId = Schema.ObjectId; const Topic = new Schema({ author : {type:ObjectId,index:true,ref:"User"}, title : {type:String,trim:true}, content : {type:String}, tags : [{type:String,index...
import { Observable, from } from 'rxjs'; export class IteratorObservable extends Observable { static create(iterator, scheduler) { return from(iterator, scheduler); } } //# sourceMappingURL=IteratorObservable.js.map
/** * html5tooltips.js * Light and clean tooltips with CSS3 animation. * https://github.com/ytiurin/html5tooltipsjs * * Yevhen Tiurin <yevhentiurin@gmail.com> * The MIT License (MIT) * http://opensource.org/licenses/MIT * * June 7, 2014 **/ (function() { var tt, tModels, options, activeElements, html5tooltipsPredefi...
angular.module('userCtrl', ['userService']) .controller('userController', function(User) { var vm = this; // set a processing variable to show loading things vm.processing = true; // grab all the users at page load User.all() .then(function(data) { // when all the users come back, remove the processing v...
import { module, test } from 'qunit'; import serializeQueryParams from 'ember-m3/utils/serialize-query-params'; module('unit/utils/serialize-query-params', function () { test('simple object with only one property serialization', function (assert) { let queryParms = { a: 'b', }; let serializedQueryP...
$(function(){ if ($('#stories_sprint_drag').length > 0) { // Add stories to sprint page var pb = $('.product_backlog'); var sb = $('.sprint_backlog'); var width = parseInt(pb.css('width')); pb.resizable({ minWidth: width, maxWidth: width }); width = parseInt(sb.css('width')); ...
var GameboyJS; (function (GameboyJS) { "use strict"; var Timer = function(cpu, memory) { this.cpu = cpu; this.memory = memory; this.DIV = 0xFF04; this.TIMA = 0xFF05; this.TMA = 0xFF06; this.TAC = 0xFF07; this.mainTime = 0; this.divTime = 0; }; Timer.prototype.update = functi...
// #docregion // /*global jasmine, __karma__, window*/ Error.stackTraceLimit = 0; // "No stacktrace"" is usually best for app testing. // Uncomment to get full stacktrace output. Sometimes helpful, usually not. // Error.stackTraceLimit = Infinity; // jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000; var builtPath = '/base/bu...
var createStore = require('fluxible/utils/createStore'); module.exports = createStore({ storeName: 'OrganisationStore', handlers: { 'RECEIVE_ORGANISATIONS_SUCCESS': '_receiveOrganisations', 'CREATE_ORGANISATION_START': '_createOrganisationStart', 'CREATE_ORGANISATION_FAILURE': '_create...
define(['services/logger', 'services/dataContext', 'model/discWithImage'], function (logger, dataContext, discWithImage) { var title = 'Disc'; var vm = { activate: activate, title: title, disc: ko.observable(), pendingRequest: ko.observable(true) ...
version https://git-lfs.github.com/spec/v1 oid sha256:2c6ab6a5801d79d8486fec2fdaa82440ceae1f4ef648658ee349828a3f14e279 size 9030
'use strict'; require('./config'); require('./partitioner'); require('./manager'); require('./server'); require('./system');
"use strict"; const stackTrace = require(`stack-trace`); const GraphQLRunner = require(`../query/graphql-runner`).default; const errorParser = require(`../query/error-parser`).default; const { emitter } = require(`../redux`); module.exports = (store, reporter) => { // TODO: Move tracking of changed state insid...
import React from 'react'; import RightSidebar from '../rightsidebar/RightSidebar'; import Choropleth from "../visualization/Choropleth"; import GraphComponent from "../visualization/GraphComponent"; // Incomplete Component. Currently this is just a placeholder. // TODO : Build the component. Seperate the view of the r...
define('test/data/commonjs/programs/increment/increment', [ 'require', 'exports', 'module', 'math' ], function (require, exports, module) { var add = require('math').add; exports.increment = function (val) { return add(val, 1); }; });
/** * @file test/utils/exist.js * @license MIT * @copyright */ const fs = require('fs') module.exports = file => expect(!!fs.statSync(file)).toBeTruthy()
/*! * chartjs-adapter-luxon v1.0.0 * https://www.chartjs.org * (c) 2021 chartjs-adapter-luxon Contributors * Released under the MIT license */ import { _adapters } from 'chart.js'; import { DateTime } from 'luxon'; const FORMATS = { datetime: DateTime.DATETIME_MED_WITH_SECONDS, millisecond: 'h:mm:ss.SSS a', ...
define(["./textTags", "backbone","jquery","handlebar"], function(textTags){ var category = Backbone.Model.extend({ initialize: function() { this.set("textTags", new textTags([],{category:this})); this.datum = this.get('content'); this.textTags = this.get('textTags'); var i = 0; ...
$(function () { $('#container').highcharts({ xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] }, legend: { layout: 'vertical', itemMarginTop: 10, itemMarginBottom: 10 }, ...
import { EventMixin, trigger } from './graph.mixin.event.js'; let ExtendedEventMixin = (manglingName) => { return Object.assign({}, EventMixin, { trigger(eventName, ...args) { trigger.call(this, eventName, ...args); if (this.graph) { this.graph.trigger(manglingName + "." + eventName, ....
module.exports = { async rewrites() { return [ { source: '/blog', destination: '/news', }, ] }, }
/* * Modelica parser with command line interface. * Invoke with: * $ node moparse.js [Modelica package directory] */ var moparser = require("../moparser").parser; moparser.yy.parseError = function (message, details) { console.log(message); throw new SyntaxError(message); }; if (process.argv.length == 3) { ...
'use strict'; var pad = require('pad'); var Printer = require('../'); //var printer = new Printer('file:///dev/usb/lp0'); var printer = new Printer(); /* Information for the receipt */ var items = [ new Item("Example item #1", "4.00"), new Item("Another thing", "3.50"), new Item("Something else", "1.00"), ne...
'use strict'; //Setting up route angular.module('timehks').config(['$stateProvider', function($stateProvider) { // Timehks state routing $stateProvider. state('listTimehks', { url: '/timehks', templateUrl: 'modules/timehks/views/list-timehks.client.view.html' }). state('createTimehk', { url: '/time...
// Copyright: Andoni M. Garcia. Food Blog. 2014 var RESTAURANTS = []; var MARKERS = []; var INFOS = []; var MAP; var CENTER = new google.maps.LatLng(41.888904, -87.624364); var INFO_OPEN; var MARKER_OPEN; function restaurant(Lat, Lng, Name, Date){ this.lat = Lat; this.lng = Lng; this.name = Name; this...
/** * The animationend object. */ 'use strict'; define([], function() { function animationEnd() { var t; var el = document.createElement('fakeelement'); var animations = { 'animation': 'animationend', '-o-animation': 'oAnimationEnd', '-moz-animation':...
'use strict'; const assert = require('assert'); const Browscap = require('../src/index.js'); suite('checking for issue 1970. (1 test)', function () { test('issue-1970-A ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 OPR/54.0.2952.60"]', function ...
import { Destructable } from '../core/destructable' import { makeClass } from '../core/make-class' export const BaseController = makeClass('BaseController', Destructable, (def) => { def.retainedProperty('view'); def.method('_viewChanged', function(oldValue, newValue) { if (oldValue) { oldValue.unbindAll(thi...
import { InjectData } from './inject_data'; import moment from 'moment'; /** * Data included in every requests */ const injectDefaultData = (req, { responseHeaders }) => { /* legacy: InjectData was part of fast-render and use to take the http res as first param now we simultate the _headers props to allow ...
const helpers = require('./helpers'); const commands = [ require('./user-create') ]; module.exports = (program) => { commands.forEach((command) => { program .command(command.name) .description(command.description) .action((...args) => { const result = command.action(...args); ...
(function () { $(function () { var _tenantService = abp.services.app.tenant; var _$modal = $('#TenantCreateModal'); var _$form = _$modal.find('form'); _$form.validate(); $('#RefreshButton').click(function () { refreshTenantList(); }); $('.dele...
/** * @file menu-button.js */ import Button from '../button.js'; import Component from '../component.js'; import Menu from './menu.js'; import * as Dom from '../utils/dom.js'; import * as Fn from '../utils/fn.js'; import * as Events from '../utils/events.js'; import toTitleCase from '../utils/to-title-case.js'; impor...
webpackJsonp([0xe70826b53c04],{304:function(t,e){t.exports={pathContext:{}}}}); //# sourceMappingURL=path---404-a0e39f21c11f6a62c5ab.js.map
"use strict"; const path = require("path"); const request = require("request"); const endpoints = { block: "block", blockIndex: "block-index", tx: "tx", rawtx: "rawtx", addr: "addr", addrs: "addrs", txs: "txs", sync: "sync", peer: "peer" }; /** * Returns a new node. * @constructo...
module.exports = require('material-ui/Dialog/DialogActions');
#!/usr/bin/env node /* * toYaml command line * * MIT License (@see License) * @author Gregor Schwab * @copyright (c) 2011 Gregor Schwab * Usage Command Line: ./toYaml yamyam.js (@see Readme.md) * @requires optimist */ var YAML=require ('./toYaml'); var logging=false; //set to true to tu...
describe('The Endpoint Model', function () { describe('when we get the endpoint', function () { it('should call the getEndpoint method on the client and pass in the options', function (done) { App.models.endpoint({ name: 'client-name', client: { ...
/* eslint-disable */ /********************************************************** * Copyright (c) 2017. Enterprise Architecture Group, EACG * * SPDX-License-Identifier: MIT *********************************************************/ /* eslint-enable */ /* eslint-env mocha */ const assert = require('assert'); const ...
$(function () { $('#container').highcharts('StockChart', { rangeSelector: { selected: 1 }, legend: { enabled: true, layout: 'vertical', align: 'right', verticalAlign: 'top', y: 100 }, series: [{ ...
ngDescribe({ name: 'Test SubjecttypeService', modules: 'app', inject: 'SubjecttypeService', tests: function (deps) { it('basic test', () => { // }); } });
'use strict'; App.factory('Affordability', ['Repayments', function(Repayments) { var DEFAULT_INTEREST_RATE_CHANGE_AMOUNT = 3; var affordability = { earnings: { person0 : { annual: 0, extra: 0, net_pay: 0 }, person1 : { annual: 0, ...
/** * Copyright 2013, 2016 IBM Corp. * * 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...