code
stringlengths
2
1.05M
/* * Copyright 2014 TWO SIGMA OPEN SOURCE, LLC * * 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 appl...
/** * Copyright (c) Baidu Inc. All rights reserved. * * This source code is licensed under the MIT license. * See LICENSE file in the project root for license information. * * @file San 主文件 */ (function (root) { // 人工调整打包代码顺序,通过注释手工写一些依赖 // // require('./util/guid'); // // require('./util/empty'); /...
var mongoose = require( 'mongoose' ), autoIncrement = require( 'mongoose-auto-increment' ), Message = require( './message' ); // Discriminators - a mongoose schema inheritance mechanism var options = { discriminatorKey: 'kind' }; /** * Location Message type schema (parent type is Message) */ var LocationMessage...
var socket = io.connect(location.host); var choice = "questionmark"; var dropped = false; var controller = new Leap.Controller({enableGestures: true}); controller.on('deviceFrame', function(frame) { for (var i = 0; i < frame.hands.length; i++) { var hand = frame.hands[i]; if (hand.grabStrength > 0.6) { ...
var mongoose = require("mongoose"); var shortid = require("shortid"); var config = require("../config"); shortid.seed(config.shortid_seed); var create_shortid = function(schema, options) { schema.pre('save', function(next) { if (this.shortid == undefined) { this.shortid = shortid.generate(); ...
//= require jquery //= require jquery.ui.all //= require jquery_ujs //= require mustache //= lib/jquery-ui-1.10.0.custom.min //= require bootstrap //= require ./base
/** * Binary Tree Node */ export class TreeNode { constructor(value = null) { this.left = null; this.right = null; this.value = value; } } /** * Binary Tree * ============================================================================= */ export class BinaryTree { constructor(root = null) { ...
'use strict'; var Synapses = require('synapses'), Wisdom = require('wisdom'); /** * @param {Object} settings * @constructor */ function NeuralNet(settings) { var defaults = NeuralNet.defaults, i, _settings = {}; settings = settings || {}; for (i in defaults) if (defaults.hasOwnProperty(i)) { _s...
/* global io */ 'use strict'; angular.module('dotaApp') .factory('socket', function(socketFactory) { // socket.io now auto-configures its connection when we ommit a connection url var ioSocket = io(null, { // Send auth token on connection, you will need to DI the Auth service above // 'query': '...
const uuid = require('uuid') function Request() { this.id = uuid.v4() this.method this.originalUrl this.url this.body this.client = {} this.path this.query = {} this.params = {} this.setURL = url => { this.url = this.originalUrl = url } return this } mod...
//@flow import { connect } from 'react-redux'; import type { TicketPageHeaderProps } from './TicketPageHeader' import { TicketPageHeader } from './TicketPageHeader'; function mapStateToProps(store : any) : TicketPageHeaderProps { return { ticketType: store.ticket.type, ticketRef : store.ticket.refe...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.5.0 (2020-09-29) */ (function () { 'use strict'; ...
//type var toString = {}.toString; function isUndefined(v){return typeof v == 'undefined';} function isDefined(v){return typeof v !== 'undefined';} function isString(v){return typeof v == 'string';} function isNumber(v){return typeof v == 'number';} function isDate(v){return toString.call(v) == '[object Date]';} functi...
var scraperjs = require('scraperjs'); var request = require('request'); var fs = require('fs-extra'); var Promise = require('promise'); var Show = require('./model/show'); module.exports.getCategories = function() { var url = 'http://www.thegreatcourses.com/'; return new Promise(function(fulfill, reject) { ...
(function (){ 'use strict'; describe('Author Social Networks', () => { const mock = angular.mock; let $componentController, controller; beforeEach(mock.module('app')); beforeEach(mock.inject($injector => { $componentController = $injector.get('$componentController'); controller...
var express = require('express'); var router = express.Router(); var PostModel = require('../models/posts'); var CommentModel = require('../models/comments'); var checkLogin = require('../middlewares/check').checkLogin; // GET /posts?author=xxx router.get('/',checkLogin,function(req,res,next){ var author = req.que...
'use strict'; define('ace/snippets/powershell', ['require', 'exports', 'module'], function (require, exports, module) { exports.snippetText = ""; exports.scope = "powershell"; });
describe('md-datepicker', function() { // When constructing a Date, the month is zero-based. This can be confusing, since people are // used to seeing them one-based. So we create these aliases to make reading the tests easier. var JAN = 0, FEB = 1, MAR = 2, APR = 3, MAY = 4, JUN = 5, JUL = 6, AUG = 7, SEP = 8, ...
import React from 'react'; export default class CatalogVoyageMinimalist extends React.Component { constructor(){ super() } render() { let voyageImage let imgSrc if(this.props.voyage.cover_image){ let imageFeatureImage = this.props.voyage.cover_image.feature_image...
// Copyright 2016-2022, University of Colorado Boulder import axon from '../../axon/js/main.js'; // eslint-disable-line default-import-match-filename import dot from '../../dot/js/main.js'; // eslint-disable-line default-import-match-filename import kite from '../../kite/js/main.js'; // eslint-disable-line default-imp...
const Promise = require('bluebird'); const generatePassword = require('password-generator'); const { stringify } = require('qs'); const partial = require('lodash/partial'); const identity = require('lodash/identity'); const { InvalidOperationError } = require('common-errors'); const sendEmail = require('./send'); const...
/** * Autofill event polyfill ##version:1.0.0## * (c) 2014 Google, Inc. * License: MIT */ (function(window) { var $ = window.jQuery || window.angular.element; var rootElement = window.document.documentElement, $rootElement = $(rootElement); addGlobalEventListener('change', markValue); addValueChangeByJ...
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v25.1.0 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics ...
console.warn("warn -",`Imports like "const datadotai = require('simple-icons/icons/datadotai');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siDatadotai } = require('simple-icons/icons');" instead`),module.exports={title:"data.ai",slug:"datadotai",get svg(){return'<svg role="img" vi...
const noop = () => undefined; const recogniserPrototype = { /** * Starts the speech recognition * @method start */ start() { this.r.start(); }, /** * Stops the speech recognition * @method stop */ stop() { this.r.stop(); }, /** * Establishes an on start callback * @param...
var conf = rs.isMaster(); var name = conf["me"]; print("SERVER NAME:" + conf["me"]);
/* * Globalize Culture es-PE * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this f...
// // Pipelining function for DataTables. To be used to the `ajax` option of DataTables // $.fn.dataTable.pipeline = function ( opts ) { // Configuration options var conf = $.extend( { pages: 5, // number of pages to cache url: '', // script url data: null, // function...
/** * Default session manager * Inject app and express reference * * Created by init script * App based on TrinteJS MVC framework * TrinteJS homepage http://www.trintejs.com **/ var config = require('./configuration'); module.exports = function (app,express) { app.configure(function () { app....
var preview = require('preview')('socket_sub'); var humanize = require('humanize-number'); var argv = require('minimist')(process.argv.slice(2)); var sockets = require('./'); var babar = require('babar'); var colors = require('colors'); var options = { key: __dirname + '/sockets/https/keys/key.pem', cert: __dirnam...
import 'whatwg-fetch' import { assert } from 'chai' import NakoCompiler from 'nako3/nako3.js' import PluginBrowser from 'nako3/plugin_browser' import { importStatus } from './import_plugin_checker.js' import PluginWebWorker from 'nako3/plugin_webworker' import { retry } from './compare_util' describe('plugin_webworker...
(function () { 'use strict'; var pieChartDirective = function pieChartDirective($location, jQuery, appSettings) { return { restrict: 'A', templateUrl: 'statistics-page/pie-chart-directive.html', scope: { stats: '=' }, link: fu...
import { getUserByEbudgieId, insertUser } from '../lib/postgres'; const create = async (req, res) => { const body = req.body; if (!body.ebudgie_id) { return res.status(400).json({ error: 'ebudgie_id is required' }); } if (!(body.email || body.phone)) { return res.status(400).json({ error: 'email or p...
import Alt from 'alt'; // Alt class export default class AppAlt extends Alt { constructor(api) { super(); // Actions this.addActions('Auth', require('../actions/AuthActions')(api)); this.addActions('Asset', require('../actions/AssetActions')(api)); this.addActions('User', require('../actions/...
// https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/skew const { tan } = Math /** * Calculate a skew matrix * @param ax {number} Skew on axis x * @param ay {number} Skew on axis y * @returns {Matrix} Affine Matrix */ export function skew (ax, ay) { return { a: 1, c: tan(ax), e: 0,...
var Constraint = require('./constraint'); function Length(operator, value) { this.operator = operator; this.value = value; this.message = 'The length has to be :operator than :value'; } Length.prototype = new Constraint(); Length.prototype.validate = function(key, data, callback) { var result = false; swi...
// JavaScript Variables and Objects // I worked [by myself] on this challenge. // __________________________________________ // Write your code below. secretNumber = 7; password = "just open the door"; allowedIn = false; members = ["John", 1, 2, "Mary"]; // __________________________________________ // Test Code...
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "$ui", "$ui.accordian", "$ui.carousel", "$ui.chart", "$ui.checkbox", "$ui.color", "$ui.colorpicker", "$ui.datepicker", "$ui.drag", "$ui.fileinput", "$ui.m...
"use strict"; var path_1 = require('path'); var config_1 = require('../config'); var utils_1 = require('../utils'); module.exports = function buildJSDev(gulp, plugins) { return function () { var tsProject = utils_1.tsProjectFn(plugins); var src = [ 'typings/browser.d.ts', 'to...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema, crypto = require('crypto'), _ = require('lodash'); /** * A Validation function for local strategy properties */ var validateLocalStrategyProperty = function(property) { return ((this.provider !== 'local' ...
/** * Main application file */ 'use strict'; // Set default node environment to development process.env.NODE_ENV = process.env.NODE_ENV || 'development'; var express = require('express'); var mongoose = require('mongoose'); var config = require('./config/environment'); var seed = require('./config/seed'); // Conn...
const path = require('path'); const test = require('ava'); const cssrules = require(path.resolve('./src/app')); test('single class', t => { const actual = `.a { color: blue; }`; const expected = ['.a{color: blue;}']; return cssrules(actual) .then(result => t.deepEqual(result, expected)); }); test...
"use strict"; /** * Tests sit right alongside the file they are testing, which is more intuitive * and portable than separating `src` and `test` directories. Additionally, the * build process will exclude all `.spec.js` files from the build * automatically. */ describe( 'home section', function() { //beforeEa...
'use strict'; const du = require('./util/du'); const percentage = require('./util/percentage'); const toMB = require('./util/to-mb'); const path = require('path'); const pad = require('pad-left'); const series = require('es6-promise-series'); const tildify = require('tildify'); const ora = require('ora'); // Factor I ...
import requireDirectory from 'ember-locales/utils/require-directory'; module('requireDirectory'); test('requiring a directory imports the directory returns the results', function() { var result = requireDirectory('ember-locales', 'utils'); equal(result.length, 1); var module = result[0]; equal(module.name, "r...
window.Lunchiatto.module('Transfer', (Transfer, App, Backbone, Marionette, $, _) => Transfer.Empty = Marionette.ItemView.extend({ template: 'transfers/empty', className: 'transfer-box__empty' }) );
var WordSelect = (function (window, document) { function addTagHelpers (el) { var text = (el.innerText || el.textContent).split(' '); el.innerHTML = '<a>' + text.join(' </a><a>') + '</a>'; } function hasClass (e, c) { if ( !e ) return false; var re = new RegExp("(^|\\s)" + c + "(\\s|$)"); return re.tes...
'use strict'; /*! main.js - v0.1.1 * http://admindesigns.com/ * Copyright (c) 2015 Admin Designs;*/ /* Core theme functions required for * most of the themes vital functionality */ var Core = function(options) { // Variables var Window = $(window); var Body = $('body'); var Navbar = $('.nav...
function borrowArraryMethods(obj, arr) { // copy "read" basics, use cursor.toArray() if full set is required ['forEach', 'some', 'every', 'reduce', 'reduceRight', ].forEach(function (prop) { obj[prop] = arr[prop].bind(arr); }); } function sliceArray(arr, offset, limit) { if (offset === 0 && limit ===...
'use strict'; import React, {Component, PropTypes} from 'react'; import {StyleSheet, View, Text, Platform,TouchableOpacity} from 'react-native'; import px2dp from '../util/px2dp'; import theme from '../common/theme'; import Icon from 'react-native-vector-icons/Ionicons'; export default class SimpleNavigationBar exten...
import angular from 'angular' import appBaseSecured from './appBaseSecured' import appBaseUnsecured from './appBaseUnsecured' export default angular .module('app.components.appBase', [ appBaseSecured, appBaseUnsecured, ]) .name
"use strict"; var fs = require("fs"); var authorize = require("./google/authorize"); var google = require("googleapis"); var SHEET_NAME = "Coin Counts"; function nextChar(c) { return String.fromCharCode(c.charCodeAt(0) + 1); } function CoinJar() { this.FileID = null; this.Coins = []; this.Rolls = []; ...
var React = require('react'); import {mergeProps} from '@npmcorp/pui-react-helpers'; /** * @component Radio * @description A radio button * * @property checked {Boolean} Whether the radio is currently selected * @property defaultChecked {Boolean} Whether the radio begins selected * @property name {String} An ide...
/** * Created by Jewel Mahanta (@lap00zza) on 12-08-2016. */ var Promise = require("./promise.js"); var promise = new Promise(); setTimeout(function () { "use strict"; promise.resolve("Oh yeah"); }, 1000); setTimeout(function () { "use strict"; promise.done(function (result) { console.log("H...
import Blip from '../../src/models/blip' import Cycle from '../../src/models/cycle' describe('Blip', function () { var blip; beforeEach(function () { blip = new Blip( 'My Blip', new Cycle('My Cycle') ); }); it('has a name', function () { expect(blip.name()).toEqual('My Blip'); }); ...
const debug = require('debug')('http-auth-parser:basic'); module.exports = function (req) { if (typeof req.headers['authorization'] == 'undefined') { // authorization does not exist req.auth = null; return debug('no authorization header found'); } const [ type, credentials ] = req.headers['authoriza...
import React from 'react'; const Tab = ({ children }) => ( <div className='tabs__tab__content'> {children} </div> ); export default Tab;
var searchData= [ ['id',['id',['../class_projectile.html#a4d5668615b5f58f8c7a2b4e0bf41d493',1,'Projectile::id()'],['../struct__msg.html#a5319cda008478b61e06ddf06c2cf166e',1,'_msg::id()']]] ];
var QuestionBuilder = {}; QuestionBuilder.Builder = function() { var QUESTION_ID = "question-"; var questionCounter = 0; this.add = function(question, options) { var expected = options['expected']; var answer = options['answer']; var answerHtml = ""; var answerClass =...
import React from 'react' import FilterLink from './FilterLink' class Footer extends React.Component { static displayName = 'Footer' render() { return ( <div className="Footer"> Show: {" "} <FilterLink filter="SHOW_ALL" {...this.props}> All </FilterLink> {", "} <FilterLink filter="...
// ok...what kind of import do i do here? // just a regular node.js import? // if i'm using lib, those are all commonjs import app from '../src/app'; // import {app} from '../src/app'; // import {cat} from '../src/cat'; // app();
function TodoCtrl($scope){ $scope.todos = [ {text:'Dr. Nadir', state:'Primary', acct:'601231'}, {text:'Dr. Tran', state:'Secondary', acct:'832131'}, {text:'Dr Smith', state:'Primary', acct:'543210'}]; $scope.addTodo = function() { $scope.todos.push({text:$scope.todoText, done:false}); $scope.to...
import Route from '@ember/routing/route'; export default class Page1Route extends Route {}
/** * Global function */ function ShowTag(id){ document.getElementById(id).style.display="block"; } function HideTag(id){ document.getElementById(id).style.display="none"; } /** * Engine */ var g_GameMode = null; var g_PlayerName = null; var g_Timer = null; var g_MoveStep = 1.0; var ...
var Vimeo = require('vimeo').Vimeo; var VimeoTrack = require('../../models/track/VimeoTrack'); function VimeoSearcher(config) { config = config || {}; var clientId = config.clientId; var clientSecret = config.clientSecret; if (!clientId || !clientSecret) { throw new Error('no passed clientId or clientSecr...
var expect = require('chai').expect; var helper = require('./queryHelper'); var mysql = require('../index.js'); var connection; describe('The mysql connection', function(done) { before('Connecting to MySQL', function(done) { mysql.createConnection({ host: process.env.DB_HOST, user...
import Upload from 's3-uploader'; import type { S3UploaderVersion, S3UploaderOptions, imageSize, Meta, image, } from 's3-uploader'; const myS3UploaderVersion: S3UploaderVersion = { original: true, suffix: '-test', quality: 1, maxWidth: 1, maxHeight: 1 }; const myS3UploaderOptions: S3UploaderOption...
import Maintenance from '../models/maintenance' class MaintenanceViewModel extends Maintenance { constructor(maintenance, isLastMaintenance, requiresMaintenance) { super(maintenance, isLastMaintenance, requiresMaintenance) this.editing = maintenance.editing } } export default MaintenanceViewModel
import Ember from 'ember'; import DS from 'ember-data'; const VisualModel = DS.Model.extend({ name: DS.attr('string'), alias: DS.attr('array'), route: Ember.computed.alias('id'), description: DS.attr('string'), variations: DS.hasMany('visual'), component: DS.attr('string'), stage: DS.attr(), modelType:...
const express = require('express'); const assert = require('assert'); const request = require('supertest'); // eslint-disable-line const { postPaymentsResponse } = require('../../lib/aspsp-resource-server/payments.js'); const { paymentsMiddleware } = require('../../lib/aspsp-resource-server'); const app = express(); c...
(function() { 'use strict'; const gulp = require('gulp'); const shell = require('shelljs'); const gutil = require('gulp-util'); const log = { success: function() { gutil.log(gutil.colors.green(this.format(arguments))); }, error: function() { gutil.log(gutil.colors.red(this.format(argu...
import i18next from 'eoxc/src/i18next'; export default i18next;
/* Highstock JS v9.2.2 (2021-08-24) All technical indicators for Highcharts Stock (c) 2010-2021 Pawel Fus License: www.highcharts.com/license */ 'use strict';(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/indicator...
/** * Tom Select v2.0.0-Beta.1 * Licensed under the Apache License, Version 2.0 (the "License"); */ import TomSelect from '../../tom-select.js'; /** * Converts a scalar to its best string representation * for hash keys and HTML attribute values. * * Transformations: * 'str' -> 'str' * null -> '' *...
'use strict'; const Chairo = require('chairo'); const Hapi = require('hapi'); const defaultConfig = require('./config'); const _ = require('lodash'); const Utils = require('./utils'); const Route = require('./route'); const BPromise = require('bluebird'); const Validation = require('./validation'); module.exports = S...
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. /* globals localStorage */ import Vue from 'vue'; import axios from 'axios'; import VueRouter from 'vue-router'; import App from './App'; import auth from './auth'; Vue.use(VueRou...
/*! * * Super simple wysiwyg editor v0.8.13 * https://summernote.org * * * Copyright 2013- Alan Hong. and other contributors * summernote may be freely distributed under the MIT license. * * Date: 2019-12-28T13:39Z * */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === '...
const Content = require('./content.js'); /** * @constructor * @extends Content */ class ImageContent extends Content { constructor(opt_config) { super(opt_config); }; setupInternal_() { const imgElem = $('<img>'); this.elem_.append(imgElem); this.imgElem_ = imgElem; } dispose() { super.dispose(); ...
/* Highstock JS v10.0.0 (2022-03-07) Indicator series type for Highcharts Stock (c) 2010-2021 Wojciech Chmiel License: www.highcharts.com/license */ (function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/indicators/chaikin...
define(["./Cartesian2-08065eec","./when-ad3237a0","./EllipseGeometry-fd2389dd","./Check-be2d5acb","./Math-5ca9b250","./GeometryOffsetAttribute-03006e80","./Transforms-1142ce48","./combine-1510933d","./RuntimeError-767bd866","./ComponentDatatype-a867ddaa","./WebGLConstants-1c8239cc","./EllipseGeometryLibrary-002b2f96","...
/** * @license Highstock JS v8.2.0 (2020-08-20) * @module highcharts/indicators/atr * @requires highcharts * @requires highcharts/modules/stock * * Indicator series type for Highstock * * (c) 2010-2019 Sebastian Bochan * * License: www.highcharts.com/license */ 'use strict'; import '../../Stock/Indicators/AT...
/* Highcharts JS v9.2.2 (2021-08-24) Annotations module (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/annotations",["highcha...
/** * @license Highcharts JS v8.1.1 (2020-06-09) * @module highcharts/modules/lollipop * @requires highcharts * * (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski * * License: www.highcharts.com/license */ 'use strict'; import '../../modules/lollipop.src.js';
/** @license ISC License (c) copyright 2017 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ module.exports = require('../core/isFunction')
/** * Node handling root expressions validation and evaluation (delegated to its * child). * */ 'use strict'; const base = require('./base'); const Node = base.Node; class ExpressionNode extends Node { init(source, astNode, scope) { this.expression = Node.from(source, astNode.expression, scope); } i...
import React from 'react' import { render } from 'react-dom' import { StyleSheet, LookRoot, Presets, Plugins } from '../modules' import App from './app.jsx' StyleSheet.addCSS({ '*': { padding: 0, margin: 0, fontFamily: '"Lato", sans-serif', fontWeight: 300, boxSizing: 'border-box', userSelec...
version https://git-lfs.github.com/spec/v1 oid sha256:c2e39a96f283b8ed2ec320f21b18e8ad19aea3801ede041c6abe9c4ea230f6f1 size 341109
(function () { 'use strict'; describe('Parcels List Controller Tests', function () { // Initialize global variables var ParcelsListController, $scope, $httpBackend, $state, Authentication, ParcelsService, mockParcel; // The $resource service augments the response ob...
/* ! * @overview Ember Data Model Fragments * @copyright Copyright 2015 Lytics Inc. and contributors * @license Licensed under MIT license * See https://raw.githubusercontent.com/lytics/ember-data-model-fragments/master/LICENSE * @version VERSION_STRING_PLACEHOLDER */
var sys = require('sys'); var spawn = require('child_process').spawn; require("../lib/lib"); VertexProcess = Proto.clone().newSlots({ protoType: "VertexProcess", exePath: '../../server.js', port: '8123', dbPath: 'test.db', delegate: null, silent: false, child: null }).setSlots({ launch: function() { //write...
const fs = require('fs'); const path = require('path'); const globby = require('globby'); const makeDir = require('make-dir'); const rimraf = require('rimraf'); /** * Check synchronously if a file exists or not * @param {Path} file - Path to file * @returns {Boolean} Boolean value */ const fileExists = (file) => {...
"use strict"; /* global loader: true, Type: true, error: true, RouteRuleInterface: true, require: true */ var di = require('../di'), Type = di.load('typejs'), error = di.load('error'), ViewInterface; /** * @license Mit Licence 2014 * @since 0.0.1 * @author Igor Ivanovic * @name ViewInterface * * @cons...
import rimraf from 'rimraf'; rimraf('/tmp/foo/bar/baz', {glob: true}, (err: ?Error) => {}); rimraf('/tmp/foo/bar/baz', (err: ?Error) => {}); // $FlowExpectedError rimraf(1);
import React from 'react'; import PropTypes from 'prop-types'; import Button from '@material-ui/core/Button'; import Container from '@material-ui/core/Container'; import { withStyles } from '@material-ui/core/styles'; import Typography from '../components/Typography'; const styles = theme => ({ root: { display: ...
#!/usr/bin/env node import * as scoreCore from '../core/score-core'; const logger = require('../util/logger')(__filename); _updateBiases() .then(() => { logger.info('Finished updating top_scores'); process.exit(); }) .catch(err => { logger.error('Updating top_scores errored', err); process.exit(1); }); funct...
version https://git-lfs.github.com/spec/v1 oid sha256:f06d9ef978ea55c3ddc8edd42e7fc195a0e9ebe59a9d531ddc3bd603bf11d2c5 size 595
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
/** * ResponseController * Abstract view controller for a Response. */ let ResponseController = JointSourceController.createComponent("ResponseController"); ResponseController.defineAlias("model", "response"); ResponseController.defineMethod("initView", function updateView() { if (!this.view) return; setElem...
var searchData= [ ['inputmessage',['InputMessage',['../structarctic_1_1_input_message.html',1,'arctic']]] ];
var gulp = require('gulp'); var jade = require('gulp-jade'); var stylus = require('gulp-stylus'); var coffee = require('gulp-coffee'); var concat = require('gulp-concat'); var rename = require('gulp-rename'); var replace = require('gulp-replace'); var gutil = require('gutil'); gulp.task('jade', function() ...