code
stringlengths
2
1.05M
describe('c3 chart legend', function () { 'use strict'; var chart, args; beforeEach(function (done) { chart = window.initChart(chart, args, done); }); describe('legend when multiple charts rendered', function () { beforeAll(function () { args = { data:...
define( ["bin/core/route"], function(Route) { var queryString = bin.toQueryString; var queryParams = bin.toQueryParams; var Router = function() { } Router.extend = bin.extend; var pro = Router.prototype; pro.init = function() { var routes = {prev:null, next:null}; ...
/** * Created by Dulitha RD on 3/25/2017. */ import superagent from "superagent"; export default{ get: (url, params, callback) => { superagent .get(url) .query(params) .set('Accept', 'application/json') .end((err, response)=> { if (err) { ...
function printUppercaseWords(inputArr) { //75/100 let words = inputArr.replace(/[!.<>/\,?':"`;]/g," "); let newWords = ''; for (let i = 0; i < words.length; i++) { if (words[i] >= 'a' && words[i] <= 'z' || words[i] >= 'A'&& words[i] <= 'Z'){ newWords += words[i]; }else if(wor...
/* jslint node: true, vars: true, white: true */ "use strict"; var connect = function() { console.log("Nocache Connect"); }; var get = function(key, fn) { console.log("Memcache get: " + key); fn(undefined, undefined) ; }; var set = function(key, val, fn) { console.log("Memache set: " + key); if (typeof(fn) ==...
/*globals define, $*/ /*jshint browser: true*/ define([ 'text!./svgs/state.svg', 'text!./svgs/state-highlight.svg' ], function (STATE_SVG, HIGHLIGHT_SVG) { 'use strict'; var META_TO_TEMPLATE = { State: STATE_SVG, InitialState: STATE_SVG }; function ContractStateDecoratorC...
Meteor.methods({ updateNode: function(siteName, node) { console.log('updateNode method:', siteName, node); var site = Sites.findOne({name:siteName}); if (!site) { console.log('creating a new site'); siteId = Sites.insert({name:siteName}); } else { siteId = site._id; } nod...
import express from 'express' import path from 'path' import { dirname } from 'path' import { fileURLToPath } from 'url' import hbs from 'hbs' const app = express() const __dirname = path.join(dirname(fileURLToPath(import.meta.url)), '../') app.set('view engine', 'html') app.set('views', path.join(__dirname, 'views')) ...
'use strict' /** * Dependencies * @ignore */ const _ = require('lodash') const Collection = require('./Collection') /** * Dependency Collection * * @class * Results container for results of querying injector dependencies. * * ```js * 'use strict' * * var Injector = require('./injector') * var DependencyC...
'use strict'; //var log = require('debug')('compute_modules:clusterer-kmeans'); var kmeans = require('node-kmeans'); module.exports = class { constructor() { } geoCluster(locsToCluster, numberOfClusters, cb) { var vectorToCluster = [] locsToCluster.forEach(function (loc) { vectorToCluster.push([lo...
<!DOCTYPE html> <html lang="en" class=" is-copy-enabled is-u2f-enabled"> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#"> <meta charset='utf-8'> <link crossorigin="anonymous" href="ht...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.0.0-rc4-master-7cb035d */ function getDirective(e){function i(e){function i(i,r,o){var a=e(o[t]);r.on(n,function(e){i.$apply(function(){a(i,{$event:e})})})}return{restrict:"A",link:i}}var t="md"+e,n="$md."+e.toLowerCase();retur...
angular .module('material.components.autocomplete') .controller('MdAutocompleteCtrl', MdAutocompleteCtrl); var ITEM_HEIGHT = 41, MAX_HEIGHT = 5.5 * ITEM_HEIGHT, MENU_PADDING = 8; function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $timeout, $mdTheming, $window, ...
import_module('Athena.Math'); v1 = new Athena.Math.Vector4(1, 2, 3, 4); v2 = new Athena.Math.Vector4(-1, -2, -3, -4); CHECK_CLOSE(-30, v1.dot(v2)); CHECK_CLOSE(30, v1.absDot(v2));
var gulp = require('gulp'); var jest = require('jest-cli'); var jestConfig = { "rootDir": '.', "moduleFileExtensions": [ "js", "jsx", "json" ], "scriptPreprocessor": "./preprocessor.js", "unmockedModulePathPatterns": [ "./node_modules/react" ] }; gulp.task('test', function(done) { jest...
/* global describe, it, expect, before */ import Cldr from "../../../src/core.js"; import parentLookup from "../../../src/bundle/parent_lookup.js"; import parentLocalesJson from "cldr-data/supplemental/parentLocales.json"; import "../../../src/unresolved.js"; describe("Bundle Parent Lookup", function() { before(fu...
'use strict' const React = require('react') function markIt (input, query) { const escaped = query.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&') const regex = RegExp(escaped, 'gi') return { __html: input.replace(regex, '<mark>$&</mark>') } } function filterSuggestions (query, suggestions, length) { const re...
import test from 'tapes'; import Shapedom, { Variable, Template } from '../../dist/shapedom'; test('shapedom.createTemplate with element shape', function (t) { let shapedom; t.beforeEach(function (t) { shapedom = new Shapedom(document); t.end(); }); t.test('without children', function (t) { con...
describe("extend", function() { var extend = p.extend it("should assign the source object's properties to the target", function() { var target = {} extend(target, { foo: 3, bar: 23 }) target.foo.should.equal(3) target.bar.should.equal(23) }) })
'use strict'; /** * Module dependencies. */ var passport = require('passport'), User = require('mongoose').model('User'), path = require('path'), config = require(path.resolve('./config/config')); module.exports = function(app) { // Serialize sessions passport.serializeUser(function(user, done) { ...
const SpacesWorld = require("./gameshare/world.js") //console.log(SpacesWorld) var line = ""; for(var i = 0;i < SpacesWorld.array.length;i++) { if(i % SpacesWorld.size[0] == 0) { console.log(line); line = ""; } if(SpacesWorld.array[i] == null) line += " "; else line += SpacesWorld...
import React, { Component } from 'react'; import { StyleSheet, Image, TouchableOpacity, View, Dimensions } from 'react-native'; const {height, width} = Dimensions.get('window'); import {gutter} from '../variables' const GalleryOffset = ({imagesArray, display, onPress}) => { const images = imagesArray; ...
/*jshint esversion:6*/ import '../less/NewProject.less'; import React, { Component } from 'react'; import { Modal, Button, Form, Input, DatePicker, Col, Transfer } from 'antd'; import AlertMsg from './AlertMsg'; import { ProjectNameRule, DateRule, TextareaRule } from '../validate/rules'; import { addProject } from '../...
'use strict'; process.chdir(__dirname); //set dir of current file as working dir //************************import module ************************************************* var child_process = require('child_process'), fs = require('fs'), url = require('url'), querystring = require('querystring'), Path ...
'use strict'; /** * Module dependencies */ var _ = require('lodash'); /** * Extend user's controller */ module.exports = _.extend( require('./users.authentication.controller'), require('./users.authorization.controller'), require('./users.profile.controller') );
function getDays(inDate) { var now = new Date(); var days = Math.floor((now - inDate) / 1000 / 60 / 60 / 24); if (days == 0) days = "Today"; else if (days == 1) days = "1 day ago"; else days = days + " days ago" return days; }; function getHeat(inVotes) { if (inVotes < 2) { return "hot0"; } else if...
/* *Removes the player when he is dead and resets him. */ game.HeroDeathManager = Object.extend({ //Is he dead, if so we will execute some stuff init: function(x, y, settings){ this.alwaysUpdate = true; }, update: function(){ if(game.data.player.dead){ me.game....
import React, { Component, PropTypes } from 'react'; import AddressSuggest from 'components/AddressSuggest/AddressSuggest'; import Dropdown from 'components/Dropdown/Dropdown'; import styles from './Select.scss'; import find from 'lodash/find'; import forEach from 'lodash/forEach'; export default class LocationsSelect...
window.onload = function () { var ws = new WebSocket('ws://' + document.location.host + '/temperature'); ws.onopen = function () { // Only enable the input fields after we have established a WebSocket connection. document.getElementById("celsius").disabled = false; document.getElementById("fahrenheit")...
version https://git-lfs.github.com/spec/v1 oid sha256:7ed045ebc2456647099372fb78480309f0da867effc6b558be306d18cb2a0055 size 73702
import 'whatwg-fetch' import { message } from 'antd' import global from './global' /**检查相应状态 */ function checkStatus(response) { console.info(response) if (response.status >= 200 && response.status < 300) { return response } else if (response.status == 401) { message.error('登录超时,请重新登录') location.href...
App.GroupsNewController = Ember.ObjectController.extend({ needs: ['groups', 'contactsNew'], newContact: null, newGroup: true, startEditing: function() { var controller = this; var childSession = this.session.newSession(); this.newContact = this.session.create('contact'); return controller.g...
(function(µ,SMOD,GMOD,HMOD,SC){ let File=GMOD("File"); SC=SC({ util:"File.util", ServiceResult:require.bind(null,"../util/ServiceResult"), Session:require.bind(null,"./session") }); let permissionsFile=new File(__dirname).changePath("../config/permissions.json"); let readFile=function(ignoreError) { r...
import localforage from 'localforage'; import { LOAD_THEME, } from '../constants'; /* * Loads theme from local storage */ export function loadTheme() { return { type: LOAD_THEME, payload: { promise: localforage.getItem('theme').then(JSON.parse), }, }; } /* * Saves the current theme (mapping...
export { viewLenses, setStore, lensReducer } from './main'; export { default as LensGroup } from './LensGroup'; export { default as connectLenses, bindLenses, bindLensesAndActionCreators } from './connect';
export { default as Employment } from './employment.container'; export { default as employmentReducer } from './employment.reducer';
export default { path: 'CBAforum', getComponents(location, cb) { require.ensure([], function(require) { cb(null, require('pages/community/section/CBAforum/CBAForum.js').default) }) } }
/** * Copyright 2012-2020, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var fontAttrs = require('../font_attributes'); var colorAttrs = require('../../components/color/attributes'); va...
require('should'); var map = require('../src/esnext/map'); var take = require('../src/esnext/take'); var scanl1 = require('../src/esnext/scanl1'); var repeat = require('../src/esnext/repeat'); var iterate = require('../src/esnext/iterate'); describe('lazit#scanl1', function() { it('normal operation check'...
/* eslint-env mocha */ var bracketData = require('../lib/index') var assert = require('assert') describe('Bracket Data', function () { it('should have correct data for ncaam', function () { var b = bracketData({ year: '2013', sport: 'ncaam' }) assert.strictEqual(b.constants.REGION_COUNT, 4)...
"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...
/*jslint node: true */ "use strict"; exports.real3x3 = [ 0.9178107380867004, -0.04468444734811783, -0.3944951295852661, 0.1306413114070892, 0.9723015427589417, 0.1938103586435318, 0.3749079704284668, -0.2294186502695084, 0.8982265591621399 ]; exports.real4x4 = [ 0.9178107380867004, -0.0446844473481178...
import { hbs } from 'ember-cli-htmlbars'; import { htmlSafe } from '@ember/string'; import { module, test, skip } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, click } from '@ember/test-helpers'; module('Integration | Component | line clamp', function(hooks) { setupRenderingTest(ho...
version https://git-lfs.github.com/spec/v1 oid sha256:ae054ac30d86fa2c027d92237a3672e2ab9f587aeb5b68f9ee30e384a008d118 size 3550
version https://git-lfs.github.com/spec/v1 oid sha256:010b775021b2dec760d17edb82428fb630a450a169f2addbec439baebf428028 size 16697
version https://git-lfs.github.com/spec/v1 oid sha256:67023c544218583fbeaccc020fa76603f6c9a5c7e5cd61a9700950238a93839e size 31628
var services = { circle : require('./services/circle'), codeship : require('./services/codeship'), drone : require('./services/drone'), jenkins : require('./services/jenkins'), semaphore : require('./services/semaphore'), travis : require('./services/travis'), wercker : require('./services/wercker') }; v...
FullCalendar.globalLocales.push(function(){"use strict";return{code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`}}());
/** * This is a script for testing the performance of the NLI iiif server. * Just add http addresses to the `testImages` variable and it will test * the response and provide timing info in the output. */ // Some code taken from: https://github.com/RisingStack/example-http-timings/blob/master/README.md // See expla...
import React from 'react'; import Icon from '../Icon'; export default class Crop54Icon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M38 10H10c-2.21 0-4 1.79-4 4v20c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V14c0-2.21-1.79-4-4-4zm0 24H10V14h28v...
goog.require('ngeo.filters'); describe('ngeo.Filters', () => { let $filter; beforeEach(inject((_$filter_) => { $filter = _$filter_; })); it('Ngeo Scalify', () => { const ngeoScalify = $filter('ngeoScalify'); expect(ngeoScalify(25000)).toBe('1\u00a0:\u00a025,000'); }); it('Ngeo Number format...
var util = require("util"); var sst = require("sst"); var namedRegexp = require('named-regexp').named; module.exports = AdverbSM = function(){ if (!(this instanceof AdverbSM)) return new AdverbSM(); sst.call(this); }; util.inherits(AdverbSM,sst); AdverbSM.prototype.destem = function(info){ this.processDefaults...
'use strict'; module.exports = function(context) { var types = Object.create(null); function markUsedIfType(ident) { if (types[ident.name]) { context.markVariableAsUsed(ident.name); types[ident.name] = null; } } function markTypeAsUsed(node) { context.markVariableAsUsed(node.id.name); ...
/** * Copyright (c) Nicolas Gallagher. * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type { ColorValue, GenericStyleProp } from '../../types'; import type { Vie...
var webpack = require("webpack"); var ExtractTextPlugin = require("extract-text-webpack-plugin"); var vue = require("vue-loader"); module.exports = { entry: { app: ["webpack/hot/dev-server", "./src/app.js"], vendors: [] }, output: { path: "./build", publicPath: "/build/", filename: "bundle.j...
module.exports = { context: { name: 'Mick', count: 30 }, handlebars: 'Hello {{name}}! You have {{count}} new messages.', dust: 'Hello {name}! You have {count} new messages.', mustache: 'Hello {{name}}! You have {{count}} new messages.' };
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Notification Schema */ var NotificationSchema = new Schema({ title: {type: String, required: true}, description: {type: String}, startDate: {type: Date, default: Date.now}, endDate: {type...
// Generated by CoffeeScript 1.6.3 (function() { var loggedIn, login, now, test; loggedIn = []; now = function() { return (new Date()).getTime(); }; login = function(sid, maxAge) { var sess; sess = { sid: sid, expires: now() + maxAge }; return loggedIn.push(sess); }; te...
window.u = { gameEl: $('#game'), levels: {}, ui: {} }; u.game = Backbone.Router.extend({ start: function(){ this.levelOne = new u.levels['zero']; } }); u.ui.restart = Backbone.View.extend({ initialize: function(){ this.render(); }, el: $('#restart'), events: { 'mouseover': 'restart', ...
$.noty.layouts.bottomRight = { name: "bottomRight", options: { // overrides options }, container: { object: "<ul id=\"noty_bottomRight_layout_container\" />", selector: "ul#noty_bottomRight_layout_container", style: function() { $(this).css({ bottom: ...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glo...
"use strict"; var helpers = require("../../helpers/helpers"); exports["Africa/Sao_Tome"] = { "guess:by:offset" : helpers.makeTestGuess("Africa/Sao_Tome", { offset: true }), "guess:by:abbr" : helpers.makeTestGuess("Africa/Sao_Tome", { abbr: true }), "1911" : helpers.makeTestYear("Africa/Sao_Tome", [ ["1911-12-...
var fs = require('fs'), path = require('path'), process = require('process'); var hljs = require('./highlight.min.js'); var pg = require('./percentage.js'); var tocer = require('./tocer.js'); var searchGen = require('./searchGen.js'); // HLJS Langs (hljs.listLanguages()): 'apache','bash','coffeescript','cpp',...
/*! * exprest4 * Copyright (c) 2016-2018 Hiro Fujita <bow.fujita@gmail.com> * MIT License */ 'use strict'; module.exports = { __exprest: { routes: [{ }] } };
var css_img_2_data_uri = require('../lib/css_img_2_data_uri'); var assert = require('assert'); var fs = require('fs'); var util = require('util'); var test = (function () { var tests = []; function register(name, item) { tests.push({ name: name, test: item }); } function run() { var item = tests.shi...
Package.describe({ summary: 'Tutorial content, included in meteor.com via package', version: '0.0.1', name: 'tutorials' }); Package.registerBuildPlugin({ name: 'build-plugin', sources: ['build-plugin/patch-plugin.jsx'], use: [ 'jsx@0.1.1', 'underscore@1.0.3' ] }) Package.onUse(function (api) { ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Form, Button } from 'antd'; import { DemonButton } from 'react-form-mobx'; const { Item } = Form; export default class Submit extends Component { static propTypes = { wrapperStyle: PropTypes.object, }; render() { const { wr...
// Regular expression that matches all symbols in the Vai block as per Unicode v6.0.0: /[\uA500-\uA63F]/;
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var Q = require('q'); /* jshint ignore:line */ var _ = require('lodash'); /* jshint ignore:line */ var Page = require('../../../../../.....
/*jshint unused: vars */ define(['angular', 'angular-mocks', 'app'], function(angular, mocks, app) { 'use strict'; describe('Controller: AboutCtrl', function () { // load the controller's module beforeEach(module('xinyangApp.controllers.AboutCtrl')); var AboutCtrl, scope; // Initialize the...
/** * Test for filesystem wrapper */ 'use strict'; describe('Testing the MicroPython API helper functions', function() { describe('Testing the MicroPython API helper functions', function() { it('Flattens an API object into an array', function() { var api = { 'microbit': { ...
import '../spec_helper'; import {SuccessAlert, InfoAlert, WarningAlert, ErrorAlert} from 'pui-react-alerts'; describe('Alert Component', () => { let subject; describe('Success Alert', () => { beforeEach(() => { subject = ReactDOM.render(<SuccessAlert>alert body</SuccessAlert>, root); }); it('r...
"use strict"; var DnsClient = (function () { function DnsClient() { } DnsClient.prototype.DnsQuer = function (domain, dnsServerAddress /*System.Net.IPAddress*/) { throw new Error("DnsClient.ts - DnsQuer<T> : Not implemented."); }; DnsClient.Win32Success = 0; return DnsClient; }()); exports.D...
import moment from 'moment'; import * as apod from './apod'; import log from './log'; import { text } from './response'; import * as searchers from './search'; import { lookupImChannelId, postMessage } from './slack'; export function help(intent, callback) { lookupImChannelId() .then(id => postMessage(id, ` This i...
// The MIT License (MIT) // // Copyright (c) 2014 Stefaan Coussement // // 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 // u...
import { moduleForComponent, test } from 'ember-qunit'; import wait from 'ember-test-helpers/wait'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('test-vibrant-example', 'Integration | Component | test image', { integration: true }); test('it renders', function(assert) { assert.expect(5); thi...
/** * Copyright 2011-2013 (C) Spirit-EDV-Beratung AG. All rights reserved. * Available via the MIT license. * see: https://github.com/RainerAtSpirit/djODataAPIExplorer for details. */ /* globals $data, OData*/ define(function( require ) { 'use strict'; var global = require('global'), ko = require('...
const path = require('path') const webpack = require('webpack') const { merge } = require('webpack-merge') const WebpackChain = require('webpack-chain') const { VueLoaderPlugin } = require('vue-loader') const WebpackProgressPlugin = require('./plugin.progress') const BootDefaultExport = require('./plugin.boot-default-...
/** * Default log file name */ const LOG_FILE_NAME = 'red-face' let winston = require('winston') let logger = new (winston.Logger)({ transports: [ //use console logger new (winston.transports.Console)(), //use file logger new (winston.transports.File)({ filename: [LOG_FILE_NAME, '.log'].join('') }), ], })...
module.exports = { cookieSecret: 'futureserver', db: 'dbfuture', host: 'localhost' };
'use strict'; const pg = require('pg'); pg.defaults.ssl = true; class DB { constructor(config) { this.pool = new pg.Pool(config); } startTransaction() { return this._getClient() .then((client) => { return client.query('BEGIN;').return(client); }) ...
import babel from 'rollup-plugin-babel'; import dts from 'rollup-plugin-dts'; import replace from 'rollup-plugin-replace'; import { uglify } from 'rollup-plugin-uglify'; import filesize from 'rollup-plugin-filesize'; import license from 'rollup-plugin-license'; import resolve from 'rollup-plugin-node-resolve'; const e...
var mongoose = require("mongoose"); var EngineType = mongoose.model("EngineType"); module.exports = { getAllEngineTypes: function(req, res) { EngineType.find({}).select('_id name').exec(function (err, collection) { if (err) { res.status('500'); res.send({ message...
var extensionLinker = require('./services/extensionLinker'); function BootstrapServices(){ } module.exports = BootstrapServices;
function saveCredentialsForSession({ appId, apiKey }) { sessionStorage.setItem('placesAppId', appId); sessionStorage.setItem('placesApiKey', apiKey); } function getCredentialsFromSession() { const appId = sessionStorage.getItem('placesAppId'); const apiKey = sessionStorage.getItem('placesApiKey'); if (appId...
'use strict'; const validation_schema = require('removals_schema').event; const service = require('../../../api/services/IrcEntryEventValidatorService'); describe('UNIT IrcEntryEventValidatorService', function () { let originalvalidatorservice; before(() => { originalvalidatorservice = global.RequestValidator...
import React, {Component} from 'react'; import DataActions from '../actions/dataActions'; import DataStore from '../stores/dataStore'; import {Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn} from 'material-ui/Table'; import '../css/categoryPage.css'; export default class ValueSeriesItems ...
/** * Created by valseek on 17-2-9. */ import React,{Component} from 'react';
var ripple = require('ripple'); var template = require('./index.html'); var Logo = ripple(template); module.exports = new Logo();
a-library.js
'use strict'; const immutable = require('immutable'); module.exports = immutable.fromJS({ renderer: { backgroundColor: 0x061639, autoResize: true, width: 640, height: 480 } });
function problem1() { var answer, inputInteger, odd, outputField; inputInteger = document.getElementById('problem-1').value; console.log('Problem 1'); answer = (inputInteger & 1) === 1 ? 'odd' : 'even'; console.log(inputInteger + ' is: ' + answer); console.log('\n'); ...
angular.module('noTeRayesCoApp', []) .controller('mainCtrl', ['$scope', '$http', '$interval', function ($scope, $http, $interval) { // True if Pilars have started $scope.pilares = false; $scope.days = 000; $scope.hours = 00; $scope.minutes = 00; $scope.seconds = 00...
export { default as a, b, c as d } from 'e'; export * from 'f';
/* * Webpack development server configuration * * This file is set up for serving the webpack-dev-server, which will watch for changes and recompile as required if * the subfolder /webpack-dev-server/ is visited. Visiting the root will not automatically reload. */ 'use strict'; var webpack = require('webpack'); m...
import { stateTypes } from '../util'; export default function() { return { types: ['transition'], exit: function(node) { var data = node.data; data.onTransition = (data.onTransition || []).concat(node.children); node.children = []; return node; } }; };
if (!linz) { var linz = {}; } (function () { var adminPath; $(document).ready(function () { // add form validation $('form[data-linz-validation="true"]').bootstrapValidator({}); // add delete prompt $('[data-linz-control="delete"]').click(function () { if (...
var expect = require('chai').expect; describe('data adapter', function() { it('should throw error if data adapter does not pass interface checker', function*() { var err = "The passed in data adapter has the following issue:" + "\nMissing insert method" + "\nMissing bulkInsert method" + "\nMissing up...
version https://git-lfs.github.com/spec/v1 oid sha256:8c4e6798cd220209e5b0ecf0680f4a26e59c80ca4a317c0e478ce1e48312b3a8 size 3388
version https://git-lfs.github.com/spec/v1 oid sha256:8680597237481276659f6af20db33dbab79bdecc8b55fae645bbc532c0100efb size 27547