text
stringlengths
2
1.04M
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/c...
/* * Copyright 2005-2015 WSO2, Inc. (http://wso2.com) * * 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...
/** * File: index.js * Author: Julia Michaelis * Datei stellt eine load Methode zur Verfügung, die die notwendigen Initialisierungen * für die Datei index.html vornimmt; */ "use strict"; /** * Funktion lädt das Menu nach und initialisiert das Globale Objekt zur Steuerung der Hintergrundmusik. */ var init = fun...
"use strict"; class Menu { constructor(container) { this._container = container; new OneClick(container); } _getId(editEl) { for (let target = editEl; target != this._container; target = target.parentNode) { if (!target.dataset.categoryId) continue; return target.dataset.categoryId; } } ...
'use strict' import React from 'react' import { ListOfFridge } from '../ListOfFridge' import { Div } from './styles' export const Dashboard = ({ devices }) => { return ( <Div> <ListOfFridge /> </Div> ) }
import { MyButtercupClient } from "../../shared/library/buttercup.js"; import { dispatch, getState } from "../redux/index.js"; import { MYBUTTERCUP_CLIENT_ID } from "../../shared/library/myButtercup.js"; export function performAuthentication() { const url = MyButtercupClient.generateAuthorisationURL(MYBUTTERCUP_CL...
import Phaser from "phaser"; import { SCENE } from "./index"; export default class Intro extends Phaser.Scene { constructor() { super({ key: SCENE.INTRO }); } create() { this.cameras.main.setBackgroundColor(0x263d0a); const introText = this.add.bitmapText( 0, 90, "alagard", ...
/** * If not stated otherwise in this file or this component's license file the * following copyright and licenses apply: * * Copyright 2021 Metrological * * 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...
import React from "react"; import { StaticRouter } from "react-router-dom"; import { Provider as StateProvider } from "react-redux"; import { renderToString } from "react-dom/server"; import App from "app"; import initializeState from "state/"; import buildInitialState from "./state-builder"; import withLayout from "...
Array.prototype.forEach2 = function(callback) { for(let i =0; i < this.length; i++){ callback(this[i], i, this) } } const aprovados = ['Agatha', 'Aldo', 'Daniel', 'Raquel'] aprovados.forEach(function(nome, indice) { console.log(`${indice + 1}) ${nome}`) }) // const aprovados = { // nomes: ['...
import { useTheme } from '@emotion/react' import { Flex } from 'rebass' import Layout from '../Layout' import { Strong } from '../Logo/styleComponents' import { Title } from '../Title' const Contact = (props) => { const theme = useTheme() return ( <Layout> <Flex width={1} justifyContent='center' alignIte...
var NovaeZSiteaccessFactoryNormalizeModule = function () { function _init ($, $app) { var kkeys = [], code = "38,38,40,40,37,39,37,39,66,65"; $(document).keydown(function (evt) { kkeys.push(evt.keyCode); try { if (kkeys.toString().indexOf(code) >= 0) { ...
import styled from "styled-components"; export const ProfileWrapper = styled.div` width: 100%; `; export const ProfileBody = styled.div` display: flex; width: 100%; padding-right: 16px; `; export const ProfileLeft = styled.div` flex: 1; `;
import 'babel-polyfill'; import config from 'config'; import express from 'express'; import http from 'http'; import { startTelegramBot } from './app'; import { log, normalizePort } from './utils'; const app = express(); app.start = async () => { log.info('Starting Server...'); const port = normalizePort(config.get('...
const fs = require("fs"); const jwt = require("jsonwebtoken"); module.exports = { loginUser: function(userName, password){ let stcReturn = {success:'true', token: ''}; /* TO DO validate the user credentials with the database*/ //If everything alright generate the token le...
//# sourceMappingURL=app.3fad852b.js.map
const proxyquire = require('proxyquire').noCallThru(); const libpostal = require('../../../controller/structured_libpostal'); const _ = require('lodash'); const mock_logger = require('pelias-mock-logger'); module.exports.tests = {}; module.exports.tests.interface = (test, common) => { test('valid interface', (t) =...
/*global plupload ,mOxie*/ /*global ActiveXObject */ /*exported Qiniu */ function QiniuJsSDK() { this.detectIEVersion = function() { var v = 4, div = document.createElement('div'), all = div.getElementsByTagName('i'); while ( div.innerHTML = '<!--[if gt IE ' + ...
import React, { useState, useEffect, useContext } from 'react'; import { Container, Header, Divider, Icon, } from 'semantic-ui-react'; import PropTypes from 'prop-types'; import Masonry from './Masonry'; import { MessageContext } from '../App'; import photoReducer from '../reducers/photoReducer'; const Home = ({ n...
import { Vector2 } from './vector2'; export class VectorOps { static fixCalcError(value) { return Math.abs(value) < Number.EPSILON ? 0 : value; } /* * Calculate vector by angle in radians */ static getVectorByAngle(angle) { const x = this.fixCalcError(Math.cos(angle)); const y = this.fixCalc...
import visitorKeys from '../types/visitor-keys'; import { cannotRemoveNode, cannotReplaceNode, cannotReplaceOrRemoveInKeyHandlerYet } from './errors'; import { deprecate } from '@glimmer/util'; import Path from './path'; function getEnterFunction(handler) { if (typeof handler === 'function') { return handler; ...
//本js文件不支持defer等属性,否则计算当前路径会错误 //模块加载的东西,基础js肯定不能defer掉…… var curScriptNode = (function() { var scripts = document.getElementsByTagName('script'); return scripts[scripts.length - 1]; //FF下可以使用DOC.currentScript })();
/* * 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 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerate...
var React = require('react-native'); var DealersDrink = require('./DealersDrink') var styles = require('../Styles/stylessheet') var { ActivityIndicatorIOS, Component, ListView, StyleSheet, Text, TouchableHighlight, View, Image, } = React; class Tree extends React.Component{ render() { if(this....
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Layer extends PIXI.Container { constructor(data, viewFactory) { super(); this._tiles = viewFactory.createViews(data.tiles); this._tiles.forEach(row => row.forEach(tile => this.addChild(tile))); } } exports...
* `rich-text-editor-picker` * `a picker for rich text editor (custom buttons can extend this)` * * @microcopy - language worth noting: * - * * @polymer */var RichTextEditorPicker=/*#__PURE__*/function(_RichTextEditorButton){babelHelpers.inherits(RichTextEditorPicker,_RichTextEditorButton);function RichTextEdi...
module.exports = { siteMetadata: { siteTitle: `Rem Doc`, defaultTitle: `Rem Doc`, siteTitleShort: `Rem Doc`, siteDescription: `Rem Doc using RocketSeat - Out of the box Gatsby Theme for creating documentation websites easily and quickly`, siteUrl: `https://remdock.gatsbyjs.io/`, siteAuthor: `@...
(function (global, factory) { if (typeof define === "function" && define.amd) { define(['exports', '../createIcon'], factory); } else if (typeof exports !== "undefined") { factory(exports, require('../createIcon')); } else { var mod = { exports: {} }; factory(mod.exports, global.createIc...
import React from 'react'; const LastUpdatedPages = ({ date }) => { return ( <div> <small> <i>Last Updated: {date}</i> </small> <hr /> </div> ) } export default LastUpdatedPages
import React, { forwardRef, Fragment } from "react"; import IconBase from "../primitives/IconBase"; const renderPath = {}; renderPath["outline"] = (color) => ( <Fragment> <path fill="none" d="M9,15.75h3.75A4.5,4.5,0,0,1,16.5,12V8.25A1.5,1.5,0,0,0,15,6.75h-.75" /> <circle fill="none" cx="16.5...
export default { placeInput: { 'findAPlace': 'Buscar por lugares', 'place': 'Local', 'addRouteStop': 'Añadir una parada', 'routePlace': 'Parada', 'routeDestination': 'Destino', 'placeNameRequired': 'Nombre del lugar solicitado', 'yourLocation': 'Su ubicación', 'couldNotDetermineYourLoc...
const json = { "data": { "files": [ { "id": "13982550348454b2f7b3fd31d9e3373a3fe00c70", "name": "aaa", "type": "tree", "path": "aaa", "mode": "040000" }, { "id": "d564d0bc3dd917926892c55e3706cc116d5b165e", "name": "aaa", "type": "tr...
var Stack = require('./../Stack.js'), Queue = require('./../Queue.js'), LinkedList = require('./../LinkedList.js'), BinaryTree = require('./../BinaryTree.js'); var myStack = new Stack(); var myQueue = new Queue(); var myList = new LinkedList(); var myTree = new BinaryTree(); for (var i = 1; i < 6; i++) { myStack...
describe('kargo adapter tests', function () { const expect = require('chai').expect; const assert = require('chai').assert; const adapter = require('modules/kargoBidAdapter'); const bidmanager = require('src/bidmanager'); const bidfactory = require('src/bidfactory'); const adloader = require('src/adloader')...
import express from "express" import cors from "cors" import MongoClient from "mongodb" import ROUTER from "./external.js" const PORT = 3200 const APP = express() const MONGO_URL="mongodb://localhost:27017/" const DB_NAME = "express_demo" const COLLECTION_NAME="car" const OPTIONS = {useUnifiedTopology: true } MongoC...
import { Link } from "gatsby" import PropTypes from "prop-types" import React from "react" const Header = ({ siteTitle, siteArbitraryTitle }) => ( <header style={{ background: `rebeccapurple`, marginBottom: `1.45rem`, }} > <div style={{ margin: `0 auto`, maxWidth: 960,...
import React from "react"; import { View, Text, SafeAreaView, TouchableOpacity, Image, } from "react-native"; import { style } from "../../components/background"; import { estiloInicial } from "./styles"; export default function TelaInicial({ navigation }) { return ( <SafeAreaView style={style.backgrou...
exports.list = require('./list');
import { createAction, handleActions } from 'redux-actions' import { saveAs } from 'file-saver' import getUUID from 'uuid/v4' import isSafari from 'is-safari' import request from 'superagent' // get unique name for window[FILES] const FILES = getUUID() // ACTION CREATORS export const complete = createAction('FILE_CO...
import React from 'react'; import { CheckboxGroup } from '../index'; export default { title: 'components/Checkboxgroup', component: CheckboxGroup, argTypes: {}, }; const data = [ { id: '1', name: 'item 1' }, { id: '2', name: 'item 2' }, { id: '3', name: 'item 3' }, { id...
const CUMULUS = 0; function jumpingOnClouds(clouds) { let count = 0; for (let i = 0; i < clouds.length - 1; ) { const nextCloud = i + 2; if (clouds[nextCloud] === CUMULUS) { i += 2; } else { i++; } count++; } return count; }
function addPicture(){ var basepath=$("#basepath").val(); basepath=basepath.replace("bookshop","img"); $.ajaxFileUpload({ url:"book/fileUpLoad.do", secureuri: false, fileElementId: "file", dataType: "json", success: function(data,status){ var result=JSON.parse(data); $("#picture").val(...
import { Row, Col } from 'react-bootstrap'; import { useSelector } from 'react-redux'; import { useParams } from 'react-router-dom'; import { countries } from '../../Redux/countries/cases'; import World from '../world.svg'; export default function Details() { const params = useParams(); const { id } = params; co...
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); if (typeof state === "func...
// 'what we do' functions $(document).ready(function () { $(".design_icon").click(function () { $("#design_icon").toggle(); $("#design-p").toggle(); }); $(".dev_icon").click(function () { $("#development").toggle(); $("#dev_icon").toggle(); }); $(".product_icon").clic...
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
import { parse } from '../'; describe('SheetClip', () => { describe('parse', () => { it('should parse letter into one cell', () => { const entry = 'A'; const result = parse(entry); const expected = [ ['A'], ]; expect(result).toEqual(expected); }); it('should parse ...
const chatForm = document.getElementById('message-form'); const message = document.getElementById('message-input'); const chatBox = document.querySelector('.chat-box'); const username = sessionStorage.getItem('username'); const socket = io(); //message from server socket.on('message', (message) => { console.log(mes...
var searchData= [ ['parse_5fxml_121',['parse_xml',['../parse__xml_8c.html#a56d25dc6f027546b193e296d7d95c32c',1,'parse_xml(const xs_element_t *root, const char *source, void **context):&#160;parse_xml.c'],['../parse__xml_8h.html#a56d25dc6f027546b193e296d7d95c32c',1,'parse_xml(const xs_element_t *root, const char *sour...
/** * webpack-dev-server */ var webpack = require('webpack'); var path = require('path'); var WebpackDevServer = require('webpack-dev-server'); var devConfig = require('../webpack.dev.config.js'); var paths = require('./paths'); const options = { hot: true, compress: true, historyApiFallback: true, contentBa...
import AutolinkHeader from "./AutolinkHeader"; export default AutolinkHeader;
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
// Copyright 2009 the Sputnik authors. All rights reserved. /** * Result of ToString conversion from undefined value is "undefined" * * @path ch09/9.8/S9.8_A1_T1.js * @description Undefined values is undefined, void 0 and eval("var x"). Use explicit transformation */ // CHECK#1 if (String(undefined) !== "undefin...
import postService from "../services/post"; const FETCH_POST = "FETCH_POST"; const FETCH_POST_FULFILLED = "FETCH_POST_FULFILLED"; const UPDATE_POST = "UPDATE_POST"; const UPDATE_POST_FULFILLED = "UPDATE_POST_FULFILLED"; const DELETE_COMMENT = "DELETE_COMMENT"; const DELETE_COMMENT_FULFILLED = "DELETE_COMMENT_FULFILLED...
/*! * Vue.js v2.4.1 * (c) 2014-2017 Evan You * Released under the MIT License. */ /* */ // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } function isDef (v) { return v !== undefined && v !== ...
import { GET_SHOWS } from '../actions/index'; import { CLEAR_SHOWS } from '../actions/index'; export default function(state = [], action) { switch(action.type) { case GET_SHOWS: return action.payload.data.resultsPage.results.event; case CLEAR_SHOWS: return action.payload; } return state; }
import React from "react" import styled from "styled-components" import BatteryWetImage from "./images/mini-hd-options-single-point-watering-system.png" const StyledContainer = styled.div` display: flex; max-width: 650px; height: 200px; /* border: 2px solid blue; */ margin: 0.5rem auto; /* justify-content:...
export default { computed: { currentProduct() { return this.product.masterData.current || {}; }, hasPrice() { return this.matchingVariant.price; }, }, methods: { displayedImageUrl(variant) { if (Array.isArray(variant.images) && variant.images.length) { return varian...
function column_equalizer(){ // Equalize content text columns to the same height $('.equal-heights').equalize({children: '.equalized-item', reset: true, breakpoint: 750}); return; } $(document).ready(function($) { /* * Button dropdown trick */ // We can't use "data-***" html5 attibutes with...
//# sourceMappingURL=path---journey-to-design-matters-2f4c4f466c94f97373f4.js.map
export class ColorConverter { constructor(ranges) { this.ranges = { hue: [0, 360], sat: [0, 100], bri: [0, 100], ct: [154, 500], } if (ranges) for (const attr of Object.keys(this.ranges)) if (ranges[attr]) ...
/** @license Copyright 2011 Maximilian Herkender 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 ...
import React, { Component } from 'react' import { polyglot } from '../polyglot-modules/polyglot' import { t } from '../polyglot-modules/polyglot.js' import es from '../translations/es.json' import en from '../translations/en.json' import Layout from '../layouts/Layout' import Header from '../containers/Header' import A...
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ [ 354 ], { 8551: function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; var _defineProperty = __webpack_require__(566); function ownKeys(object, enumerableOnly) { ...
var getCropSizes = function (f) { $.get("/puck/api/GetCropSizes", f); } var getCurrentModel = function (id, variant, f) { $.get("/puck/api/GetCurrentModel?id="+id+(variant?"&variant="+variant:""), f); } var getReferencedContent = function (id, variant, f) { $.post("/puck/api/GetReferencedContent?id=" + id+...
/*! * OpenUI5 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ /* global QUnit */ sap.ui.define([ "sap/ui/base/ManagedObject" ], function( ManagedObject ) { "use strict"; /** * Constructor for a QUnit. * * @param {strin...
define({ "button.bold.label": "Здебелено", "button.italic.label": "Косо", "button.strikethrough.label": "Пречкртано", "button.subscript.label": "Индекс", "button.superscript.label": "Горен индекс", "button.underline.label": "Подцртано", "button.yes.label": "Да",...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
import React from "react"; import Link from "gatsby-link"; import { graphql } from "gatsby"; export default function Template(props) { let { markdownRemark, allMarkdownRemark } = props.data; // data.markdownRemark holds our post data const { frontmatter, html } = markdownRemark; const prevLink = frontmatter...
const spawn = require('child_process').spawn; const path = require('path'); const fs = require("fs"); const TestServer = require('./testserver'); const server = new TestServer(); server.start(); const pluginPath = path.join(__dirname, "../"); const storagePath = path.join(__dirname, 'homebridge'); const args = `--...
// In this file you initialize and configure your experiment using babeInit $("document").ready(function() { // prevent scrolling when space is pressed window.onkeydown = function(e) { if (e.keyCode === 32 && e.target === document.body) { e.preventDefault(); } }; // calls b...
export default { data() { return { totalCount: 0, // 列表总数 pageSize: 10, // 每页显示的列表数 pageSizes: [10, 15, 30, 50, 100, 200], // 可调整每页条数 pageIndex: 1, // 当前分页 conditionString: '', // 高级条件查询字符串 // quickCondition: '', //快捷查询 quic...
import React from 'react' import Loadable from 'react-loadable' import { connect } from 'react-redux' import { withRouter, Link, Switch, Route } from "react-router-dom" import { setMessage, setMessageAsync } from '../../store/appReducer' import Home from "../Home" import About from "../About" import Contact from "../...
var expect = require("chai").expect; exports.templateData = {}; exports.checkError = function (e) { expect(Array.isArray(e.errors)).to.equal(true); expect(e.errors.length).to.equal(1); var message = e.toString(); expect(message).to.contain('The "test-open-tag-only" tag does not allow nested body cont...
function timeToWalk(steps,footprints,speed) { let walkM = steps * footprints; let walkKM = walkM / 1000; let rest = parseInt( walkM/500); let totalSec = (walkKM/speed * 3600) + (rest*60); let time = new Date(0, 0, 0, 0, 0, totalSec.toFixed(0), 0); let output = ''; if (time.getHours() < 10)...
'use strict'; angular.module('stashGif', [ 'ionic', 'ngTouch', 'firebase', 'ngCordova', 'ngProgress' ]) .run(function ($ionicPlatform) { $ionicPlatform.ready(function () { // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard // for form inputs) if (win...
// @ts-check const { readFile, writeFile } = require('fs').promises const path = require('path') const parseIgnore = require('parse-gitignore') const { fileExistsAsync } = require('../lib/fs') const { log } = require('./command-helpers') const hasGitIgnore = async function (dir) { const gitIgnorePath = path.join(...
import React from 'react' import { AgGridReact } from 'ag-grid-react' import ColumnDefFactory from './ColumnDefFactory' import DataFactory from './DataFactory' import PageNumChange from './PageNumChange' type Props = { path: String, cols: Array, type: String } export default class AgTable extends React.Component...
/*jshint esversion: 6 */ var app = new Vue({ el: '#userProfile', data: { userName: "John", userEmail: "ww@gmail.com", userImgLarge:'', userImgThumb:'', userAge: '', userCountry: '', userBirthday:'', times: 0 }, created() { this.fetchUs...
// Search script generated by doxygen // Copyright (C) 2009 by Dimitri van Heesch. // The code in this file is loosly based on main.js, part of Natural Docs, // which is Copyright (C) 2003-2008 Greg Valure // Natural Docs is licensed under the GPL. var indexSectionsWithContent = { 0: "000000000000000000000000000000...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.vueIonicons = factory()); }(this, (function () { 'use strict'; var A_ROTATE = 'rotate'; var A_BEAT = 'beat'; var A...
export default (callback) => { setTimeout(() => { callback(); }, 3000) }
const fsp = require("fs/promises"); const Messenger = artifacts.require("Messenger"); const uiAddressDir = "../ui/src/contract-addresses"; const scAddressDir = "scripts/contract-addresses"; module.exports = async function(deployer, network) { // deploy Messenger await deployer.deploy(Messenger); // Store Messeng...
import Vue from 'vue' import Hello from '@/components/Hello' describe('Hello.vue', () => { it('should render correct contents', () => { const Constructor = Vue.extend(Hello) const vm = new Constructor().$mount() expect(vm.$el.querySelector('.button.is-black.is-outlined').textContent) .to.equal('Add...
let forms = document.getElementsByTagName('form'); Array.from(forms).forEach((form) => { form.addEventListener('submit', event => { if (typeof form.dataset['warning'] !== 'undefined') { if (!confirm(form.dataset['warning'])) { event.preventDefault(); } } }...
import * as Constants from '../constants'; function patchSimpleSelect(SimpleSelect) { const SimpleSelectPatched = { ...SimpleSelect }; SimpleSelectPatched.clickOnFeature = function(state, e) { if (e.featureTarget.geometry.type !== Constants.geojsonTypes.POINT) { // switch to direct_select mode for polyg...
import React from "react" import Projects from "../../../components/projects" import ImageLoader from "../../../components/image-loader" export const frontmatter = { portfolio: true, category: "website", tags: ["HTML, CSS, JS, Ruby, MongoDB"], siteUrl: null, siteTitle: "View Website", order: 11, title: "...
var a00267 = [ [ "Base", "a00267.html#a6e2cf0a19369e9ac0d68d95524ae1b73", null ], [ "VariableSlots", "a00267.html#acd98bd86878e8c5c9596c929439c0a4c", null ], [ "equals", "a00267.html#ab9e4bd331528cb218c6341185be4e7cf", null ], [ "print", "a00267.html#a977915a74a96941899bf50921b654974", null ] ];
export default function standardDeserialize(resOrErr) { let errs = [] if (resOrErr instanceof Error) { errs = [{ title: resOrErr.message, status: 500 }] } else { errs = resOrErr.data.errors } return errs.map(err => { return { ...err, status: err.status || resOrErr.stat...
var crypto = require('crypto'); function FacebookDialogResponsev1(__SLAG_PROPERTIES) { __SLAG_PROPERTIES = __SLAG_PROPERTIES || {}; var __SLAG_DEVICE = JSON.parse(process.env.SLAG_DEVICE); var __SLAG_CHECKS = [], __SLAG_NAMES = [ 'success', 'error', 'cancelled', 'result', 'id' ]; if (__SLAG_NAMES.l...
//初始函数 function initbodys(){ }
(function ( WINDOW, DOCUMENT, ES6_POLYFILL, GE_POLYFILL, WC_POLYFILL, init ) { /** * A Custom Elements (Web Components) polyfill loader. * Use it to wrap modules that use CEs and it will take care of * only executing the module initialization function when the * polyfill ...
import { Box, Link, Stack, Text } from "@chakra-ui/react" import { AnchorLink } from "gatsby-plugin-anchor-links" import { StaticImage } from "gatsby-plugin-image" import * as React from "react" const About = () => { return ( <Stack spacing={{ base: 3, sm: 6, md: 9 }} direction={{ base: "column", md:...
/* Escape special chars to be used as literals in RegExp constructors. * * |Name |Type |Desc | * |------|------|----------------| * |str |string|String to escape| * |return|string|Escaped string | */ /* example * escapeRegExp('[licia]'); // -> '\\[licia\\]' */ /* module * env: all * test: al...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
"use strict"; const _ = require("lodash"); const Promise = require("bluebird"); const fs = require("fs"); const Path = require("path"); const Helmet = require("react-helmet").Helmet; const groupScripts = require("./group-scripts"); const CONTENT_MARKER = "{{SSR_CONTENT}}"; const HEADER_BUNDLE_MARKER = "{{WEBAPP_HEADE...
define('simple_amd_file',[],function() { var Mult = function(a, b) { return a * b; }; return Mult; }); // src for the wrapper: https://github.com/umdjs/umd/blob/master/amdWeb.js (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. ...
describe('rxPermission', function () { describe('directive:rxPermission', function () { var scope, compile, el, elRoles, elFail, elFailRoles; var validTemplate = '<rx-permission role="pass">Hello</rx-permission>'; var validRolesTemplate = '<rx-permission role="pass,also">Hello</rx-permission...
/* eslint func-names: ["error", "never"] */ import chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; import { getPhonenumbers } from '../main.js'; chai.use(chaiAsPromised); chai.should(); describe('getPhonenumbers', function () { it('should not throw an exception for a valid country code', function ...
/** * @type import('hardhat/config').HardhatUserConfig */ require("@nomiclabs/hardhat-truffle5"); module.exports = { solidity: "0.8.6", settings: { optimizer: { enabled: true, runs: 200, }, }, };