text
stringlengths
2
1.05M
sap.ui.define(['sap/ui/webc/common/thirdparty/base/config/Theme', './v5/inventory', './v4/inventory'], function (Theme, inventory$2, inventory$1) { 'use strict'; const pathData = Theme.isTheme("sap_horizon") ? inventory$1 : inventory$2; var inventory = { pathData }; return inventory; });
/** * Created with JetBrains WebStorm. * User: Dieter Beelaert * Date: 5/08/13 * Time: 16:15 * To change this template use File | Settings | File Templates. */ console.log("loading " + module.id ); var cody = require("cody/index.js"); var fs = require("fs"); //sql statements SocialuserController.sqlGetUsers =...
export default [ { title: '身份核验', iconSvg: 'ihome', children: [ { path: '/dataVerification/namePhone', title: '姓名/手机号',iconSvg: 'iidCardBlacklist' }, { path: '/dataVerification/idPhone', title: '身份证号/手机号',iconSvg: 'itelephoneBlacklist' }, { path: '/dataVerification/sexPhone', title: '性别/手机...
/* * * Blockstrap v0.8.0.1 * http://blockstrap.com * * Designed, Developed and Maintained by Neuroware.io Inc * All Work Released Under MIT License * * -- Including this file in the HTML header is the only requirement * -- Everything else, including the loading of dependencies is handled here * */...
(self.webpackChunkCnblogs_Theme_SimpleMemory=self.webpackChunkCnblogs_Theme_SimpleMemory||[]).push([[3199],{1391:function(e,s,l){"use strict";l.r(s)}}]);
export { default } from 'ember-inputmask/components/one-way-credit-card-mask';
import { UPDATE_ARTIST_LIST, SEARCH_BY_ARTIST, SEARCH_BY_GENRE, } from './actions/actionTypes.js' import { getArtistsByNameGenre, getArtistsByGenre, } from '../helpers/artistApiHelper.js' import { updateArtistsList, updateFilteredResultArtistList, } from './actions/actions.js' export default store =>...
export function createStreamingData() { let result let promise function Data({ children, duration = 500 }) { if (result) return result if (!promise) promise = new Promise((res) => { setTimeout(() => { result = children res() }, duration) }) throw promise...
/** * [[AMElement]] represents any SVG element and related functionality. */ import * as $dom from "../utils/DOM"; import * as $object from "../utils/Object"; import * as $type from "../utils/Type"; /** * ============================================================================ * MAIN CLASS * ==================...
import React from "react" import ReactDOM from "react-dom" import App from "./App" async function renderApp() { const rootEl = document.getElementById("root") if (!(rootEl instanceof Element)) { throw new Error("invalid type") } ReactDOM.render(<App />, rootEl) } renderApp() // TODO: once we have routes...
var express = require('express'); var data = require('./data/test.json'); var app = express(); const PORT = 3000; app.set('view engine','ejs');//sent views to EJS //route for index page app.get('/', (req,res)=>{ var title = "Our Home Page"; res.render('pages/index',{title:title}); }); //route for users (list) p...
module.exports = { transpileDependencies: [ 'vuetify', ], lintOnSave: false, publicPath: process.env.NODE_ENV === 'production' ? '/' : '/', filenameHashing: false, devServer: { host: 'wav2mid.com', overlay: { warnings: true, errors: false, }, proxy: { '^/mts/transcripti...
/** * termcoin - a bitcoin wallet for your terminal * Copyright (c) 2014, Christopher Jeffrey. (MIT Licensed) * https://github.com/chjj/termcoin */ exports.bitcoind = require('./bitcoind'); exports.bcoin = require('./bcoin'); exports.bitcore = require('./bitcore'); exports.libbitcoind = require('./libbitcoind'); e...
import React, { useState } from 'react'; import SinglePendingTaskStyled from './SinglePendingTaskStyled'; import { Link } from 'react-router-dom'; import { Button } from 'antd'; import { GradingModal } from './GradingModal'; function SinglePendingTask({ data, track }) { const { title, deadline, id } = data; const ...
/** * DocuSign REST API * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead...
import { unwrapType } from './wrappingTypeUtils'; export const inbuiltTypes = { Int: true, Boolean: true, String: true, Float: true, ID: true, }; const singularize = kind => { return kind.substr(0, kind.length - 1); }; export const filterNameLessTypeLess = arr => { return arr.filter(item => !!item.name...
const { utils, ethers } = require('ethers') const bridgeToL1 = async (L2ERC721, L2NFTBridge, tokenId) => { // check if NFT is base L2 // check if L1StandardERC721 contract exists for the pair const L1NFT = await L2NFTBridge.pairNFTInfo(L2ERC721.address) if ( L1NFT.l1Contract !== ethers.constants.AddressZer...
exports.id = 0; exports.ids = null; exports.modules = { /***/ 84: /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.AddOrderDetailDto = void 0; class AddOrderDetailDto { constructor() { this.total = 0; } } exports.Add...
/** * * Headerr * */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { Helmet } from 'react-helmet'; import { createStructuredSelector } from 'reselect'; import { compose } from 'redux'; import { Layout, Avatar } ...
const q = document.querySelector, $ = q.bind(document); let $width = $('#width'), $height = $('#height'), $btnCal = $('#calculate'), $perimeter = $('#perimeter'), $area = $('#area'), $widthValidate = $('#width-validate'), $heightValidate = $('#height-validate'), isPassValidate = false...
/* Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2018 the ZAP development team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
'use strict'; const debug = require('debug')('brunch:asset'); const sysPath = require('path'); const copyFile = require('quickly-copy-file'); const prettify = require('../helpers').prettify; const isIgnored = require('./common').isIgnored; // Asset: Simple abstraction on top of static assets that are not compiled. //...
"use strict";(self.webpackChunkvoyager_admin=self.webpackChunkvoyager_admin||[]).push([[2135],{1085:(e,r,n)=>{n.r(r),n.d(r,{default:()=>t});var o=n(6252);function t(e,r){return(0,o.wg)(),(0,o.j4)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[(0,o....
/* * printThis v1.14.1 * @desc Printing plug-in for jQuery * @author Jason Day * * Resources (based on): * - jPrintArea: http://plugins.jquery.com/project/jPrintArea * - jqPrint: https://github.com/permanenttourist/jquery.jqprint * - Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-...
// @flow import {action, autorun, computed, observable, toJS} from 'mobx'; import {observer} from 'mobx-react'; import React, {Fragment} from 'react'; import log from 'loglevel'; import Loader from '../../components/Loader'; import Renderer from './Renderer'; import FormStore from './stores/FormStore'; import FormInspe...
/******************************************************* > File Name: test_spec_webdriver.js > Author: IndexXuan > Mail: indexxuan@gmail.com > Created Time: 2015年05月29日 星期五 16时36分43秒 ******************************************************/ var sw = require('selenium-webdriver'); var driver = new sw.Bui...
if (typeof jQuery === "undefined") { throw new Error("jQuery plugins need to be before this file"); } $.AdminBSB = {}; $.AdminBSB.options = { colors: { red: '#F44336', pink: '#E91E63', purple: '#9C27B0', deepPurple: '#673AB7', indigo: '#3F51B5', blue: '#2196F3', ...
(function(undefined) { if (!("Intl"in self&&"DateTimeFormat"in self.Intl&&"formatRangeToParts"in self.Intl.DateTimeFormat&&self.Intl.DateTimeFormat.supportedLocalesOf("az-Latn").length )) { // Intl.DateTimeFormat.~locale.az-Latn /* @generated */ // prettier-ignore if (Intl.DateTimeFormat && typeof Intl.DateTimeFo...
__NUXT_JSONP__("/amp/58/7", (function(a,b,c,d,e,f,g){return {data:[{metaTitle:b,metaDesc:c,verseId:7,surahId:58,currentSurah:{number:"58",name:"المجادلة",name_latin:"Al-Mujadalah",number_of_ayah:"22",text:{"1":"قَدْ سَمِعَ اللّٰهُ قَوْلَ الَّتِيْ تُجَادِلُكَ فِيْ زَوْجِهَا وَتَشْتَكِيْٓ اِلَى اللّٰهِ ۖوَاللّٰهُ يَسْمَ...
import * as helpers from '../../utils/helpers' export function getPinnedContacts (state) { return state.contacts.pinnedContacts } export function getContact (state) { let contact = getCurrentContact(state) return (helpers.isNullOrUndefined(contact)) ? {} : state.contacts.pinnedContacts[contact] } ...
import { GlSkeletonLoader, GlSprintf, GlAlert } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; import Vue, { nextTick } from 'vue'; import VueApollo from 'vue-apollo'; import createMockApollo from 'helpers/mock_apollo_helper'; import waitForPromises from 'helpers/wait_for_promises'; import getConta...
import * as types from 'reduxes/actionTypes'; /** * 请求全屏 * @param el * @param callback * @returns {function(*): *} */ export const requestFullScreen = (el, callback) => dispatch => dispatch({ type: types.REQUEST_FULL_SCREEN, el, callback }); /** * 退出全屏 * @param callback * @returns {function(*): *}...
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{"3X9D":function(t,e,r){"use strict";var s={props:["field","row"],computed:{entry:function(){var t=_.split(this.field,".");return{key:t[0],field:t[1]}}}},a=(r("RxVw"),r("KHd+")),i=Object(a.a)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("d...
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; function AuthButton({ isLogged }) { return ( isLogged ? <a href="/api/logout">Logout</a> : <a href="/api/auth/google">Login</a> ); } export function Header(props) { co...
var jwt = require('jsonwebtoken'); var Promise = require('bluebird'); var createToken = function (payload) { return new Promise(function (resolve, reject) { try { var token = jwt.sign(payload, process.env.SECRET_JWT, { expiresIn: '1d' // expires in 24 hours // expiresIn: 60 // test ...
// Importações. const {DataTypes, Sequelize} = require('sequelize'); // Instância da conexão com a Database. const {connection} = require('../../configs/database'); // Definição do Model 'Cliente' para 'tbl_cliente'. const Cliente = connection.define('Cliente', { cod_cliente: { type: DataTypes.INTEGE...
/*! For license information please see main.02ab9ff7.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[11],[function(e,t,n){"use strict";e.exports=n(89)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in...
import React from "react"; import { MDBIcon, MDBAnimation } from "mdbreact"; const HPMouseComponent = () => { return ( <div className='col-md-12 text-center hide-mouse' style={{ padding: "2vh" }} > <div> <MDBAnimation type='bounce' infinite duration='2s' delay='2s'> <MDBIc...
// // // "use strict"; var defs = require("./defs"); var inherits = require("util").inherits; var EventEmitter = require("events").EventEmitter; var BaseChannel = require("./channel").BaseChannel; var acceptMessage = require("./channel").acceptMessage; var Args = require("./api_args"); function ChannelModel(connecti...
/** @license * Copyright (c) 2013-2017 Ephox Corp. All rights reserved. * This software is provided "AS IS," without a warranty of any kind. */ !function(){var a=function(){return{a11y:{widget:{title:"Toegankelijkheidscontrole",running:"Bezig met controle...",issue:{counter:"Probleem {0} van {1}",help:"WCAG 2.0 refe...
// @flow import { define } from "mamacro"; import { FSM, makeTransition } from "@webassemblyjs/helper-fsm"; import { codeFrameFromSource } from "@webassemblyjs/helper-code-frame"; declare function unexpectedCharacter(char: string): void; /** * Throw an error in case the current character is invalid */ define( un...
$(function(){ $('.dropdown').hover(function(){ $(this).addClass('open'); }, function(){ $(this).removeClass('open'); }); $.datepicker.setDefaults({ dateFormat: 'dd-mm-yy', nextText: 'Sig', prevText: 'Ant', monthNames: ['Enero','Febrero','Marzo','Abril','M...
var _bsa={init:function(format,zoneKey,segment,options){var options=typeof options!=='undefined'?options:false;if(!this.isset(window['_bsa_queue']))window['_bsa_queue']=[];if(!this.isset(options.target)){if(options===false)options=new Object();options.target='body'}if(this.isset(options)&&this.isset(options.target)&&do...
// dynamic programming question. // Write a function that, given: // an amount of money // an array of coin denominations // computes the number of ways to make the amount of money with coins of the available denominations. var amount1 = 4; var denominations1 = [1,2,3]; console.log(makeChange(amount1, denominati...
/* * adonis-bodyparser * * (c) Harminder Virk <virk@adonisjs.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ const File = require('../Multipart/File') const _ = require('lodash') /** * Validates a single file instance. If va...
import React, { useEffect, useState } from "react"; import { Redirect } from "react-router-dom"; import intl from 'react-intl-universal'; import { Form, Icon, Input, Button, message, Rate, Select } from "antd"; import { connect } from "react-redux"; import "./index.less"; import { login, getUserInfo } from "@/store/ac...
import moment from 'moment'; function objectToArray(obj) { return Object.values(obj); } function copyObjectProperties(fromObj, toObj) { for(let i in fromObj) { if(fromObj.hasOwnProperty(i) && toObj.hasOwnProperty(i)) { toObj[i] = fromObj[i]; } } } function copyObjectPropertiesAndApply(fromObj, to...
describe('Core canvas behavior', () => { let container; beforeEach(async () => { await LoadCanvasKit; container = document.createElement('div'); container.innerHTML = ` <canvas width=600 height=600 id=test></canvas> <canvas width=600 height=600 id=report></canvas...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const formatLocation = require("../formatLocation"); const { LogType } = require("../logging/Logger"); const AggressiveSplittingPlugin = require("../optimize/AggressiveSplittingPlugin"); const Concatenate...
const Discord = require("discord.js"); const ms = require("ms"); let config = require("../botconfig.json"); let helpFile = require("../utils/help.json"); module.exports.run = async (bot, message, args) => { message.delete(); //!tempmute @user 1s/m/h/d if (args[0] == "help") { message.reply(`${helpFile.tempmu...
import VxeTableFooter from './src/footer' VxeTableFooter.install = function (Vue) { Vue.component(VxeTableFooter.name, VxeTableFooter) } export const Footer = VxeTableFooter export default VxeTableFooter
module.exports = [ // 安排排班表查询 { url: '/zbms/pb/dayList.do', type: 'get', response: config => { return DAY_LIST } } ] const DAY_LIST = { code: '0000', msg: '', data: [ { id: 1, processInstId: '1234567890', activityDefId: '1', createTime: 1595750162, cr...
/*! * PSPDFKit for Web 2021.2.0 (https://pspdfkit.com/web) * * Copyright (c) 2016-2019 PSPDFKit GmbH. All rights reserved. * * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEME...
// Copyright (c) 2021, matbrgz and contributors // For license information, please see license.txt frappe.ui.form.on('Campaign Log', { // refresh: function(frm) { // } });
// 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 // distributed un...
document.querySelector('.stopwatch').onclick = (() => { let isRunning = false; let elapsedTime = { mm: 0, ss: 0, ms: 0 }; let laps = []; const [$btnStartOrStop, $btnResetOrLap] = document.querySelectorAll('.stopwatch > .control'); // 스톱워치의 경과 시간을 '00:00:00' 형식의 문자열로 변환한다. const formatElapsedTi...
/** * 该方法存在一个风险, 当存在 < || > 符号时, 其后面内容也同样被置空 */ export function replaceHtmlTag(str) { return str.toString().replace(/<[^>]*>/g, ''); }
import React, { Component } from 'react'; class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; } render() { return ( <div> <input value={this.state.term} onChange={event => { this.setState({ term: event.targe...
"use strict"; //# sourceMappingURL=outlined-flushed-icon.d.js.map
/** * */ function deleteWps(){ var deleteRows = $("#cardTable").datagrid('getSelections'); //获取删除的数据 if(deleteRows){ if(deleteRows[0].flag == 1){ alert("该参数从MES获取,无法进行修改删除操作!!!"); return; } var c=confirm("该操作将删除所选数据及其关联数据,并且无法撤销,是否继续?") if (c == true) { $.ajax({ type : "post", ...
import Wrapper from '../Wrapper/Wrapper.vue' import Breadcrumb from '../Breadcrumb/Breadcrumb.vue' import { remote } from 'electron' import { readFileSync, statSync } from 'fs' import { Parser } from './parser' import Globals from '../../globals' import { Notify } from './notify' import { isValid } from '....
/** * Parses the toml files located in templates/meta_data and takes the JS in * 'code' field and placing it in templates/javascript */ const fs = require('fs') //requiring path and fs modules const path = require('path') const toml = require('toml') const TOML = require('@iarna/toml') //joining path of directory c...
// ------------------------------------------- // Serves the client library /ripple.js // ------------------------------------------- module.exports = function serve(ripple, { server, serve, client = 'ripple' } = {}){ log('creating') const { http = server } = ripple.server || {} if (!http) return ripple ...
import convert from './convert.js'; import omit from '../omit.js'; var func = convert('omit', omit); import placeholder from './placeholder.js'; func.placeholder = placeholder export default func;
/* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const benv = require("benv") const rewire = require("rewire") const sinon = require("sinon") const Backbone = require("back...
!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....
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
/** * * srvMain Object for handler main page * * @author Peerapong Srisom <peerapong@haii.co.th> * @license HAII * */ var srvMain = { cache: {} }; /** * Initial srvMain * @param {object} trans - translate object from laravel */ srvMain.init = function (trans) { //set dafault datatable $.extend(tru...
(function() { 'use strict'; function F2(fun) { function wrapper(a) { return function(b) { return fun(a,b); }; } wrapper.arity = 2; wrapper.func = fun; return wrapper; } function F3(fun) { function wrapper(a) { return function(b) { return function(c) { return fun(a, b, c); }; }; } wrapper.arity = 3;...
/* ======================================================================== * NIFTY ADMIN TEMPLATE V2.7.3 * ------------------------------------------------------------------------- * - themeOn.net - * ========================================================================*/ /* REQUIRED PLUGINS /* ==================...
// mcpe_viz javascript helper file -- created by bedrock_viz program var worldName = 'HaneulCity'; var worldSeed = 1118007487; var creationTime = 'Fri Apr 22 21:01:36 2022'; var creationBedrockVizVersion = '0.1.7'; var loadGeoJSONFlag = false; var fnGeoJSON = 'output.geojson'; var useTilesFlag = true; var tileW = 2048;...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'clipboard', 'es', { copy: 'Copiar', copyError: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones d...
import { call, cancelled, take, put } from 'redux-saga/effects'; import { actionTypes } from '../constants'; import fulfillGetAuthenticatedUser from '../actions/fulfillGetAuthenticatedUser'; import rejectGetAuthenticatedUser from '../actions/rejectGetAuthenticatedUser'; import rejectLogin from '../actions/rejectLogin';...
module.exports = new Date(1996, 4, 23)
import { fetcher } from '@/lib/fetch' import useSWR from 'swr' export function useCurrentUser() { return useSWR('/api/user', fetcher) } export function useUser(id) { return useSWR(`/api/users/${id}`, fetcher) }
/** @jsx jsx */ import { jsx, Image, Link } from "theme-ui" import adpub from "../images/adpub.png" import logoparcbit from "../images/logoparcbit.svg" import logocentrebit from "../images/logocentrebit.svg" import apte from "../images/apte.png" const Footer = () => { return ( <footer sx={{ displa...
import React, { Component } from "react"; import { Animated, Dimensions, Easing, StyleSheet } from "react-native"; import { createStackNavigator } from "react-navigation"; import MapScreen from "./MapScreen"; import MapOrgDetail from "./MapOrgDetail"; import Icon from "react-native-vector-icons/MaterialCommunityIcons";...
const transportProxy = require('./dist/index') const env = process.env transportProxy({ host: env.host || 'localhost', port: env.port || 8888, proxy: env.proxy || '' })
/** * @file SimpleUploads plugin for CKEditor * Version: 4.3.17 * Uploads pasted images and files inside the editor to the server for Firefox and Chrome * Feature introduced in: https://bugzilla.mozilla.org/show_bug.cgi?id=490879 * doesn't include images inside HTML (paste from word). IE11 does. https://bugz...
shioApp.factory('shSiteResource', [ '$resource', 'shAPIServerService', function($resource, shAPIServerService) { return $resource(shAPIServerService.get().concat('/v2/site/:id'), { id : '@id' }, { update : { method : 'PUT' } }); } ]);
import React, { Component } from 'react'; import TodoItem from '../TodoItem'; class TodoList extends Component { shouldComponentUpdate(nextProps, nextState) { return this.props.todos !== nextProps.todos; } render() { const { todos, onToggle, onRemove } = this.props; const todoList = todos.map( ...
import {LightningElement, api, track, wire} from 'lwc'; import {FlowAttributeChangeEvent} from 'lightning/flowSupport'; import {getObjectInfo} from 'lightning/uiObjectInfoApi'; import getObjects from '@salesforce/apex/FieldPickerController.getObjects'; import NonePicklistValueLabel from '@salesforce/label/c.NonePickli...
mycallback( {"CONTRIBUTOR OCCUPATION": "AREA DIRECTOR", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "INT'L ASSOC. OF MACHINISTS", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "4 WESSON TERRACE", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ...
(function webpackUniversalModuleDefinition(root, factory) { if (typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if (typeof define === 'function' && define.amd) define([], factory); else if (typeof exports === 'object') exports['io'] = factory(); else root['io'] = fact...
/* * Licensed to Laurent Broudoux (the "Author") under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Author licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
var forge = require('node-forge'); var fs = require('fs'); var net = require('net'); var path = require('path'); var crypto = require('crypto'); var LRU = require('lru-cache'); var hagent = require('hagent'); var extend = require('extend'); var h2 = require('./h2'); var createSecureContext = require('tls').createSecu...
export * from './PrivateRoute'; export * from './DataAnalyzer'; export * from './theme'; export * from './TopBar'; export * from './ClippedDrawer'; export * from './NavBar'; export * from './FileLoader'; export * from './GraphDataContext'; export * from './Brush'; export * from './NumberTag'; export * from './DataTable...
/* * highlight-within-textarea * * @author Will Boyd * @github https://github.com/lonekorean/highlight-within-textarea */ const HighlightWithinTextarea = (function() { let ID = 'hwt'; let HighlightWithinTextarea = function(el, config) { this.init(el, config); }; HighlightWithinTextarea.prototype = { i...
const util = require('../lib/test-utils.js'); const expect = require('chai').expect; describe('fs.ftruncate', function() { beforeEach(util.setup); afterEach(util.cleanup); it('should be a function', function() { let fs = util.fs(); expect(fs.ftruncate).to.be.a('function'); }); it('should return an ...
integration.whiteRootDomains = ['trustedreviews.com']; integration.blackSubDomains = [];
const install = require('../../tasks/node/install'); const teardown = require('../../tasks/node/teardown'); module.exports = { category: 'Web', libraryName: 'vue-instantsearch', templateName: 'vue-instantsearch', appName: 'vue-instantsearch-app', keywords: ['algolia', 'InstantSearch', 'Vue', 'vue-instantsear...
export default { //mutations目的就是修改state中的状态,所以其中的方法尽可能完成的事件比较单一,好追踪状态来维护 changeSide(state){ state.isShowSide = !state.isShowSide }, changeLogin(state){ state.ifLogin = !state.ifLogin }, changeTabIndex(state,index){ state.tabIndex = index }, changeUid(state,user){ ...
import { LinkActionTypes } from './link.types'; import axios from 'axios'; import config from '../../config'; import { Auth } from 'aws-amplify'; export const getLinksPending = status => { return { type: LinkActionTypes.GET_LINKS_PENDING, payload: status }; }; export const addLinkPending = status => { r...
const got = require('@/utils/got'); const parser = require('@/utils/rss-parser'); const cheerio = require('cheerio'); const ProcessFeed = ($, link) => { const title = $('h1').text(); let content = $('div.story-container'); // 处理封面图片 content.find('div.story-image > figure').each((i, e) => { con...
const deepLinkPrefix = 'brightid://link-verification/http:%2f%2fnode.brightid.org/idchain/'; const claimURL = './api/claim'; let lastAddress; $(function () { $('#ethereum-address').on('change keyup', (e) => { const account = $('#ethereum-address').val(); if (account == lastAddress) { return; } ...
import React from 'react'; class Menu extends React.PureComponent { render() { return ( <div className="only-desktop"> <ul className="list"> <li className="list__item"> <a href="/" className="line"></a> <a href=...
import React, { Component, } from 'react'; import { Linking, Platform } from 'react-native'; import { Caption, View, Image, Button, Text, } from '@shoutem/ui'; import { connectStyle } from '@shoutem/theme'; import Camera from 'react-native-camera'; import _ from 'lodash'; import { ext } from '../const'...
module.exports={ "VPC":{ "Value":{"Fn::GetAtt":["Variables","VPC"]} }, "CodeBucket":{ "Value":{"Ref":"CodeBucket"} }, "TrainingRoleArn":{ "Value":{"Fn::GetAtt":["TrainingRole","Arn"]} }, "TrainingRole":{ "Value":{"Ref":"TrainingRole"} }, "ModelRole":{ ...
const DAYS_IN_WEEK = 7; const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; const WEEK_DAYS_FROM_MONDAY = [6, 0, 1, 2, 3, 4, 5]; const Month = { January: 0, February: 1, March: 2, April: 3, May: 4, June: 5, July: 6, August: 7, September: 8, Octo...
/* */ System.register(["aurelia-metadata", "./property", "./attached-behavior", "./children", "./custom-element", "./element-config", "./template-controller", "./view-strategy", "./resource-coordinator", "./resource-registry", "./view-compiler", "./view-engine", "./view-factory", "./view-slot", "./binding-language", "...