text
stringlengths
2
1.05M
const { createElement } = require('powercord/util'); const { resolveCompiler } = require('powercord/compilers'); module.exports = { loadStyle (file) { const id = Math.random().toString(36).slice(2); const style = createElement('style', { id: `style-coremod-${id}`, 'data-powercord': true, 'd...
var class_net_suite_1_1_classes_1_1_campaign_family = [ [ "$description", "class_net_suite_1_1_classes_1_1_campaign_family.html#a87b032cba06009e3467abf1c8018d960", null ], [ "$externalId", "class_net_suite_1_1_classes_1_1_campaign_family.html#a81ca4c05e38f38b359335ddf9d52b8c1", null ], [ "$internalId", "cla...
const { executeSignedTxnFromFile } = require('@algo-builder/algob'); async function run (runtimeEnv, deployer) { /* Spec txnParams is encoded in john-to-bob.txn const john = deployer.accountsByName.get('john'); const bob = deployer.accountsByName.get('bob'); const txnParam = { type: TransactionType.Transfe...
'use strict'; describe('myApp.list module', function() { beforeEach(module('myApp.list')); describe('list controller', function(){ it('should ....', inject(function($controller) { //spec body var listCtrl = $controller('ListCtrl'); expect(listCtrl).toBeDefined(); })); }); });
/** * Created by Payne on 2016/1/18 0018. * * [Library] 助手配置生成器 * * 功能: * 1. 生成助手所需要的配置文件 */ var fs = require("fs"); var program = require('commander'); var colors = require('colors'); var util = require('../util'); //Command 配置 program .version('1.1.0') .option('-c, --config <path>', 'Set Config File P...
import { graphql, useStaticQuery } from 'gatsby'; export const useSiteMetadata = () => { const { site } = useStaticQuery( graphql` query SITE_METADATA_QUERY { site { siteMetadata { title titleTemplate description siteUrl imageLin...
const PrivacyGDPR = () => { return ( <div> <h2>GDPR Data Protection Rights</h2> <p> We would like to make sure you are fully aware of all of your data protection rights. Every user is entitled to the following: </p> <ul> <li> The right to access – You have...
"use strict" const express = require("express") const router = express.Router() const axios = require("axios") const RateLimit = require("express-rate-limit") //const BITBOXCli = require("bitbox-cli/lib/bitbox-cli").default; //const BITBOX = new BITBOXCli(); const BitboxHTTP = axios.create({ baseURL: process.env.R...
export const componentsList = ['Home', 'About'];
/** * Created by roderickWang on 7/31/15. */ import {AlertTypes} from '../constants/ActionTypes' import {ModalTypes} from '../constants/ModalTypes' export const httpFaild=(dispatch,data)=>{ dispatch ({ type:AlertTypes.CHANGE_ALERT, data:{ showModal:true, alertType:ModalTyp...
/** * Bio component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.com/docs/use-static-query/ */ import React from "react" import { useStaticQuery, graphql } from "gatsby" import Image from "gatsby-image" const Bio = () => { const data = useStaticQuery(graphql` ...
--- layout: null --- window.onload=function(){var X=document.createElement("script"),e=document.getElementsByTagName("script")[0];X.async=!0,X.src="{{'sw-register.js'|relative_url}}?v="+Date.now(),e.parentNode.insertBefore(X,e)};
window.searchData = {"kinds":{"2":"Module","128":"Class","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":2,"name":"app.component","url":"modules/app_component.html","classes":"tsd-kind-module"},{"id":1,"kind":128,"name":"AppComponent","url":"classes/app_component.App...
const converter = require('./converter'); // const file = 'C:/temp/test.psd'; const file = 'C:/temp/test_10k.psd'; // const file = 'C:/prj.lars/sphere2cube/samples/test.psb'; const basePath = 'c:/temp/!panotest/'; const cfg = { targetImgSize: undefined, previewWidth: 1000, tileSize: 512, backgroundCol...
import * as languages from '../config/i18n' const updateIcon = () => { return (dispatch, getState) => { const { request_sending, appConfig, unreadCount } = getState().app; try { if (request_sending === true) { window.chrome.browserAction.setIcon({path: appConfig.loginImg}); window.chrom...
#!/usr/bin/env node const fs = require('fs'); const CFonts = require('cfonts') const args = require('../libs/args') const prompt = require('../libs/prompt') const Whale = require('../index') let exchangers = require('../config/exchangers.json'); let config = require('../config/whale.json'); // deepMerge to use b...
import memoize from 'memoize-two-args' import deepMerge from './deepMerge' import emptyObj from 'empty/object' const memoizer = memoize(deepMerge) export default function (defaultTheme = emptyObj, userTheme) { if (userTheme === void 0 || userTheme === null) { return defaultTheme } else if (defaultTheme ==...
define([], function () { "use strict"; var videoBase = "videos/"; var imageBase = "images/"; return { // data goes here logo: { url: imageBase + "bday.png" }, videos: [ { url: videoBase + "demo.mp4", thumb: imageBase + "demo.jpg", alt: "Demo" }, { url: vid...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[76],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Pagination/index.vue?vue&type=script&lang=js&": /*!************************************************************************************...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ArgumentsRequired, ExchangeError } = require ('./base/errors'); // --------------------------------------------------------------------------- module.exports = class b...
module.exports = [ //controls, name, source [ ['up', 'w'], "up", require("./movement/up.js") ], [ ['down', 's'], "down", require("./movement/down.js") ], [ ['left', 'a'], "left", require("./movement/left.js") ], [ ['right', 'd'], "right", require("./movement/right.js") ], ...
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
(function () { 'use strict'; /** * @return {UserLoginCtrl} */ const controller = function (Base, $scope, $http, $window) { const PATH = 'modules/registeruser/templates'; const ORDER_LIST = [ 'registeruserData' ]; class RegisteruserCtrl extends Base { ...
import React from 'react'; import { Tooltip } from 'reactstrap'; import Score from './Score'; import Label from './Label'; import Info from './Info'; import ArrowDown from './ArrowDown'; import ArrowRight from './ArrowRight'; export default class extends React.Component { static displayName = 'KeyResult'; constru...
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(289),e.exports=n(288)},function(e,t,n){var r=n(5),o=n(33),i=n(17),a=n(19),u=n(38),s="prototype",...
// Gradpa Benny PWA app // ---------------------- // Author: Ran Levi const version = 1.07; // Date: 25.04.2020 // This is a PWA built with Swiper JS and Bulma.io. // It is designed as a single common app that can be customized // for different stories and langutes based on json files. // Ver. 1.01 (26.4.2020): // ...
/* navbar animation */ $("#toggle").click( function(event){ event.preventDefault(); if ($(this).hasClass("isDown") ) { $( ".navbar-fixed-top" ).animate({ "margin-top": "-62px" }, "fast" ); $( "#content" ).animate({ "margin-top": "5px" }, "fast" ); $(this).removeClass("isDown"); } els...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @unrestricted */ Sources.DebuggerPausedMessage = class { constructor() { this._element = createElementWithClass('div', 'paused-message flex-n...
const bcrypt = require('bcrypt'); const { Schema } = require('mongoose'); const { SALT_WORK_FACTOR } = require('../../../helpers/auth-helpers'); const PasswordMethods = require('./password.methods'); const PasswordSchema = new Schema( { value: String, updatedAt: Date, newPasswordRequest: { date: Da...
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{RXBc:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),i=a.n(n),r=a("Wbzz"),o=a("7vrA"),l=a("3Z9Z"),s=a("JI6e"),d=a("vOnD"),m=a("ehup"),c=(a("q4sD"),a("aT6C"),a("yMkV"),a("rY4l")),p=a("JwsL"),u=function(e){var t=e.children,a=m.data;return i.a.createElement(i.a....
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { Networ...
import { Box, Button, Container, Typography, Grid } from '@material-ui/core'; import { Add } from '@material-ui/icons'; import { useEffect, useState } from 'react'; import { Helmet } from 'react-helmet'; import { Link, useHistory, useRouteMatch } from 'react-router-dom'; import { Tier } from '../../../api/service'; imp...
// TODO: open stream import { setOptions } from './kcp' const NAMES = [ 'nodelay', 'interval', 'fastresend', 'nocwnd', ] // nodelay, interval, fastresend, nocwnd export const MODES = { normal: [0, 40, 2, 1], fast: [0, 30, 2, 1], fast2: [1, 20, 2, 1], fast3: [1, 10, 2, 1], } export function setKCPMode...
import createAutocompleteSource from './createAutocompleteSource'; import defaultTemplates from './defaultTemplates'; export default function createAutocompleteDataset(options) { const templates = { ...defaultTemplates, ...options.templates, }; const source = createAutocompleteSource({ ...options, ...
export * from '@styled-icons/boxicons-solid/Share';
module.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModu...
/** * Question 1.1 * @param str - The input string. * @returns True if all the Characters ate unique, otherwise false. */ function isUnique(str){ } isUnique('avvv');
const initialState = { formState: { smsCode: '', googleCode: '', emailCode: '', }, requestGetCodeLoading: false, requestGetCodeResponse: null, } export default function updatePassword(state = initialState, action) { let nextState const { type, payload } = action switch (type) { case 'upd...
import { createThemedIcon } from './utils/createThemedIcon' import { FilledStreetview } from './FilledStreetview' import { OutlineStreetview } from './OutlineStreetview' import { RoundStreetview } from './RoundStreetview' import { SharpStreetview } from './SharpStreetview' import { TwoToneStreetview } from './TwoToneSt...
const loginCommands = { openDialog() { return this .waitForElementVisible('@authorizeDialogButton') .click('@authorizeDialogButton') .waitForElementVisible('@authorizeDialog'); }, login(keyId, key) { return this .assert.visible('@keyIdInput') .assert.visible('@keyInput') ...
let history = require('./history'); let kb = require('./kb'); let mappings = require('./mappings'); let ace = require('ace'); let utils = require('./utils'); let autocomplete_engine = require('./autocomplete/engine'); let url_pattern_matcher = require('./autocomplete/url_pattern_matcher'); let _ = require('lodash'); le...
export { default } from './CheckoutContainer';
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '2c224e7e-3ef5-431d-a57b-e71f4662e3a6', name: 'Node CLI Test', user: { ...
/* */ "format cjs"; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { createEnumExpression } from '../compiler_util/identifier_util'; import { Identifiers } ...
import React, { useRef, useEffect } from 'react'; import { StyleSheet, Animated, View, TouchableOpacity } from 'react-native'; const range = (min, max) => new Array(max - min + 1).fill(0).map((_, i) => min + i); const Dot = (props) => { const { full, onPress } = props; const dotStyles = [styles.dot, full ? styles...
/*! For license information please see main.64600162.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[333],[function(e,n,t){"use strict";e.exports=t(38)},function(e,n,t){e.exports=t(42)()},function(e,n,t){"use strict";t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return x})),t.d(n,"c",(f...
// Highway import Highway from 'highway'; // GSAP import Tween from 'gsap'; // Fade class Fade extends Highway.Transition { in(view, done) { // Animation Tween.fromTo(view, 0.5, { opacity: 0 }, { opacity: 1, onComplete: done } ); } out(view, done) { // Animatio...
import faker from "Faker"; import config from "../../vue.config" export default class Topic { static getDummy() { let r = new Topic(); let title = `${faker.random.catch_phrase_adjective()} ${faker.random.catch_phrase_noun()}` r.title = title; let id = faker.random.number(4); r.image = `${config.publicPath}i...
import { when } from 'jest-when'; jest.mock('../transformDocumentSnapshot'); import transformDocumentSnapshot from '../transformDocumentSnapshot'; import transformDocumentRef from '../transformDocumentRef'; describe('transformDocumentRef', () => { it('should return a document', async () => { const $mockDocRef ...
Rickshaw.namespace('Rickshaw.Graph'); Rickshaw.Graph = function(args) { var self = this; this.initialize = function(args) { if (!args.element) throw "Rickshaw.Graph needs a reference to an element"; if (args.element.nodeType !== 1) throw "Rickshaw.Graph element was defined but not an HTML element"; this.el...
import { connect } from 'react-redux'; import prepare from 'app/utils/prepare'; import { fetch, shareSurvey, hideSurvey } from 'app/actions/SurveyActions'; import SurveyDetail from './components/SurveyDetail'; import { compose } from 'redux'; import { selectSurveyById } from 'app/reducers/surveys'; import { LoginPage }...
gXMLBuffer="<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?><pk><wd nm=\"rray1\" rd=\"1104,0:777:0\"/><wd nm=\"rray2\" rd=\"1104,0:823:0\"/><wd nm=\"rraybuffer\" rd=\"260,0:3497:0\"/><wd nm=\"rraydata\" rd=\"814,0:1359,1590:0\"/><wd nm=\"rrayget\" rd=\"488,0:342,509,1410:0\"/><wd nm=\"rrayindex\" rd=\"550,0...
import EventEmitter from 'events'; const FlaxEmitter = function () {}; FlaxEmitter.prototype = new EventEmitter(); FlaxEmitter.prototype.emitChange = function(event) { this.emit(event.toString()); if (event !== event.store.events.DEFAULT) { this.emit(event.store.events.ANY.append(event.tags).toString()); } ...
module.exports = { 'plugins': [ 'react' ], 'parserOptions': { 'ecmaFeatures': { 'jsx': true } }, 'rules': { 'jsx-quotes': [2, 'prefer-single'], 'react/jsx-boolean-value': 2, 'react/jsx-closing-bracket-location': [1, { selfClosing: 'after-props', nonEmpty: 'after-props' }], 'r...
!function(r){function e(e){for(var t,o,n=e[0],s=e[1],a=e[2],i=0,l=[];i<n.length;i++)o=n[i],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&l.push(c[o][0]),c[o]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(r[t]=s[t]);for(m&&m(e);l.length;)l.shift()();return u.push.apply(u,a||[]),d()}function d(){for(var e,t...
import React, { useEffect, useState } from 'react' import { ResponsiveCalendar } from '@nivo/calendar' import { Flex, Box, Select } from 'ooni-components' import useSWR from 'swr' // TODO adapt to axios const fetcher = url => fetch(url).then(r => r.json()) const fromDate = '2019-06-01' const toDate = '2020-05-31' con...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId])...
import React, { useState, useRef } from "react" import { Link as GatsbyLink } from "gatsby" import { Box, Drawer, DrawerBody, DrawerHeader, DrawerOverlay, DrawerContent, DrawerCloseButton, Flex, IconButton, Stack, Text, useDisclosure, } from "@chakra-ui/react" import AstronautIcon from "./icons/...
/** * @author v.lugovsky * created on 15.12.2015 */ (function () { 'use strict'; angular.module('blocks.theme', [ 'ui.bootstrap', 'textAngular', 'angular.morris-chart', 'chart.js', 'angular-chartist', 'blocks.theme.components' ]); })();
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { options: { separator: '<%= grunt.util.linefeed %><%= grunt.util.linefeed %>', }, preUMD: { src: 'src/*.js', de...
/******/ (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...
import wepy from 'wepy'; import {request} from './index'; import {hasUserInfo} from '../utils'; export const productGetCategory = async (storeID) => { return await request( 'category', { data: { page: 1, page_size: 1000, shop: storeID, }, }, ); }; export const pro...
// Binary search in js function recursiveBinarySearch(arr, x, start, end) { // Base Condition if (start > end) return "Element not found"; // Find the middle index let mid = Math.floor((start + end) / 2); // Compare mid with given key x if (arr[mid] === x) return `Found ${arr[mid]} at index ${mid}`; /...
'use strict'; /*jshint latedef:false */ var AssertionError = require('assert').AssertionError; var ownUtils = require('./utilities'); var Report = require('./report'); function ensureEqual(context, actual, expected) { ensureEqualValues( context, typeof actual, typeof expected, 'types'); if (own...
/* ++++++ SYMBOL OVERRIDE EXTENSION ++++++ By Mark Hunte 2021 Versions: 1.1.4 1.1.4 changes. Put all Hype API properties in the exclude check. Must use css:propertyName when overriding css properties of same name. This Fixed an issue with a bug in the CSS.support method. The use of a 0 as a value for left...
import { Scene } from './scene'; export class Store extends Scene { constructor() { super(); this.scene_name = 'store'; this.judge_colors = ['store_gift', 'store_interface']; this.colors = { "free_blackegg": { "region":[234,201,270,292], "...
/** * Created by luopotaotao on 2016/4/18. */ $(function () { bindHandlers(); bindT2Handlers(); var t1Url = 'return'; var t2Url = 'returnDtl' function bindHandlers() { $('a.easyui-linkbutton').unbind(); // loadDic(); $('#btn_add').bind('click', toAdd); ...
'use strict'; /** * @format * @flow */ import moment from 'moment'; import updateObject from '../utils/updateObject'; import getUnique from '../utils/getUnique'; import * as types from '../actions/queue/types'; import * as entitiesTypes from '../actions/entities/types'; import {type Firebase} from '../utils/fireba...
/** * Created with JetBrains RubyMine. * User: teamco * Date: 2/13/13 * Time: 11:47 PM */ import {WidgetOverlapping} from './widget.overlapping'; /** * @class WidgetMap * @type {WidgetMap} */ export class WidgetMap extends WidgetOverlapping { /** * @constructor * @param {Widget} widget */ constr...
import Mock from 'mockjs' const List = [] const count = 20 for (let i = 0; i < count; i++) { List.push(Mock.mock({ id: '@increment', 'dictionaryType|1': ['sell', 'Buiness_Type', 'CallState', 'ContactType', 'Gender_Type', 'Jump_Type'], 'dictionaryName|1': ['业务类型', '联系方式里的联系类型', '代理人分的渠道', '用于客户管理', '用于回访...
'use strict' const promisify = require('promisify-es6') const ConcatStream = require('concat-stream') const once = require('once') const isStream = require('is-stream') const OtherBuffer = require('buffer').Buffer const isSource = require('is-pull-stream').isSource const FileResultStreamConverter = require('../utils/f...
/** * Implement Gatsby's Browser APIs in this file. * * See: https://www.gatsbyjs.com/docs/browser-apis/ */ export { default as wrapRootElement } from "./src/state/ReduxWrapper" export const onServiceWorkerUpdateReady = () => { const answer = window.confirm( `This application has been updated. ` + `Re...
define([],function(){var e={user:{}};return e.user.browser=function(e,r,n){var o="visible";n&&n.mode&&(o=n.mode);var a="0";$.isArray(e)&&0<e.length&&(a=e.join()),$("#user-browser-dialog")[0]&&$("#user-browser-dialog").remove();var i="./index.php?c=utility&a=user&do=browser&callback=aMember&mode="+o+"&uids="+a,t=util.di...
module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"2":"1 2 3 RB F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r PB OB"},D:{"2":"1 2 7 9 F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r DB SB AB BB...
import React from 'react' import {Layer, Box, Text, Button, Image} from 'grommet' import { FormClose } from 'grommet-icons' import format from 'date-fns/format' import PropTypes from 'prop-types' import Events from './Calendar/Events' const sortyByDate = (eventA, eventB) => new Date(eventA.date) - new Date(eventB.da...
const fs = require('fs'); const https = require('https'); const prompts = require('prompts'); (async () => { const nb = await prompts({ type: 'number', name: 'nbCodes', message: 'Number of codes', validate: nbCodes => nbCodes < 1 ? `Number of codes can only be a number between ...
const { SlashCommandBuilder } = require('@discordjs/builders'); const SpeakerClient = require('../../utils/SpearkClient'); module.exports = { info: { name: 'join', description: '読み上げを開始', category: 'main', deferReply: false, }, data: new SlashCommandBuilder() .setNa...
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol; //Edge symbol: 'stage' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_petals}","click",function(sym,e){sym.getComposition().getStage().getSymbol('petals').play(0);}); //Edge binding end Symbol.bindElementAction(compId,s...
(function(d){ const l = d['cs'] = d['cs'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 z %1","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":...
module.exports = { 'basic': { message: 'supports basic usage' }, 'basic:no-preserve': { message: 'supports { preserve: false } usage', options: { preserve: false } }, 'invalid': { message: 'ignores invalid usage', expect: 'invalid.css', result: 'invalid.css' }, 'invalid:warn': { message: 'warn...
//Libraries import React from 'react'; class Item extends React.Component { constructor (props) { super(props); this.state = { feed: null } } componentWillReceiveProps (feedData) { this.setState({ feed: feedData }); } render () { let item = '';...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.5.4.11_A1_T1; * @section: 15.5.4.11; * @assertion: String.prototype.replace (searchValue, replaceValue); * @description: Arguments are true and 1, and instance is object;...
'use strict'; const app = { api: 'https://aqueous-atoll-85096.herokuapp.com', }; module.exports = app;
// Copyright 2017, Google, Inc. // 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 wr...
var expect = require('chai').expect; describe('Slashed variables', function() { var testrun; before(function(done) { this.run({ environment: { values: [{key: 'fo/o', type: 'text', value: 'alpha', enabled: true}, {key: 'b\\ar', type: 'text', value: 'beta'...
const p = require('path') const test = require('tape') const { create } = require('./util/create') test('can replicate a single drive between daemons', async t => { const { clients, cleanup } = await create(2) const firstClient = clients[0] const secondClient = clients[1] try { const drive1 = await firstC...
import React from 'react'; import './InteractiveJsonDocument.css'; import InteractiveJsonKeyValue from './InteractiveJsonKeyValue'; const CURLY_OPEN = `{`; const CURLY_CLOSE = `}`; class InteractiveJsonDocument extends React.Component { constructor(props) { super(props); } render() { cons...
// area24.ilsole24ore.com loadCSS("dist/css/main.min.css"); // loadCSS("https://fonts.googleapis.com/css?family=Libre+Franklin:400,700"); // loadCSS("https://d1azc1qln24ryf.cloudfront.net/44188/Area24/style-cf.css?5c24tv"); // alternate method // var loadDeferredStyles = function() { // var addStylesNode = docume...
/*globals module, $, console*/ var getData = function () { 'use strict'; var apiUrl = 'http://lsp.powerathens.com/api/v1/station/now-playing/'; var ajaxObj = { url: apiUrl, data: { callback: 'cmg.radioheader.lsploop_callbacks.callback0' }, success: function() { ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["swipe-back-c7acdfde-js"],{ /***/ "./node_modules/@ionic/core/dist/esm/swipe-back-c7acdfde.js": /*!******************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm/swipe-back-c7acdfde.js ***! \*************...
/** * Components */ Meteor.publish('components', function (options) { return Components.find({}, options); }); Meteor.publish('singleComponent', function (link) { return Components.find({ link: link }); }); /** * Pages */ Meteor.publish('pages', function (componentId) { return Pages.find({ componentId: compon...
import React, {Component} from 'react'; import {SkipNavLink, SkipNavContent} from '@reach/skip-nav'; import {MDXProvider} from '@mdx-js/react'; import styled from '@emotion/styled'; import { Container, Demo, Button, Row, Col, Flex, MEDIA, ExternalLink, } from './Framework'; import Tippy from './Tippy'; ...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------------------------------...
/** * Copyright 2017-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; // import dependencies const bodyParser = require('body-parser'), express = require('express'), a...
'use strict' /*global describe beforeEach afterEach it*/ var assert = require('assert') var simple = require('../index') var AClass = require('./support/moduleA').AClass describe('moduleA', function () { afterEach(function () { simple.restore() }) describe('an instance of AClass', function () { var myAC...
import * as ls from './localStorage'; import i18n from 'i18next'; import { reactI18nextModule } from 'react-i18next'; import backend from 'i18next-xhr-backend'; let _defaultLanguage = 'en'; let _currentLanguage; function getCurrentLanguage() { if (_currentLanguage) return _currentLanguage; _currentLanguage = ls.g...
/* eslint-env node */ /* eslint strict:0 */ var gulp = require("gulp"); var insert = require("gulp-file-insert"); var uglify = require("gulp-uglify"); var minifyCSS = require("gulp-cssnano"); var eslint = require("gulp-eslint"); var autoprefixer = require("gulp-autoprefixer"); var sass = require("gulp-sass"); var size ...
const _ = require('./utils') test('picker', async() => { const page = global.$$page const componentId = _.load({ template: `<element class="h5-body" style="width: 100%; height: 100%;" data-private-node-id="e-body" data-private-page-id="${page.pageId}"></element>`, usingComponents: { ...
NDSummary.OnToolTipsLoaded("CClass:IBBox2",{186:"<div class=\"NDToolTip TStruct LC\"><div class=\"NDClassPrototype\" id=\"NDClassPrototype186\"><div class=\"CPEntry TStruct Current\"><div class=\"CPModifiers\"><span class=\"SHKeyword\">struct</span></div><div class=\"CPName\">IBBox2</div></div></div><div class=\"TTSum...