text
stringlengths
2
1.04M
exports = module.exports = function (B, C) { return [B, C]; }; exports['@require'] = ['syncB', 'syncC'];
/** * @Author: wangkongfei * @Date: 2017-07-29T17:27:43+08:00 * @Last modified by: wangkongfei * @Last modified time: 2017-07-29T17:44:50+08:00 */ import React, { Component } from 'react'; import { Text, View } from 'react-native'; export default class Test1Component extends Component { static na...
import AbstractCollectionView from 'OpenOrchestra/Service/DataTable/View/AbstractCollectionView' import ContentVersionsListView from 'OpenOrchestra/Application/View/Content/ContentVersionsListView' import ApplicationError from 'OpenOrchestra/Service/Error/ApplicationError' /** * @class ContentVersionsView */...
sap.ui.define([ "teched/dat365/ui/advUI/test/unit/controller/View1.controller" ], function () { "use strict"; });
var test = require('tape'); var expand = require('..'); test('numeric sequences', function(t) { t.deepEqual(expand('a{1..2}b{2..3}c'), [ 'a1b2c', 'a1b3c', 'a2b2c', 'a2b3c' ]); t.deepEqual(expand('{1..2}{2..3}'), [ '12', '13', '22', '23' ]); t.end(); }); test('numeric sequences with step count', func...
var gomoku = (function(){ var units = [], settings = { size: 15, rule: "freestyle" }; var init = function() { React.render(React.createElement(Board, {size: settings.size}), document.getElementById('gomoku-container')); zoomBoard(); }; ...
const peso1 = 1.0 const peso2 = Number('2.0') console.log(peso1, peso2) console.log(Number.isInteger(peso1)) const avaliacao1 = 9.871 const avaliacao2 = 6.871 const total = avaliacao1 * peso1 + avaliacao2 * peso2 const media = total / (peso1 + peso2) console.log(media.toFixed(2)) console.log(media.toString(2)) //co...
$(function() { //Date range picker $('#reservation').daterangepicker(); });
// Generated by RPG Maker. // Do not edit this file directly. /** * ide导出的脚本数据,会在游戏启动后被引擎加载 * @type {*[]} */ var $plugins = [ {"name":"changeTitlePosition","status":false,"description":"","parameters":{}}, {"name":"AltMenuScreen","status":false,"description":"Alternative menu screen layout.","parameters":{}} ];
const Employee = require ("./employee") class Engineer extends Employee { constructor (name, id, email, github){ super (name, id, email) this.github = github } getRole(){ return "Engineer" } getGithub(){ return this.github } } module.exports = Engineer
var class_property_3_01_ty_00_01_getter_ret_type_07_getter_args_8_8_8_08_00_01_setter_ret_type_07_setter_args_8_8_8_08_4 = [ [ "GetterType", "class_property_3_01_ty_00_01_getter_ret_type_07_getter_args_8_8_8_08_00_01_setter_ret_type_07_setter_args_8_8_8_08_4.html#a11a6b38e03da66fe4b1c11fb8aa7cf79", null ], [ "S...
'use babel'; import React from 'react' import IconBase from './IconBase' export default function Emoji_1f6af(props) { return ( <IconBase viewBox="0 0 64 64" {...props}> <g><circle fill="#FF5A79" cx="32.039" cy="32.07" r="30"/><circle fill="#333" cx="32.039" cy="32.07" r="24"/><g fill="#FFF"><path d="M32.6...
/* Last Modified time: 2021-5-11 09:27:09 活动入口:京东APP首页-领京豆-摇京豆/京东APP首页-我的-京东会员-摇京豆 增加京东APP首页超级摇一摇(不定时有活动) 增加超级品牌日做任务及抽奖 增加 京东小魔方 抽奖 Modified from https://github.com/Zero-S1/JD_tools/blob/master/JD_vvipclub.py 已支持IOS双京东账号,Node.js支持N个京东账号 脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js ============QuantumultX=============...
export const CREATE_ORDER_REQUEST = "CREATE_ORDER_REQUEST"; export const CREATE_ORDER_SUCCESS = "CREATE_ORDER_SUCCESS"; export const CREATE_ORDER_FAILED = "CREATE_ORDER_FAILED"; export const CREATE_ORDER_RESET = "CREATE_ORDER_RESET"; export const ORDER_DETAILS_REQUEST = "ORDER_DETAILS_REQUEST"; export const ORDER_DETA...
/*! jQuery UI - v1.10.3 - 2013-09-11 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.datepicker.js, jquery.ui.slider.js *...
/* global chrome, confirm */ var utils = require('./utils'); function Storage (updateFiles) { var EDITOR_SIZE_CACHE_KEY = 'editor-size-cache'; this.rename = function (originalName, newName) { var content = this.get(originalName); this.set(newName, content); this.remove(originalName); }; this.rem...
import styled from 'styled-components'; import { Container, Row, Col } from 'reactstrap'; import { sm } from 'styles/breakpoints'; import Img from 'react-image'; export const _Row = Row; export const _Col = Col; export const _div = styled.div` margin: 20px 0 20px 0; background-color: ${props => props.theme.colors...
var selftest = require('../tool-testing/selftest.js'); var Sandbox = selftest.Sandbox; var archinfo = require('../utils/archinfo.js'); var release = require('../packaging/release.js'); var _ = require('underscore'); var files = require('../fs/files.js'); var utils = require('../utils/utils.js'); var runMongo = require(...
function solve() { let input=document.querySelector('#string').value; let output=document.querySelector('#result'); output.textContent=extractInfo(input); function extractInfo(input) { let args=input.split(',').filter(x=>x!==''); let line=args[0]; let part=args[1].trim(); ...
../node_modules/prop-types/prop-types.js
/** * @Module 动态文件加载器 * @core 一个类promise状态机 * */ module.exports = (function() { var group_queue = []; // group list //// url_item = {url:str, start: false, finished:false} var log = function(msg) { return; console.log(msg); } var isFunc = function(obj) { return Object.prototype.toSt...
const Discord = require("discord.js") const fs = require("fs") var utils = require("../utils/index.js") var general = require("./index.js") var music = require("../music/index.js") var shitpost = require("../shitpost/index.js") var dj = require("../dj/index.js") //var config = global.config; module.exports = { name:"...
MathJax.Extension["TeX/HTML"] = {version: "2.0"}; MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () { var TEX = MathJax.InputJax.TeX; var TEXDEF = TEX.Definitions; TEXDEF.Add({ macros: { href: 'HREF_attribute', "class": 'CLASS_attribute', style: 'STYLE_attribute', cssId: 'I...
function e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } Object.defineProperty(exports, "__esModule", { value: !0 }); var t = function() { function e(e, t) { for (var i = 0; i < t.length; i++) { var a = t[i]; a.enumerable = a.enu...
///////////////////////////////////////////////////////////// // ContextMenu // ///////////////////////////////////////////////////////////// import './ContextMenu.scss' export default class ContextMenu extends Autodesk.Viewing.Private.ContextMenu { constructor (opts) { super (opts) } //////////////////...
$(document).ready(function(){ $(".largeGrid").click(function(){ $(this).find('a').addClass('active'); $('.smallGrid a').removeClass('active'); $('.product').addClass('large').each(function(){ }); setTimeout(function(){ $('.info-large').show(); }, 200); setT...
deepmacDetailCallback("70b3d5ef8000/36",[{"a":"Robert-Perthel-Str. 79 Cologne DE 50739","o":"DKS Dienstl.ges. f. Komm.anl. d. Stadt- u. Reg.verk. mbH","d":"2016-12-18","t":"add","s":"ieee","c":"DE"}]);
const { createProxyMiddleware } = require('http-proxy-middleware'); module.exports = function (app) { app.use( '/ids', createProxyMiddleware({ target: 'http://121.41.109.132:15088/admin', changeOrigin: true, pathRewrite: { '^/ids': '' }, }) ); app.use( '/fus', createProxyMid...
const PhonesAreaPhoneCodes = [ { key: '050', text: '050', value: '050' }, { key: '051', text: '051', value: '051' }, { key: '052', text: '052', value: '052' }, { key: '053', text: '053', value: '053' }, { key: '054', text: '054', value: '054' }, { key: '055', text: '055', value: '055' }, { k...
require('../../jqwidgets/jqxcore'); require('../../jqwidgets/jqxnavbar'); (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) : typeof define === 'function' && define.amd ? define('jqwidgets-ng/jqxnavbar', ['exports', '@angular/...
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
'use strict'; const Service = require('egg').Service; class BBSReplyService extends Service { // 插入回复信息 async addReplyInfo(params) { const { app } = this; try { const result = await app.mysql.insert('reply_info', params); return result; } catch (err) { console.log(err); return...
import React, {Component} from 'react'; import {NavLink} from 'react-router-dom'; import classes from './NavigationLink.css'; class NavigationLink extends Component { render() { return ( <div className={classes.NavigationLink}> <NavLink to={this.props.link} exact={th...
"use strict" var mobx = require("../../src/mobx.ts") var map = mobx.observable.map var autorun = mobx.autorun var iterall = require("iterall") test("map crud", function() { mobx._getGlobalState().mobxGuid = 0 // hmm dangerous reset? var events = [] var m = map({ "1": "a" }) m.observe(function(changes...
import React from 'react'; const Link = ({ children, to }) => (React.createElement("a", { href: to }, " ", children, " ")); export default Link; //# sourceMappingURL=index.js.map
// Guess what answers you would get if you ran this in the // Javascript Console in Google Chrome. Once you have an answer to the questions then // check them by copying them and running it in the console yourself line by line //Evaluate the below: 5 + "34" // "534" 5 - "4" // 1 10 % 5 // 0 5 % 10 ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); var _SvgContainer = require('./SvgContainer'); var _SvgContaine...
/** * Copyright (c) 2017-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. */ module.exports = { docs: { Guides: ['guides/ldp-server','guides/dms','guides/activitypub'], Packages: [ 'packages/activi...
import * as R from 'ramda' import * as Response from '@server/utils/response' import * as Request from '@server/utils/request' import * as JobUtils from '@server/job/jobUtils' import * as Validation from '@core/validation/validation' import * as User from '@core/user/user' import * as AuthMiddleware from '../../auth...
//# sourceMappingURL=3.9b170c82d0f5883b4ce6.js.map
/* * Copyright (c) 2019-2020 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ const mongoose = require('mongoose'); var alertSchema = new mongoose.Schema({ name : { type : String, unique : true }, id : { type : String } }); module.exports = mongoose.model('Alert', alertSchema);
export const db = { client: 'mysql', connection: { host : 'localhost', user : 'db-user', password : 'db-password', database : 'db-name', prefix : 'modx_', } } export default { db, }
__d("ActorURIConfig",[],(function(a,b,c,d,e,f){e.exports={PARAMETER_ACTOR:"av",ENCRYPTED_PARAMETER_ACTOR:"eav"}}),null); __d("EmojiStaticConfig",[],(function(a,b,c,d,e,f){e.exports={checksumBase:317426846,fileExt:".png",supportedSizes:{16:"DP16",18:"DP18",20:"DP20",24:"DP24",28:"DP28",30:"DP30",32:"DP32",56:"DP56",64:"...
import knockout from './knockout-3.5.1.js'; import knockout_es5 from './knockout-es5.js'; import SvgPathBindingHandler from '../Widgets/SvgPathBindingHandler.js'; // install the Knockout-ES5 plugin knockout_es5.attachToKo(knockout); // Register all Cesium binding handlers SvgPathBindingHandler.register(knockout); ex...
'use strict'; const modules = require('..'); describe('@typewriter/modules', () => { it('needs tests'); });
import c from "./client.js"; output = import("./viewer.js") .then((v) => v.default) .then((v) => [c.toString(), v[0].toString(), v[1].toString()]);
import config from '@/config' const setUser = function (userObject) { sessionStorage.setItem('user', JSON.stringify(userObject)); } const getUser = function () { try { return JSON.parse(sessionStorage.getItem('user')) ?? null; } catch (e) { return null; } } const getUserToken = function () { const ...
// This file is modified from the original Helios codebase, as detailed in the README.md file. // // Helios Protocols // // ben@adida.net // // FIXME: needs a healthy refactor/cleanup based on Class.extend() // // extend jquery to do object keys // from http://snipplr.com/view.php?codeview&id=10430 /* $.extend({ ...
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --allow-natives-syntax --harmony-namespace-exports var ns; import('modules-skip-13.js').then(x => ns = x); %RunMicrotasks(); assertEquals(42,...
jQuery.sap.declare("sap.xs.chat.Component"); sap.ui.core.UIComponent.extend("sap.xs.chat.Component", { init: function(){ jQuery.sap.require("sap.m.MessageBox"); jQuery.sap.require("sap.m.MessageToast"); // Chat Model var oModel = new sap.ui.model.json.JSONModel(); var names = ['Student1','Stud...
/* * Poshy Tip jQuery plugin v1.1 * http://vadikom.com/tools/poshy-tip-jquery-plugin-for-stylish-tooltips/ * Copyright 2010-2011, Vasil Dinkov, http://vadikom.com/ */ (function($) { var tips = [], reBgImage = /^url\(["']?([^"'\)]*)["']?\);?$/i, rePNG = /\.png$/i, ie6 = $.browser.msie && $.browser.version =...
import AppBar from "@mui/material/AppBar"; import Box from "@mui/material/Box"; import Toolbar from "@mui/material/Toolbar"; import Typography from "@mui/material/Typography"; import ToggleButton from "@mui/material/ToggleButton"; import ToggleButtonGroup from "@mui/material/ToggleButtonGroup"; function Sort({ sort, s...
import ChangingEmail from "../index"; const wrapper = shallow(<ChangingEmail />); describe("Help ChangingEmail", () => { it("renders without errors", () => { expect(wrapper.find("TextContainer").exists()).toBeTruthy(); }); });
import React from 'react'; import Dropdown from './Dropdown'; import Select from 'react-select'; import WebFont from 'webfontloader'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faCaretDown, faCaretUp } from '@fortawesome/free-solid-svg-icons' const gradients = [ {value: 'blue', labe...
(function () { 'use strict'; function MyTheme($viewPathProvider, $stateProvider) { $viewPathProvider.override('system/views/index.html', 'myTheme/views/index.html'); $stateProvider .state('order', { url: '/order', templateUrl: 'myTheme/views/order.htm...
import React from "react" export default function Footer(props) { return ( <div> <h3>Copyright Bottega October 4th class</h3> </div> ) }
const moment = require('moment') module.exports = app => { const getTasks = (req, res) => { const date = req.query.date ? req.query.date : moment().endOf('day').toDate() app.db('tasks') .where({ userId: req.user.id }) .where('estimateAt', '<=', date) .orderBy('estimateAt') .then(tasks => res.jso...
macDetailCallback("94fb29000000/24",[{"d":"2016-09-24","t":"add","a":"ONE ZEBRA PLAZA HOLTSVILLE NY US 11742","c":"US","o":"Zebra Technologies Inc."}]);
import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import ScrollView from './ScrollView'; import ViewabilityConfig from '../propTypes/ViewabilityConfig'; import ViewabilityConfigCallbackPair from '../propTypes/ViewabilityConfigCallbackPair'; const SCROLLVI...
"use strict"; /* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a dif...
import { StyleSheet } from 'react-native'; const headerStyles = StyleSheet.create({ borderlessHeader: { borderBottomWidth: 0 }, title: { fontSize: 17, fontWeight: '600', fontFamily: 'System' } }); export default headerStyles;
import React from 'react' import {showCard} from '@heruka_urgyen/poker-solver' import EmptyTable from './EmptyTable' import {Maybe, safe} from 'client/util' import chip from 'client/images/poker-chip.svg' import Player from './Player' import CommunityCards from './CommunityCards' const showWinningCards = round => c...
var typedoc = typedoc || {}; typedoc.search = typedoc.search || {};
// Karma configuration // Generated on Sat Sep 29 2018 14:00:30 GMT-0500 (Central Daylight Time) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.or...
const fs = require("fs"); var path=require("path") /* POST /api/permissions/all */ export let all_permissions=async(req,res)=>{ var jsonPath=path.join(__dirname,'../middlewares/permissions.json') //read json let rawdata = fs.readFileSync(jsonPath); let permissionsList = JSON.parse(rawdata); re...
function b() { console.log('Called b!'); } b(); console.log(a); var a = 'Hello World!'; console.log(a);
$(function () { new Vue({ el: '#app', data: { page: 1, limit: 10, count: 0, clients: [], grantTypes: [ {id: 'code', text: 'Code'}, {id: 'implicit', text: 'Implicit'}, {id: 'hybrid', text: 'Hyb...
$( document ).ready(function() { // Ifjs is enabled then clicks on menu items result in an ajax fetch rather than a refresh // Url is updated as well so it is just as though you went to a new page $(".menuLink").click(function(event){ console.log(event.currentTarget.pathname); var linkPath = event.curren...
import * as React from "react" import PropTypes from "prop-types" import { Helmet } from "react-helmet" import { useStaticQuery, graphql } from "gatsby" function SEO({ description, lang, meta, title }) { const { site } = useStaticQuery( graphql` query { site { siteMetadata { t...
module.exports = { purge: ["./public/**/*.html", "./src/**/*.vue"], darkMode: false, // or 'media' or 'class' theme: { container: { center: true, }, }, variants: { extend: {}, }, plugins: [], };
// Package modules. import { Optimizer } from '@parcel/plugin'; import url from 'url'; /* * Extract a meta from a given html string */ const findMeta = (html, propertyName, propertyValue) => { const regex = new RegExp(`<meta[^>]*${propertyName}=["|']${propertyValue}["|'][^>]*>`, 'i'); const regexExec = regex.exe...
/** * Created by zhaoangyouyou on 19/12/2016. */ /*! * headroom.js v0.7.0 - Give your page some headroom. Hide your header until you need it * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/headroom.js * License: MIT */ (function($) { if(!$) { return; } //////////// // Plugin...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2016 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * A TilemapLayer is a Phaser.Image/Sprite that renders a specific TileLayer of a Tilemap. * * Since a TilemapLayer is ...
/** * Copyright 2004-present Facebook. All Rights Reserved. * * @providesModule NavigationRouteStack * @flow */ 'use strict'; var immutable = require('immutable'); var invariant = require('fbjs/lib/invariant'); type IterationCallback = (route: any, index: number, key: string) => void; var {List, Set} = immutabl...
//# sourceMappingURL=runtime-main.47283e05.js.map
'use strict'; import config from '../config'; import gulp from 'gulp'; import gulpif from 'gulp-if'; import gutil from 'gulp-util'; import source from 'vinyl-source-stream'; import sourcemaps from 'gulp-sourcemaps'; import buffer from 'vinyl-buffer'; import streamify from 'g...
import { Uniform, Vector2 } from "three"; import { BlendFunction } from "./blending/BlendFunction"; import { Effect } from "./Effect"; import fragmentShader from "./glsl/grid/shader.frag"; /** * A grid effect. */ export class GridEffect extends Effect { /** * Constructs a new grid effect. * * @param {Objec...
import { mockPlatformAndroid, mockPlatformIOS } from '../../../test/mocking'; import DeviceSensor from '../DeviceSensor'; it(`counts the number of listeners`, () => { const nativeModule = new MockNativeSensorModule(); const sensor = new DeviceSensor(nativeModule, 'mockDidUpdate'); // Add listeners const subsc...
"use strict"; const idlUtils = require("../generated/utils"); const EventInit = require("../generated/EventInit"); class EventImpl { constructor(globalObject, args, privateData) { const [type, eventInitDict = this.constructor.defaultInit] = args; this.type = type; this.bubbles = false; this.cancel...
var searchData= [ ['acquire',['Acquire',['../classcubesat_1_1ChipSelect.html#ab173c06bea583f833b11bae2a305701d',1,'cubesat::ChipSelect']]], ['addmessagehandler',['AddMessageHandler',['../classcubesat_1_1PyCubed.html#a1607d57f2cd19bd3b75a2c3dbbfa4955',1,'cubesat::PyCubed']]], ['addmessageparser',['AddMessageParser...
'use strict'; require('dotenv').config(); const Users = require('./users.js'); const superagent = require('superagent'); const tokenServerUrl = process.env.TOKEN_SERVER; const remoteAPI = process.env.REMOTE_API; const CLIENT_ID = process.env.CLIENT_ID; const CLIENT_SECRET = process.env.CLIENT_SECRET; const API_SERV...
// 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/Analysis/setting/nls/strings":{selectAnalysisTools:"Vali anal\u00fc\u00fcsit\u00f6\u00f...
export default [ ` type LikesMutationResponse implements MutationResponse { error: String success: Boolean! code: Int like: Node } ` ];
import React, { useState } from 'react'; import className from 'classnames'; import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Card, CardImg, CardBody, CardTitle, Badge, } from 'reactstrap'; import EssCardIndex from './ess/EssIndex'; const EssFrontCard = props => { const { data } = pr...
// @flow 'use strict'; const log = require('cmklog'); // Docs: https://palantir.github.io/tslint/formatters/json/ const problemFromRaw = (raw /*: mixed */) /*: ?Problem */ => { if(typeof raw !== 'object' || raw == null) { return undefined; } const { failure, name, startPosition, } = raw; i...
import React, { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { AppContainer } from "@egovernments/digit-ui-react-components"; import { Route, Switch, useRouteMatch } from "react-router-dom"; import { config } from "./config"; import ChangePasswordComponent from "./changePassword"; con...
//常规类型 var intTypes_ = { "char":"int", "short":"int", "int":"int", "long":"int64_t", "int8":"char", "int16":"short", "int32":"int", "int64":"int64_t", "uint8":"unsigned char", "uint16":"unsigned short", "uint32":"unsigned int", "uint64":"uint64_t" }; var boolTypes_ = { "boolean":"bool", "bool":"bool" }; var realTyp...
// @flow import React from 'react' import type {Node} from 'react' import type {ObservableI, Subscription} from '../typedefs/observable' type Props = { documentId: string, materialize: string => ObservableI<Object>, children: Object => null | Node } type State = { materialized: ?Object } export default class...
// @flow import { explodeModule } from '@aparna036/babel-explode-module'; import { explodedToStatements } from 'babel-helper-simplify-module'; // $FlowFixMe import printAST from 'ast-pretty-print'; export default function matchExported(file: Object, exportName: string) { let exploded = explodeModule(file.path.node);...
// import '../imports/api/tasks.js'; import '../imports/api/items.js'; import '../imports/api/items-rest.js';
const WLOGS = "www.warcraftlogs.com/reports"; chrome.runtime.onInstalled.addListener(() => { chrome.declarativeContent.onPageChanged.removeRules(undefined, function() { chrome.declarativeContent.onPageChanged.addRules([ { conditions: [ new chrome.declarativeContent.PageStateMatcher({ ...
const PARENTHESIS = { key: 'PARENTHESIS', value: 'PARENTHESIS', label: '(Set)', getCardEdition: c => `(${c.set})` }; // const BRACKET = { key: 'BRACKET', value: 'BRACKET', label: '{Set}', getCardEdition: c => `{${c.set}}` }; const HOOK = { key: 'HOOK', value: 'HOOK', label: '[Set]', getCardEdition: c => `[${c.set}]` };...
module.exports={A:{A:{"2":"M F E D A B fB"},B:{"1":"L S H I J K O PB","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u N w x y z OB EB BB CB AB v GB Q IB JB KB LB MB NB","2":"oB FB G T M F E D A B C L S H I J K U lB eB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 S H I J K U V W X Y Z a b c d e...
import { axios } from '@/utils/request' const api = { } /* * 通用模块API * */ export default api
import $ from 'jquery'; import env from './env'; import func from './func'; import lists from './lists'; import dom from './dom'; /** * return boundaryPoint from TextRange, inspired by Andy Na's HuskyRange.js * * @param {TextRange} textRange * @param {Boolean} isStart * @return {BoundaryPoint} * * @see http://m...
var express = require('express'); var router = express.Router(); var cp = require('child_process') /* GET home page. */ router.get('/', function (req, res, next) { res.render('index', { title: 'Express' }); }); router.get('/msg', function (req, res, next) { res.writeHead(200, { "Content-Type": "text/event-stream"...
import { PureComponent } from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; class HTMLComponent extends PureComponent { static contextTypes = { centralizedUpdates: PropTypes.func, } static displayName = 'HTMLComponent'; constructor(props) { super(props); this.div ...
'use strict'; module.exports = function(app) { app.component('settings', { template: require('./settings-template.html'), controller: 'SettingsController', controllerAs: 'sc', }); };
/*global $*/ /** * Class representing the game board for Triple Triad. * Calls [initialize]{@link Panda.TripleTriad.Game_Board#initialize} * with given arguments. * * @class Game_Board * @memberof Panda.TripleTriad */ $.Game_Board = function() { this.initialize.apply(this, arguments); }; Object.defineProperti...
const fs = require('fs'); const process = require('process'); const url = require('url'); const http = require('http'); const querystring = require('querystring'); const hostname = '127.0.0.1'; const port = '4040'; const METHOD_GET_TYPE = 'GET'; const METHOD_POST_TYPE = 'POST'; const FORM_GET_HTML_PATH = '/form_metho...