code
stringlengths
2
1.05M
// Browserify entry point for the bundle (yay JavaScript!) var _ = require('underscore'), React = require('react'), Main = require('./components/main.js'); //require('./components/orders.js'); React.render(<Main />, document.body);
"use strict"; let env = process.env.NODE_ENV; if (env !== "dev" && env !== "staging") { env = "prod"; } module.exports = require(`./${env}.js`);
@import 'colors.js'; var fill1 = function(c) { colorFill(c, palette.c1); }; var fill2 = function(c) { colorFill(c, palette.c2); }; var fill3 = function(c) { colorFill(c, palette.c3); }; var fill4 = function(c) { colorFill(c, palette.c4); }; var fill5 = function(c) { colorFill(c, palette.c5); }; va...
'use strict'; var should = require('should'); var config = require('../index'); describe('Basic functions', function(){ before(function(done){ config.clean(); done(); }); after(function(done){ config.clean(); done(); }); it('should set defaults options in root no...
Template.collegeSelectModal.helpers({ collegeList: function() { return [{name: "Claremont McKenna", route: "cmc"}, {name: "Harvey Mudd", route: "mudd"}, {name: "Scripps", route: "scripps"}, {name: "Pitzer", route: "pitzer"}, {name: "Frary", route: "frary"}, {name: "Frank", route: "frank"}, {name: "Oldenborg", rou...
var events = require('events') module.exports = function () { var that = new events.EventEmitter() var subs = {} var publish = function (name, id, origin, data, glob) { return function (protocol) { if (!glob && protocol.globbing) return protocol[name](id, origin, data) } } that.subscrib...
(function () { return { uiCreated: function(namingContainer) { var location = dojo.byId(namingContainer + 'Location'); if (location.value == 'undefined' || location.value == 'null') { location.value = ''; } var latitude = dojo.byId(namingCon...
export default { path: '/logout', onEnter(state, replace) { localStorage.removeItem('token') localStorage.removeItem('user') replace({ pathname: '/', state: { nextPathname: state.location.pathname } }) } }
var AmpersandState = require('ampersand-state'), PostCollection = require('./post-collection'); module.exports = AmpersandState.extend({ props: { name: 'string', url: 'string', className: 'string', iconClass: 'string', image: 'string' }, collections: { po...
var q = require('q') , def = q.defer(); function attachTitle (name) { return "DR. " + name; } def.promise .then(attachTitle) .then(console.log); def.resolve("MANHATTAN");
/*! * Copyright (c) 2015 Noah Portes Chaikin * * 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, publ...
/* Copyright 2007-2009 University of Cambridge Copyright 2007-2009 University of Toronto Copyright 2007-2009 University of California, Berkeley Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may ob...
/** * @since 2018-04-22 09:27:13 * @author vivaxy */ const params = [ { name: 'interval', format(input) { const value = Number(input); if (Number.isNaN(value)) { return this.defaultValue; } if (value < 0) { return this.defaultValue; } return value; },...
const { asyncMiddleware } = require('../utils/middleware') const createStandardRoutes = require('./routeWorkers/standard') const { pickBy, getFieldName, isEmpty, firstItem, getIn, lastItem } = require('../utils/functionalHelpers') const formConfig = require('./config/vary') const expectedFieldsForForm = { address: [...
var gulp = require('gulp'); var browserify = require('browserify'); var babel = require('babelify'); var react = require('react'); var concat = require("concat"); var fs = require("fs"); var source = require('vinyl-source-stream'); var uglify = require("gulp-uglify"); var jshint = require('jshint'); var jshintStylish =...
/* Copyright 2012 Mozilla Foundation * * 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...
import createReducer from "utils/createReducer"; const initialState = {}; const handlers = { // Pattern: // [ActionTypes.ACTION_NAME]: actionFunction }; export default createReducer(initialState, handlers);
const cake = { songs: [ {name: 'Comanche', album: 1, track: 1}, {name: 'Ruby Sees All', album: 1, track: 2}, {name: 'Up So Close', album: 1, track: 3}, {name: 'Pentagram', album: 1, track: 4}, {name: 'Jolene', album: 1, track: 5}, {name: 'Haze of Love', album: 1, track: 6}, {name: 'You Par...
// name: sammy // version: 0.7.2 // Sammy.js / http://sammyjs.org (function($, window) { (function(factory){ // Support module loading scenarios if (typeof define === 'function' && define.amd){ // AMD Anonymous Module define(['jquery'], factory); } else { // No module loader (plain <sc...
'use strict'; //Setting up route angular.module('clubs').config(['$stateProvider', function($stateProvider) { // Clubs state routing $stateProvider. state('listClubs', { url: '/clubs', ncyBreadcrumb: { parent: 'myDashboard', label: 'All Clubs' ...
import PropertyAnnotation from './PropertyAnnotation' import isArrayEqual from '../util/isArrayEqual' class Marker extends PropertyAnnotation { invalidate() {} remove() { this.getDocument().data.delete(this.id) } // TODO: we should use the Coordinate comparison API here containsSelection(sel) { if (...
// 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, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
/** * @description: directive filter providers for template partials * * Section Types: * ======================== * @name textSection * @name inlineImageSection * @name profileSection */ angular .module('isu-form-sections') .directive('formatHttp', formatHttp); function formatHttp() { return { r...
module.exports = function(app, passport, auth) { //User Routes var users = require('../app/controllers/users'); app.get('/signin', users.signin); app.get('/signup', users.signup); app.get('/signout', users.signout); //Setting up the users api app.post('/users', users.create); app.post(...
function sort(array) { const length = array.length; for (let i = 1; i < length; i += 1) { const value = array[i]; let index = i; while (index > 0 && array[index - 1] > value) { array[index] = array[index - 1]; index -= 1; } array[index] = value; } return array; } module.exports ...
export default Ember.View.extend({ templateName: 'views/_discuss', name:'fuck bob', didInsertElement:function(){ // console.log('insert discuss view'); } });
const Core = require('../core'); //if installed by package, using: //const Core = require('windows-automator-lib').Core; function getExcelHWND() { let wins = Core.getAllWindows(); for(let i in wins) { let win = wins[i]; if(win.name.indexOf('Microsoft Excel') >= 0) { return win.hwnd; } } throw new Error('...
import * as A from '../array'; /* merge consecutive whitespace in template strings */ export const _ = (segments) => segments.join('').replace(/(\s){2,}/g, ' '); describe('utils', () => { describe('array', () => { describe('take', () => { it(_`returns the first "n" elements.`, () => { ...
'use strict'; describe('Door', function () { beforeEach(module('septWebRadioApp', 'septWebRadioServices')); describe('Controller', function () { var scope, controller; // Init controller beforeEach(inject(function ($rootScope, $controller) { var scopeController = $rootScope.$new(); $cont...
var expect = require('chai').expect; var slugFactory = require('../index'); describe('slug-factory', function() { it('should slugify correctly', function(done) { var exists = 4; function iterator(path, cb) { exists--; cb(null, exists); } slugFactory('Slugen ips³ón.', iterator, function...
#!/usr/bin/env node 'use strict'; var Promise = require('bluebird'), mongoose = require('mongoose'), config = require('../config.json'), acl = require('../lib/auth/acl-manager'); mongoose.Promise = Promise; var resources = [ {res: 'Comment', path: '/comments', model: require('../models/comment')...
const moment = require('moment') const cheerio = require('cheerio') const fs = require('fs') const Styliner = require('styliner') var styliner = new Styliner(__dirname); var pdf = require('html-pdf'); var A4option = require(process.env.PWD + '/views/report/A4config') module.exports = { randomAlphaNumeric: function (...
function makeAlert(title, text, klass) { if(!klass) { klass = "alert-info"; } var wrap = $("<div/>").addClass("col-md-12"); var al = $("<div/>").addClass("alert") .addClass(klass) .html(text) .appendTo(wrap); $("<br/>").prependTo(al); $("<strong/>").text(title)....
import { isDirectDebitSupported } from './directDebitDecider'; const SUPPORTED_COUNTRIES = [ { code: 'GB', name: 'United Kingdom' }, { code: 'NL', name: 'Netherland' }, { code: 'FR', name: 'France' }, { code: 'DE', name: 'Germany' }, { code: 'AT', name: 'Austria' }, { code: 'ES', name: 'Spain' }, { code:...
module.exports = () => ({ url }) => { window.open(url, '_blank'); };
const AdapterFactoryProvider = require('../../providers').AdapterFactoryProvider const SequelizeAdapter = require('./sequelize') module.exports = AdapterFactoryProvider({ sequelize: SequelizeAdapter })
var env, store, Person, PhoneNumber; var attr = DS.attr, hasMany = DS.hasMany, belongsTo = DS.belongsTo; module("unit/store/push - DS.Store#push", { setup: function() { Person = DS.Model.extend({ firstName: attr('string'), lastName: attr('string'), phoneNumbers: hasMany('phone-number') }); ...
var fs = require('fs'); var path = require('path'); var paths = { upload: path.normalize(__dirname + '../../public/dist/u/'), thumbnail: path.normalize(__dirname + '../../public/dist/t/') }; module.exports = function (req, res) { // Get the file name from the URL var fileName = req.params[0]; // Check if i...
/** * Created by moyu on 2017/3/28. */ const url = require('url'); const path = require('path'); const ft = require('../helpers/file-type'); const HtmlEditor = require('../libs/HtmlEditor'); const {registerFileWatcher} = require('../'); const forward = require('../helpers/forward-request'); module.exports = function...
/** * Photo Model * */ var mongoose = require("mongoose"); var schema = new mongoose.Schema({ id: { type: String, index: {unique: true}, required: true }, name: { type: String, required: true }, size: { type: Number, required: true }, contributor: { type: mongoose.Sche...
'use strict'; describe('rc.login module', function() { beforeEach(module('rc.login')); describe('login controller', function(){ it('should ....', inject(function($controller) { //spec body var loginCtrl = $controller('LoginCtrl'); expect(loginCtrl).toBeDefined(); })); }); });
angular.module('ngTimeline') /* jshint -W106 */ .directive('timeline', ['$rootScope', '$compile', 'timelineMediaTypeService', '$log', '$timeout', '$location', '$q', '$window', function ($rootScope, $compile, timelineMediaTypeService, $log, $timeout, $location, $q, $window) { function angularize(element, ...
'use strict'; // Init the application configuration module for AngularJS application var ApplicationConfiguration = (function() { // Init module configuration options var applicationModuleName = 'mean'; // var applicationModuleVendorDependencies = ['ngResource', 'ngAnimate', 'ui.router', 'ui.bootstrap', 'ui.utils']...
function split(str) { let regex = /[,;().\s]+/; str.split(regex).forEach(s=>console.log(s)); }
/*! * dirname-regex <https://github.com/regexps/dirname-regex> * * Copyright (c) 2014-2015 Jon Schlinkert * Licensed under the MIT License */ 'use strict'; var assert = require('assert'); var dirname = require('./'); function match(str) { return str.match(dirname()); } it('should match a directory with a fil...
import { db } from '../db/prepare_data.js'; const _ = require('lodash'); const Excel = require('exceljs'); const fs = require('fs'); const logoPath = './app/vendor/logo.png'; export const generateReport = (batch, outputDirectory) => { return new Promise((resolve, reject) => { generateReportTemplate(batch, outp...
describe('NavBarWithLink', function () { var MochaMix = require('../../'); var shinyMock = { boom: function () { return 'mocking boom'; } }; var mix = MochaMix.mix({ require: './examples/src/components/ShinyComponent', mocks: { ShinyObject: { require: '../shiny', reac...
/** ******************************************************************************************************************** * * Font Loading * * @type Module * uses font face observer events to check if the fonts have loaded, * then assign body class to swith to correct font styles * ******************...
/* vim: set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab: */ /** * Backbone-relational.js 0.8.6 * (c) 2011-2013 Paul Uithol and contributors (https://github.com/PaulUithol/Backbone-relational/graphs/contributors) * * Backbone-relational may be freely distributed under the MIT license; see the accompanying...
'use strict'; const test = require('tape'); module.exports = (compose) => { test('compose function', (assert) => { const actual = typeof compose; const expected = 'function'; assert.equal(actual, expected, 'compose should be a function.'); assert.end(); }); };
#!/usr/bin/env node /*! * Example `create-account` command. */ 'use strict'; const program = require('commander'); program .usage('[options] <key>') .option('-t, --type <type>', 'specify account type') .option('-s, --status <status>', 'specify account status') .option('-P, --postpaid', 'create postpaid ac...
/** * @fileoverview Translation for `requireSpaceAfterKeywords` (JSCS) to ESLint * @author Breno Lima de Freitas <https://breno.io> * @copyright 2016 Breno Lima de Freitas. All rights reserved. * See LICENSE file in root directory for full license. */ 'use strict' //---------------------------------------------------...
/* global angular:true */ (function debugWapper(angular){ 'use strict'; var // Change this boolean value to enable or disable debug DEBUG = true, // Returns the style to be given to the module name with a random color in // a pre-fixed color scale (MIN/MAX) pickColorStyle = function (){ ...
/* global Examples */ Template.exampleAutoform.onCreated(function () { this.autorun(() => this.subscribe('allExamples')); }); Template.exampleAutoform.helpers({ examples () { return Examples.find(); }, examplesCount () { return Examples.find().count(); } });
'use strict'; xdescribe('Stimuli.event.synthetizer.keyboard', function() { var inject = function() { return Stimuli.event.synthetizer.Keyboard.inject.apply(Stimuli.event.synthetizer.Mouse, arguments); }, stimuli, textInput, textInputObserver; before(function(done) ...
gXMLBuffer ="<?xml version='1.0' encoding='utf-8' ?> <index> <chunkinfo url=\"whidata0.xml\" first=\"account advanced features\" last=\"external active directory\" num=\"107\" /> <chunkinfo url=\"whidata1.xml\" first=\"features\" last=\"queues, description\" num=\"108\" /> <chunkinfo url=\"whidata2.xml\" first=\"qu...
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 ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, de...
function shudong() { console.log('hello shudong1111'); } shudong();
var express = require('express'), app = express(), path = require('path'); var router = express.Router(); // get an instance of the express Router //Setting up express - servers index app.use(express.static(path.join(__dirname, 'www'))); // set the static files location /public/img will be /img for users // ...
var counter = require("./counter"); var arr = ['apple', 'orange', 'banana', 'pear']; console.log( "executed counter1" ); counter.counter1(arr); console.log( "executed counter2" ); console.log( counter.counter2(arr) );
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
#! /usr/bin/env node console.log(require("./"))
import JsonML from 'jsonml-tools/jsonml-utils' export function getChildren (node) { var children = [] var i = JsonML.hasAttributes(node) ? 2 : 1 for (; i < node.length; i++) { children.push(node[i]) } return children }
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import { Provider } from 'react-redux' import store from './state/store'; require('./sass/app.scss'); ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.querySelector('#app') );
'use strict'; class AssetsQueryOptions { constructor(ids) { this.query = {}; if (ids) { this.addFilter('assetId', ids); } } addQuery(key, value) { if (this.query[key]) { if (!Array.isArray(this.query[key])) { this.query[key] = [this.query[key]]; } this.query[key]....
import Range from '../src/range'; import Util from '../src/util'; import moment from 'moment-timezone'; describe('Range Library', () => { it('able to create basic range', () => { let list; const start = '2016-01-01'; const end = '2016-02-01'; const format = 'YYYY-MM-DD'; const range = new Range...
import React from 'react' import Link from 'gatsby-link' import {FormControl, FormGroup, ControlLabel, HelpBlock} from 'react-bootstrap'; const amazonmall = () => ( <div className='bg-login text-center'> <div className='center-block col-sm-6 dialogOuter'> <div className='dialog'> <div> <f...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.8/esri/copyright.txt for details. //>>built define({widgetLabel:"Bakgrunnskartgalleri",noBasemaps:"Ingen tilgjengelige bakgrunnskart"});
'use strict'; var should = require('should'); module.exports = function(Mase, util){ should.exists(util); var testData = [ {_id: 1, name: 'one', key: 'val'}, {_id: 2, name: 'two', key: 'val'}, {_id: 3, name: 'three'}, {_id: 4, name: 'four'} ]; it('update(fields, update) all matching document...
export default class{ constructor(jsonInputData, storyInputData = {}){ this.jsonInputData = jsonInputData; this.storyInputData = storyInputData; } get input(){ let {storyInputData = {}, jsonInputData ={}} = this; let rawInputData = Object.assign({}, jsonInputData); l...
'use strict'; const rp = require( 'request-promise' ); const urlJoin = require( 'url-join' ); const uuid = require( 'uuid' ); const conf = require( '../conf.js' ); const httpClient = rp.defaults( { timeout: 10000 } ); module.exports = { publish: function( topic, message ) { const req = { ...
/** * mini-event * Copyright 2013 Baidu Inc. All rights reserved. * * @ignore * @file 事件队列 * @author otakustay */ const QUEUE = Symbol('queue'); /** * 判断已有的一个事件上下文对象是否和提供的参数等同 * * @param {Object} context 在队列中已有的事件上下文对象 * @param {Function | boolean} handler 处理函数,可以是`false` * @param {Mixed} [thisObject] 处理函...
// Fireup the plugins $(document).ready(function(){ // initialise slideshow $('.flexslider').flexslider({ animation: "slide", start: function(){ $('body').removeClass('loading'); window.dalek_flexslider = 'start'; }, after: function(slider) { wind...
// Alias manager: lets you translate \long.ugly-commands into \cmds var _ = require('underscore'); module.exports = function(util, app, addAlias, deleteAlias, unalias) { var myconf = util.config.get('modules.alias', { 'whitelist': true }); return { type: 'command', name: 'alias', listAll: function() ...
'use strict'; // Init the application configuration module for AngularJS application var ApplicationConfiguration = (function () { // Init module configuration options var applicationModuleName = 'j-razzies'; var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngS...
var path = require("path"); module.exports = { /* * app.ts represents the entry point to your web application. * Everything included in this app.ts gets compiled and bundled * into a single js bundle. Acts like a 'main' file. */ entry: ["./src/app.ts"], // In the output we specify where to store t...
/* * The MIT License (MIT) * * Copyright (c) 2016 * * 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, modif...
export { period }; const period = 100;
/** * [IL] * Library Import */ import React, { PropTypes, Component } from 'react'; import { connect } from 'react-redux'; /** * [IV] * View Import */ import Mobile from './Views/Mobile/tpl'; /** * [IBP] * Pixel Perfect and Breakpoints */ import PixelPerfect from 'vendor/PixelPerfect/component'; import BP fr...
const DeleteReferencesResponse_Schema = { name:"DeleteReferencesResponse", fields: [ {name: "responseHeader", fieldType: "ResponseHeader", documentation: "A standard header included in all responses returned by servers."}, {name: "results", fieldType: "StatusCode", isArray: true, documenta...
var __ks_coverage = (function(_export) { return typeof _export.__ks_coverage === 'undefined' ? _export.__ks_coverage = {} : _export.__ks_coverage; })(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : this); if(!__ks_coverage["/fixtures/compile/operator.assign.exist.if.ks"]) { __ks_cove...
"use strict"; var gulp = require('gulp'), browserSync = require('browser-sync'); gulp.task('browsersync', function() { browserSync({ server: { baseDir: "./dist" } }); });
const fs = require('fs'); const path = require('path'); const removeFolderRecursive = (dir) => { if (fs.existsSync(dir)) { fs.readdirSync(dir).forEach((file) => { const curPath = `${dir}/${file}`; if (fs.statSync(curPath).isDirectory()) { removeFolderRecursive(curPath); // recurse } els...
// Sort 3 real values in descending order. // Use nested if statements. // Note: Don’t use arrays and the built-in sorting functionality var button = document.getElementById('calculate'); button.onclick = calculate; function calculate(){ /*var x = jsConsole.readFloat('#inputX'); var y = jsConsole.readFloat...
import newsletters from './newslettersReducer' export { newsletters }
version https://git-lfs.github.com/spec/v1 oid sha256:7aa5ce39acac990a57b472c0b6c076e5d1111b2576eabf219f8343b75602dfd0 size 1840
module.exports = function(fn, wait, debounceOptions) { var timer = null; var stamp = 0; var args = []; var leading = !!(debounceOptions && debounceOptions.leading); var calledOnce = false; function onCall() { var dt = stamp - Date.now(); if (dt > 0) { timer = setTimeout(onCall, dt); } el...
/** * remarked <https://github.com/jonschlinkert/remarked> * * Copyright (c) 2014 Jon Schlinkert, contributors. * Licensed under the MIT license. */ 'use strict'; var expect = require('chai').expect; var remarked = require('../'); var helper = require('./helpers/utils'); var normalize = helper.stripSpaces; /**...
// Generated on 2015-03-29 using // generator-webapp 0.5.1 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // If you want to recursively match all subfolders, use: // 'test/spec/**/*.js' module.exports = function(grunt) { var serveStatic = requi...
import React, {Component} from 'react'; import ReactDOM from 'react-dom'; //引用函式庫不需指定路徑 import YTSearch from 'youtube-api-search' import SearchBar from './components/search_bar'; //自己寫的js要指定路徑 import VideoList from './components/video_list'; import VideoDetail from './components/video_detail'; const API_KEY = 'AIzaSyBg...
let result = [ ['a', 'b', 'c', 'd', 'e', 'f', 'g'], ['b', 'c', 'd'], ['b', 'c', 'd', 'e', 'f', 'g'], ['a', 'b', 'c', 'd', 'e', 'f'], ['a', 'b', 'c', 'd', 'e', 'f', 'g'], ['b', 'boo', 'boo'] ]; module.exports = (assert, test) => { describe('array5.sc', () => { it('first should return a-g', () => { assert.dee...
var vows = require('vows'); var assert = require('assert'); var util = require('util'); var warwick = require('passport-warwick-sso-oauth'); vows.describe('passport-warwick-sso-oauth').addBatch({ 'module': { 'should report a version': function (x) { assert.isString(warwick.version); }, 'should ...
System.register(['angular2/testing', 'angular2/http', '../../app/js/core/Phones'], function(exports_1) { var testing_1, http_1, Phones_1; return { setters:[ function (testing_1_1) { testing_1 = testing_1_1; }, function (http_1_1) { http...
'use strict'; angular.module('mean.users').factory('MeanUser', [ '$rootScope', '$http', '$location', '$stateParams', '$cookies', '$q', '$timeout', function($rootScope, $http, $location, $stateParams, $cookies, $q, $timeout) { var self; function escape(html) { return String(html) .replace(/&/g...
module.exports = { dev: { script: 'server/app.js', options: { nodeArgs: ['--debug-brk'], watch: ['server'], ignore: [], ext: 'js', env: { PORT:process.env.DEBUGPORT || 5858 }, delay:500, callback: function (nodemon) { nodemon.on('log', function (event) { console.log(event.colour); }); /...
/*global artifacts, describe, it, web3, config*/ const assert = require('assert'); const SimpleStorage = artifacts.require('SimpleStorage'); const EmbarkJS = artifacts.require('EmbarkJS'); config({ namesystem: { enabled: true, register: { "rootDomain": "test.eth" } }, contracts: { deploy: {...
this.NesDb = this.NesDb || {}; NesDb[ 'CCB306A328E6905D72A2E11C9F86A303D51D5A04' ] = { "$": { "name": "Spy vs. Spy", "class": "Licensed", "catalog": "NES-SP-USA", "publisher": "Kemco", "developer": "First Star Software", "portdeveloper": "Kemco", "region": "USA", "players": "2", "date": "1988-10" }...
ReachAlbert.directive("bgLoad", [function() { return { restrict: "A", scope: { image: '=' }, link: function(scope, elements, attributes) { scope.$watch('image', function(image){ var img_url = angular.isDefined(attributes.url) ? attributes.url+i...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ function cantidades(){ var cant = 0; $('.input-cantidad').each(function(){ cant = parseFloat($(this).text()); ...
function euler91() { // Good luck! return true } euler91()