text
stringlengths
2
1.04M
import {LOAD_TASKS} from "../types/tasks"; const TasksReducer = (state = {}, action ) => { switch (action.type) { case LOAD_TASKS: return { tasks: action.payload } default: return state; } } export default TasksReducer;
var Roblox = Roblox || {}; if (typeof Roblox.Plugins === 'undefined') { Roblox.Plugins = {}; } Roblox.Plugins.Manage = (function () { var installedPlugins = []; var init = function () { var installedPluginJson = window.external.GetInstalledPlugins(); var count = 0; if (installedPluginJson.length > 0) { ...
/** * @license * Copyright Google LLC 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 */ import 'core-js/es/reflect';
import { AnimationClip, Bone, Box3, BufferAttribute, BufferGeometry, ClampToEdgeWrapping, Color, DirectionalLight, DoubleSide, FileLoader, FrontSide, Group, ImageBitmapLoader, InterleavedBuffer, InterleavedBufferAttribute, Interpolant, InterpolateDiscrete, InterpolateLinear, Line, LineBasicMaterial,...
'use strict'; /*group of common test goes here as describe*/ describe('search service ', function(){ var searchFactory, utils, $rootScope, $scope, controllerProvider, searchService, deferred, $q, primaryFilter, $httpBackend, $templateCache, API, searchResponse, groupGenderResponse, genderGroupHeade...
const Content = [ ["Skills", "Networking", "C", "ZIG", "Artificial Intelligence", "Machine learning", "Embedded", "Making stuff", "Internet of Things", "OS Development", "Bots"], ["Usually playing", "Dota 2", "CS:GO", "Apex Legends", "Ruletka Gabena", "Cyberpunk 2077", "Fall Bros", "Mini Motorways", "GTAV RP"], ["S...
'use strict'; module.exports = ctx => function render(text, engine, options) { return ctx.render.renderSync({ text, engine }, options); };
'use strict'; /** * Created by Administrator on 2017/7/2 0002. */ var _mongoose = require('mongoose'); var _mongoose2 = _interopRequireDefault(_mongoose); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = function (done) { const Schema = _mongoose...
import * as types from './mutation-types' const mutations = { [types.ADD_TO_CART](state,goods){ goods.checked=false; state.cartList.push(goods) }, [types.INCREMENT_COUNT](state,payload){ //state.cartList[index].count+=1 payload.count+=1; } /*[types.INCREMENT_COUNT](state,payload){ payload...
var React = require('react'); var numeral = require('numeral'); var currentCurrency = $('meta[name="current_currency"]').attr('content'); import CheckoutItem from './CheckoutItem'; var CheckoutItems = React.createClass({ render() { var total = 0; var checkoutItems = Object.keys(this.props.cartItems).map(funct...
/* global Module */ /* Magic Mirror * Module: MMM-PIR-Sensor * * By Paul-Vincent Roll http://paulvincentroll.com * MIT Licensed. */ Module.register('MMM-PIR-Sensor',{ defaults: { sensorPIN: 22, relayPIN: false, powerSaving: true, relayOnState: 1, }, // Override socket notification handler. socketNo...
var common = require('./common.js'); exports.transform = function (model) { var _fileNameWithoutExt = common.path.getFileNameWithoutExtension(model._path); model._jsonPath = _fileNameWithoutExt + ".swagger.json"; model.title = model.title || model.name; model.docurl = model.docurl || common.getImproveT...
import { geoEdgeEqual } from '../geo'; import { utilArrayIntersection } from '../util'; export const actionAddMidpoint = (midpoint, node) => { return (graph) => { graph = graph.replace(node.move(midpoint.loc)); let parents = utilArrayIntersection( graph.parentWays(graph.entity(midpoin...
const Logger = require('./Logger'); const CloudWatchLogs = require('./CloudWatchLogs'); class CWLogger extends Logger { constructor(options = {}) { super(options); this._cwlogs = new CloudWatchLogs(options); } /** * @inheritDoc */ onSend(messages, resolve, reject) { // Adapter for AWS Cloud...
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return Promise.resolve([ { id: 1,...
const optionFlagDefaultModel = { desc: null, required: false, deprecated: false, //if null - don't show any empty: null, type: null, //it must be undefined to avoid calling fargv.default for in vain in fargv.optionFlag default: undefined, alias: null, examples: null, }; module.exports = optionFla...
import fs from 'fs'; import path from 'path'; import { expect } from 'chai'; import jscodeshift from 'jscodeshift'; import transform from './dialog-title-props'; import readFile from '../util/readFile'; function read(fileName) { return readFile(path.join(__dirname, fileName)); } describe('@material-ui/codemod', () ...
const test = require('ava') const compile = require('../../helpers/compile') const { escape } = require('../../..') const { join } = require('path') test('template: component', async assert => { var { template } = await compile('<template foo>foo</template><foo/>') assert.deepEqual(template({}, escape), 'foo') }) ...
export default class Msg { /** * Msg constructor * @param {String} channel - channel to join * @param {String} [url] - websocket server url */ constructor(channel, url = '<%=url%>') { this.url = url; this.channel = channel; this.handler = {}; this.q = []; this.init(); ...
// @flow /** * Part of GDL gdl-frontend. * Copyright (C) 2019 GDL * * See LICENSE */ import React, { PureComponent } from 'react'; import styled from '@emotion/styled'; import { colors } from '../../style/theme'; const SIZE = 8; const VISIBLE = 4; const MARGIN = 1; const DotContainer = styled('div')` display: ...
const config = { projectName: 'myapp', date: '2021-3-1', designWidth: 750, deviceRatio: { 640: 2.34 / 2, 750: 1, 828: 1.81 / 2 }, sourceRoot: 'src', outputRoot: 'dist', plugins: [], defineConstants: { }, copy: { patterns: [ ], options: { } }, framework: 'react', m...
(function () { 'use strict' var loadCSS = require('./lib/loadCSS') var onScroll = require('./lib/onScroll') var onClickMenu = require('./lib/onClickMenu') var onClickVideo = require('./lib/onClickVideo') document.addEventListener('DOMContentLoaded', onDOMLoad) function onDOMLoad () { // Variables Global...
import classNames from "classnames"; import PropTypes from "prop-types"; import React from "react"; class TabViewList extends React.Component { getChildren() { const { activeTab, children } = this.props; return React.Children.map(children, (tab, index) => { if (tab.props.id === activeTab || (!activeTa...
function Car(){ this.collection = [] } Car.prototype = { make: function(make, litres, year, group){ this.collection.push({ name: make, engineSize: litres, Reg: year, Group: group }) } }
describe('Mi primera navegación en Google', function(){ it('Vamos a "buscar" en google', function(){ url_env('dev') //cy.visit(url_envDos('cypress_prod')) cy.contains('type').click() cy.url().should('include','/commands/actions') cy.get('.action-email') .type('fake@email.com') .should('have.v...
/** * @license Copyright 2017 The Lighthouse 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/LICENSE-2.0 * Unless required by applica...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/createSvg...
'use strict'; 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": [ "am", "pm" ], "DAY": [ "\u0930\u0935\u093f\u...
/** * @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 plural(n) { va...
// @flow import { FieldTextStateless } from '@atlaskit/field-text'; import React from 'react'; import { Dialog } from '../../../base/dialog'; import { translate } from '../../../base/i18n'; import { getFieldValue } from '../../../base/react'; import { connect } from '../../../base/redux'; import AbstractSharedVideoDi...
import {Locale} from './constructor'; var proto = Locale.prototype; import {calendar} from './calendar'; import {longDateFormat} from './formats'; import {invalidDate} from './invalid'; import {ordinal} from './ordinal'; import {preParsePostFormat} from './pre-post-format'; import {relativeTime, pastFuture} from './r...
import Button from './src/button.vue' import ButtonGroup from './src/button-group.vue' import Icon from './src/icon.vue' import Col from './src/col.vue' import Row from './src/row.vue' import Collapse from './src/collapse.vue' import CollapseItem from './src/collapse-item.vue' import Content from './src/content.vue' im...
/* * Copyright (c) 2012 Trent Mick. All rights reserved. * * Test the `bunyan` CLI. */ var p = console.warn; var path = require('path'); var exec = require('child_process').exec; var _ = require('util').format; var vasync = require('vasync'); // node-tap API if (require.cache[__dirname + '/tap4nodeunit.js']) ...
const axios = require("axios"); const cheerio = require("cheerio"); const fs = require("fs"); let output = []; function writeFile(data) { fs.writeFile("output.json", JSON.stringify(data), "utf8", function (err) { if (err) { console.log("An error occured while writing JSON Object to File."); return c...
// 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...
/** * === IFFParser === * - Parses data from the IFF buffer. * - LWO3 files are in IFF format and can contain the following data types, referred to by shorthand codes * * ATOMIC DATA TYPES * ID Tag - 4x 7 bit uppercase ASCII chars: ID4 * signed integer, 1, 2, or 4 byte length: I1, I2, I4 * unsigned integer, ...
// // IMPORTS // import React from 'react' import { Provider } from 'react-redux' import { Router, Route, browserHistory } from 'react-router' import Index from './Index' // // COMPONENT // const Root = ({store}) => ( <Provider store={store}> <Router history={browserHistory}> <Route path='/' component={...
/* * Lab1.js * Brett Ratner * * The purpose of this assignment is to get familiar with the prompt, and alert * functions. As well as taking in information that is given to us by the user * and being able to manipulate that data and convert it into different data types. */ //Calculation 1 //Asks the user for t...
'use strict'; var _commerce = require('util/commerce.js'); var _payment = { // 获取支付信息 getPaymentInfo: function (orderNumber, resolve, reject) { _commerce.request({ url: _commerce.getServerUrl('/order/pay.do'), data: { orderNo: orderNumber }, ...
// @flow import React from 'react' import Page from '../components/Page' export default () => ( <Page title="Contact us"> <div>Contact</div> </Page> )
/** * Created by yfyuan on 2016/12/5. */ cBoard.controller('userAdminCtrl', function ($scope, $http, ModalUtils, $filter) { var translate = $filter('translate'); $scope.optFlag; $scope.curUser; $scope.filterByRole = false; $scope.userKeyword = ''; $scope.tab = 'menu'; $http.get("admin/i...
'use strict'; const crypto = require('crypto'); const add = (x, y) => x + y; const concat = (xs, ys) => xs.concat(ys); // Combinators. exports.B = (f, g) => x => f(g(x)); exports.I = x => x; exports.K = x => _ => x; //jshint ignore:line exports.append = (value, xs) => xs.slice(0).concat([value]); exports.assoc = (...
const config = { ...require("@snowpack/app-scripts-react/jest.config.js")(), } // `lodash-es` doesn't work in Jest, so we install `lodash` just in devDependencies // and map `lodash-es` to it config.moduleNameMapper = config.moduleNameMapper || {} config.moduleNameMapper["^lodash-es$"] = "lodash" module.exports = c...
import { login, logout, getUserInfo } from '../../api/login' import { getToken, setToken, removeToken } from '../../utils/auth' const user = { state: { user: '', status: '', code: '', token: getToken(), name: '', avatar: '', introduction: '', roles: [...
/*eslint-env mocha*/ /* * geo-tales-mobile * * Copyright (c) 2015 Maximilian Antoni <mail@maxantoni.de> * * @license MIT */ 'use strict'; const assert = require('assert'); const color = require('../lib/color'); describe('colors', () => { let c; beforeEach(() => { c = color(10); }); it('creates bac...
"use strict"; var $ = require("jquery"), ko = require("knockout"), compareVersion = require("../../core/utils/version").compare; if(compareVersion($.fn.jquery, [2, 0]) < 0) { var cleanKoData = function(element, andSelf) { var cleanNode = function() { ko.cleanNode(this); }; ...
import React from 'react' import { Feed } from 'semantic-ui-react' const events = [ { date: '1 Hour Ago', image: '/assets/images/avatar/small/elliot.jpg', meta: '4 Likes', summary: 'Elliot Fu added you as a friend', }, { date: '4 days ago', image: '/assets/images/avatar/small/helen.jpg', ...
//~ name c328 alert(c328); //~ component c329.js
Template.afCheckboxGroup_buttonGroup.helpers({ atts: function selectedAttsAdjust() { var atts = _.clone(this.atts); atts.checked = this.selected; // remove data-schema-key attribute because we put it // on the entire group delete atts['data-schema-key']; return atts; }, dsk: function dsk()...
// Crée par Joachim Zadi le 14/03/2022 à 14:49. Version 1.0 // ======================================================== // EXERCICE 10 // Le jeu consiste à découvrir par essais successifs le prix d'un lot. // Pour chaque essai, le joueur reçoit un message : // « Trop grand », « Trop petit » ou « BRAVO ! Vous avez trou...
import React, { Component } from 'react' import { BrowserRouter as Router, Route} from 'react-router-dom' import Home from './page/Home' import Main from './page/Main' import Redirect from 'react-router/Redirect'; class App extends Component { constructor(props){ super(props) this.state = { user...
// Update with your config settings. // var pg = require('pg') // pg.defaults.ssl = true // Forces SSL to Heroku require('dotenv').config() module.exports = { development: { client: 'postgresql', connection: { host: process.env.DB_HOST, user: process.env.DB_USER, password: process.env.DB_PA...
import { h } from 'preact'; import { createComponentWithProxy } from 'preact-fela'; import Link from '../Link'; // Styles const Container = createComponentWithProxy( () => ({ maxWidth: '325px', margin: '0 auto', textAlign: 'center', marginTop: '10px', marginBottom: '10px', padding: '0 10px', color: '#A...
/* eslint-disable @typescript-eslint/no-var-requires */ const withPlugins = require("next-compose-plugins"); const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: process.env.ANALYZE === "true", }); const { nextI18NextRewrites } = require("next-i18next/rewrites"); const localeSubpaths = { tr...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.protot...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Button,Form,ControlLabel, FormControl, FormGroup } from 'react-bootstrap'; import {createUser} from '../actions/userActions' class SignUp extends Component { state = { username: "", email: "", password: "", }; ...
const PORT = 8000; const axios = require('axios'); const express = require('express'); const cors = require('cors'); const app = express(); app.use(cors()); require('dotenv').config(); //app.use(express.json); app.get('/', (req, res) => { res.json('this works'); }) // //get all the scores if database not used f...
/* @ngInject */ function contact(contactEmails, contactGroupModel) { const getContact = (email) => contactEmails.findEmail(email) || {}; const getContactFromUser = (nameContact, Address) => { const { Name = '', Email } = getContact(Address); if (Name && Name !== Email) { return Nam...
/** * Created by USER: tarso. * On DATE: 06/11/17. * By NAME: app.js. */ 'use strict'; //npm modules const express = require('express'); const uuid = require('uuid/v4') const session = require('express-session') const FileStore = require('session-file-store')(session); const bodyParser = require('...
/* @flow */ import { push } from 'react-router-redux'; import cookie from 'react-cookies'; import type { Dispatch, GetState, ThunkAction } from '../../types'; import { GET_RUNNING_SOLUTIONS_REQUESTING, GET_RUNNING_SOLUTIONS_SUCCESS, GET_RUNNING_SOLUTIONS_FAILURE } from '../../constants/solutionsConstants/getRun...
var classtest_1_1PersistentSetTest = [ [ "setUp", "classtest_1_1PersistentSetTest.html#ac6c9bed1dd505bcfa2da70b85f194059", null ], [ "tearDown", "classtest_1_1PersistentSetTest.html#a2cf7fc439cbf517d8f0e892167c5aa0f", null ], [ "testAdd", "classtest_1_1PersistentSetTest.html#ad8a7abaf4b91ad1b34afbc2b30b0c26...
import React from "react"; let NotFound = () => <div>The requested page could not be found</div>; export default NotFound;
const path = require("path"); const webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const AutoDllPlugin = require("autodll-webpack-plugin"); const InlineEnvironmentVariablesPlugin = require("inline-environment-variables-webpack-plugin"); const CopyPlugin = require("copy-webpack-p...
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babylonjs")):"function"==typeof define&&define.amd?define("babylonjs-materials",["babylonjs"],t):"object"==typeof exports?exports["babylonjs-materials"]=t(require("babylonjs")):e.MATERIALS=t(e.BABYLON)}("undefined"!=typeof self?s...
/** * 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/LICENSE-2.0 * * Unless require...
import React from 'react'; class Loading extends React.Component { render() { return ( <div className="loader"> <div className="loader-circle" /> <div className="loader-line-mask"> <div className="loader-line" /> </div> </div> ); } } export default Loading;
YUI.add("moodle-atto_bold-button",function(e,t){e.namespace("M.atto_bold").Button=e.Base.create("button",e.M.editor_atto.EditorPlugin,[],{initializer:function(){this.addBasicButton({exec:"bold",keys:"66",tags:"b, strong"})}})},"@VERSION@",{requires:["moodle-editor_atto-plugin"]});
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Index"],{adf4:function(e,n,t){"use strict";t.r(n);var r=function(){var e=this,n=e.$createElement;e._self._c;return e._m(0)},c=[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("h3",[e._v("欢迎来到GINBLOG后台管理页面")])])}],l=t("2877"),u={},a=O...
import GameDemo from './GameDemo' import { PhysicsLoader } from '@enable3d/ammo-physics'; PhysicsLoader('/ammo', () => { let element = document.getElementById('myThree'); new GameDemo({ element, width: element.clientWidth, height: element.clientHeight, }) });
import * as React from "react" const Teaser = ({ blok }) => ( <div> <h2> { blok.headline } </h2> <p> { blok.intro } </p> </div> ) export default Teaser
const parser = require('@asyncapi/parser') const fs = require('fs') const path = require('path') const validate = async (filePath) => { if (typeof filePath !== 'string') throw new Error('path is not string') const dir = process.env.GITHUB_WORKSPACE || __dirname const fullPath = path.resolve(dir, filePath) ...
let navbar = document.querySelector('.header .navbar'); document.querySelector('#menu-btn').onclick = () =>{ navbar.classList.toggle('active'); } document.querySelectorAll('.about .video-container .controls .control-btn').forEach(btn =>{ btn.onclick = () =>{ let src= btn.getAttribute('data-src'); ...
import _ from 'lodash'; import { SearchSourceProvider } from 'ui/courier/data_source/search_source'; import { reverseSortDirective } from './utils/sorting'; function fetchContextProvider(courier, Private) { const SearchSource = Private(SearchSourceProvider); return { fetchPredecessors, fetchSuccessors,...
export const state = () => ({ limit: 10, page: 1, options: {}, projectId: null }) export const getters = { offset(state) { return Math.floor((state.page - 1) / state.limit) * state.limit }, current(state) { return (state.page - 1) % state.limit }, page(state) { return state.page }, li...
$('body').append(` <div data-nosnippet id="tooSmall" class="brownbox center supercenter" style="display: none; width: 80%"> <h1>Yikes!</h1> <p>Your <span style="color:#4CDA5B">screen</span> isn't <span style="color:aqua">wide</span> enough to <span style="color:yellow">display</span> this <span style="color:#4CDA5B"...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; var Icon = require('../Icon-1083255b.js'); var React = require...
for (let index = 0; index < array.length; index++) { const element = array[index]; }
exports.up = function(knex, Promise) { return knex.schema.createTable('candidates', table => { table.increments('id').primary(); table.string('first_name'); table.string('last_name'); }) }; exports.down = function(knex, Promise) { return knex.schema.dropTable('candidates'); };
'use strict'; import cx from 'classnames'; import styles from './progress-bar.scss'; const Filler = props => { const width = `${Math.round(props.share * props.progress * 100)}%`; return ( <div className={cx(styles.fillerContainer)} style={{ width }}> <div className={cx(styles.filler)} /> <div cl...
var asyncData = { "title":"Area-spline chart loaded sync, zoom type drag and custome Tooltips", "itemType":"chart", "colSpan":4, "height":400, "itemConfig":{ "gridX":1, "gridY":1, "legendShow":1, "legendPosition":"bottom", "rotateAxis":null, "showDataLabels":0, "...
import React from 'react'; import { CmsComponent, CmsField } from 'crownpeak-dxm-react-sdk'; export default class ComponentWithList extends CmsComponent { constructor(props) { super(props); this.list = new CmsField("Field", "ListItem", null); } render () { return ( ...
module.exports = require('./lib/packet');
let data = { "body": "<path d=\"M4 8.5c0 2.7 2.75 5.37 7 9.24V7.2C10.42 5.91 9 5 7.5 5C5.5 5 4 6.5 4 8.5m9-1.3V20.44l-1 .91l-1.45-1.32C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3C10 3 13 5 13 7.2z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; export default data;
"use strict"; const {strict: assert} = require("assert"); const {$t} = require("../zjsunit/i18n"); const {mock_esm, set_global, with_field, zrequire} = require("../zjsunit/namespace"); const {run_test} = require("../zjsunit/test"); const $ = require("../zjsunit/zjquery"); const {page_params} = require("../zjsunit/zpa...
'use strict' var __importDefault = (this && this.__importDefault) || function(mod) { return mod && mod.__esModule ? mod : { default: mod } } Object.defineProperty(exports, '__esModule', { value: true }) var createIcon_1 = __importDefault(require('./../createIcon')) exports.default = createIcon_1.default('la l...
import { fetchUrl } from "./fetch_browser.js" export const fetchJson = async (url, options = {}) => { const response = await fetchUrl(url, options) const object = await response.json() return object }
const mongoose = require('mongoose'); const con_thing = mongoose.createConnection(process.env.DB_URI+process.env.DB_NAME_TI, {user: process.env.DB_USER_TI, pass: process.env.DB_PASS_TI, useUnifiedTopology: true, useNewUrlParser: true}); con_thing.model('ThingInteraction', require('./models').thingInteraction); const ...
export { Counter } from "./Counter"; export * from "./model";
var webpack = require('webpack'); var path = require('path'); var TARGET = process.env.npm_lifecycle_event process.env.BABEL_ENV = TARGET var APP_PATH = path.resolve(__dirname, 'src/_app.ts') var LIB_PATH = path.resolve(__dirname, 'src/_lib.ts') var BUILD_PATH = path.resolve(__dirname, 'dist') module.exports = { ...
require(["config"],function(){ require(["jquery","template","fly","cookie","header","footer"], function($,template,fly){ $.getJSON("http://rap2api.taobao.org/app/mock/26085/api/list",function(data){ console.log(data); const html = template("l_list_temp", {list:data.res_body.data}); $(".main_content").ht...
'use strict'; const Enigma = require('./enigma'); const eng = new Enigma('alek'); let encodeString = eng.encode("Alek's sleeping"); console.log("Encoded:", encodeString); let decodeString = eng.decode(encodeString); console.log("Decoded:", decodeString); let qr = eng.qrgen("http://www.alex.com", "outImage.png"); qr...
'use strict'; exports.config = { allScriptsTimeout: 11000, specs: [ 'test/e2e/tests/**/*.js', 'build/docs/ptore2e/**/*.js', 'docs/app/e2e/*.scenario.js' ], capabilities: { 'browserName': 'chrome' }, baseUrl: 'http://localhost:8000/', framework: 'jasmine', onPrepare: function() { ...
import React, { useRef, useContext, useEffect, useCallback } from 'react'; import styled from 'styled-components'; import { Menu, Icon, Colors } from '@blueprintjs/core'; import ReteEngineContext from 'components/hocs/reteEngine'; import Draggable from 'components/draggable'; const Component = ({ className }) => { ...
/** * Set of icons used by the sidebar application via the `SvgIcon` * component. */ export default { add: require('../images/icons/add.svg'), annotate: require('../images/icons/annotate.svg'), 'arrow-left': require('../images/icons/arrow-left.svg'), 'arrow-right': require('../images/icons/arrow-right.svg'),...
PrimeFaces.locales['pt'] = { closeText : 'Fechar', prevText : 'Anterior', nextText : 'Pr�ximo', currentText : 'Come�o', monthNames : [ 'Janeiro', 'Fevereiro', 'Mar�o', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro' ], monthNamesShort : [ 'Jan', 'Fev', 'Mar', 'Abr', 'Mai...
// 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...
module.exports = { siteMetadata: { title: 'Gatsby Default Starter', }, plugins: [ 'gatsby-plugin-react-helmet', 'gatsby-plugin-catch-links', 'gatsby-transformer-remark', { resolve: 'gatsby-source-filesystem', options: { path: `${__dirname}/src/pages`, name: 'pages',...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const revert_error_1 = require("../../revert_error"); // tslint:disable:max-classes-per-file var MakerPoolAssignmentErrorCodes; (function (MakerPoolAssignmentErrorCodes) { MakerPoolAssignmentErrorCodes[MakerPoolAssignmentErrorCodes["MakerA...
/* Copyright (c) 2018 jones http://www.apache.org/licenses/LICENSE-2.0 开源项目 https://github.com/jones2000/HQChart jones_2000@163.com 个股指标回测 */ /* 指标回测 计算: Trade: {Count 交易次数 Days:交易天数 Success:成功交易次数 Fail:失败交易次数} Day: {Count:总运行 Max:最长运行 Min:最短运行 Average:平均运行} Profit:...
import play from '../assets/play.svg'; import pause from '../assets/pause.svg'; import volumeUp from '../assets/volume-up.svg'; import volumeDown from '../assets/volume-down.svg'; import volumeOff from '../assets/volume-off.svg'; import full from '../assets/full.svg'; import fullWeb from '../assets/full-web.svg'; impor...