code stringlengths 2 1.05M |
|---|
"use strict";
function foo() {
var _this = this;
arr.map((function (x) {
babelHelpers.newArrowCheck(this, _this);
return x * x;
}).bind(this));
var f = (function (x, y) {
babelHelpers.newArrowCheck(this, _this);
return x * y;
}).bind(this);
(function () {
var _this2 = this;
return... |
/**
* API Bound Models for AngularJS
* @version v0.5.4 - 2013-11-08
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <iobaixas@gmai.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(angular, undefined) {
'use strict';
/**
* @namespace constants
*
* @d... |
/**
* React v0.10.0-rc1
*/
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.React=e()}}(function(){var define,module,exports;return... |
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": {
"0": "\u0635",
"1": "\u0645"
},
"DAY": {
"0": "\u0627\u064... |
'use strict'
module.exports = isExtraneous
function isExtraneous (tree) {
var result = !isNotExtraneous(tree)
return result
}
function isNotRequired (tree) {
return tree.requiredBy && tree.requiredBy.length === 0
}
function parentHasNoPjson (tree) {
return tree.parent && tree.parent.isTop && tree.parent.erro... |
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.io=e():"undefined"!=typeof global?global.io=e():"undefined"!=typeof self&&(self.io=e())}(function(){var define,module,exports;
return (function e(t,n,r){function s(o,u){if(!n[o]){if... |
/*
* /MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
*
* 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
*
* ht... |
/*
* Translated default messages for the jQuery validation plugin in lithuanian.
* Locale: LT
*/
jQuery.extend(jQuery.validator.messages, {
required: "Šis laukas yra privalomas.",
remote: "Prašau pataisyti šį lauką.",
email: "Prašau įvesti teisingą elektroninio pašto adresą.",
url: "Praša... |
/*
line-chart - v1.0.9 - 26 June 2014
https://github.com/n3-charts/line-chart
Copyright (c) 2014 n3-charts
*/
var directive, m, mod, old_m;
old_m = angular.module('n3-charts.linechart', ['n3charts.utils']);
m = angular.module('n3-line-chart', ['n3charts.utils']);
directive = function(name, conf) {
old_m.directiv... |
// Backbone React Component
// ========================
//
// Backbone.React.Component v0.8.0-alpha.1
//
// (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com>
// Backbone.React.Component can be freely distributed under the MIT license.
//
//
// `Backbone.React.Component` is a mixin that glues [Backbone... |
(function () {
var defs = {}; // id -> {dependencies, definition, instance (possibly undefined)}
// Used when there is no 'main' module.
// The name is probably (hopefully) unique so minification removes for releases.
var register_3795 = function (id) {
var module = dem(id);
var fragments = id.split('.');
var t... |
var spawnCommand = require('../'),
command = (process.platform === 'win32') ? 'echo "Hello spawn"' : 'echo "Hello spawn" | base64',
child = spawnCommand(command);
child.stdout.on('data', function (data) {
console.log('data', data.toString());
});
child.on('exit', function (exitCode) {
console.log('exit', ... |
exports.index = 1;
exports.show = 'nothing'
|
/**
* Copyright 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... |
var Stream = require('stream');
var json = typeof JSON === 'object' ? JSON : require('jsonify');
var through = require('through');
var nextTick = typeof setImmediate !== 'undefined'
? setImmediate
: process.nextTick
;
module.exports = function () {
var output = through();
output.pause();
output.que... |
/*
Copyright (c) 2004-2013, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojo.dnd.Avatar"]){
dojo._hasResource["dojo.dnd.Avatar"]=true;
dojo.provide("dojo.dnd.Avatar");
dojo... |
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Format.js
*/
/**
* Class: OpenLayers... |
/*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.0.3 - built Mon Jul 21 2014 11:58:33
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else {
/... |
// Array.indexOf polyfill for IE8
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function (searchElement, fromIndex) {
var k;
// 1. Let O be the result of calling ToObject passing
// the this value as the argument.
if (this ==... |
(function(root) {
(function(root) {
var StringScanner;
StringScanner = (function() {
function StringScanner(str) {
this.str = str != null ? str : '';
this.str = '' + this.str;
this.pos = 0;
this.lastMatch = {
reset: function() {
this.str = null;
this.c... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of so... |
YUI.add('io-upload-iframe', function(Y) {
/**
Extends the IO to enable file uploads, with HTML forms
using an iframe as the transport medium.
@module io-base
@submodule io-upload-iframe
@for IO
**/
var w = Y.config.win,
d = Y.config.doc,
_std = (d.documentMode && d.documentMode >= 8),
_d = decodeURIComp... |
// 20.2.2.20 Math.log1p(x)
module.exports = Math.log1p || function log1p(x) {
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
};
|
define(function() {
Q.module('WebGLRenderer');
});
|
//Assumes zopfli is installed
var glob = require('glob');
var fs = require('fs');
var execSync = require('execSync');
var isThere = require('is-there');
glob("../ajax/libs/**/package.json", function (error, matches) {
matches.forEach(function(element){
var package = JSON.parse(fs.readFileSync(element, 'ut... |
/*! lazysizes - v1.1.4-rc1 */
!function(a){"use strict";var b,c=a.createElement("img");"srcset"in c&&!("sizes"in c)&&(b=/^picture$/i,a.addEventListener("lazybeforeunveil",function(c){var d,e,f,g,h,i,j;!c.defaultPrevented&&!lazySizesConfig.noIOSFix&&(d=c.target)&&(f=d.getAttribute(lazySizesConfig.srcsetAttr))&&(e=d.pare... |
/*! UIkit 2.19.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/*
* Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
*/
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function"... |
/* eslint-disable react/jsx-props-no-spreading */
import React from 'react';
import { connect, getIn } from 'formik';
import { useTranslation } from 'react-i18next';
import { Col, FormGroup, Label, Input, InputGroup, FormText } from 'reactstrap';
import { FieldProps } from 'utils/types';
const MAX_GRID_SIZE = 12;
co... |
var gulp = require('gulp'),
gutil = require('gulp-util'),
isDist = (gutil.env.dist) ? true: false,
isDev = (gutil.env.stat) ? true: false,
server = require('./build-tasks/server'),
scripts = require('./build-tasks/scripts'),
styles = require('./build-tasks/styles'),
markup = require('./build-tasks/markup'),
de... |
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
(function(jQuery){
... |
// ==UserScript==
// @id iitc-plugin-show-portal-weakness@vita10gy
// @name iitc: show portal weakness
// @version 0.6
// @namespace https://github.com/breunigs/ingress-intel-total-conversion
// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plu... |
export const matchOn = (key) => (object) => (cases) => {
const type = object[key]
if (cases.hasOwnProperty(type)) {
return cases[type](object)
} else if (cases.hasOwnProperty("_")) {
return cases["_"](object)
} else {
throw new Error(`Unmatched pattern: ${type}`)
}
}
export const matchType = mat... |
import mod1207 from './mod1207';
var value=mod1207+1;
export default value;
|
const exp = module.exports = {}
const userMdw = require('./mdw')
// unauthorized /////////////////////
const unauthHtml = exp.unauthHtml = {
wel: '/msa/user/msa-user-signin.js',
attrs: {
unauthorized: true
}
}
// Perm ////////////////////////
exp.Perm = class {
constructor(expr, kwargs) {
this.expr = expr... |
var fs = require('fs');
var url = require('url');
var path = require('path');
var send = require('send');
var conf = require('./router.json');
var cache = {};
var pattern = conf.pattern;
var handler = require('../handler');
var confList = conf.list;
var shtmlReader = require('../resource/shtml');
/**
* 根据正则替换传入的字符串
*... |
'use strict';
let express = require('express');
let userStory = require('mongoose').model('User_Story');
let router = express.Router();
router.post('/', userStory.exCreate);
router.get('/:projectID', userStory.exGetAll);
router.put('/', userStory.exEdit);
router.put('/priority', userStory.exEditPriority);
... |
import React from "react"
import { Link } from "react-router"
import moment from "moment"
const General = (props) => {
return (
<div className="form-horizontal">
<div className="form-group">
<label className="col-sm-2 control-label">NAME</label>
<p className="form-control-static d-inline-b... |
var View = require('./view');
module.exports = View.extend({
name: 'content',
initialize: function (options) {
this.template = options.template;
}
});
|
<% if (sm === 'redux') { %>
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { List } from 'immutable';
import { action } from '../actions';
import TASK from '../actions/task';
import selector from '../selectors/task';<% } else { %>
import React from 'react';
import { observer, P... |
// see http://vuejs-templates.github.io/webpack for documentation.
var path = require('path')
module.exports = {
build: {
env: require('./prod.env'),
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPat... |
"use strict"
let cnt = 0
const mergeSort = (xs, left, right) => {
if (left + 1 < right) {
const mid = Math.floor((left + right) / 2)
mergeSort(xs, left, mid)
mergeSort(xs, mid, right)
merge(xs, left, mid, right)
}
}
const merge = (xs, left, mid, right) => {
const n1 = mid - left
const n2 = righ... |
/*
* This is a JavaScript Scratchpad.
*
* Enter some JavaScript, then Right Click or choose from the Execute Menu:
* 1. Run to evaluate the selected text (Ctrl+R),
* 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or,
* 3. Display to insert the result in a comment after the selection. (Ctrl+L)
... |
var pluralize = require('pluralize')
var unionKeys = require('../vendor/unionKeys')
var columnExtend = require('./modelExtend')
var Model = require('./Model')
function setModel(name, modelDefinition, dialect, defaults) {
var model = new Model()
if (defaults) defaults = {}
model.tableName = dialect.escapeI... |
var vec3 = require("vec3"),
color = require("color"),
createPool = require("create_pool");
var ParticlePrototype;
module.exports = Particle;
function Particle() {
this.drag = 0.01;
this.currentLife = 0;
this.lifeTime = 1;
this.size = 1;
this.color = color.create();
this.alpha =... |
'use strict';
var app = require('electron').app;
var BrowserWindow = require('electron').BrowserWindow;
var mainWindow = null;
app.on('ready', function() {
mainWindow = new BrowserWindow({
height: 600,
width: 800
});
//mainWindow.openDevTools();
mainWindow.loadURL('file://' + __dirn... |
window.shipData = {
"(无)": {
chineseName: "",
nameForSearch: "",
shipType: "",
rare: false
},
"長門": {
chineseName: "长门",
nameForSearch: "长门,changmen,chang men,Nagato,nagato",
shipType: "战舰",
rare: true
},
"陸奥": {
chineseName: "陆... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _bluebirdLst;
function _load_bluebirdLst() {
return _bluebirdLst = require("bluebird-lst");
}
var _bluebirdLst2;
function _load_bluebirdLst2() {
return _bluebirdLst2 = _interopRequireDefault(require("bluebird-lst"));
}
va... |
/*!
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
*/
import {EventEmitter} from 'events';
import SCR from 'node-scr';
import {proxyEvents, transferEvents} from '@webex/common';
import {WebexPlugin} from '@webex/webex-core';
import {filter, map, pick, some} from 'lodash';
import {detectFileType, pr... |
var pronto = require('../pronto');
var BufferedReader = require('../streams/bufferedreader');
/**
* Buffer the input stream of a request.
*
* This allows the incomming HTTP body to be buffered until it is later
* needed.This is very useful in cases where other longish transactions
* (like database queries) must ha... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var ClickCounter = exports.ClickCounter = function () {
function ClickCounter() {
... |
"use strict";
module.exports = require("@jsdevtools/eslint-config-modular/browser");
|
'use babel'
export default `
div(class="section-container user-support-helper")
div.container
div.row
span(class="text-right close-icon", href="#")
div(class="row content")
`
|
//Configuration
var express = require('express');
var app = express();
var mongo = require('mongodb').MongoClient;
var url = 'mongodb://localhost:27017/tutorial';
var passport = require("passport");
app.use(express.static(__dirname + "/public"));
var path = require('path');
var multer = require('multer')
//Router
var r... |
function incrementCounter(id, step) {
return {
type: 'INCREMENT_COUNTER',
id,
step
}
}
function decrementCounter(id, step) {
return {
type: 'DECREMENT_COUNTER',
id,
step
}
}
function addCounter(id, label, step) {
return {
type: 'ADD_COUNTER',
label,
step,
id
}
}
fu... |
import React from 'react'
import { Checkbox } from 'material-ui';
export default class MultipleCheckboxes extends React.Component {
constructor(props) {
super(props);
this.shouldComponentUpdate = this.shouldComponentUpdate.bind(this);
}
shouldComponentUpdate(nextProps) {
if(nextPro... |
/* eslint-disable import/prefer-default-export */
export const sum = (data, columns) => {
const defaultValue = 0;
return data.reduce((previous, current) => {
return columns
.map(c => ({ [c]: (previous[c] || defaultValue) + (current[c] || defaultValue) }))
.reduce((a, b) => Object.assign({}, a, b), ... |
//= link_directory ../javascripts/redirectr .js
//= link_directory ../stylesheets/redirectr .css
|
/**
* @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... |
var util = require('util'),
Store = require('../base'),
_ = require('lodash'),
debug = require('debug')('saga:mongodb'),
ConcurrencyError = require('../../errors/concurrencyError'),
mongo = Store.use('mongodb'),
mongoVersion = Store.use('mongodb/package.json').version,
isNew = mongoVersion.indexOf('1.') !... |
version https://git-lfs.github.com/spec/v1
oid sha256:839b318c8e34c567859b2d96a43b8729872fbbaf0bd0e5c50c1431777bfe16eb
size 882
|
//
// * Input-File for TJ-K axisymmetric solovev equilibrium *
// Iconst without X-point, elong AUG, Te_10eV,B0_0.07T,deuterium,Cref_1e-5
// -----------------------------------------------------------
{
"A" : 0,
"R_0" : 91.884233908188605,
"alpha" : 0.02,
"c" :
[
0.58136855188608583,
9.2... |
"use babel";
import gitCmd from "../git-cmd";
import Notifications from "../Notifications";
import { command as pull } from "./pull";
import { command as push } from "./push";
export default {
label: "Sync",
description: "Pull then push from upstream",
confirm: {
message: "Are you sure you want to sync with upst... |
const fs = require('fs');
module.exports = function (result) {
const stat = fs.statSync(result.name);
if (stat.isFile()) {
// TODO must also close the file, otherwise the file will be closed during garbage collection, which we do not want
// TODO #241 get rid of the open file descriptor
fs.unlinkSync(r... |
var searchData=
[
['inend',['InEnd',['../namespace_politechnikon_1_1game__logic.html#aa4499f0ebdf2f28e13e5b9e811fe00b4ae51bbf445c6eac27c2d5e106b3680ff4',1,'Politechnikon::game_logic']]],
['ingame',['InGame',['../namespace_politechnikon_1_1game__logic.html#aa4499f0ebdf2f28e13e5b9e811fe00b4a7f3d370e94c8b1fea098385720... |
import { flip, concat, propEq } from 'ramda'
//
// Action creators
//
const suffix = flip(concat)
export const requestTypeFor = suffix('_REQUEST')
export const receiveTypeFor = suffix('_RECEIVE')
export const errorTypeFor = suffix('_ERROR')
export const ApiCallType = {
REQUEST: 'REQUEST',
RECEIVE: 'RECEIVE',
ER... |
//
// Lansite Client RequestBox
// By Tanner Krewson
//
BoxNames.push('RequestBox');
RequestBox.prototype = Object.create(Box.prototype);
function RequestBox(data) {
Box.call(this, data.id, data.unique);
this.updateData(data);
}
//@Override
RequestBox.prototype.updateData = function(data) {
this.text ... |
/*
* Test case runner. Supports both ECMAScript tests and Duktape API
* C tests. Duktape API C tests are compiled on-the-fly against a
* dynamic or static library.
*
* Error handling is currently not correct throughout.
*/
var fs = require('fs'),
path = require('path'),
tmp = require('tmp'),
ch... |
var validate = function(regexString, truthy, falsy) {
var regex = new RegExp(regexString);
var error = function(value, expected) {
return 'Expected ' + value + ' to be ' + String(expected) + ' instead of ' + String(!expected) + '!';
};
for (var i = 0; i < truthy.length; i++) {
if (regex.test(truthy[i]... |
describe('KeyCoder', function() {
it('all keys returns the correct number of keys', function() {
expect(Keycoder.allKeys().length).to.equal(100);
});
it('creates all named keys', function() {
Keycoder.allKeys().forEach(function(key) {
key.names.forEach(function(name) {
expect(Keycoder.key[... |
define(['jquery','DoughBaseComponent','chosen'], function ($, DoughBaseComponent, chosen) {
'use strict';
var AutoCompleteProto,
defaultConfig = {};
function AutoComplete($el, config) {
AutoComplete.baseConstructor.call(this, $el, config, defaultConfig);
}
DoughBaseComponent.extend(AutoComplete);... |
import React from "react";
import PropTypes from "prop-types";
import moment from "moment";
import Immutable from "immutable";
import LightComponent from "ui-lib/light_component";
import { Row, Column, Header, Section, Loading } from "ui-components/layout";
import { CardList, JobSpecCard, JobCard } from "ui-components... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var angular = require('angular');
require('angular-bootstrap');
var settings = angular.module('prex.settings', ['ui.bootstrap']);
var RootFolderModalCtrl = function ($scope, $modalInstance) {
$scope.paths = [{}];
$scope.ok = function () {
$modalInstance.close($scope.paths);
};
$scope.remove = function ... |
var events = require('events');
var util = require('util');
var Worker = function(){
events.EventEmitter.call(this);
var self = this;
process.on('message', function(msg){
self.dispatcher(msg);
});
};
util.inherits(Worker, events.EventEmitter);
Worker.prototype.dispatcher = function(msg){
... |
export { default } from './switcher-mpref';
|
var colors = require('colors')
var prefix = '[CKStyle] '.cyan
function out(msg) {
console.log(msg)
}
function log(msg) {
console.log(prefix + msg)
}
function warn(msg) {
console.log(prefix + msg.yellow)
}
function error(msg) {
console.log(prefix + msg.red)
}
function ok(msg) {
console.log(pref... |
(function () {
'use strict';
angular
.module('app.meerp.services')
.service('errorService', errorService);
function errorService() {
return {
handleError: handleError,
};
function handleError(error) {
}
}
})();
|
jQuery(document).ready(function() {
jQuery('#filterKommuner').fastLiveFilter('#kommuner ul',
{callback:
function(numShown) {
if( jQuery('#filterKommuner').val().length == 0 ) {
jQuery(document).trigger('monstring_not_searching');
} else if(numShown == 0) {
jQuery(document).trigger('monstring_no... |
import React from 'react';
import styled from 'styled-components';
import Icon from '../Icon/Icon';
import Tooltip from '../Overlay/Tooltip';
import { FileButton, SelectInput, TextareaInput, TextInput } from './FieldBox';
import { field as propTypes } from '../../helpers/propTypes';
const Status = styled.div`
bottom... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import FormLabel from '@material-ui/core/FormLabel';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import RadioGroup from '@material-ui/core/RadioGroup';
import Radio from '@... |
!function(e,n){if("function"==typeof define&&define.amd)define(["exports"],n);else if("undefined"!=typeof exports)n(exports);else{var t={exports:{}};n(t.exports),e.temperature=t.exports}}(this,function(e){"use strict";function n(e){return 9*e/5+32}function t(e){return e+273.15}function i(e){return 5*(e-32)/9}function r... |
// flow-typed signature: 1466e36b1ef82dc9829709c974e5b4a4
// flow-typed version: <<STUB>>/webpack_v2.1.0-beta.25/flow_v0.33.0
/**
* This is an autogenerated libdef stub for:
*
* 'webpack'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the... |
angular.module('gamilms_directives', [])
.directive('gamiUnit', ['$gamiEvent', function($gamiEvent) {
return {
restrict: 'AE',
// scope:{
// $uibModalInstance: '&'
// },
link: function($scope, $element, $attr) {
//$element.cont... |
import React, { Component } from 'react';
import Helmet from 'react-helmet';
import { config } from 'config';
import { Link } from 'react-router';
import { prefixLink } from 'gatsby-helpers';
class Enter extends Component {
constructor(props) {
super(props);
this.state = {
visible: true,
fade: fa... |
goog.provide('ol.webgl');
goog.provide('ol.webgl.WebGLContextEventType');
/**
* @const
* @private
* @type {Array.<string>}
*/
ol.webgl.CONTEXT_IDS_ = [
'experimental-webgl',
'webgl',
'webkit-3d',
'moz-webgl'
];
/**
* @enum {string}
*/
ol.webgl.WebGLContextEventType = {
LOST: 'we... |
const phrases = require('./../phrases')
const smsProcessor = require('./../smsprocessor')
const stringProcessor = require('./../stringprocessor')
const Q = require('q')
const logger = require('winston')
const processResponseTextPromise = (data) => {
let uncasedMessage = stringProcessor.stringToWords(data.originalTex... |
import Form from './FormContainer';
export default Form;
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createFraction = void 0;
var _factory = require("../../../utils/factory");
var _collection = require("../../../utils/collection");
var name = 'fraction';
var dependencies = ['typed', 'Fraction'];
var createFraction =
/* #__PURE__... |
'use strict';
require('dotenv').config({path: `${__dirname}/../.env`});
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
mongoose.connect(process.env.MONGODB_URI);
const userMocks = require('../test/lib/user-mocks');
const appointmentMocks = require ('../test/lib/appointment-mocks');
function... |
/**[@test({ "title": "TruJS.compile._FileObj: string path and data" })]*/
function testFileObj1(arrange, act, assert, module) {
var fileObj, path, data, res;
arrange(function () {
fileObj = module(["TruJS.compile._FileObj", []]);
path = "/base/path/file.js";
data = "file data";
});
act(function ()... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... |
/**
* Main file
* Pokemon Showdown - http://pokemonshowdown.com/
*
* This is the main Pokemon Showdown app, and the file you should be
* running to start Pokemon Showdown if you're using it normally.
*
* This file sets up our SockJS server, which handles communication
* between users and your server, and also s... |
var classKalman__RBPF__BS =
[
[ "Kalman_RBPF_BS", "classKalman__RBPF__BS.html#aafe2ff44ff6a1b12f5843d4596e0fa13", null ],
[ "~Kalman_RBPF_BS", "classKalman__RBPF__BS.html#addf3730ab56740f7247835aaa62c018c", null ],
[ "filter", "classKalman__RBPF__BS.html#a195efd6d06215aa66defda0bb5a958e4", null ],
[ "fS... |
import partial from 'array.partial'
const identity = c => c
export default (node, childProp = 'children', childSelector = identity) =>
partial(node[childProp], c => childSelector(c).checked) || node[childProp].some(c => childSelector(c).partial)
|
/* */
(function(process) {
var ImportInliner = require('./imports/inliner');
var rebaseUrls = require('./urls/rebase');
var tokenize = require('./tokenizer/tokenize');
var simpleOptimize = require('./selectors/simple');
var advancedOptimize = require('./selectors/advanced');
var simpleStringify = require('... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.0-rc7-master-80a8929
*/
!function(t,i,n){"use strict";i.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$animate","$rootElement","$window","$log","$$rAF","$document",function(t,i... |
(function() {
'use strict';
angular.module('ShoppingList', ['ui.router', 'spinner']);
})(); |
'use strict';
/* jshint ignore:start */
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
/* jshint ignore:end */
var _ = require('lodash'); /* jshint ignore:line */
var Holodeck = require('../../../../holodeck'); /* jshint ignore:line */
var Request... |
import React from 'react';
import PropTypes from 'prop-types';
type Props = {
data: PropTypes.object.isRequired,
xScale: PropTypes.func.isRequired,
yScale: PropTypes.func.isRequired,
colorScale: PropTypes.func.isRequired
}
export default ({
data,
xScale,
yScale,
colorScale
}: Props) => {
return (
... |
'use strict';
//angular.module('myApp.view2', ['ngRoute'])
//
//.config(['$routeProvider', function($routeProvider) {
// $routeProvider.when('/view2', {
// templateUrl: 'view2/view2.html',
// controller: 'View2Ctrl'
// });
//}])
app.controller('View2Ctrl', ['$scope','$http','$modal','$localStorage','Book',fun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.