text
stringlengths
2
1.04M
const config = require('config'); const { format } = require('date-fns'); const log = require('./src/components/log')(module.filename); /** * Knex configuration * Set database configuration for application and knex configuration for migrations * and seeding. Since configuration values can change via env. vars or ...
//// [tests/cases/compiler/moduleAugmentationsImports2.ts] //// //// [a.ts] export class A {} //// [b.ts] export class B {x: number;} //// [c.d.ts] declare module "C" { class Cls {y: string; } } //// [d.ts] /// <reference path="c.d.ts"/> import {A} from "./a"; import {B} from "./b"; A.prototype.getB = functi...
import { searchVersionManage, deleteVersionManage } from '../../services/configManagement'; export default { namespace: 'metadataVersionManage', state: { dataSource: [], }, effects: { *fetch({ payload }, { call, put }) { const response = yield call(searchVersionManage, payload); if (respo...
module.exports = { rules: { // enforce spacing inside array brackets 'array-bracket-spacing': [ 'error', 'always' ], // allow/disallow an empty newline after var statement // https://github.com/eslint/eslint/blob/master/docs/rules/newline-after-var.md 'newline-after-var': [ 'error', 'always' ], ...
(function( window, undefined ) { kendo.cultures["lb-LU"] = { name: "lb-LU", numberFormat: { pattern: ["-n"], decimals: 2, ",": " ", ".": ",", groupSize: [3,0], percent: { pattern: ["-n %","n %"], ...
import mongoose from 'mongoose' mongoose.Promise = global.Promise export const createConnection = (url) => { return mongoose.connect(url) }
'use strict' const Joi = require('joi') const { renderVersionBadge } = require('../version') const { compare, isStable, latest } = require('../php-version') const { optionalUrl } = require('../validators') const { NotFound, redirector } = require('..') const { allVersionsSchema, keywords, BasePackagistService, ...
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import axios from 'axios'; export default class Blog extends Component { constructor(){ super(); this.state = { blogs:[] } } componentWillMount(){ axios.get('/api/blog').then(response=>{ ...
THREE.Object3D.DefaultUp.set(0, 0, 1); // const tr = THREE; // const zerorpc = require("zerorpc"); // const fs = require('fs'); // // import { } from 'app:../node_modules/ccapture.js/build/CCapture.all.min.js'; // // import {CCapture} from 'app:../node_modules/ccapture.js/build/CCapture.all.min.js' // // const HoloPl...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const option_names_1 = __importDefault(require("./option-names")); exports.default = [ option_names_...
var routes = { // Default route ==>> localhost/#/ '': function () { nx.importController('index', function() { indexController.index(); }); }, //==>> localhost/#/inbox 'inbox': function () { nx.importController('inbox', function() { inboxController.index(); }); }, //==>> local...
import {action, observable} from "mobx"; import React from 'react'; export default class AppState { @observable isLogin = false; // Is a super user @observable user = {isSuper: false,userID:0}; @observable sessionID = ""; @action getSessionID = () => { return this.sessionID; }; @ac...
// https://www.json.org/json-en.html Prism.languages.json = { 'property': { pattern: /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, greedy: true }, 'string': { pattern: /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, greedy: true }, 'comment': { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: true }, 'number': /-?\b\d+(?:\.\d+...
/** * @license Angular v5.0.1 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations'), require('@an...
//# sourceMappingURL=12.e2eb9c53.chunk.js.map
import { E } from '@agoric/eventual-send'; import { makePromiseKit } from '@agoric/promise-kit'; import { Far } from '@agoric/marshal'; export function buildRootObject() { const callbackObj = Far('callback', { callback(_arg1, _arg2) { // console.log(`callback`, arg1, arg2); return ['data', callbackOb...
/* Requiring services */ const CustomFS = require('./utils/fs-utils'); const Path = require('path'); const _ = require('lodash'); /* Class declaration */ class Module { constructor (currentDir) { this.currentDir = currentDir; this.controllers = {}; this._name = '_base'; this._routing = false; thi...
const pluginsConfig = require('../base/plugins.config.js'); const webpack = require('webpack'); pluginsConfig.push( new webpack.HotModuleReplacementPlugin(), new webpack.NoEmitOnErrorsPlugin() ); module.exports = pluginsConfig;
macDetailCallback("00c040000000/24",[{"d":"1998-04-22","t":"add","a":"15070-B AVENUE OF SCIENCE\nSAN DIEGO CA 92128\n\n","c":"UNITED STATES","o":"ECCI"},{"d":"2001-10-24","t":"change","a":"15070-B AVENUE OF SCIENCE\nSAN DIEGO CA 92128\n\n","c":"UNITED STATES","o":"ECCI"},{"d":"2015-08-27","t":"change","a":"15070-B AV...
Rickshaw.namespace('Rickshaw.Compat.ClassList'); Rickshaw.Compat.ClassList = function() { /* adapted from http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ if (typeof document !== "undefined" && !("classList" in document.createElement("a"))) { (function (view) { "use s...
/** * @license DEDUPE_ON_MINIFY * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * 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/LIC...
import _ from 'lodash'; import keycodes from './lib/keycodes'; import ParallaxLayer from './lib/Parallaxlayer'; import File from './lib/File'; import Folder from './lib/Folder'; import VideoFile from './lib/VideoFile'; import ImageFile from './lib/ImageFile'; import Bullet from './lib/Bullet'; import Shooter from './li...
var gapi=window.gapi=window.gapi||{};gapi._bs=new Date().getTime();(function(){/* gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/ function(a){return encodeURIComponent(a).replace(/%2C/g,",")};return[encodeURIComponent(a.pathPrefix).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/...
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "AssetLoader", "BaseTexture", "CanvasRenderer", "DisplayObject", "DisplayObjectContainer", "InteractionData", "InteractionManager", "MovieClip", "Point", "Rectang...
export default { datesPicked: [], formFields: { one: "", two: "", three: "", four: "", five: "", six: "", seven: "" } };
(function() { 'use strict'; var template = require('./appMainFooter.html'); module.exports = function appMainFooter() { return { //controller: 'AppMainFooterController', // Called from AppMainFooterController.js template: template, restrict: 'EA' //replace: true }; }; })();
"use strict"; const { builders: { indent, line, hardline, concat, group }, utils: { mapDoc }, } = require("../../document"); const { printTemplateExpressions, uncookTemplateElementValue, } = require("../print/template-literal"); // The counter is needed to distinguish nested embeds. let htmlTemplateLiteralCou...
/* * jquery.simulate - simulate browser mouse and keyboard events * http://jqueryui.com * * Copyright 2012 jQuery Foundation and other contributors * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ ;(function( $ ) { "use strict"; var rkeyEvent = /^key/, rmouseEvent = /^(...
'use strict'; var isPresent = require('is-present'); var hasClassSelector = require('has-class-selector'); module.exports = function classPrefix(prefix, options) { options = options || {}; var ignored = options.ignored; return function prefixRules(styling) { styling.rules.forEach(function(rule) { if...
/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.43.2 - 2021-10-26 * */
(function(a, b, c) { /* node_modules/kit/inc/core/defs.sibilant:53:9 */ return foo(this); }).bind(this); ; var R = require("ramda"); var { create, extend, mixin, conditional, cond, partiallyApplyAfter } = require("kit/js/util"); var { Interface } = require("kit-interface"); var { Actor, ...
// Generated by CoffeeScript 1.12.2 var NEST_API_HOSTNAME, NEST_API_LOGIN_PATH, NEST_API_PORT, NestApi, https, queryString, url, util; https = require('https'); queryString = require('querystring'); url = require('url'); util = require('util'); NEST_API_HOSTNAME = 'home.nest.com'; NEST_API_PORT = 443; NEST_API_L...
/*! nanoScrollerJS - v0.8.7 - (c) 2015 James Florentino; Licensed MIT */ //# sourceMappingURL=jquery.nanoscroller.min.js.map
/** * * Source: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/language-support * * The languages that Azure Translate supports alongside with their ISO 639-1 codes (not always correct iso code tho) * See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes */ const langs = { auto: 'Au...
import { r as registerInstance, h, g as getAssetPath } from './index-f4a4fd8c.js'; const myImageCss = "img{max-width:100%;max-height:100%;vertical-align:middle}"; const MyImage = class { constructor(hostRef) { registerInstance(this, hostRef); /** * The first name */ this.source = 'default.jpeg...
webpackJsonp([9,12],[function(e,t,n){n(1)},function(e,t,n){function o(){r=f.width(),i=f.height(),a=r/2,s=i/2,f.css({"margin-left":-a,"margin-top":-s})}window.jQuery=window.$=n(2),n(3),n(4),n(14),n(20),n(24),n(25);var r,i,a,s,f=$(".header-background img");$(window).on("load resize",o),$(window).on("load",function(){var ...
// // Vivado(TM) // rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6 // Copyright 1986-2016 Xilinx, Inc. All Rights Reserved. // var WshShell = new ActiveXObject( "WScript.Shell" ); var ProcEnv = WshShell.Environment( "Process" ); var PathVal = ProcEnv("PATH"); if ( PathVal.length == 0 ) { PathVal = "D:/xil...
var banner = require('./banner') var iit = module.exports = banner.submodule('iit') .fullName('Illinois Institute of Technology') .location('Chicago IL 60647') .timezone('America/New_York') .uses('banner') .configure({ seperateDepartments: true , seatsListedWithSections: false , section...
describe('pigLatin', function () { it('adds "ay" to the end of words that start with a vowel', function () { pigLatin("ear").should.equal("earay"); }); it('moves consecutive initial consonants at the beginning of a word and adds "ay"', function () { pigLatin('spear').should.equal('earspay'); }); it('moves an i...
const asyncRetry = require('async/retry'); const {spawnLightningCluster} = require('ln-docker-daemons'); const {test} = require('@alexbosworth/tap'); const {closeChannel} = require('./../../'); const {createChainAddress} = require('./../../'); const {createCluster} = require('./../macros'); const {createHodlInvoice} =...
import Vue from 'vue' import router from './router.js' import SocialSharing from 'vue-social-sharing' import axios from 'axios' Vue.prototype.$http = axios; Vue.use(SocialSharing); new Vue({ router: router, // routerにはrouter.jsファイルを設定します }).$mount('#app') // routerを適用する要素を設定(マウント)します
/** * Module depedencies */ var fs = require('fs'); var path = require('path'); var util = require('util'); var _ = require('@sailshq/lodash'); var transformTools = require('browserify-transform-tools'); module.exports = transformTools.makeStringTransform('machinepack', {}, function (code, transformOptions, done) ...
import $ from 'jquery'; import { DataSource } from 'data/data_source/data_source'; import { isRenderer } from 'core/utils/type'; import { noop } from 'core/utils/common'; import config from 'core/config'; import devices from 'core/devices'; import errors from 'ui/widget/ui.errors'; import executeAsyncMock from '../../....
var express = require('express'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var session = require('express-session'); var MongoStore = require('connect-mongo')(session); var app = express(); // mongodb connection mongoose.connect("mongodb://localhost:27017/photo-blog"); var db = mong...
export const capitalizeFirstLetter = function (string) { return string.charAt(0).toUpperCase() + string.slice(1); } export const toCamelCase = function (string) { return string.replace(/([-:]\w)/g, function($1) { return $1.toUpperCase().replace('-','').replace(':', '') }) } export default function formatName (nam...
/** * Created with JetBrains PhpStorm. * MyUserInfo: taoqili * Date: 12-6-12 * Time: 下午5:02 * To change this template use File | Settings | File Templates. */ UE.I18N['zh-cn'] = { 'labelMap':{ 'anchor':'锚点', 'undo':'撤销', 'redo':'重做', 'bold':'加粗', 'indent':'首行缩进', 'snapscreen':'截图', 'italic':'斜...
// Copyright 2018 OpenStax Poland // Licensed under the MIT license. See LICENSE file in the project root for // full license text. import schema from './schema' import renderInline from './render' import * as commands from './commands' export default function XReference() { return { commands, schema, renderInlin...
/* * mobile navigation base tag unit tests */ (function($){ var baseDir = $.mobile.path.parseUrl($("base").attr("href")).directory, contentDir = $.mobile.path.makePathAbsolute("../content/", baseDir), home = location.pathname + location.search, baseTagEnabled = $.mobile.dynamicBaseTagEnabled, baseTagSupporte...
import React from 'react' import PropTypes from 'prop-types' import { Button } from 'semantic-ui-react' import { Translate } from 'react-localize-redux' import { withRouter } from 'react-router' import classNames from '../../utils/classNames' import ArrowGrnImage from '../../images/icon-arrow-grn.svg' import ArrowWhit...
export const CheckSquareOutline = { name: 'check-square', theme: 'outline', icon: '<svg viewBox="64 64 896 896" focusable="false"><path d="M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6....
'use strict'; 'use-strict'; _powerAssertRecorder = function () { function PowerAssertRecorder() { this.captured = []; } PowerAssertRecorder.prototype._capt = function _capt(value, espath) { this.captured.push({ value: value, espath: espath }); return value; }; PowerAssertRecorder.prototype._expr = function _expr(v...
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Advancement of lastIndex es6id: 21.2.5.2.2 info: | 21.2.5.2.2 Runtime Semantics: RegExpBuiltinExec ( R, S ) [...] 12. Let flags be the value of R’s [...
const path = require('path') const {VueLoaderPlugin} = require('vue-loader') const HTMLWebpackPlugin = require('html-webpack-plugin'); const site = path.join(__dirname, '../../../site'); module.exports = { entry: path.join(site, 'main.ts'), module: { rules: [ { test: /\.js$/, use: 'babel-loader', exclude...
// ========================================================================== // Animation utils // ========================================================================== import is from './is'; export const transitionEndEvent = (() => { const element = document.createElement('span'); const events = { ...
var searchData= [ ['mat',['mat',['../structsalle__s.html#ad9934630b58b551f8f185dead2006ba6',1,'salle_s']]] ];
KB.on('dom.ready', function() { function savePosition(subtaskId, position) { var url = $(".subtasks-table").data("save-position-url"); $.ajax({ cache: false, url: url, contentType: "application/json", type: "POST", processData: false, ...
import { createSlice } from '@reduxjs/toolkit'; import reducers from './boardsReducers'; import extraReducers from './boardsThunks'; import getInitialState from './boardsInitialState'; export const boardsSlice = createSlice({ name: 'boards', initialState: getInitialState(), reducers, extraReducers, }); export...
class item { // o Math serve para não ter a chance de 2 itens terem o mesmo Id quando são chamados pelo localStorage static lastId = 0 + Math.random() * 1000; constructor(text, habit, priority, day, month, year) { this.id = item.lastId++; this.text = text; this.done = false; ...
/* Copyright (c) 2018-2020 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import {ProgressBarRounded, SIZE} from '../index.js'; export default function Scenario() { return ( ...
import React, { useCallback, useImperativeHandle, useMemo, useRef, useState, } from 'react'; import clsx from 'clsx'; import getScrollbarWidth, { contains, convertToArray, invoke, isNil, isNumber, validate, } from '../Utils'; import Checkbox from '../Checkbox'; import Radio from '../Radio'; import...
import React from "react"; const Column = props => { const size = props.size .split(" ") .map(size => "col-" + size) .join(" "); return <div className={size}>{props.children}</div>; }; export default Column;
({ doInit: function(component, event, helper) { console.log('doInit'); var eventParams = event.getParams(); if(eventParams.changeType === "LOADED") { component.get("v.recordInfo"); // record is loaded (render other component which needs record data value) co...
const path = require('path'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const WEBPACK_MODE = (typeof process.env.WEBPACK_MODE === 'undefined') ? "development" : process.env.WEBPACK_MODE; const OUTPUT_DIR= (typeof process.env.OUTPUT_DIR === 'undefined') ? path.resolve(__dirname, "dist") : process.en...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const { SyncBailHook } = require("tapable"); const { RawSource } = require("webpack-sources"); const ChunkGraph = require("./ChunkGraph"); const Compilation = require("./Compilation"); const HotUpdateChun...
function Controls() { let _matrix; let _stateManager; const THEMES = ['red-leds', 'yellow-leds', 'green-leds', 'blue-leds', 'white-leds', 'black-leds' ]; function init(stateManager, matrix) { _stateManager = stateManager; _matrix = matrix; ...
// 模板使用页面 appController.controller('designDetailCtrl', ['$scope', '$rootScope', '$sce', '$stateParams', '$ionicLoading', '$ionicScrollDelegate', '$ionicPopover', '$ionicPopup', '$timeout', '$state', 'localStorageService', 'ShareService', 'IonicService', 'MsgBox', 'WechatApi', 'Con', function($scope, $rootScope, $sce, $...
export function buildTree(data) { let map = new Map() let items = [] for (let item of data) { item.children = [] map.set(item.id, item) } for (let [, item] of map) { if (item.parentId === 0) { items.push(item) } else { let parent = map.get(item...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto...
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------------------------------...
/** * @flow */ const ListRole: AXObjectModelDefinition = { relatedConcepts: [ { module: 'ARIA', concept: { name: 'list', }, }, { module: 'HTML', concept: { name: 'ul', }, }, { module: 'HTML', concept: { name: 'ol', }, ...
'use strict'; var parenthesize = function(input, list) { if (list === undefined) { return parenthesize(input, []); } else { var token = input.shift(); if (token === undefined) { return list.pop(); } else if (token === "(") { list.push(parenthesize(input, [])); return parenthesize(...
import pkg from './package.json' import vuePlugin from 'rollup-plugin-vue' import scss from 'rollup-plugin-scss' import peerDepsExternal from 'rollup-plugin-peer-deps-external' import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' import ...
{% load djblets_js reviewtags %} el: document.body, reviewRequestData: { bugTrackerURL: "{% if review_request.repository.bug_tracker %}{% url 'bug_url' review_request.display_id '--bug_id--' %}{% endif %}", id: {{review_request.display_id}}, localSitePrefix: "{% if re...
jest.dontMock('../../components/shared/PageContainer.jsx'); jest.dontMock('classnames'); import React from 'react/addons'; import PageContainer from '../../components/shared/PageContainer.jsx'; const TestUtils = React.addons.TestUtils; function renderedOutput(elt) { const shallowRenderer = TestUtils.createRenderer...
'use strict'; const axios = require('axios'); const chalk = require('chalk'); const pick = require('lodash.pick'); const prettyjson = require('prettyjson'); const store = require('./services/store'); const url = 'http://api.mongoosecloud.io/api'; const deploymentProps = [ 'organizationName', 'repoName', 'branch...
/** * @author sunag / http://www.sunag.com.br/ */ import { Matrix4 } from '../../../../build/three.module.js'; import { InputNode } from '../core/InputNode.d.ts'; function Matrix4Node( matrix ) { InputNode.call( this, 'm4' ); this.value = matrix || new Matrix4(); } Matrix4Node.prototype = Object.create( Inpu...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
// This file was automatically generated from common.soy. // Please don't edit this file by hand. if (typeof apps == 'undefined') { var apps = {}; } apps.messages = function(opt_data, opt_ignored, opt_ijData) { return '<div style="display: none"><span id="subtitle">sjónrænt forritunarumhverfi</span><span id="block...
class Category { } // currently only shared by Weekly and Collection class BaseCollection extends Category { currentMarkers() { return [].concat(...this.items.map(item => item.currentMarkers())); } // “Sell” event handler shared by Weekly and Collection to be found in Collection. // And this comment is shor...
const express = require("express"); const router = express.Router(); // Import modules from other file const { adminValidation } = require("./middleware/verification"); const { createNewAccount, createAccountInformation, getAllRolesInformation, getAccountsByRole, createNewGuestAccount, updateGuestAccount, ...
"use strict"; // tslint:disable /** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage...
const path = require('path') require('dotenv').config({ path: `.env.${process.env.NODE_ENV}` }) module.exports = { siteMetadata: { title: `Gatsby Shopify Starter`, description: `Kick off your next, ecommerce experience with this Gatsby starter. This starter ships with credentials to a shopify demo store s...
;var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) { if (VueDemi.install) { return VueDemi } if (Vue) { if (Vue.version.slice(0, 2) === '2.') { if (VueCompositionAPI) { for (var key in VueCompositionAPI) { VueDemi[key] = VueCompositionAPI[key] } VueDemi.isVu...
const Settings = require('../settings'); class User { constructor(userData) { this.userData = userData; this.invalidDecks = undefined; } get _id() { return this.userData._id; } get disabled() { return this.userData.disabled; } get username() { retu...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const async = require("async"); const crypto = require("crypto"); const Tapable = require("tapable"); const EntryModuleNotFoundError = require("./EntryModuleNotFoundError"); const ModuleNotFoundError = re...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world, backgroundImg; var canvas, angle, tower, ground, cannon; var balls = []; var boats = []; var boatAnimation = []; var boatSpriteData; var boatSpriteSheet; var score = 0; fun...
'use strict'; (function() { function getCookieValue(name, defaultValue) { var value = document.cookie.match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)'); return value ? value.pop() : defaultValue; } function showHeader(visible) { if (bannerVisible === visible) { return; } const body =...
import React from 'react' import {connect} from 'react-redux' import {authenticate} from '../store' /** * COMPONENT */ const AuthForm = props => { const {name, displayName, handleSubmit, error} = props return ( <div> <form onSubmit={handleSubmit} name={name}> <div> <label htmlFor="em...
import DEFAULTS from '/modules/mmi/scripts/defaults.js'; import MMI, { validate, SourceFactory } from '/modules/mmi/scripts/main.js'; import DeckConfigApplication from '/modules/mmi/scripts/apps/DeckConfigApplication.js'; /** * Form application to configure settings of the Deck. */ export default class SourceConfig...
import React from 'react'; import Home from "modules/home/Home.js"; import 'App.scss'; const App = () => ( <Home /> ) export default App;
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { Postgr...
/*----------ws License and Copyright Notices-------- ws http://einaros.github.com/ws ----------------------------------- This file is based on or incorporates material from the projects listed below (collectively, “Third Party Code”). Microsoft is not the original author of the Third Party Code. The original copyr...
//// Protractor configuration file, see link for more information //// https://github.com/angular/protractor/blob/master/lib/config.ts //const { SpecReporter } = require('jasmine-spec-reporter'); //exports.config = { // allScriptsTimeout: 11000, // specs: [ // './e2e/**/*.e2e-spec.ts' // ], // capabilities: { ...
/* eslint-disable no-undef */ /* eslint-disable no-console */ let net = require('net'); let socks = require('./socks'); let server = net.createServer(); function info(tag, msg) { console.log(`${tag}:${JSON.stringify(msg)}`); } server.on('connection', client => { let state = 1; let remote1 = null; //let remote2 = nu...
import React, { Component } from "react"; import { Container, Row, Col, Button } from "reactstrap"; import "../App.css"; import { ReactComponent as Phone } from "../assets/svg/phone.svg"; import { ReactComponent as MapPin } from "../assets/svg/map-pin.svg"; import { ReactComponent as Mail } from "../assets/svg/mail.svg...
const { sum, sub, mult, div } = require("./operations"); const actionHandler = (operator, numbers) => { switch (operator) { case "sum": sum(numbers); break; case "sub": sub(numbers); break; case "mult": mult(numbers); break; case "div": div(numbers); ...
// Generated by purs bundle 0.14.4 var PS = {}; (function($PS) { // Generated by purs version 0.14.4 "use strict"; $PS["Control.Apply"] = $PS["Control.Apply"] || {}; var exports = $PS["Control.Apply"]; var apply = function (dict) { return dict.apply; }; exports["apply"] = apply; })(PS); (function($P...
const path = require('path') const express = require('express') const morgan = require('morgan') const compression = require('compression') const session = require('express-session') const passport = require('passport') const SequelizeStore = require('connect-session-sequelize')(session.Store) const db = require('./db'...
import React from 'react' import ReactDOM from 'react-dom' import { createStore, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import thunk from 'redux-thunk'; import Router from './components/Router' import rootReducer from './store/reducers/rootReducer' import './css/index.css'; const store =...
/** * WordPress View plugin. */ (function() { var VK = tinymce.VK, TreeWalker = tinymce.dom.TreeWalker, selected; tinymce.create('tinymce.plugins.wpView', { init : function( editor, url ) { var wpView = this; // Check if the `wp.mce` API exists. if ( typeof wp === 'undefined' || ! wp.mce ) ret...