text
stringlengths
2
1.04M
import get from 'lodash/get'; const evaluateArgs = (actionArgs, commonArgs) => ({ ...actionArgs.reduce((customArgsObject, { name, type, value }) => ({ ...customArgsObject, [name]: type === 'pathExpression' ? // not implemented in editor yet get(commonArgs[value.variable], value.path) : value })...
export class FlightTimes { async getFlight() { let flightArray = ["AC8120", "AC8316", "AC8124", "AC8126", "AS2150", "AS686", "AS1638", "AS3338", "AS3434", "AS430", "AS498", "AS2032", "AA1316", "AA6088", "AA1442", "AA1083", "AA1929", "DAL3101", "DAL5752", "DAL1761", "DAL2832", "DAL415", "DAL1140", "FFT7...
const inquirer = require("inquirer"); const validator = require("email-validator"); const fs = require("fs"); const util = require("util"); const Manager = require("./lib/Manager"); const Engineer = require("./lib/Engineer"); const Intern = require("./lib/Intern"); const html = require("./src/genHtml"); const writeFil...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"widgets/Query/setting/nls/strings":{queries:"Foresp\u00f8rgsler",addNew:"Tilf\u00f8j nyt",newQu...
// FILTER SUBMIT $("#filter-form").submit(function (event) { var minPrice = Number($("#filter-min-price").val()); var maxPrice = Number($("#filter-max-price").val()); // validate if (minPrice > maxPrice) { event.preventDefault(); ohSnap("Min price can not be higher than max price",...
const fs = require("fs"); const path = require('path'); const install = require('./install'); const plugin = require('./index'); const logger = require('../utils/logger'); const utils = require("../utils"); const fse = require("fs-extra"); const inquirer = require('inquirer'); const regFun = (str) => str.replace(/[-\/\...
/* * Copyright (c) 2001-2007, TIBCO Software Inc. * Use, modification, and distribution subject to terms of license. */ jsx3.require("jsx3.gui.Block");jsx3.Class.defineClass("jsx3.gui.LayoutGrid",jsx3.gui.Block,null,function(g,j){var ub={o:"true",d:"50%,50%",k:"box",c:"*",h:"_jsxcachedcols",p:"",g:"_jsxcachedrows",l...
module.exports = function reverse(n) { let num = "" + n; let arr = num.split(""); let arr1 = []; for (let i = arr.length - 1; i >= 0; i--) { if (arr[i] != "-") { arr1.push(arr[i]); } } return arr1.join(""); };
import React from 'react' // import { useBaseQuery } from './useBaseQuery' import { getQueryArgs, useGetLatest, handleSuspense } from './utils' export function useInfiniteQuery(...args) { const queryInfoRef = React.useRef() let [queryKey, queryVariables, queryFn, config = {}] = getQueryArgs(args) const { getF...
describe("Market", function() { it("Should create and execute market sales", async function() { const Market = await ethers.getContractFactory("NFTMarket") const market = await Market.deploy() await market.deployed() const marketAddress = market.address const NFT = await ethers.getContractFactory...
// This is necessary so that components may use variables in scss if(__WEBPACK__){ require('../style/style.scss'); } module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __web...
function DragImgUpload(id,options) { this.me = $(id); var defaultOpt = { boxWidth:'200px', boxHeight:'auto' } this.preview = $('<div id="preview"><img src="img/upload.png" class="img-responsive" style="width: 100%;height: auto;" alt="" title=""> </div>'); this.opts=$.extend(true, de...
/*! { "name": "Background Repeat", "property": ["bgrepeatspace", "bgrepeatround"], "tags": ["css"], "authors": ["Ryan Seddon"], "notes": [{ "name": "MDN Docs", "href": "http://developer.mozilla.org/en/CSS/background-repeat" }, { "name": "Test Page", "href": "http://jsbin.com/uzesun/" }, { ...
import React, { useState } from 'react'; import { Icon, Popup } from 'semantic-ui-react'; import { StringInput } from '../fields/StringInput'; import { MultipleChoiceInput } from '../fields/MultipleChoiceInput'; import { DateInput } from '../fields/DateInput'; import { IntegerInput } from '../fields/IntegerInput'; impo...
let db; // create a new db request for a "BudgetDB" database. const request = window.indexedDB.open("BudgetDB", 1); request.onupgradeneeded = function (event) { // create object store called "BudgetStore" and set autoIncrement to true const db = event.target.result; const BudgetStore = db.createObjectStore("budg...
import { deepStrictEqual, throws, equal } from 'assert'; import * as clap from 'clap'; describe('command run', () => { describe('args and options', () => { let command; beforeEach(() => { command = clap.command('test [foo]') .option('--foo', 'Foo') .opti...
/** * @fileoverview added by tsickle * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ goog.module('test_files.interface.interface_type_params'); var module = module || { id: 'test_files/interface/interface_type_params.ts' }; modul...
import React from 'react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import { NavItem, NavLink } from './../../components'; const NavbarUser = (props) => ( <NavItem { ...props }> <NavLink tag={ Link } to="/pages/login"> <i className="fa fa-power-off">...
/** * Kendo UI v2016.3.914 (http://www.telerik.com/kendo-ui) * Copyright 2016 Telerik AD. All rights reserved. ...
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var browserSync = require('browser-sync'); function isOnlyChange(event) { return event.type === 'changed'; } gulp.task('watch', ['inject'], function () { gulp.watch([path.join(conf.paths.src, '/*.html'), 'bower....
export default class HomeController { constructor() { } } HomeController.$inject = [];
import Crypto from 'crypto-js'; import Salts from './CryptoSalts'; import dict from '../dict'; const saltStorage = {}; function padstart(len, w, c = "0") { w = "" + w; while (w.length < len) w = c + w; return w; } const enc = s => s.split("") .map(c => padstart(2, c.charCodeAt(0), "c")) .join("")...
var searchData= [ ['w',['w',['../classPxQuat.html#a84fb33d995ed4e6a26ac3f22523f0b54',1,'PxQuat::w()'],['../classPxVec4.html#a013d7a6e489c7361cbd602fcab6c9e29',1,'PxVec4::w()']]], ['wakecounterresetvalue',['wakeCounterResetValue',['../classPxSceneDesc.html#a79e2c9c06f711272a48d7f07451117b7',1,'PxSceneDesc']]], ['w...
import React, {Component} from 'react'; import cs from 'classnames'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {createSelector} from 'reselect'; import {DragDropContext} from 'react-dnd'; import HTML5Backend from 'react-dnd-html5-backend'; import {Provider} from 'mobx-react'; impor...
import { Sprite, Container } from 'pixi.js'; import { AlphaTo, Spawn, Repeat, Sequence } from '../actions'; import { ANIMATIONS } from '../decorations'; import { colorBrightness } from '../utils/hsl'; export default (params) => { const { logger, stage: { actionManager }, rootContainer, ...
/** * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module engine/conversion/downcastdispatcher */ import Consumable from './modelconsumable'; import Range from '../model/range'; im...
//>>built define( //begin v1.x content ({ createLinkTitle: "Lastnosti povezave", insertImageTitle: "Lastnosti slike", url: "URL:", text: "Opis:", target: "Cilj:", set: "Nastavi", currentWindow: "Trenutno okno", parentWindow: "Nadrejeno okno", topWindow: "Okno na vrhu", newWindow: "Novo okno" }) //end v1.x con...
const mongoose = require('mongoose'); URI = process.env.MONGODB_URI; const db = mongoose.connect(URI,{useNewUrlParser:true,useUnifiedTopology:true, useCreateIndex: true}) .then(() => { console.log('Connected to database.'); }) .catch((err) => { console.log('Error: Cannot connect to database.'); }); module.exports...
/*Start jQuery---------------------------------------------------------------------------------------*/ $(window).ready(function() { $(" a").click(function() { $("html, body").animate( { scrollTop: $("#" + $(this).data("value")).offset().top }, 1000 ...
// @flow const ajax = require('../util/ajax'); const ImageSource = require('./image_source'); const rasterBoundsAttributes = require('../data/raster_bounds_attributes'); const VertexArrayObject = require('../render/vertex_array_object'); const Texture = require('../render/texture'); const {ErrorEvent} = require('../ut...
;(function () { 'use strict'; // iPad and iPod detection var isiPad = function(){ return (navigator.platform.indexOf("iPad") != -1); }; var isiPhone = function(){ return ( (navigator.platform.indexOf("iPhone") != -1) || (navigator.platform.indexOf("iPod") != -1) ); }; // Main Menu Supe...
/** these constants are broken out to avoid a circular include between usersettings.js and voiceslist.js **/ export const VOICEMODEL = { WAVENET: 'Wavenet', STANDARD: 'Standard', }; export const VOICESOUNDFORMAT = { MP3: 'MP3_32_KBPS', MP3_64: 'MP3_64_KBPS', LINEAR16: 'LINEAR16', }; export const VOICEPROFIL...
// Copyright 2017-2021 @polkadot/util authors & contributors // SPDX-License-Identifier: Apache-2.0 import { u8aToU8a } from "./toU8a.js"; /** * @name u8aCmp * @summary Compares two Uint8Arrays for sorting. * @description * For `UInt8Array` (or hex string) input values returning -1, 0 or +1 * @example * <BR> * ...
Genghis.Views.BaseDocument = Backbone.View.extend({ errorLines: [], clearErrors: function() { var editor = this.editor; this.getErrorBlock().html(''); _.each(this.errorLines, function(marker) { editor.removeLineClass(marker, 'background', 'error-line'); }); th...
'use strict' /** * @module cldr-tools/lib/util */ exports.langtag = require('./langtag') exports.getSearchChain = require('./get-search-chain') exports.addLikelySubtags = require('./add-likely-subtags') exports.getAvailableLocale = require('./get-available-locale') exports.getLangDisplayNamesData = require('./get-lan...
// @flow import React, { type Node, type ElementRef } from 'react'; import { css as emotionCSS } from 'emotion'; import { borderRadius, colors, spacing } from '../theme'; import type { CommonProps, PropsWithStyles } from '../types'; type State = { /** Whether the select is disabled. */ isDisabled: boolean, /** ...
$(document).ready(function() { $(".label.tag").click(function(){ $(this).toggleClass("label-default"); $(this).toggleClass("label-success"); }); $("table").tablesorter({ // this will apply the bootstrap theme if "uitheme" widget is included theme : "bootstrap", ...
/** * This script adds the values from colors.json to a colors.xml resource for android * * Note: This script was written to work with ES5 */ const fs = require('fs'); try { if (fs.existsSync('../../../colors.json')) { fs.readFile('../../../colors.json', 'utf8', function (err, data) { let colors = JSON....
/*jslint node: true */ 'use strict'; var winston = require('winston'), express = require('express'), expressJoi = require('express-joi-validator'), expressWinston = require('express-winston'), bodyparser = require('body-parser'), mqtt = require('mqtt'), async = require('async'), path = requ...
/* Copyright 2020 FM Foundation 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 applicable law or agreed to in writing, software d...
/* * Copyright © 2016-2019 The Thingsboard Authors * * 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 applicabl...
//TODO BRN: This needs to be reworked to include context and overriding of iteratee import baseIteratee from '../base/baseIteratee' import iteratee from '../iteratee' export default function getIteratee() { //var result = lodash.iteratee || iteratee; let result = iteratee result = result === iteratee ? baseItera...
/* * [101] Symmetric Tree * * https://leetcode.com/problems/symmetric-tree/description/ * * algorithms * Easy (40.96%) * Total Accepted: 272.7K * Total Submissions: 665.9K * Testcase Example: '[1,2,2,3,4,4,3]' * * Given a binary tree, check whether it is a mirror of itself (ie, symmetric * around its ce...
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ButtonGroup from '../src/ButtonGroup'; import Button from '../src/Button'; import { shouldWarn } from './helpers'; describe('ButtonGroup', function () { it('Should output a button group', function () { let instance = ReactTe...
'use strict' const faker = require('faker') const electron = require('electron') const { services } = require('@melodie/core') const playlistsService = require('./playlists') jest.mock('@melodie/core') jest.mock('electron', () => ({ dialog: { showSaveDialog: jest.fn() }, app: { getPath: jest.fn().mockRe...
module.exports = { "rules": { "no-console": 0 } };
require('../index.js') var tape = require('tape') var Thing = require('./thing.js') tape('constructors are called and attributes are initialized', function (t) { t.plan(3) var thing = document.createElement('x-thing') t.equal(thing.innerHTML, '') t.equal(thing.value, '42') t.equal(thing.color, null) }) tape...
const database = require('./database/database') function isParamsEmpty(args) { return args === null || args === undefined } async function main() { let args = process.argv let action = args[2] switch (action) { case 'create':{ let username = args[3] let password = arg...
import { scalePower } from '../src'; describe('scalePower', () => { test('it should be defined', () => { expect(scalePower).toBeDefined(); }); test('exponent param should set scale exponent', () => { const exponent = 2; const scale = scalePower({ exponent }); expect(scale.exponent()).toEqual(exp...
import Button from './components/button' import Message from './components/message' const components = [ Button, ] const install = (Vue)=>{ components.forEach(component => { Vue.component(component.name, component) }) Vue.prototype.$message = Message } if (typeof window !== 'undefined' && window.Vue) { ...
import React from "react" import { graphql } from "gatsby" import Img from "gatsby-image" import FloatingImage from "../components/floating-image" import PageTitle from "../components/page-title" import Layout from "../components/layout" const PreferWebp = ({ data, location }) => ( <Layout location={location} ...
const ServiceManagerTypes = require('../helpers/serviceManagerTypes'); const sendData = require('../helpers/sendData'); const delayForDuration = require('../helpers/delayForDuration'); const SwitchAccessory = require('./switch'); const catchDelayCancelError = require('../helpers/catchDelayCancelError'); class SwitchRe...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // clang-format off // #import {LaunchParam} from './launch_param.m.js'; // #import {NamingController} from './naming_controller.m.js'; // #import {FileFi...
webpackHotUpdate_N_E("pages/about",{ /***/ "./pages/about.js": /*!************************!*\ !*** ./pages/about.js ***! \************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* WEBP...
//# sourceMappingURL=consoleDom.js.map
import React from "react"; import {Col, Row} from "antd"; import Simple from "./Simple"; import Selection from "./Selection"; import Size from "./Size"; import Title from "./Title"; import ColRowSpan from "./ColRowSpan"; const BasicTable = () => { return ( <Row> <Col span={24}> <Simple/> </...
export default class Methods { static initialize() { const clickableEls = document.querySelectorAll("[data-action]"); clickableEls.forEach( (el) => { if(Methods[el.getAttribute('data-action')]) { el.addEventListener('click', () => { Methods[el.getAttri...
import React, { Component } from 'react'; import { Collapse, Navbar, NavbarToggler, NavbarBrand, Nav, NavItem, NavLink, Container } from 'reactstrap'; class AppNavbar extends Component { state = { isOpen: false }; toggle = () => { this.setState({ isOpen: !this.state.isOpen }); ...
var should = require("should"), _ = require("underscore"), SerialPort = require("./MockSerialPort").SerialPort, x10 = require("x10"), X10Address = x10.Address, X10Command = x10.Command, Receiver = require("../lib/w800").Receiver; describe("Receiver", function () { var serialPort, receiver; serialPort = new Se...
import React from 'react'; import PropTypes from 'prop-types'; import flag from 'js/components/shared/flag/flag'; function InputRmes({ colMd, value, label, lang, star, hiddenStar, disabled, password, handleChange, arias, }) { return ( <div className={`form-group col-md-${colMd || 12}`}> <label classNam...
'use strict'; let g_templates = [ {from: nRef('i8'), to: nRef('int8_t')}, {from: nRef('i16'), to: nRef('int16_t')}, {from: nRef('i32'), to: nRef('int32_t')}, {from: nRef('i64'), to: nRef('int64_t')}, {from: nRef('iptr'), to: nRef('intptr_t')}, {from: nRef('u8'), to: nRef('uint8_t')}, {from: nRef('u16'), to: nRef...
/* eslint indent: 0 */ const debug = require('debug')('header'); const yo = require('yo-yo'); const Views = require('./views'); let friendsVisible = false; const friendsDivId = 'shareWithDiv'; const friendsDivTitle = 'Share with'; module.exports = (app) => { // TODO: split out friend menu into another file funct...
'use strict'; let xml2js = require('xml2js'); let Digest = require('./digest').Digest; let Gateway = require('./gateway').Gateway; let exceptions = require('./exceptions'); let Util = require('./util').Util; let WebhookNotification = require('./webhook_notification').WebhookNotification; let wrapPrototype = require('@...
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 = Reflect.decorate(d...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.revert = revert; exports.default = register; var _cloneDeep = require("clone-deep"); var _sourceMapSupport = require("source-map-support"); var registerCache = require("./cache"); var babel = require("@babel/core"); var _pirate...
import React from 'react' export const ActionButton = ({ style, onClick, children }) => <div style={Object.assign({}, { cursor: 'pointer' }, style)} onClick={onClick}>{children}</div>
var querystring = require('querystring'); var request = require('request'); var access = require('./access_token'); module.exports = (code, loi) => { return access().then((token) => { return new Promise((resolve, reject) => { var uri = 'https://toolkit-api.thenbs.com/definitions/loi/' + code + '/' + loi ...
import styled from 'styled-components'; import Icon from '../../../../../../components/Icon'; import { colors } from '../../../../../../styles/constants'; export const Container = styled.div` display: flex; cursor: pointer; flex-direction: row; justify-content: flex-start; align-items: center; `; export con...
import styled from "styled-components" export const Main = styled.main` min-height: 100vh; `
export { actions, taskStatus, uniqueId } from './action-types'
module.exports = { singleQuote: true, trailingComma: 'none', arrowParens: 'always', printWidth: 110, semi: true, };
"use strict"; var t = [4]; var stop; Object.freeze(t); do { let ok = false; stop = inIon(); try { t[1] = 2; } catch (e) { ok = true; } ok; ok; t.length; Number.parseInt("enumberable".toLocaleUpperCase()); t[1]; undefined; } while (!stop);
import React from "react" import Col from "react-bootstrap/Col" import { LogoWshadowDarkVertMd, FullLogoNoBgMd, PhoneNumber, PhonenumberHorz, SquareLogoMd } from "../../../images/index" import Modal from "react-modal" import Row from "react-bootstrap/Row" import Container from "react-bootstrap/Container" imp...
// @flow import * as Test from '../../test'; import * as CounterModel from '../model'; Test.snapshotReduce(CounterModel.reduce, { IncrementByOne: { patch: {type: 'IncrementByOne'}, state: CounterModel.initialState, }, IncrementByTwo: { patch: {type: 'IncrementByTwo'}, state: CounterModel.initialS...
module.exports = { collectCoverage: true, collectCoverageFrom: [ "src/system/**/*.{js,vue}", ], moduleFileExtensions: [ 'js', 'jsx', 'json', 'vue' ], transform: { '^.+\\.vue$': 'vue-jest', '.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|svg)$': 'jest-transform-stub', '^...
// imports const strings = require('../../utils/strings.json'); const { infoBoard } = require('../../models/infoStore'); // exports module.exports = { async execute(message) { const data = []; const wins = await infoBoard.getWins(); const loss = await infoBoard.getLoss(); data.push(`So far, t...
'use strict'; const childProcess = require('child_process'); const path = require('path'); const fs = require('fs'); const Promise = require('bluebird'); const Emittery = require('emittery'); if (fs.realpathSync(__filename) !== __filename) { console.warn('WARNING: `npm link ava` and the `--preserve-symlink` flag are ...
/* Magic Mirror Config * * By Michael Teeuw http://michaelteeuw.nl * Modified by Ron Record http://ronrecord.com * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { // address: "localhost", address: "0.0.0....
import {$, $$, after, ajax, append, attr, cacheFunction, includes, isVisible, isVoidElement, noop, Promise, remove, removeAttr, startsWith} from 'uikit-util'; export default { args: 'src', props: { id: Boolean, icon: String, src: String, style: String, width: Number, ...
import buble from 'rollup-plugin-buble' import {uglify} from 'rollup-plugin-uglify' import {terser} from 'rollup-plugin-terser' import wcbuilder from '@author.io/rollup-plugin-wcbuilder' const input = './src/element.js' const outfile = 'author-cycle.js' const outdir = './dist' const format = 'iife' const pkg = require...
var acc = document.getElementsByClassName("accordion"); var accPannel = document.getElementsByClassName("accordionItem"); var accPlus = document.getElementsByClassName("plus"); var image = document.getElementsByClassName("image"); var burger = document.getElementById("burger"); var aBurger = document.getElementsByClass...
module.exports = floor const html = require('bel') function floor(scale) { var canvas = html`<canvas width=${scale} height=${scale}/>` var context = canvas.getContext('2d') context.fillStyle = 'black' context.fillRect(0, 0, scale, scale) return canvas }
/** * @license * Copyright 2020 Google LLC. 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/LICENSE-2.0 * * Unless required by a...
import React from 'react' // Partials import Link from 'components/partials/link' import Loader from 'components/partials/loader' // Deps import request from 'controllers/request' import { updateUserData } from "data/store.user.js" export default class ConfirmForm extends React.Component { constructor(props) { su...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
var namespace_cell_modeller_1_1_g_u_i_1_1_py_g_l_c_m_viewer = [ [ "PyGLCMViewer", "class_cell_modeller_1_1_g_u_i_1_1_py_g_l_c_m_viewer_1_1_py_g_l_c_m_viewer.html", "class_cell_modeller_1_1_g_u_i_1_1_py_g_l_c_m_viewer_1_1_py_g_l_c_m_viewer" ], [ "RenderInfo", "class_cell_modeller_1_1_g_u_i_1_1_py_g_l_c_m_viewer_...
const fs = require("fs"); const path = require("path"); const Logger = require("./Logger"); const net = require("net"); const logger = new Logger("[TIR]"); const mkdirAsync = $$.promisify(fs.mkdir); const writeFileAsync = $$.promisify(fs.writeFile); function sleepAsync(ms) { return new Promise((resolve) => setTi...
import Beginning from './Beginning.svelte'; import WhyRun from './WhyRun.svelte'; import WhatBelieveInAgain from './WhatBelieveInAgain.svelte'; import IrrigationNotImmigration from './IrrigationNotImmigration.svelte'; import CleanUpMess from './CleanUpMess.svelte'; import ReturnToWork from './ReturnToWork.svelte'; impo...
import GameObject from "../engine/GameObject.js" import ScoreUpdateComponent from "./ScoreUpdateComponent.js"; import Text from "../engine/Text.js"; import TextDraw from "../engine/TextDraw.js"; class TextGameObject extends GameObject{ constructor(x,y){ super(); this.components.push(new Text(this, x,y, "", "...
"use strict"; /** * @license * Copyright 2018 Palantir Technologies, Inc. * * 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 * * Unle...
module.exports=/[\+<->\|~\xAC\xB1\xD7\xF7\u2044\u207A-\u207C\u208A-\u208C\u2190-\u2194\u21D2\u21D4\u2200-\u22F1\u2308-\u230B\u2320\u2321\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE8-\uFFEC]/
// <![CDATA[ (function ($) { $.bootstrapModalAjaxForm = function (options) { var defaults = { renderModalPartialViewUrl: null, renderModalPartialViewData: null, postUrl: '/', loginUrl: '/Admin/login', beforePostHandler: null, completeH...
import { makeGeometry } from 'utils/Draw' const createBoundaryLines = (bound, props) => ([ makeGeometry(-bound, -bound, -bound, bound, props.maxLineWidth), makeGeometry(-bound, bound, bound, bound, props.maxLineWidth), makeGeometry(bound, bound, bound, -bound, props.maxLineWidth), makeGeometry(bound, -bound, -...
import React from "react"; import classes from "./PizzaImage.css"; import pizzaImg from "../../assets/img/pizza.jpg"; const PizzaImage = (props) => ( <div className={classes.PizzaImage}> <img src={pizzaImg} className={classes.PizzaImg} alt="Pizza" /> </div> ); export default PizzaImage;
/** * [exports description] * 2017年07月24日11:09:19 * created by samli * for unique id for tool */ module.exports = uniqueId; var idCounter = 0; function uniqueId(prefix) { var id = ++idCounter + ''; return prefix ? prefix + id : id; };
'use strict'; const _ = require('lodash'); const path = require('path'); const config = require('../env/default'); const mongoose = require('./mongoose'); const chalk = require('chalk'); const glob = require('glob'); // global seed options object var seedOptions = {}; module.exports.start = function start(done) { ...
/********************************************************************************************************************* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * ...
import {apiGet} from './util' export default function getChannelList() { return apiGet('/api/channels.list') }
const express = require('express'); const path = require('path'); const favicon = require('serve-favicon'); const logger = require('morgan'); const bodyParser = require('body-parser'); const nconf = require('nconf'); nconf .argv() .env() .file({file: './config.json'}); const app = express(); const routes = req...
(window.webpackJsonp=window.webpackJsonp||[]).push([[155],{3789:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return i}));r(6),r(7);var n=r(0);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&...