text
stringlengths
2
1.04M
'use strict'; // see tools/generate-charset-mapping.js // basicalliy result of "SHOW COLLATION" query module.exports = [ 'utf8', 'big5', 'latin2', 'dec8', 'cp850', 'latin1', 'hp8', 'koi8r', 'latin1', 'latin2', 'swe7', 'ascii', 'eucjp', 'sjis', 'cp1251', 'latin1', 'hebrew', 'utf8', ...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var SkipNextCircle = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createEl...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = makeProxiedMethods; var _makeLoopMethods = require('./make-loop-methods'); var _makeLoopMethods2 = _interopRequireDefault(_makeLoopMethods); var _makeIsMethods = require('./make-is-methods'); var _makeIsMethods2 = _int...
import { dialog } from 'electron'; import { join, parse } from 'path'; import { walk, mkdirpAsync, renameAsync } from '@vgm/nodeasync'; import pAll from 'p-all'; import deleteEmpty from 'delete-empty'; import { slugify } from './slugify'; const isWin = process.platform === 'win32'; export const showDirectory = (even...
'use strict'; const checkForSpam = function (message) { return (message.toLowerCase()).includes('sale') || (message.toLowerCase()).includes('spam'); } console.log(checkForSpam('Latest technology news')); // false console.log(checkForSpam('JavaScript weekly newsletter')); // false console.log(checkForSpam('Get best...
sap.ui.define(["sap/ui/integration/editor/Extension"], function (Extension) { "use strict"; var DataExtension = Extension.extend("integration.test.editor.extension.getData.DataExtension"); // should return a promise DataExtension.prototype.getData = function () { // Get information about trainings, trainers, an...
'use strict'; const os = require('os'); const gulp = require('gulp'); const mocha = require('gulp-mocha'); const istanbul = require('gulp-istanbul'); const coveralls = require('gulp-coveralls'); const eslint = require('gulp-eslint'); const runSequence = require('run-sequence'); if (!('COVERALLS_SERVICE_NAME' in proce...
import React from 'react'; import Svg, { Path } from 'react-native-svg'; function SvgComponent({ color, size, ...props }) { return ( <Svg height={size} fill={color} viewBox="0 0 24 24" width={size} {...props}> <Path d="M12 2a10 10 0 1010 10A10 10 0 0012 2zM5 15.8a8.42 8.42 0 002 .27 5 5 0 003.14-1c1.71-1.3...
/*! * Vue Material v0.7.4 * Made with love by Marcos Moura * Released under the MIT License. */
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])...
function foo(x, y, ...z) { } var a; var z; var obj; var xa; foo(1, 2, "abc"); foo(1, 2, ...a); foo(1, 2, ...a, "abc"); obj.foo(1, 2, "abc"); obj.foo(1, 2, ...a); obj.foo(1, 2, ...a, "abc"); obj.foo(1, 2, ...a).foo(1, 2, "abc"); obj.foo(1, 2, ...a).foo(1, 2, ...a); obj.foo(1, 2, ...a).foo(1, 2, ...a, "abc"); obj.foo(1, ...
function check(str, bracketsConfig) { const OPEN_BRACKETS = []; const BRACKETS_PAIR = {}; for (const brackets of bracketsConfig) { OPEN_BRACKETS.push(brackets[0]); BRACKETS_PAIR[brackets[1]] = brackets[0]; } let stack = []; for (const ch of str) { if (OPEN_BRACKETS.includes(ch) && ch === BRA...
/* * CocoaScript utility functions. */ import { trace } from './logger' import { readFile } from 'sketch-module-fs' /** * Execute a function, but don't crash Sketch if it throws. This excellent * pattern borrowed from the Git Sketch plugin. * * @param {Object} context provided by Sketch * @param {function} fun...
export function borderRadius(radius) { if (!radius) { return ''; } else if (!Array.isArray(radius)) { const r = radius / 2; return ` overflow: hidden; border-radius: ${r}px; border-top-left-radius: ${r}px; border-top-right-radius: ${r}px; border-bottom-left-radius: ${r}px;...
import { graphql, useStaticQuery } from 'gatsby'; const useLandingPage = () => { const data = useStaticQuery(graphql` query LandingPage { page: sanityPage(_id: {regex: "/(drafts.|)frontpage/"}) { heading subheading content { ... on SanityFigure { _key ...
/** * 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. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
/** * Copyright (C) 2018 Glayzzle (BSD3 License) * @authors https://github.com/glayzzle/php-parser/graphs/contributors * @url http://glayzzle.com */ "use strict"; /** * This is the php lexer. It will tokenize the string for helping the * parser to build the AST from its grammar. * * @constructor Lexer * @memb...
import React from 'react' import { shallow } from 'enzyme' import Cart from './Cart' import Product from './Product' const setup = (total, products = []) => { const actions = { onCheckoutClicked: jest.fn() } const component = shallow( <Cart products={products} total={total} {...actions} /> ) return...
import React from "react"; import styled from "styled-components" import { Link } from "gatsby"; import Img from "gatsby-image"; const ItemThumbnailStyled = styled.div` width: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 20px; backgrou...
"use strict"; var path = require("path"); var extract = require("./extract"); var htmlExtensions = [ ".erb", ".handlebars", ".hbs", ".htm", ".html", ".mustache", ".nunjucks", ".php", ".tag", ".twig", ".vue", ".we", ]; var xmlExtensions = [ ".xhtml", ".xml", ]; // Disclaimer: // // This i...
function RelationSingle() { } Class.extend( Relation, RelationSingle, { debugInit: null, debugClearModel: null, debugSetModel: null, debugLoaded: null, debugClearKey: null, debugUpdateKey: null, hasDiscriminator: true, onInitialized: function(database, field, options) { if ( !this.discriminate...
var GValidtaion = { rules : { required : /[^.*]/, alpha : /^[a-z ._-]+$/i, alphanum : /^[a-z0-9 ._-]+$/i, digit : /^[-+]?[0-9]+$/, nodigit : /^[^0-9]+$/, number : /^[-+]?\d*\.?\d+$/, email : /^([a-zA-Z0-9_\.\-\+%])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/, image : /.(jpg|jpeg|png|gif|bmp)$/i, pho...
/// BCRYPT const bcrypt = NpmModuleBcrypt; const bcryptHash = Meteor.wrapAsync(bcrypt.hash); const bcryptCompare = Meteor.wrapAsync(bcrypt.compare); // Utility for grabbing user const getUserById = (id, options) => Meteor.users.findOne(id, Accounts._addDefaultFieldSelector(options)); // User records have a 'services...
const path = require("path"); const webpack = require("webpack"); module.exports = { entry: { main: path.resolve(__dirname, "./src/index.ts") }, externals: [ /^[a-z\-0-9]+$/ // Exclude node_modules ], node: { __dirname: false }, target: "node", output: { ...
define("ace/theme/chrome", ["require", "exports", "module", "ace/lib/dom"], function (e, t, n) { (t.isDark = !1), (t.cssClass = "ace-chrome"), (t.cssText = var r = e("../lib/dom"); r.importCssString(t.cssText, t.cssClass); });
import React from 'react'; import { shallow } from 'enzyme'; import { HybridsDisplay } from '../HybridsDisplay'; jest.mock('react-router-dom', () => ({ ...jest.requireActual('react-router-dom'), // use actual for all non-hook parts useLocation: () => ({ search: '', }), })); describe('HybridsDisplay', () => ...
/* * GRPC 静态代码生成服务端 * */ let service = require('../static_codegen/proto/Student_grpc_pb') let messages = require('../static_codegen/proto/Student_pb') let grpc = require('grpc') let server = new grpc.Server() server.addService(service.StudentServiceService,{ // 实现接口方法 getRealNameByUsername: getRealNameByUsern...
const NKO_DIGIT = '\\u07C0-\\u07C9'; const NKO_LETTER = '\\u07CA-\\u07F5\\u07FA\\u07FD'; const NKO_SYMBOL = '\\u07F6\\u07FE-\\u07FF'; const NKO_PUNCTUATION = '\\u07F7-\\u07F9'; module.exports = { NKO_DIGIT, NKO_LETTER, NKO_SYMBOL, NKO_PUNCTUATION, };
'use strict'; var _24 = { elem: 'svg', attrs: { xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 32 32', width: 24, height: 24, }, content: [ { elem: 'path', attrs: { d: 'M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2z...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireWildcard(require("react")); var _configSanity = _interopRequireDefault(require("config:sanity")); var _default2 = _int...
const path = require('path'); module.exports = { mode: 'none', devtool: 'inline-source-map', entry: path.resolve(__dirname, 'src/index.js'), output: { filename: '[name].js', path: path.resolve(__dirname, 'dist'), }, devServer: { contentBase: path.resolve(__dirname, 'public'), }, module: { ...
'use strict'; var util = require('util'); var SensorLib = require('../index'); var Actuator = SensorLib.Actuator; var _ = require('lodash'); var logger = Actuator.getLogger(); var SoftDCSBase = require('../softDCSBase'); function SoftDCSBaseActuator(sensorInfo, options) { var self = this; var tokens; Actuator...
import React from 'react' import { TOTAL_SCREENS } from '../utilities/commonUtils' export default function PortfolioContainer() { const mapAllScreens = () =>{ return( TOTAL_SCREENS.map((screen)=>( (screen.component) ? <screen.component screenName={screen.screen_name} key={screen...
/* * A Promised NodeJS Module for connecting with the Qredit V2 API */ const request = require("request"); const Big = require('big.js'); var darkApi = /** @class */ (function () { function darkApi(apiURL) { if (apiURL === void 0) this.apiURL = 'https://dapi.ark.io/api'; else ...
var ROUTES_INDEX = {"name":"<root>","kind":"module","className":"AppModule","children":[{"name":"routes","filename":"src/app/app-routing.module.ts","module":"AppRoutingModule","children":[{"path":"","redirectTo":"home","pathMatch":"full"},{"path":"home","component":"HomeComponent"},{"path":"about","component":"AboutCom...
class Rope { constructor(bodyA, pointB) { var options = { bodyA: bodyA, pointB: pointB, stiffness: 1.2, length: 450, }; this.pointB = pointB; this.rope = Constraint.create(options); World.add(world, this.rope); } attach(body) { this.rope.bodyA = body; } fly() ...
mycallback( {"CONTRIBUTOR OCCUPATION": "TCU ASST INT'L REP", "CONTRIBUTION AMOUNT (F3L Bundled)": "75.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "TCU BNSF", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "105 W DOUGLAS ST.", "CONTRIBUTOR MIDDLE NAME": "D", "DONOR CANDIDATE FEC ID": "", "DO...
export const reset = { '@global': { 'article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section': { display: 'block', }, body: { lineHeight: 1, }, h5: { marginBottom: [16, '!important'], }, 'html, body, div, span, applet, object, iframe, h1, h...
/* artifact generator: C:\My\wizzi\wizzi\packages\wizzi-core\dist\node_modules\wizzi-legacy-v5\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\wizzi\packages\wizzi-core\dist\lib\artifacts\wfschema\model\gen\ittf\wfschema-model.js.ittf utc time: Thu, 13 Jun 2019 20:21:34 GMT */ '...
import React, { useState, useEffect } from 'react'; import '../styles/Login.css'; import axios from 'axios'; import * as yup from 'yup'; import { useNavigate } from 'react-router-dom'; import loginSchema from '../Validation/loginSchema'; import { API_URL } from '../Constants'; import { setUserId } from '../Actions/user...
import verifySubselectors from './verifySubselectors' export function impureFinalPropsSelectorFactory( mapStateToProps, mapDispatchToProps, mergeProps, dispatch ) { return function impureFinalPropsSelector(state, ownProps) { return mergeProps( mapStateToProps(state, ownProps), mapDispatchToPr...
/** * Copyright 2012, Raxa * * 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 writin...
/* * Copyright 2021 The Backstage Authors * * 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 ...
import { CButton, CAlertDialog, CAlertDialogContent, CAlertDialogBody, CAlertDialogFooter, CAlertDialogOverlay, CAlertDialogHeader } from '../..' import { render, userEvent, fireEvent, waitMs } from '@/tests/test-utils' import Vue from 'vue' import { useId } from '@/packages/chakra-ui-core/src/utils' // mocks jest.moc...
/* eslint-disable max-classes-per-file */ export default class Storage { static saveToStorage(arr) { localStorage.setItem('todoList', JSON.stringify(arr)); } static getFromStorage() { let tasks; if (localStorage.getItem('todoList') === null) { tasks = []; } else { tasks = JSON.parse(...
export { default } from 'ember-google-maps/components/-private-api/warn-missing-component';
(function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) }...
module.exports = function(grunt) { // Add our custom tasks. grunt.loadTasks('../../../tasks'); grunt.registerTask('fail', function(label) { grunt.log.writeln(label); return false; }); grunt.registerTask('pass', function(label) { grunt.log.writeln(label); return true; }); // Default task...
import React from 'react'; import PropTypes from 'prop-types'; import { createStructuredSelector } from 'reselect'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { push } from 'connected-react-router'; import { Helmet } from 'react-helmet'; // @material-ui/core import withStyles from '...
import { expect } from 'chai'; import { is, TypedNode, Schema, Type, Factory, State } from '../src'; const NUMBER = 10; const STRING = 'str'; const BOOL_TRUE = true; const BOOL_FALSE = false; const NULL = null; const UNDEFINED = undefined; const FUNCTION = () => {}; const LIST = []; const MAP = {}; const PROMISE = Pro...
import React, {useState, useEffect} from 'react'; import InputButton from '../../components/generic/InputButton'; import TextArea from '../../components/generic/TextArea'; import { getParam, updateParam } from '../../services/paramsService'; const AdminHome = () => { const [welcomeMess, setWelcomeMess] = useSt...
import React from 'react'; import PropTypes from 'prop-types'; import { Animated, View } from 'react-native'; import { Svg, Path, G } from 'react-native-svg'; export default class CircularProgress extends React.PureComponent { polarToCartesian(centerX, centerY, radius, angleInDegrees) { var angleInRadians = ((an...
browser.storage.onChanged.addListener((settings) => { if ("playback_speed" in settings) { setPlaybackSpeed() } }) function setPlaybackSpeed() { function onGot(val) { let videoElementList = document.getElementsByTagName("video") if (videoElementList.length > 0) { ...
var $dlgGoto = (function(){ var $dlg=$('' +'<div class="notepad-goto-dlg">' +'<div class="dialogbox">' +'<div class="titlebar">' +'<p class="title">转到指定行</p>' +'<span class="btn-close">×</span>' +'</div>' +'<div class="main">' +'<lable>行号(L):...
/** * @fileoverview Requires specific casing for the Prop name in Vue components * @author Yu Kimura */ 'use strict' const utils = require('../utils') const casing = require('../utils/casing') const allowedCaseOptions = ['camelCase', 'snake_case'] // ----------------------------------------------------------------...
import { Link } from 'gatsby' import React, { Component } from 'react' import styled from 'styled-components' import {Section, Title, SectionButton, styles} from '../../utils' export default class Info extends Component { render() { return ( <Section> <Title message="Info about...
!(function (e, a) { module.exports = a(require('number-intl')) })(this, function (e) { return e.addLocaleData({ "locale": "bm-Nkoo", "number": { "nu": [ "latn" ], "patterns": { "decimal": { "pos": "{number}", "ne": "{minus...
import React from 'react'; import InputBlock from '../../components/InputBlock'; import isValidEmail from '../../utils/validators/isValidEmail'; function Form1({ state, setState }) { return ( <> <InputBlock label="Nome da empresa" id="name" value={state.name} onChange={e =>...
#!/usr/bin/env node var prerender = require('./lib'); var server = prerender({ workers: process.env.PRERENDER_NUM_WORKERS, iterations: process.env.PRERENDER_NUM_ITERATIONS }); server.use(prerender.sendPrerenderHeader()); // server.use(prerender.basicAuth()); // server.use(prerender.whitelist()); server.use(p...
import React from 'react'; import { connect } from 'react-redux'; import Confetti from 'react-confetti'; import bridge from '@vkontakte/vk-bridge'; import { closePopout, goBack, openModal, openPopout, setPage } from '../../store/router/actions'; import { Alert, Avatar, Button, CardGrid, ContentC...
import { SUPPORTGROUPS_EDIT_REQUEST, SUPPORTGROUPS_EDIT_SUCCESS, SUPPORTGROUPS_EDIT_FAILURE, SUPPORTGROUPS_EDIT_FIELD, SUPPORTGROUPS_EDIT_SAVE, } from '../types'; import { fetchData, fetchJson } from 'transport'; import { loaderOff, loaderOn, } from '../loader'; import * as action...
load("fcfbc86708bc3a4062c2091a062e13b6.js"); load("45e1d6de6cbdd6f2ea33d472d566096a.js"); // |reftest| skip -- slow /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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 dist...
//# sourceMappingURL=..\..\..\debug\ui-bootstrap\transition\test\transition.spec.min.map
import intl from "intl" import React from "react" import { Provider } from "react-redux" import { connect } from "redaction" import { store } from "./store" import { IntlProvider } from "./IntlProvider" global.Intl = intl // polyfill for ios 9 const LanguageProvider = connect({ locale: "init.locale", })(({ locale, ...
/* Copyright (c) 2018 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import {styled} from '../styles/index.js'; import {Accordion, Panel, StatefulPanel} from './index.js'; import...
import { connect } from 'dva'; import { View, Checkbox, Input, Message, Select, Lang } from '../../../components'; import { PageComponent } from '../Page'; import { getSetting } from '../../../utils/getSetting'; import style from '../index.scss'; const { Content, Split } = View; const State = state => ({ setting: st...
/** * 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. */ const RemarkablePlugins = require('./core/RemarkablePlugins'); const users = require('./showcase.json'); let communityRepos = [];...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ 'use str...
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import axe from '../../../../axe'; import CheckboxGroup from '..'; const options = [ { value: 'checkboxOne', label: 'Checkbox One' }, { value: 'checkboxTwo', label: 'Checkbox Two' }, { value: 'checkboxThree', label: 'Checkbox Three' ...
module.exports = { graphql: { config: { endpoint: "/graphql", shadowCRUD: true, playgroundAlways: false, depthLimit: 15, amountLimit: 100, apolloServer: { tracing: true, }, }, }, };
const dayjs = require('dayjs'); const got = require('@/utils/got'); module.exports = async (ctx) => { const { imdb_id } = ctx.params; const response = await got({ method: 'get', url: `https://eztv.it/api/get-torrents?imdb_id=${imdb_id}`, headers: { Referer: 'https://eztv.i...
import * as reachabilityModule from "./reachability.ts" import * as typeChkModule from "./typeCheck.ts" import * as graphModule from "./graph.ts" const test = modules => { for(const module of modules) { for(const test of module.tests) test() } } test([reachabilityModule, typeChkModule, graphModule])
import { BasePlugin } from '../base' import mdcList from './mdc-list.vue' import mdcListItem from './mdc-list-item.vue' import mdcListDivider from './mdc-list-divider.vue' import mdcListGroup from './mdc-list-group.vue' import mdcListGroupHeader from './mdc-list-group-header.vue' import mdcListGroupDivider from './mdc-...
// @flow import * as Constants from '../constants/wallets' import * as Types from '../constants/types/wallets' import * as RPCStellarTypes from '../constants/types/rpc-stellar-gen' import * as RPCTypes from '../constants/types/rpc-gen' import * as Saga from '../util/saga' import * as WalletsGen from './wallets-gen' imp...
export const Actions = update => ({ increment: amount => update({ value: x => x + amount }), changeUnits: () => { update(temperature => { if (temperature.units === "C") { temperature.units = "F" temperature.value = Math.round((temperature.value * 9) / 5 + 32) } else { temper...
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. Object.defineProperty(exports, "__esModule", { value: true }); /* istanbul ignore next */ const Stream = require("stream"); var StreamState; (function (S...
import { Type } from '../constants.js' import { YAMLSemanticError } from '../errors.js' import { BlankLine } from './BlankLine.js' import { Comment } from './Comment.js' import { Node } from './Node.js' import { Range } from './Range.js' export class FlowCollection extends Node { constructor(type, props) { super...
$(document).ready(function() { // alert("{{ URL::to('../../../teachers_portal/te_class/data/') }}"); classdt = $('#classdt').dataTable( { "sDom": "<'row'<'col-md-6'l><'col-md-6'f>r>t<'row'<'col-md-6'i><'col-md-6'p>>", "sPaginationType": "bootstrap", "bProcessing": tr...
(function() { var width, height, largeHeader, canvas, ctx, points, target, animateHeader = true; // Main initHeader(); initAnimation(); addListeners(); function initHeader() { width = window.innerWidth; height = window.innerHeight; target = {x: width/5, y: height/10}; ...
function searchIndexes(pat, txt) { const patLength = pat.length const txtLength = txt.length const lps = new Array(patLength).fill(0) processPattern(pat, patLength, lps) const indexes = [] let patIndex = 0 let txtIndex = 0 while (txtIndex < txtLength) { if (pat[patIndex] === txt[txtIndex]) { ++patInde...
import { computed } from '@ember/object'; import Mixin from '@ember/object/mixin'; /** * Simply use the component's `element` to find it's `closest('form')`. * * Leveraging some polyfill from `ember-cli-element-closest-polyfill`. */ export default Mixin.create({ /** * Grab the nearest form. * @see https://...
export const onPullDownRefresh = (opt) => { }
import React, { Fragment } from "react"; import { render } from "react-dom"; import { AppContainer as ReactHotAppContainer } from "react-hot-loader"; import Root from "./containers/Root"; import { configureStore, history } from "./store/configureStore"; import "./app.global.css"; const store = configureStore(); const...
/* * Copyright 2013 Amadeus s.a.s. * 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 i...
/* * 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. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
describe('Boot scene', () => { it('loads the logo image for display', () => { }); });
this.primereact = this.primereact || {}; this.primereact.confirmdialog = (function (exports, React, ReactDOM, core, dialog, button, api) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDe...
import React, {Fragment} from 'react'; import {Link, NavLink} from 'react-router-dom'; import logo from "../assets/logo.png"; import {Disclosure, Menu, Transition} from '@headlessui/react' import {MenuIcon, XIcon} from '@heroicons/react/outline' // import {useAuth0} from "@auth0/auth0-react"; function classNames(...cl...
helperbitControllers.controller ('MeWalletNewMultisigCtrl', ['$scope', '$location', '$cookies', '$routeParams', '$rootScope', '$api', 'feature', function ($scope, $location, $cookies, $routeParams, $rootScope, $api, feature) { if (! $cookies.get ('token')) { $location.path ('/login'); } $api.me.get ().then (funct...
/* eslint @typescript-eslint/no-var-requires: 0 */ function doesModuleExist(name) { try { return !!require.resolve(name); } catch (e) { return false; } } const modulePath = 'mongodb-memory-server-core/lib/util/postinstallHelper'; if (!doesModuleExist(modulePath)) { console.log('Could not find file "p...
const contentful = require("contentful-management") const { readFileSync } = require("fs") const path = require("path") const { v4 } = require("uuid") require("dotenv").config() const { createBlogposts } = require("./blogposts") const { createSiteSettings } = require("./siteSettings") const { createTranslations } = re...
var gulp = require('gulp'), uglify = require('gulp-uglify'), concat = require('gulp-concat'); var jsPath = 'js/*.js'; var uglifyConfigs = { mangle : true, compress : { drop_console : true }, }; gulp.task('build', function(){ console.log("Minifying JS"); ret...
/*! * ============================================================= * Ender: open module JavaScript framework (https://ender.no.de) * Build: ender build jeesh reqwest * ============================================================= */ /*! * Ender: open module JavaScript framework (client-lib) * copyright...
import React from "react"; import SavedRideCard from "./SavedRideCard"; import { render } from "@testing-library/react"; import "@testing-library/jest-dom/extend-expect"; import { Provider } from "react-redux"; import { createStore, combineReducers, applyMiddleware } from "redux"; import { BrowserRouter as Router } fro...
'use strict'; var del = require('del'); var gulp = require('gulp'); var http = require('http'); var nopt = require('nopt'); var sass = require('gulp-sass'); var openBrowser = require('open'); var ecstatic = require('ecstatic'); var concat = require('gulp-concat'); var jshint = require('gulp-jshint'); var rename = requ...
export const DownCircleFill = { name: 'down-circle', theme: 'fill', icon: '<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19....
// ES6 let speed = 300; let amount = 30; let yOffset = 20; let smooth = 0; let diff = 0; let t = null; let oldTime = null; let delta = 0; let ticking = false; // function doSomethingX(scroll_pos) { // Do something with the scroll position } // window.addEventListener('scroll', function(e) { // last_know...
import React from 'react'; import {Switch} from '../../components/elements/Switch'; import {Select} from '../../components/elements/Select'; import {connect} from 'react-redux'; import {updateConfig} from '../../actions/post-data' import PropTypes from 'prop-types'; /** * Gallery config pane. */ export class ConfigP...
import { SharpSdStorage as SharpSdCard } from './SharpSdStorage'; export { SharpSdCard };
/** * 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...