code
stringlengths
2
1.05M
//Code gotten from //http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery //By Sanwebe //Add/Remove Input Fields Dynamically with jQuery $(document).ready(function(){ var maxField = 4; //Input fields increment limitation var addButton = $('.add_button'); //Add button selector var...
exports.prefixHeader = 'X-Upcache'; exports.replacements = function replacements(tag, params) { return tag.replace(/:(\w+)/g, function(str, name) { var val = params[name]; if (val !== undefined) { return val; } else { return ':' + name; } }); };
'use strict'; const { mustCall, mustNotCall, expectsError, hasCrypto, skip } = require('../common'); if (!hasCrypto) skip('missing crypto'); const { createServer, connect } = require('http2'); const assert = require('assert'); const server = createServer(); server.listen(0, mustCall(() => { const port =...
var Achicken = Achicken || {}; var socket = io.connect(window.location.href);; socket.on('greet', function(data) { console.log(data); socket.emit('respond', {message: 'Hello to you too, server'}); }); Achicken.GameState = { init: function(currentLevel) { //constants this.MAX_DISTANCE_SHOOT = 190; this.MAX_SP...
var app = angular.module('site', ['ui.bootstrap']); app.factory('Backend', ['$http', function($http) { var get = function(url) { return function() { return $http.get(url).then(function(resp) { return resp.data; }); } }; ...
const Big = require('bignumber.js') const DEFAULT_SIG_FIGS = 5 const PRICE_SIG_FIGS = 5 const AMOUNT_DECIMALS = 8 /** * Smartly set the precision (decimal) on a value based off of the significant * digit maximum. For example, calling with 3.34 when the max sig figs allowed * is 5 would return '3.3400', the represe...
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 __(); }; define(["require", "exports", '../../createts/event/EventDispatcher', '../../createts/event/Signal2', ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. module.exports = { 'Device': { 'getDeviceInfo': function (success, fail, args) { success({ model: document.getElementById('device-mod...
import { withRouter } from 'react-router' import Actions from './../../../../../flux/actions' class Wrapper extends React.Component { constructor( props ) { super() this.props = props this.pathname = this.props.location.pathname setTimeout( () => { Actions.routeChanged( undefined, this.pathname ) ...
// Generated by CoffeeScript 1.9.1 (function () { var Git, exec, fs, options_to_argv, ref, spawn; fs = require('fs'); ref = require('child_process'), exec = ref.exec, spawn = ref.spawn; module.exports = Git = function (git_dir, dot_git, git_options) { var git; git_options || (git_opti...
"use strict" var http = require('http') var fs = require('fs') http.createServer(function(req,res) { if (req.url === '/') { res.writeHead(200, {'content-type': 'text/html'}) fs.createReadStream(__dirname + '/index.html', 'utf-8').pipe(res) } if (req.url === '/api') { res.writeHead(200, {'content-type':...
/* Plugin Name: Sprite Tween Plugin URI: https://github.com/empika/ImpactJS-Plugins Description: Tween entities between given positions in an ImpactJS game Version: 0.2 Revision Date: 20-05-2012 Requires: ImpactJS Author: Edward Parris Author URI: http://www.nixonmcinnes.co.uk/people/edward/ Changelog --------- 0.2: Na...
// duration calculator // TODO: do we want this to be negative ever? Or just 0 as minimum? // ABS is dangerous export const getDurationBetween = (startDate, endDate) => { if (typeof startDate !== 'number') { startDate = Date.parse(startDate); } if (typeof endDate !== 'number') { endDate = D...
module.exports = [ { mode: 'development', module: { rules: [ { test: /\.ks$/, use: [ { loader: '@kaoscript/webpack-loader?target=trident-v5&register=@kaoscript/target-commons' } ] } ] }, performance: { hints: false }, resolve: { extensions: ['.ks', '.js...
var Index = (function($) { return { init: function() { var self = this; this.resize_thumb("Blog1", 300); $(window).load(self.isonyax); // $(window).smartresize(self.isonyax); $(window).resize(function(){ self.isonyax(); ...
var path = require('path'); var express = require('express'); var bodyparser = require('body-parser'); var app = express(); app.use(express.static(process.argv[3] || path.join(__dirname, 'public'))); app.use(bodyparser.urlencoded({extended: false})); app.post('/form', function(req, res) { // console.log(req.body.st...
'use strict'; // This script re-calculates timezone offsets once a day. // We need this to be able to send messages using subscriber's local time // The best option would be to use built-in timezone data of MySQL but // the availability of timezone data is not guaranteed as it's an optional add on. // So instead we ke...
"use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj; return newObj; } } var _database = require('./data...
'use strict'; const connect = require('connect'); const extend = require('extend'); const fs = require('fs'); const glob = require('glob'); const hogan = require('hogan.js'); const path = require('path'); const serveStatic = require('serve-static'); const status = require('statuses'); const url = require('url'); modu...
var _ = require('underscore'); exports.matchFinish = { name: 'matchFinish', description: 'Finish the match...', inputs: { scoreOne: {required: true }, scoreTwo: { required: true } }, outputExample: { data: { } }, run: function(api, data, next) { var connection = data.connection; if (!connection.use...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > When the Object constructor is called with one argument value and the type of value is Number, return ToObject(number) es5id: 15.2.2.1_A5_T2 description: Argument va...
{ this.foo = "bar"; super(); }
'use strict'; describe('myApp.shuffler module', function () { beforeEach(module('myApp.shuffler')); describe('shuffler controller', function (){ var $scope, cardSrvc; beforeEach(inject(function ($rootScope, $controller, $injector) { $scope = $rootScope.$new(); ...
/** * @fileOverview X Axis */ import { Component, PropTypes } from 'react'; import pureRender from '../util/PureRender'; @pureRender class XAxis extends Component { static displayName = 'XAxis'; static propTypes = { allowDecimals: PropTypes.bool, hide: PropTypes.bool, // The name of data displayed ...
var reportRequests = require('../src/requestgenerator'); describe("RequestGenerator", function() { it("should generate an empty report", function() { let report = reportRequests().report().get(); expect(report.reportRequests).not.toBe("undefined"); expect(report.reportRequests).toEqual([{}]...
const Excel = require('../lib/exceljs.nodejs.js'); const Range = require('../lib/doc/range'); const HrStopwatch = require('./utils/hr-stopwatch'); const [, , filename] = process.argv; const wb = new Excel.Workbook(); function addTable(ws, ref) { const range = new Range(ref); ['Monday', 'Tuesday', 'Wednesday', '...
var map; var latlngBounds; window.onload = function () { initializeMaps(); } function initializeMaps() { var mapOptions = { center: new google.maps.LatLng('37.7219', '-122.4572'), mapTypeId: google.maps.MapTypeId.ROADMAP, zoom: 8, mapTypeControl: true, mapTypeControlOpt...
'use strict' /* global ss, CivicSeed, $game, Howl, Howler */ var _soundtracks = [] var _triggerFx = null var _environmentLoopFx = null var _environmentOnceFx = null var _currentTrack = -1 var _prevTrack = -1 var _numTracks = 8 var _musicPath = CivicSeed.CLOUD_PATH + '/audio/music/' var _midTransition = false var _exte...
export { default } from 'ember-fhir/models/medication-dispense';
import React from 'react' import { Button } from '@smooth-ui/core-sc' import { useRepository, useToggleRepository } from './RepositoryContext' export function ToggleButton() { const repository = useRepository() const { toggleRepository, loading } = useToggleRepository() const { enabled } = repository return ( ...
(function (global, factory) { if (typeof define === 'function' && define.amd) { define(['exports', 'module', '../backbone'], factory); } else if (typeof exports !== 'undefined' && typeof module !== 'undefined') { factory(exports, module, require('../backbone')); } else { var mod = { exports: {} ...
// DefaultInitializationSpec.js // Author: Joel Lubrano jasmine.getFixtures().fixturesPath = 'tests/fixtures'; describe('icons plugin - defaults', function() { var map; var defaultData = [ { lat: -10, lng: 10 }, { lat: 10, lng: -10 } ]; // The points must be within the...
/* global PhoneInput:true */ var _phoneInputs = {}; PhoneInput = function (id, options) { if (!id) throw new Meteor.Error('Please specify an id for the phone input'); var self = this; if (_phoneInputs[id]) return _phoneInputs[id]; if (!(self instanceof PhoneInput)) return new PhoneInput(id, options); //...
/** * Created by m on 10/19/2017. */ var express = require('express'); var router = express.Router(); var passport = require('passport'); var User = require('../models/User'); //Routes router.get('/', function (req, res) { res.send(200); }); router.get('/facebook', function (req, res, next) { var queryUrl =...
'use strict'; /** * Module dependencies. */ var config = require('./config/config'), Datastore = require('nedb'); /** * Main application entry file. * Please note that the order of loading is important. */ // Bootstrap db connection var db = {}; db.users = new Datastore(config.db.userdb); db.games = new Dat...
'use strict' function throwIt(exception) { try { throw exception } catch (e) { console.log('Caught: ' + e) } } // Caught: 3 throwIt(3) // Caught: hello throwIt('hello') // Caught: Error: An error happened throwIt(new Error('An error happened'))
class MyClass { static constructor() { return "I am not a constructor"; } } console.log(MyClass.constructor());
var mimetypes = { txt: 'text/plain', html: 'text/html', css: 'text/css', js: 'application/javascript', jpg: 'image/jpeg' }; var mime = function(path) { var extension = path.split('.')[1]; return mimetypes[extension]; }; exports = module.exports = mime;
import reducer, { initialState } from 'redux/modules/Auth' describe('(Redux) Auth', () => { describe('(Reducer)', () => { it('sets up initial state', () => { expect(reducer(undefined, {})).to.eql(initialState) }) }) })
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.16/esri/copyright.txt for details. //>>built define({widgetLabel:"Ploto matavimas",hint:"Prad\u0117kite matuoti spustel\u0117dami norimoje \u017eem\u0117lapio vietoje",unsupported:"Dvimatis ploto matavimas pa...
'use strict'; require('debug-trace')({ always: true }); const Fabric = require('../'); const Bitcoin = require('../services/bitcoin'); const Wallet = require('../types/wallet'); async function main () { let fabric = new Fabric(); let bitcoin = new Bitcoin({ network: 'regtest' }); // let wallet = new Wallet(); ...
// import { routerReducer as routing } from 'react-router-redux'; import { combineReducers } from 'redux'; import filter from './product-table/filterable-table.reducer'; import people from './people/people.reducer'; import auth from './utils/auth.reducer'; const rootReducer = combineReducers({ filter, people,...
import eventify from 'ngraph.events'; /** * This is a decoupled way of communication between components * * Bus lives as a singleton, any component that imports a bus, can fire events * on it, or listen to it. * * You can read more about eventify here: https://github.com/anvaka/ngraph.events */ export default e...
'use strict'; const db = require('../models/'); module.exports = { createGroup (req, res) { console.log("req.user",req.user) db.group.findOrCreate({where: // {userId: req.user.dataValues._id}, {groupName: req.body.groupName}, defaults: { userId: r...
const activities = [] export default activities;
$(function () { // console.log("working!"); });
// this is needed because it *looks* like karma wants an absolute // path to the conf file import { resolve } from 'path'; var karmaConfigPath = resolve('.') + '/karma.conf.js'; export default { app: './app', build: './build', docs: './docs', html: { files: [ './app/**/*.html' ] }, hbs: ...
/** Copyright (c) 2007 Bill Orcutt (http://lilyapp.org, http://publicbeta.cx) 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,...
/* * A try-catch block * Node Format: { type: 'TRY_CATCH', try: [statement]*, catch_argument: [identifier] | null, catch: [statement]*, finally: [statement]* | null } */ var expressionParser = require('./expression.js'); var statementParser = require('./statement.js'); var scope = require('../state.js')...
module.exports = { "db" : require("./mongo"), "redis" : require("./redis"), "local" : require("./local"), "logger" : require("./logger"), };
'use strict'; exports = module.exports = (namespace) => { /** * CloudError class * @extends {Error} */ return class CloudError extends Error { } };
/** * Source: * https://github.com/cgiffard/node-simplecrawler * * Description: * Crawls single domain * * Usage: * node simple.js http://www.moonshadowmobile.com/ http://www.l2political.com/ */ var Crawler = require("simplecrawler"); var args = process.argv.slice(2); var cr...
// Generated by CoffeeScript 1.7.1 var DEFAULT_PACKETID, DEFAULT_SPID, DEFAULT_WINDOW, HEADER_LENGTH, NL, OFFSET, Packet, STATUS, TYPE, isPacketComplete, name, packetLength, sprintf, typeByValue, value; require('./buffertools'); sprintf = require('sprintf').sprintf; HEADER_LENGTH = 8; TYPE = { SQL_BATCH: 0x01, ...
'use strict'; var { NativeModules } = require('react-native'); module.exports = NativeModules.FbIntent;
require({ packages: [ 'agrc', 'app', 'awesome-bootstrap-checkbox', 'dgauges', 'dgrid', 'dgrid1', 'dijit', 'dojo', 'dojox', 'dstore', 'esri', 'ijit', 'layer-selector', 'moment', 'put-selector', ...
/** * Areyouhappy.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/#!documentation/models */ module.exports = { attributes: { happy : { type: 'boolean' }, why : { type: 'string' }, ip : { type: 'stri...
function isPrime(num) { if( num === 1) { return false; } for(var i = 2; i <= Math.sqrt(num); i++) { if (num % i == 0) { return false; } } return true; } function largestPrimeFactor(num) { var sqrt = Math.sqrt(num); console.log('Sqrt of ', num, ' is ', sqrt); var largest = 0; ...
/* * This file is part of Arduino * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, ...
$.fn.showcaseMe = function (options) { if (this.length == 0) return var defaults = { animationInNegative: "animated bounceInLeft", animationOutNegative: "animated bounceOutLeft", animationInPositive: "animated bounceInRight", animationOutPositive: "animated bounceOutRight", ...
module.exports = require("npm:is-extglob@1.0.0/index.js");
/*jslint node: true */ var common = { url : "https://cs-oauth-prod.apigee.net//slack-webhook/apigee/forecastrss", url_node : "https://cs-oauth-prod.apigee.net//slack-webhook/forecastweather_node" } exports.simpleWeatherArray = function(){ "use strict"; var weatherArray = [ { "url" : common.url + "?w=25...
'use strict'; const path = require('path'); const fractal = module.exports = require('@frctl/fractal').create(); const typo3 = require('fractal-typo3'); fractal.set('project.title', '<%= title %>'); fractal.components.set('path', path.join(__dirname, 'fractal', 'components')); fractal.docs.set('path', path.join(__dir...
version https://git-lfs.github.com/spec/v1 oid sha256:4a7182c325acdcdaf24e795b00f73d75ab158ac04ff3adaa6751e3b15e0d77aa size 1630
import {render, screen} from "@testing-library/react"; import {Page404} from "./Page404"; test('renders Page404', () => { render(<Page404/>); const img = screen.getByAltText('404'); const info = screen.getByText('Wygląda na to, że znajdujesz się w niewłaściwym miejscu...'); const returnBtn = screen.ge...
import webpack from 'webpack'; import webpackConfig from './_base'; webpackConfig.devtool = 'cheap-module-eval-source-map'; webpackConfig.entry = [ 'webpack-hot-middleware/client', ].concat(webpackConfig.entry); webpackConfig.plugins = [ new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ];...
'use strict'; // Customers controller var customersApp = angular.module('customers'); customersApp.controller('CustomersController', ['$scope', '$stateParams', 'Authentication', 'Customers', '$modal', '$log', function($scope, $stateParams, Authentication, Customers, $modal, $log) { this.authentication = Authenti...
import angular from 'angular'; import camelcase from 'camelcase'; import path from 'path'; const reqContext = require.context( './', true, /^\.\/(?!index).+?\.js$/ ); const services = angular.module('services', []); reqContext.keys().forEach(key => { const name = camelcase(path.basename(key, '.js')); services...
const Comment = require('../model/comment'); const Product = require('../model/product'); const getCommentListData = (commentId) => { return new Promise((resolve,reject) => { Comment.find({commentId: commentId},null,{sort: {_id: -1}}).exec((err,data) =>{ resolve(data); }) }) }; const getProductDat...
'use strict'; const express = require('express'); const https = require('https'); const reposApi = express.Router(); const cache = new Map(); const commonOptions = { hostname: 'api.github.com', headers: { 'User-Agent': 'GithubberAPI' } }; /** * Gets a list of repositories */ reposApi.get('/', ...
/*! jQuery UI - v1.12.1 - 2017-02-06 * http://jqueryui.com * Includes: position.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery" ], factory ); } else { ...
import Service, { inject as service } from '@ember/service'; import THREE from 'three'; import Evented from '@ember/object/evented'; export default Service.extend( Evented, { sender: service(), scene: null, // Root element of Object3d's - contains all visble objects interaction: null, //Class which handles mous...
(function() { 'use strict'; angular .module('contactApp') .component('favoritePage', { templateUrl: 'components/favorite-page/favorite-page.template.html', controller: FavoritePageController }); FavoritePageController.$inject = ['NUMBER_EQUIVALENT_OF_TRUE', ...
import Vue from 'vue'; import store from '~/ide/stores'; import newDropdown from '~/ide/components/new_dropdown/index.vue'; import { createComponentWithStore } from 'spec/helpers/vue_mount_component_helper'; import { resetStore } from '../../helpers'; describe('new dropdown component', () => { let vm; beforeEach(...
var cluster = require('cluster') if (cluster.isMaster) { var cpuCount = require('os').cpus().length var environment = process.env['NODE_ENV'] var debugPort = process.env['DEBUG_PORT'] var debug = (environment === 'development') console.log(environment) console.log(debugPort) cluster.setupMaster({ exe...
define(['views/KeyboardShortcuts'], function(KeyboardShortcuts) { Backbone.View.prototype.prefs = {}; Backbone.View.prototype.prefsNs = ''; Backbone.View.prototype.subViews = {}; // Sub-view collection. /** * Seed a view's preference map. * * - Pulls saved preferences from localStorage to override de...
// ============================================================================== // // app/core/models/resources/authentication/authentication.spec.js // // // // ============================================================================== /* eslint-disable no-unused-expressions */ import { AUTH_URL } from '../.....
var path = require("path"); var jsDir = path.join( __dirname, "../../.."); module.exports = function( grunt ) { grunt.registerMultiTask('build', 'Builds CanJS.', function() { var done = this.async(); var options = grunt.config.process(['build', this.target]); var args = [options.buildFile, options.out || 'dist/...
var renderTests = [ { name: "Empty model", template: "", result: "" }, { name: "Plain text", template: "a string", result: "a string" }, { name: "Single interpolator", template: "{{mustache}}", data: { mustache: "hello world" }, result: "hello world" }, { name: "Element containing single in...
import _extends from 'babel-runtime/helpers/extends'; import _without from 'lodash/without'; import _map from 'lodash/map'; import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { childrenUtils, customPropTypes, getElementType, getUnhandledProps, META, SUI, useValueAndKey,...
(function(exports, RouteRecognizer, RSVP) { "use strict"; /** @private This file references several internal structures: ## `RecognizedHandler` * `{String} handler`: A handler name * `{Object} params`: A hash of recognized parameters ## `HandlerInfo` * `{Boolean} isDynamic`: whether...
[]
var fs = require('fs-extra') var replace = require('replace-in-file') function installKaTeX () { fs.copySync(__dirname + '/../node_modules/katex/dist/fonts', __dirname + '/../styles/fonts') fs.copySync(__dirname + '/../node_modules/katex/dist/katex.css', __dirname + '/../styles/katex.css') replace.sync({ fi...
/* Import all product specific js */ import $ from 'jquery'; import PageManager from '../page-manager'; import Review from './product/reviews'; import collapsibleFactory from './common/collapsible'; import ProductDetails from './common/product-details'; import videoGallery from './product/video-gallery'; import { class...
/* ****************************************************************************** * @file lib/spark.js * @company Spark ( https://www.spark.io/ ) * @source https://github.com/spark/sparkjs * * @Contributors * David Middlecamp (david@spark.io) * Edgar Silva (https://github.com/edgarsilva) * Javier Cerv...
/* ------------------------------------ Search functionality ---------------------------------------*/ //Variable to hold autocomplete options var keys; //Load US States as options from CSV - but this can also be created dynamically d3.csv("states.csv", function (csv) { keys = csv; start(); }); //Call bac...
(function() { 'use strict'; angular .module('noodleApp') .controller('NoodleSearchController', NoodleSearchController); NoodleSearchController.$inject = ['$rootScope', '$http', 'ActiveFilter']; function NoodleSearchController($rootScope, $http, ActiveFilter) { var vm = this; ...
var assert = require('assert'); var util = require('util'); var _ = require('@sailshq/lodash'); describe('Association Interface', function() { describe('Has Many Association', function() { describe('.find', function() { before(function(done) { var customerRecords = [ { name: 'hasMany find...
window.addEvent('domready', function () { if($$('.admin-list')) { var list = new Generator.List(); } }) /* * Generator class. */ Generator = new Class({ Implements: [Options, Events], options: { }, initialize: function(el, options){ this.init(); }, init: function () { this.elems = {...
exports.up = function(knex, Promise) { return knex.schema.createTable('users', function (table){ table.string('id').notNullable().primary() table.string('username') table.string('email') table.string('image') table.text('accessToken') table.text('refreshToken') }...
export const instanceData = {} /** * Data Class * @todo refactor. this should just be a standard Object * unless we move all data functionality here. */ export class Data { /** * Set defaults * @param {String} formID */ constructor(formID) { this.formData = {} this.formID = formID this.l...
/* global gb */ gb.resource_loading_operation_status = { undefined : 0, in_progress : 1, waiting : 2, failure : 3, success : 4 }; gb.resource_loading_operation = function(guid, resource) { this.m_guid = guid; this.m_resource = resource; this.m_status = gb.resource_loading_operation_sta...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), UserFeed = mongoose.model('UserFeed'), FeedItem = mongoose.model('FeedItem'), FeedComment = mongoose.model('FeedComment'); var ObjectId = mongoose.Types.ObjectId; /* FEED API M...
export default { flipHeader: "Traspasar la llamada a...", flip: "Traspasar", complete: "Completar traspaso" }; // @key: @#@"flipHeader"@#@ @source: @#@"Flip Call to..."@#@ // @key: @#@"flip"@#@ @source: @#@"Flip"@#@ // @key: @#@"complete"@#@ @source: @#@"Complete Flip"@#@
var types = { syscall : '1300', /* Syscall event */ path : '1302', /* Filename path information */ ipc : '1303', /* IPC record */ socketcall : '1304', /* sys_socketcall arguments */ config_change : '1305', /* Audit system configuration change */ sockaddr : ...
import React, {Component} from 'react'; import ElegantReact from 'elegant-react'; import u, {updateIn} from 'updeep'; const immutable = u({}); const {elegant} = ElegantReact({debug: true}); const sub = (edit, ...path) => transform => edit(updateIn(path, transform)); const initialState = immutable({ items: [ ...
var flock; var text; function preload() { $.get('http://api.openweathermap.org/data/2.5/weather?q=London,uk&appid=a3d9eb01d4de82b9b8d0849ef604dbed', function(data) { // var url = 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&appid=a3d9eb01d4de82b9b8d0849ef604dbed', // weather = loadJSON(url), ...
angular.module('FAST') .controller('multibindController10000', ['$timeout', '$scope', function($timeout, $scope) { var vm = this; vm.$baseValue0 = 1; $scope.$watch('vm.$baseValue-1', function() { vm.$baseValue0 = parseInt(vm.$baseValue-1) + 1; }); $scope.$watch('vm.$baseValue0', function() { vm.$baseValue1...
self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "9687187d4f329f254daf", "url": "app.js" }, { "revision": "9687187d4f329f254daf", "url": "main.css" } ]);
import React from 'react'; export default class ActivityModifiers extends React.Component { renderModifier(item, i) { return ( <li key={i}> <div className="modifierIcon"> <img src={item.icon} /> </div> <div className="modifierC...
module.exports = function () { var root = './'; var src = './src/'; var client = src + 'client/'; var server = src + 'server/node/'; var clientApp = client + 'app/'; var report = './report/'; var specRunnerFile = 'specs.html'; var temp = './.tmp/'; var wiredep = require('wiredep'); ...