text
stringlengths
2
1.04M
var imgFile = []; //文件流 var imgSrc = []; //图片路径 var imgName = []; //图片名字 $(function() { // 鼠标经过显示删除按钮 $('.content-img-list').on('mouseover', '.content-img-list-item', function() { $(this).children('div').removeClass('hide'); }); // 鼠标离开隐藏删除按钮 $('.content-img-list').on('mouseleave', '.content...
// @flow export {Account} from './account'; export {BpfLoader} from './bpf-loader'; export {BudgetProgram} from './budget-program'; export {Connection} from './connection'; export {Loader} from './loader'; export {PublicKey} from './publickey'; export {SystemInstruction, SystemProgram} from './system-program'; export {...
load("201224b0d1c296b45befd2285e95dd42.js"); // |jit-test| error:InternalError // Binary: cache/js-dbg-64-a3946d490610-linux // Flags: // var x = []; x.join = x.toString; "" + x;
import styled from 'styled-components' export const StyledCell = styled.div` width: auto; background: rgba(${props => props.color}, 0.8); border: ${props => (props.type === 0 ? '0px solid': '4px solid')}; border-bottom-color: rgba(${props => props.color}, 0.1); border-right-color: rgba(${props => p...
module.exports={A:{A:{"1":"B A","2":"J C G E VB"},B:{"1":"D Y g H L"},C:{"2":"TB z F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b RB QB","194":"0 1 3 4 5 c d e f K h i j k l m n o p q r s x y u t"},D:{"2":"0 1 3 4 5 8 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s...
var express = require('express'); var app = express(); app.use(express.static('public')); app.listen(3000);
import {generateSequence} from './sequence'; describe('utils/generateSequence', () => { it('should generate a sequence of length > min', () => { expect(generateSequence(100).length).toBeGreaterThan(100); }); });
/*! * mincart * The Mini Cart is a great way to improve your PayPal shopping cart integration. * * @version 3.0.6 * @author Jeff Harrell <https://github.com/jeffharrell/> * @url http://www.mincartjs.com/ * @license MIT <https://github.com/jeffharrell/mincart/raw/master/LICENSE.md> */ ;(function e(t,n,r){functi...
const Command = require('../../structures/command.js'); const Discord = require('discord.js'); module.exports = class extends Command { constructor(client, filePath, group) { super(client, filePath, group, { conf: { enabled: true, guildOnly: false, ...
const validateBody = (req, res, next) => { const body = req.body; if (body.constructor === Object && Object.keys(body).length > 0) { next(); } else { res.status(404).json({ message: 'Body info is missing' }); } }; module.exports = validateBody;
#!/usr/bin/env node // module: data-stream, method: slice const DataStream = require('../').DataStream; // eslint-disable-line exports.test = function(test) { test.expect(1); DataStream.fromArray([1,2,3]) .join(0) .toArray() .then(arr => { test.deepEqual(arr, [1,0,2,0,3]...
angular.module('financier').directive('flexMonths', function($rootScope) { return { restrict: 'A', link: function(scope, element, attrs) { let flexMonths = Math.floor((element[0].offsetWidth - 175) / 260); $rootScope.$emit('budget:columns', flexMonths); scope.$on('resize', function($event) ...
/*global define*/ define([ 'jquery', 'underscore', 'backbone', 'foundation', 'views/abstract', 'text!templates/info.html' ], function ($, _, Backbone, Foundation, AbstractView, Template) { 'use strict'; var InfoView = AbstractView.extend({ tagName: 'div', class...
/*! * Boosted v4.5.3 (https://boosted.orange.com) * Copyright 2014-2020 The Boosted Authors * Copyright 2014-2020 Orange * Licensed under MIT (https://github.com/orange-opensource/orange-boosted-bootstrap/blob/master/LICENSE) * This a fork of Bootstrap : Initial license below * Bootstrap collapse.js v4.5.3 ...
const cheerio = require('cheerio') const execa = require('execa'); const fs = require('fs') const globby = require("globby"); const path = require("pathe"); describe('nuxt3-webpack', () => { test('renders css files without @apply', async() => { // Note: this is a hacky solution await execa('yarn', ['run', ...
import CreateActions from '../../utils/ActionsConstructor'; export default CreateActions({ setCurrentObjectId: {}, fetchScriptTraces: { asyncResult: true, children: ['completed', 'failure'], method: 'Syncano.Actions.Scripts.listTraces' }, fetchScriptEndpointTraces: { asyncResult: true, chil...
// TODO import React from 'react'; export default ({ lines }) => <span className="math" />;
import { FETCH_INDEX } from "./actionTypes"; import axios from "axios"; export const fetchIndex = callback => dispatch => { axios .get("https://financialmodelingprep.com/api/v3/majors-indexes") .then(res => { let majorIndex = res.data.majorIndexesList; if (callback) callback(); return dispa...
module.exports = { DB: 0, NAME: 'batch:users' };
const describe = require('kape'); const {nearestCity, nearestCities} = require('../dist/cityjs.umd.min'); describe('nearestCity()', nearestCity, snapshot => snapshot( [{latitude: 44.0618643, longitude: -121.3188065}], [{latitude: 41.3394978, longitude: -96.1462098}], ) ); describe('nearestCities()', near...
import Grid from './Grid'; import Column from './Column'; import './grid.scss'; export { Grid, Column };
/* carbondream - Copyright 2015 Zeroarc Software, LLC * * Demo: Annotation Reflux Actions */ 'use strict'; //External var Reflux = require('reflux'); var AnnotationActions = Reflux.createActions([ 'annotationSave', 'annotationDelete' ]); module.exports = AnnotationActions;
const jwt = require("jsonwebtoken"); // middleware to validate token const verifyToken = (req, res, next) => { const token = req.header("x-access-token"); if (!token) return res.status(401).json({ error: "Access denied" }); try { const verified = jwt.verify(token, process.env.TOKEN_SECRET); req.user = ver...
import React from 'react' import { shallow } from 'enzyme' import sinon from 'sinon' import SearchButtons from '../SearchButtons' import { Button } from 'reactstrap' describe('<SearchButtons />', () => { const shallowRender = (props) => shallow( <SearchButtons {...props} /> ) const com...
"use strict"; const config = require("./config"); const utils = require("./utils"); const csvArray = (dataArray) => { const arr = dataArray.map((x) => { return [`${x.variable} [${x.unit}]`, String(x.value)]; }); // const cols = arr.map((x) => x[0]); const data = arr.map((x) => x[1]); return data; }; co...
const path = require('path'), Config = require('../config'), compose = require('koa-compose'), { normalizePrefix } = require('../util'), jsonApi = require('reed-json-api') module.exports = () => { const rules = Config.serveApi.endpoints, mws = rules.map(({ endpoint, filePath, options }) =>...
var searchData= [ ['cacheentry',['CacheEntry',['../classbeta_1_1CacheEntry.html',1,'beta']]], ['config',['Config',['../classbeta_1_1Config.html',1,'beta']]] ];
const mongoose = require('mongoose'); const Product = mongoose.model('Product'); module.exports = { async index(req, res){ const {page=1} = req.query; const products = await Product.paginate({},{page, limit:11}); return res.json(products); }, async show(req, res){ const prod...
/* $('#modal-PostResponse').on('shown.bs.modal', function (e) { console.log("anuaan")})*/ console.log("iyaaaaaa")
const Base64BinaryScalar = require('../scalars/base64binary.scalar'); const { GraphQLObjectType, GraphQLList, GraphQLString } = require('graphql'); const { extendSchema } = require('../../../utils/schema.utils'); /** * @name exports * @summary AuditEvent.object Schema */ module.exports = new GraphQLObjectType({ ...
/* eslint-disable */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.closest = function (element, selector) { if (element instanceof Element) { /* istanbul ignore else */ if (element && element.closest) { return element.closest(selector); } e...
function OnUpdate(doc, meta) { var request = { headers: { 'Accept': 'image/png' } }; try { var response = curl('GET', localhost, request); log(response); if (!verifyResponse(response)) { throw 'inconsistent response'; } dst_buc...
import "./styles.css"; import { LiturgyOfTheDay } from "./lib" export default function App() { return ( <div className="App"> <LiturgyOfTheDay nationalCalendar="USA" locale="en" LiturgyOfTheDayOuterClassnames="border rounded" LiturgicalColorAsBG={false} allowPrevNext...
import React from 'react'; import DecimalInput from './DecimalInput'; export default function NumberInput(props) { props.fieldInfo.fixed = props.fieldInfo.fixed || 0; // Floating number with no fixed digits return /*#__PURE__*/React.createElement(DecimalInput, props); }
'use strict' const path = require('path') const defaultSettings = require('./src/settings.js') function resolve(dir) { return path.join(__dirname, dir) } const name = defaultSettings.title || '智能分析平台' // 标题 const port = process.env.port || process.env.npm_config_port || 80 // 端口 // vue.config.js 配置说明 //官方vue.conf...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import React from 'react'; import 'bootstrap/dist/css/bootstrap.min.css'; // import Form from 'react-bootstrap/Form'; // import Button from 'react-bootstrap/Button'; import { Form, Button } from 'react-bootstrap/'; import FormInfoModal from './FormInfoModal'; class Main extends React.Component { constructor(props...
define( [ 'jquery', 'underscore', 'backbone', 'collections/shared/ModAlertActions', 'views/Base', 'views/shared/alertcontrols/dialogs/shared/triggeractions/table/Master', 'views/shared/alertcontrols/dialogs/shared/triggeractions/AddActionDropDown', 'mo...
import { Clock, Mesh, Vector2, LatheBufferGeometry, Color, ShaderMaterial } from './three/three.module.js'; class TeleportMesh extends Mesh{ constructor(){ super(); this.clock = new Clock(); let points = []; const baseRadius = 0.25; const baseHeigh...
const Bluebird = require('bluebird'); const Transaction = require('../../transaction'); const { isUndefined } = require('lodash'); const debug = require('debug')('knex:tx'); module.exports = class Transaction_MSSQL extends Transaction { begin(conn) { debug('%s: begin', this.txid); return conn.tx_.begin().the...
define([ 'angularAMD', 'modules/oms/basic/service', 'Session' ], function(angularAMD, BaseCtrl){ 'use strict'; angularAMD.controller('CategoryCtrl', ['$scope', 'BasicsService', 'Session', '$controller', '$state', 'ngDialog', function($scope, BasicsService, Session, $controller, $state, ngDialog)...
/** * @ngdoc service * @name ngCordovaMocks.cordovaDialogs * * @description * A service for testing dialogs * in an app build with ngCordova. */ ngCordovaMocks.factory('$cordovaDialogs', function() { var dialogText = false; var dialogTitle = ''; var defaultValue = ''; var promptResponse = ''; var beepCount...
/*! * tanguage script compiled code * * Datetime: Fri, 10 Aug 2018 04:01:28 GMT */ ; // tang.config({}); tang.init().block([ '$_/math/', '$_/draw/Charts/' ], function (pandora, root, imports, undefined) { var module = this.module; var draw = pandora.ns('draw', {}); var math = imports['$_/math/']...
// @flow import React from "react"; import Svg, { Path } from "react-native-svg"; type Props = { size: number, color: string, }; export default ({ size = 16, color }: Props) => ( <Svg height={size} width={size} viewBox="0 0 24 25"> <Path d="M2 3.5H8C9.06087 3.5 10.0783 3.92143 10.8284 4.67157C11.5786...
const Apify = require('apify'); const Promise = require('bluebird'); const tools = require('./tools'); const { utils: { log }, } = Apify; // Create crawler Apify.main(async () => { log.info('PHASE -- STARTING ACTOR.'); const userInput = await Apify.getInput(); log.info('ACTOR OPTIONS: -- ', userInpu...
import mock from 'mock-fs'; import { getPreviewHeadHtml, getPreviewBodyHtml } from './template'; const HEAD_HTML_CONTENTS = '<script>console.log("custom script!");</script>'; const BASE_HTML_CONTENTS = '<script>console.log("base script!");</script>'; const BASE_BODY_HTML_CONTENTS = '<div>story contents</div>'; const ...
import React from "react"; import { StyleSheet, View, Dimensions } from "react-native"; import { Rect, Text, Image, TSpan } from "react-native-svg"; const { width, height } = Dimensions.get("window"); const styles = StyleSheet.create({ title1: { fontSize: 48, fontWeight: "300", }, title2: { fontSize...
import { action } from '@storybook/addon-actions'; import { ThemeProvider } from '@mui/material/styles'; import CssBaseline from '@mui/material/CssBaseline'; import { ThemeProvider as Emotion10ThemeProvider } from 'emotion-theming'; import theme from '../src/@cieloazul310/gatsby-theme-aoi-top-layout/theme'; const with...
import { createConnection, getConnection, getManager } from 'typeorm' import { createHash } from 'crypto' import { CreateUserError } from '../../lib/errors' import adapterConfig from './lib/config' import adapterTransform from './lib/transform' import Models from './models' import logger from '../../lib/logger' const...
/* eslint-disable no-underscore-dangle */ import React, { useState, useEffect } from 'react'; import Router, { useRouter } from 'next/router'; import { Button, Modal, ModalHeader, ModalBody, Label, Input, Form, FormGroup } from 'reactstrap'; import axios from 'axios'; import get from 'lodash/get'; import isEmpty from...
// flow-typed signature: 36fd028cc44b7a67a70f44c69f65595c // flow-typed version: <<STUB>>/cross-env_v^5.2.0/flow_v0.131.0 /** * This is an autogenerated libdef stub for: * * 'cross-env' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the ...
import { __extends } from "tslib"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { DeleteAliasRequest } from "../models/models_0"; import { deserializeAws_restJson1DeleteAliasCommand, serializeAws_restJson1DeleteAliasCommand, } from "../...
'use babel'; import AtomBigComment from '../lib/atom-big-comment'; // Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs. // // To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit` // or `fdescribe`). Remove the `f` to unfocus the block. describe('AtomBigComment', () =...
module.exports = { 'env': { 'es6': true, 'node': true, 'browser': true, 'mocha': true }, 'plugins': [ 'standard', 'mocha' ], 'rules': { 'camelcase': 0 } }
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. const path = require('path'); const webpack = require('webpack4'); const DEVELOPMENT_BUILD = process.env.NODE_ENV === 'development'; console.log(`Creating storybook with internal-only stories: ${DEVELOPMENT_BUILD}`); // Include all stories th...
require('dotenv').config() const path = require('path'); const responseHelper = require('../helpers/responseHelper'); const mongoHelper = require('../helpers/mongoHelper'); module.exports = { commandName: path.basename(__filename).split('.')[0], slash: true, testOnly: true, guildOnly: true, description: 'Sho...
const pageTitle = 'contributors' const stringToTest = 'Contributors' describe(`contributors page test`, () => { it(`tests that the contributors page exists`, () => { cy.visit(`/${pageTitle}`) cy.contains(stringToTest) }) })
import _ from 'lodash' const mappings = { Party: ['address'], Participant: ['user.address'], SocialMedia: ['type', 'value'] } export const dataIdFromObject = o => { const { __typename: type } = o let id const mapProps = mappings[type] if (mapProps) { id = mapProps.reduce((str, p) => `${str}${_.get(...
(function(e){e.fn.appear=function(t,n){var r=e.extend({data:undefined,one:true,accX:0,accY:0},n);return this.each(function(){var n=e(this);n.appeared=false;if(!t){n.trigger("appear",r.data);return}var i=e(window);var s=function(){if(!n.is(":visible")){n.appeared=false;return}var e=i.scrollLeft();var t=i.scrollTop();var...
// @flow class Error { message: string; code: string; error: Object; constructor(message: string, code: string, stack: Object) { this.message = 'Sorry'; this.code = code;this this.error = { status: message || 'Something went wrong, please try again later' ...
'use strict'; /** @namespace DevKit */ var DevKit; (function (DevKit) { 'use strict'; DevKit.Formmsdyn_workorderresolution_Information = function(executionContext, defaultWebResourceName) { var formContext = null; if (executionContext !== undefined) { if (executionContext.getFormContext === undefined) { f...
import { cachedFetcher } from './cached-fetcher' export const preloadingCachedFetcher = fetcher => { const result = cachedFetcher(fetcher) result.preload = id => { try { result(id) } catch (errorOrPromise) { if (typeof errorOrPromise.then !== 'function') { throw errorOrPromise } ...
'use strict' const intersections = require('lodash.intersection') const fixDate = require('./lib/fixdate') module.exports = (opts, callback) => { if (!opts || !callback) { return callback(new Error('Missing required input. Both opts and callback is required.'), null) } if (!opts.result) { return callba...
var applyProperties = require("./applyProperties") var isVText = require('./isVText'); var isVNode = require('./isVNode'); module.exports = createElement; function createElement(vnode) { var doc = document; if (isVText(vnode)) { return doc.createTextNode(vnode.x) // 'x' means 'text' } else if (!isVNode(vno...
window.bookSummaryJSON = "<p>Here at Audible, we know just how much of an impact a voice can have on a story - taking simple words and filling them with elation, wonderment, tragedy, or pure satisfaction. We rely on our narrators every day to bring our favorite stories and characters to life - to introduce us to new au...
//Exercise 6 from http://reactivex.io/learnrx/ function() { var newReleases = [ { "id": 70111470, "title": "Die Hard", "boxart": "http://cdn-0.nflximg.com/images/2891/DieHard.jpg", "uri": "http://api.netflix.com/catalog/titles/movies/70111470", "rating": 4.0, "bookmark": [] }, { "id": 6543...
import React, { useContext } from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; // Raact toggle import Toggle from 'react-toggle'; import 'react-toggle/style.css'; // Hook import { StoreContext, actionTypes } from '../../store'; const Emoji = ({ emoji, label }) => { return ( ...
import React from 'react'; import styles from './Checkbox.module.scss'; const Checkbox = props => <input className={styles.checkbox} {...props} />; Checkbox.displayName = 'Checkbox'; export default Checkbox;
function calcular_decimo(){ /////// ENTRADA DE DADOS/////// var campo_salario_bruto = document.getElementById('campo_salario_bruto') var campo_horas_extras = document.getElementById('campo_horas_extras') var campo_meses_trabalhados = document.getElementById('campo_meses_trabalhados') var campo...
require.config({ baseUrl: '/base', paths: { knockout: 'bower_components/knockout/dist/knockout', cmdr: 'bower_components/cmdrjs/dist/cmdr' } }); require(['spec/knockout.cmdr_test'], window.__karma__.start);
/** * Get Element Style * @param element * @param propertyName * @returns {string} */ export default (element, propertyName) => window.getComputedStyle(element, null) .getPropertyValue(propertyName);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3654],{60931:function(n,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hosts/create",function(){return r(13794)}])},13794:function(n,e,r){"use strict";r.r(e),r.d(e,{default:function(){return c}});var t=r(85893),u=r(18545);function c(){return(0,t.jsx)(t.Fragme...
import { DEBUG } from './constants'; console.log('DEBUG should be true: ', DEBUG);
%extern{ #include <cstdlib> #include <vector> #include <string> #include "zeek/net_util.h" #include "zeek/util.h" %} %header{ zeek::AddrValPtr network_address_to_val(const ASN1Encoding* na); zeek::AddrValPtr network_address_to_val(const NetworkAddress* na); zeek::ValPtr asn1_obj_to_val(const ASN1Encoding* obj); ...
import './bootstrap'; import './vue'; window.Pusher = require('pusher-js'); import Echo from "laravel-echo"; window.Echo = new Echo({ broadcaster: 'pusher', key: '3f7852061ba9396dadad', cluster: 'eu', encrypted: true }); var notifications = []; window._ = require('lodash'); window.$ = window.jQuery =...
"use strict"; Object.defineProperty(exports, '__esModule', {value: true}); exports.HDW1 = MathJax._.output.common.fonts.tex.delimiters.HDW1; exports.HDW2 = MathJax._.output.common.fonts.tex.delimiters.HDW2; exports.HDW3 = MathJax._.output.common.fonts.tex.delimiters.HDW3; exports.VSIZES = MathJax._.output.common.fonts....
import { Grid } from '@material-ui/core'; import PlotCard from '../../../ui-component/controls/PlotCard'; function PlotGrid({ plots }) { return ( <div> <Grid container fixed> {plots && plots.map((plot) => ( <Grid item spacing={1} xs={...
import React from "react"; import Status from "./Status"; export default { title: "Input/Status", component: Status, }; export const Default = () => <Status></Status>;
window.location.pathname = '/manager/telecom';
import Vue from "vue"; import Router from "vue-router"; import AppHeader from "./layout/AppHeader"; import AppFooter from "./layout/AppFooter"; import Components from "./views/Components.vue"; import Landing from "./views/Landing.vue"; import Login from "./views/Login.vue"; import Register from "./views/Register.vue"; ...
import { logger } from 'logger'; /** * The scoped constructor of the controller. **/ (function constructor() { }()); function showOptionDialog() { $.dialog.show(); } function optionDialogClicked({ index }) { alert(`Selected option at index: ${index}`); logger.log(`Ti.UI.OptionDialog selected option at index: $...
// The Module object: Our interface to the outside world. We import // and export values on it. There are various ways Module can be used: // 1. Not defined. We create it here // 2. A function parameter, function(Module) { ..generated code.. } // 3. pre-run appended it, var Module = {}; ..generated code.. // 4. Externa...
import { Controller } from "stimulus" export default class extends Controller { static targets = [ "input", "output" ] update() { this.outputTarget.textContent = this.inputTarget.value } }
'use strict'; // List all sub-level endpoints const rootRouteHandler = (request, reply) => { var table = request.server.table(request.server.info.host)[0].table; var endpoints = []; table.forEach((route) => { var path = route.public.path; if (path.startsWith(request.path) && path !== request.path && path...
'use strict'; const glob = require('glob'); const getRelativePath = require('path').relative; const resolvePath = require('path').resolve; module.exports = eachModule; function eachModule(path, fn) { assertArgIsString('path', path); assertArgIsFunction('fn', fn); performGlob(path, fn); } function assertArgIsStri...
angular.module('templateStore.templates',['ngRoute']) .config(['$routeProvider', function($routeProvider){ $routeProvider. when('/templates', { templateUrl: 'templates/templates.html', controller: 'TemplatesCtrl' }). when('/templates/:templateId', { templateUrl: 'templates/template-details.html', co...
Clazz.declarePackage ("java.util.zip"); Clazz.load (["java.util.zip.DeflaterOutputStream", "$.ZipConstants", "java.util.Hashtable", "java.util.zip.CRC32", "JU.Lst"], "java.util.zip.ZipOutputStream", ["JU.ZStream", "java.io.IOException", "java.lang.Boolean", "$.IllegalArgumentException", "$.IndexOutOfBoundsException", "...
import React from 'react'; const NotFound = () => { return ( <div> <h1>Not Found</h1> <p class='lead'>The page you are looking for does not exist.</p> </div> ); }; export default NotFound;
'use strict'; var Dispatcher = require('flux').Dispatcher; var CostsConstants = require('../constants/CostsConstants'); var copyProperties = require('react/lib/copyProperties'); var AppDispatcher = copyProperties(new Dispatcher(), { handleServerAction: function(action) { var payload = { source: CostsConst...
/** * @ngdoc module * @name functions * @description A module that contains function definitions. */ 'use strict'; const _ = require('lodash'); /** * @ngdoc function * @name add * @module functions * @description Adds two values, either numeric or strings. * * @param {Number|String} v1 The first value. * ...
const defaults = require('./defaults'); const CleverBuffer = require('./clever-buffer-common'); const ieee754ReadFn = require('ieee754').read, ieee754Read = function (offset, isLE, mLen, nBytes) { return ieee754ReadFn( /* buffer */ this, offset, isLE, mLen, nBytes); }; /** * @class * @param {Buffer} buffer data ...
// This file has been autogenerated. exports.setEnvironment = function() { process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'DefaultEndpointsProtocol=https;AccountName=xplat;AccountKey=null'; } exports.scopes = [[function (nock) { var result = nock('http://xplat.table.core.windows.net:443') .get('/Tables?%24fil...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; import Dimensions from './Dimensions'; import {type DisplayMetrics} from './Nat...
/* * SCETA Logo & Navigation Toggle */ // Change the background color of the name container based on its position. // The background will change to a 90% transparent green when pass the full // background. Otherwise, it will be transparent. $(window).scroll(function () { $('.wrapper').each(function () { var w = ...
import React from "react"; import { Route, Redirect } from "react-router-dom"; import { isAutheticated } from "./index"; const PrivateRoute = ({ component: Component, ...rest }) => { return ( <Route {...rest} render={props => isAutheticated() ? ( <Component {...props} /> ) :...
/** * @license Highcharts JS v6.0.7 (2018-02-16) * Old IE (v6, v7, v8) module for Highcharts v6+. * * (c) 2010-2017 Highsoft AS * Author: Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { module.exports =...
import { fromJS } from 'immutable'; import registrationReducer from '../reducer'; describe('registrationReducer', () => { it('returns the initial state', () => { expect(registrationReducer(undefined, {})).toEqual(fromJS({})); }); });
/* global L */ /* * @class * @extends L.Control */ L.TimelineSliderControl = L.Control.extend({ /** * @constructor * @param {Number} [options.duration=10000] The amount of time a complete * playback should take. Not guaranteed; if there's a lot of data or * complicated rendering, it will likely wind u...
const express = require('express'); const morgan = require('morgan'); const fs = require('fs'); const historyApiFallback = require('connect-history-api-fallback'); const mongoose = require('mongoose'); const path = require('path'); const webpack = require('webpack'); const webpackDevMiddleware = require('webpack-dev-mi...
/*! * jquery.sumoselect - v3.0.3 * http://hemantnegi.github.io/jquery.sumoselect */