text
stringlengths
2
1.04M
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]; ...
module.exports = { root: true, parserOptions: { parser: 'babel-eslint', sourceType: 'module' }, env: { browser: true, node: true, "cypress/globals": true }, extends: [ 'standard', 'plugin:vue/recommended' ], globals: { __static: true }, plugins: [ 'vue', "cypr...
module.exports = { entry: "./src/app.js", output: { path: __dirname + "/public", filename: "bundle.js" }, devServer: { contentBase: __dirname + "/public", port: 3000 }, module: { rules: [ { loader: "babel-loader", ...
(function($) { var $button = $("<div id='source-button' class='btn btn-primary btn-xs'>&lt; &gt;</div>").click(function(){ var html = $(this).parent().html(); html = cleanSource(html); $("#source-modal pre").text(html); $("#source-modal").modal(); }); $('[data-toggle="popover"]').popover(); $(...
/** * @module search/reducer * @category Search * @subcategory Reducer */ import { combineReducers } from 'redux'; import searchDidYouMeanReducer from './searchDidYouMean'; import searchIntentsReducer from './searchIntents'; import searchSuggestionsReducer from './searchSuggestions'; export default combineReducers...
/** * Created by cassidy on 2/15/18. */ // given and array of arrays of table cells, builds a string that contains a nicely laid out table function rowHeights(rows) { return rows.map(function(row) { return row.reduce(function(max, cell) { return Math.max(max, cell.minHeight()); }, 0);...
import { FACTION_NAMES, FACTION_COLORS } from '../constants/factions'; import { RARITY_IMAGES } from '../constants/rarities'; import { SUPERTYPE_IMAGES } from '../constants/supertypes'; import { mainFaction } from './card'; import { X_COST } from '../constants/card'; const FACTION_COLORS_MAP = {}; const factionMainCo...
var request = require('request'); var ratingTemplate = require('./rating.json'); var costsInsurance = require('./apl_costsInsurance.json') var costsInsuranceData = require('./apl_costsInsuranceData.json') var coverInsurance = require('./apl_coverInsurance.json') var coverInsuranceData = require('./apl_coverInsuranceDa...
"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]; })...
"use strict"; window.addEventListener('load', function() { console.log(disabledButton) changeInCheckoutForm(); }); var disabledButton = document.getElementById('js-disabled-button') var errMsg var fillFlag; var emailFlag; var paymentFlag; var termsFlag; function changeInCheckoutForm() { resetMessageFlags...
import "./button.css"; import buttonText from "./button-text.html"; import buttonLogo from "./button-logo.html"; import centered from "@storybook/addon-centered/html"; export default { title: "Components/Button", decorators: [centered] }; export const withText = () => buttonText; export const withLogo = () => buttonL...
import React from 'react' const SearchBar = ({ keyName, placeholder, onSearch }) => { return ( <div key={keyName} style={{ display: 'inline-flex', flexFlow: 'column-reverse', marginBottom: '1em' }}> <input id={keyName} name={keyName} placeholder={placeholder} s...
import Component from 'ember-component' import layout from '../../templates/components/gh-event/fork-event' export default Component.extend({ layout, classNames: [ 'simple' ] })
const router = require("express").Router(); const { internalServerError } = require("../utils/response"); const ProductControllers = require("../controllers/product"); router.get( "/all", async (req, res) => { try { await ProductControllers.getAllProducts(req, res); } catch (error) { internalSe...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.25/esri/copyright.txt for details. //>>built define("esri/dijit/geoenrichment/ReportPlayer/core/infographics/utils/InfographicJsonUtil",["esri/dijit/geoenrichment/config","esri/dijit/geoenrichment/utils/ArrayU...
module.exports = { name: 'Add Embed Field', section: 'Embed Message', subtitle (data) { return `${data.name} - ${data.message}` }, fields: ['storage', 'varName', 'fieldName', 'message', 'inline'], html (isEvent, data) { return ` <div><p>This action has been modified by DBM Mods. Use [Title](Link)...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Params = exports.ValidatorSigningInfo = exports.protobufPackage = void 0; /* eslint-disable */ c...
import React from 'react'; import './Choice.css'; function Choice(props) { return ( <button className={"Choice " + props.className} onClick={props.handleVote.bind(null, props.name)} > {props.answer} </button> ); } export default Choice;
export default (context, html) => html` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M11 9h2v2h-2zm4 0h2v2h-2zm5 6.5c-1.25 0-2.45-.2-3.57-.57-.1-.03-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2....
export * from './dom'; export * from './env'; export * from './fastdom'; export * from './lang'; export * from './mouse'; export * from './options'; export * from './player'; export * from './position'; export * from './touch';
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
function Moon( scene, terrainSize ) { const moonGeometry = new THREE.IcosahedronGeometry( 1000, 3 ); const moonMaterial = new THREE.MeshBasicMaterial( { color: "#fff" } ); const moon = new THREE.Mesh( moonGeometry, moonMaterial ); scene.add( moon ); moon.position.z = - terrainSize / 1.8; var light = new THREE.P...
"use strict"; /** * You are given a text, which contains different english letters and punctuation symbols. * You should find the most frequent letter in the text. * The letter returned must be in lower case. * * While checking for the most wanted letter, casing does not matter, * so for the purpose of your sea...
/** * Copyright (c) 2018, KETI * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following...
module.exports={A:{A:{"2":"K D G E A B gB"},B:{"2":"2 C d J M H I"},C:{"2":"0 1 2 3 4 6 7 9 dB BB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z GB FB AB CB DB XB WB"},D:{"1":"0 1 3 4 7 9 GB FB AB CB DB QB iB KB IB LB MB NB OB","2":"2 6 F N K D G E A B C d J M H I ...
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { FormItem, FormLabel, FormInput, MessageStrip, } from 'fundamental-react'; import { Checkbox, useGetList, useCreateServiceBindingUsage, } from 'react-shared'; import { SERVICE_BINDINGS_PANEL } from '../constan...
var convert = require("./convert"), func = convert("size", require("../size"), require("./_falseOptions")); func.placeholder = require("./placeholder"); module.exports = func;
module.exports = function(doc, fixtures) { var box = doc.box({ borderWidth: 20, borderColor: 0xdddddd, backgroundColor: 0xeeeeee, width: '50%', padding: 10 }) var content = box.text({ textAlign: 'justify' }) for (var i = 0; i < 4; ++i) { content.add(fixtures.lorem.long) } }
const swiper = new Swiper('.swiper-container', { direction: 'vertical', mousewheel: {}, effect: 'cube', keyboard: { enabled: true, onlyInViewport: false } }); // About // view all // Responsive nav item /** code by webdevtrick ( https://webdevtrick.com ) **/ (function($) { // Begin jQuer...
import React from 'react' import PropTypes from 'prop-types' class Cities extends React.Component { constructor (props) { super(props) } render () { const { cities, increment } = this.props return ( <div style={{ margin: '0 auto' }}> <h2>Counter: { cities.counter }</h2> <button ...
function initializetempSegHdr1() { boxRefSegHdr1 = new kony.ui.Box({ "focusSkin": "hBoxSegHdr", "id": "boxRefSegHdr1", "isVisible": true, "orientation": constants.BOX_LAYOUT_HORIZONTAL, "position": constants.BOX_POSITION_AS_NORMAL, "skin": "hBoxSegHdr1" }, { ...
import * as monaco from 'monaco-editor'; import PropTypes from 'prop-types'; import React from 'react'; function noop() {} class MonacoEditor extends React.Component { constructor(props) { super(props); this.containerElement = undefined; this.__current_value = props.value; } componentDidMount() { ...
(function () { 'use strict'; // Configuring the Articles Admin module angular .module('testes.admin') .run(menuConfig); menuConfig.$inject = ['menuService']; function menuConfig(Menus) { Menus.addSubMenuItem('topbar', 'admin', { title: 'Gerenciar Testes', state: 'admin.testes.list'...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 a...
import { Map, List, OrderedMap } from 'immutable'; import moment from 'moment'; import uuidv4 from 'uuid'; const plaza = (state = {}, action) => { const plazaName = state.get('plazaName'); const speechId = state.getIn([plazaName, 'speechId']); switch (action.type) { case 'PLAZA_CHOOSE_PLACE': { ...
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark...
import { withNotification } from './lib/Notification'; import Notification from './lib/NotificationComponent'; export { withNotification, Notification }
/** * Gitlab * The platform for modern developers GitLab unifies issues, code review, CI and CD into a single UI * * The version of the OpenAPI document: v3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class ...
/* eslint global-require: 0 */ // @flow import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { AireLibreIcon, CuidadoPersonalIcon, HogarIcon, LineaBlancaIcon, TecnologiaIcon } from '../UI/Icons'; import Department from './Department'; import s...
import React from "react"; import FormInput from "../form-input/FormInput"; import CustomButton from "../custom-button/CustomButton"; import { auth, signInWithGoogle } from "../../firebase/firebase.utils"; import { SignInContainer, SignInTitle, ButtonsBarContainer } from "./sign-in-styles"; class SignIn extends Rea...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S11.4.3_A2_T2; * @section: 11.4.3; * @assertion: Operator "typeof" uses GetValue; * @description: If GetBase(x) is null, return "undefined"; */ //CHECK#1 if (typeof x !== "u...
/* * Copyright (c) 2015 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
/*! * Vue.js v2.6.11 * (c) 2014-2020 Evan You * Released under the MIT License. */
$(document).ready(function() { var id = '#dialog'; //Get the screen height and width var maskHeight = $(document).height(); var maskWidth = $(window).width(); //Set heigth and width to mask to fill up the whole screen $('#mask').css({ 'width': maskWidth, 'height': maskHeight }); //transit...
import React from "react"; import { StatusCard, RecentPost } from "./components"; import { useBreakingChangesPosts } from "./hooks"; import { StatusWrapper, AnnouncementsWrapper } from "./styles"; export function NetworkStatus(props) { return ( <StatusWrapper> <StatusCard key={props.networkName} {...props}...
var class_net_packet = [ [ "NetPacket", "class_net_packet.html#a1a649b4ca72107b9e758bd3d2c935360", null ], [ "NetPacket", "class_net_packet.html#aa9d607ca7f0a744ce9fc578f66688047", null ], [ "~NetPacket", "class_net_packet.html#a7ce9bc1c71e95139ea7f7ba9961e2f5b", null ], [ "GetDesign", "class_net_packet...
"use strict"; const router = require("express").Router(); const auth = require(process.cwd() + "/config/lib/authorisation.js"); const User = require("mongoose").model("account"); router.delete("/API/user", auth.isAuthorised("ALTER_USERS"), function (req, res, next) { if (req.body.id == req.user._id) { res.sendStat...
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import thunkMiddleware from 'redux-thunk'; import { Router,createMemoryHistory } from 'react-router'; import reducers from './reducers'; import routes from './route...
import get from 'lodash/get' import { siteTitle, capturesUrl, hashtag, year } from 'config/config.yml' export const getBlockTitleKey = (block, page) => { const { blockName, titleId } = block if (titleId) { return titleId } else if (blockName) { return `blocks.${blockName}.title` } else ...
'use strict'; /** * Module dependencies. */ var passport = require('passport'); module.exports = function(app) { // User Routes var users = require('../../app/controllers/users'); // Setting up the users profile api app.route('/users/me').get(users.me); app.route('/users').put(users.update); // Setting up t...
import React, { Component } from 'react'; import { BrowserRouter, Route, Link } from 'react-router-dom'; import { Advertiser } from '../components/advertiser'; import CampaignList from '../containers/campaign-list'; import CampaignDetails from '../containers/campaign-details'; export class App extends Component { ...
define(function() { "use strict"; function AdUnit($target) { this.$target = $target; this.$iframe = $target.find("iframe"); this._init(); } AdUnit.prototype._init = function() { if (this.isEmpty()) { this.$target.trigger(":ads/hidden"); return; } this.$target.closest(".is...
(function($) { module("report1"); // Test case : Report 1 _asyncTest("report1", function() { expect(2); GitanaTest.authenticateNewTenant(function() { // NOTE: this = platform var platform = this; this.createReport({ "tag": "a" ...
const should = require("should"); const assert = require("node-opcua-assert").assert; const debugLog = require("node-opcua-debug").make_debugLog(__filename); const packTcpMessage = require("node-opcua-transport").packTcpMessage; const ClientSecureChannelLayer = require("..").ClientSecureChannelLayer; const GetEndpoin...
'use strict'; const express = require('express'); const bodyParser = require('body-parser'); module.exports = config => { const log = config.logger; const restServer = express(); const active = config['active-profiles'].includes('listen-rest'); // Parse application/json requests const jsonParser ...
// Regex to confirm url given is valid exports.hostnameRegex = /^(www.)?youtube.com$/ // Header to keep scraping consistency exports.headers = { "Accept-Language": "en-US;q=1.0,en;q=0.9" }
import { generateGetterDescriptor, generateMethodDescriptor, location, history, Object, LOCATION, } from "./_constant"; import { Location, } from "./Location"; import { Reflect, } from "./Reflect"; /** * */ export var _COM_BROWSER_HISTORY_PROPERTIES = (function () { /** * ...
"use strict"; exports.__esModule = true; exports["default"] = void 0; var _ramda = require("ramda"); /** * Returns a "view" of the given data structure, determined by the given lens. * The lens's focus determines which portion of the data structure is visible. * Returns the defaultValue if "view" is null, undefin...
/* eslint-disable spellcheck/spell-checker */ // Official MDN polyfill for Element.matches // Source: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches export default ` if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.matchesSelector || Element.prototype.mozMatche...
import { factory } from '../../utils/factory'; import { arraySize } from '../../utils/array'; import { isMatrix } from '../../utils/is'; import { IndexError } from '../../error/IndexError'; var name = 'apply'; var dependencies = ['typed', 'isInteger']; export var createApply = /* #__PURE__ */ factory(name, dependencies...
export * from '@styled-icons/fa-solid/TachometerAlt';
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * wire/aop plugin * Provides AOP for components created via wire, including Decorators, * Introductions (mixins), and Pointcut-based Aspect Weaving. * * wire is part of the cujo.js family of libraries (http://cujojs.com/) * * Licensed under the M...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'flash', 'it', { access: 'Accesso Script', accessAlways: 'Sempre', accessNever: 'Mai', accessSameDomain: 'Solo stesso dominio',...
const path = require('path'); const { HotModuleReplacementPlugin, ProvidePlugin } = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); const config = { output: { publicPath: "/", }, entry: "./src/index.ts...
"use strict"; var controllers = require('./lib/controllers'), plugin = {}; plugin.init = function(params, callback) { var router = params.router, hostMiddleware = params.middleware, hostControllers = params.controllers; // We create two routes for every view. One API call, and the actual route itself. // ...
import React from 'react'; import Webcam from 'react-webcam'; import Img from "./../c.gif" import MyModal from './PlasticBottleModal'; import Button from '@material-ui/core/Button'; class MyWebcam extends React.Component { constructor(props) { super(props); this.timerId = null; this.state ...
$(function () { // Same as document.addEventListener("DOMContentLoaded"... // Same as document.querySelector("#navbarToggle").addEventListener("blur",... $("#navbarToggle").blur(function (event) { var screenWidth = window.innerWidth; if (screenWidth < 768) { $("#collapsable-nav").collapse('hide'); ...
import Mock from "mockjs"; let Random = Mock.Random; Random.extend({ spreadLevel: function(date) { var spreadLevels = [ "一级", "二级", "三级" ]; return this.pick(spreadLevels); }, type: function(data) { return this.pick(["金币","钻石"]) } }); let info = { "GameID|+1": 100101, "Lv...
import { addToTrialSessionModalHelper as addToTrialSessionModalHelperComputed } from '../../src/presenter/computeds/addToTrialSessionModalHelper'; import { runCompute } from 'cerebral/test'; import { wait } from '../helpers'; import { withAppContextDecorator } from '../../src/withAppContext'; const addToTrialSessionMo...
// @flow import storage from 'store'; import shopifyBuy from 'shopify-buy/dist/shopify-buy.umd'; export const shopClient = shopifyBuy.buildClient({ accessToken: '255fd3b4e21264d776a80c97539c2413', domain: 'lift-co-ltd.myshopify.com', appId: '6', }); export function getCart() { return new Promise((resolve) =>...
/******/ (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...
// TODO: Write code to define and export the Employee class class Employee { constructor(name, id, email) { this.name = name; this.id = id; this.email = email; } getName() { return this.name; } getId() { return this.id; } getEmail() { return t...
/*jshint esversion: 6 */ import { Template } from 'meteor/templating'; import './boolean-select.html'; import { attsToggleInvalidClass } from '../../utilities/attsToggleInvalidClass.js'; import { optionAtts } from '../../utilities/optionAtts.js'; import { initializeSelect } from '../../utilities/initializeSelect.js'; ...
function compile (result) { let reg = /\([\d,\+,\-,×,÷]+\)/ //带括号的表达式匹配 let multiplyAndDivide = /[\d,\.]+[×,÷][\d,\.]+/ let addAndDel = /[\d,\.]+[\+,\-][\d,\.]+/ let outterReg = reg while (!/^-?[\d,\.]+$/.test(result)) { let copyResult = result result = result.replace(outterReg, fun...
const Memberpreferences = require('./memberpreferencesModel'); const Preferences = require('../preferences/preferencesModel'); const CelebrityContract = require('../celebrityContract/celebrityContractsModel'); const NotificationServices = require("../notification/notificationServices"); const User = require('../users/u...
/** * Kendo UI v2019.3.917 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
angular.module('app.routes', []) .config(function($stateProvider, $urlRouterProvider) { // Ionic uses AngularUI Router which uses the concept of states // Learn more here: https://github.com/angular-ui/ui-router // Set up the various states which the app can be in. // Each state's controller can be found in c...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@babylonjs/core"); require("@babylonjs/materials"); var scene_1 = require("./scenes/scene"); var Game = /** @class */ (function () { /** * Constructor. */ function Game() { this.engine = new core...
/*global ons */ import {ApiService} from "./services/api.service.js"; function disableResetMap(flag) { const resetMapButton = document.getElementById("reset_map_button"); if (flag) { resetMapButton.setAttribute("disabled", "true"); } else { resetMapButton.removeAttribute("disabled"); } ...
var lo = require('lodash'), BigNumber = require('bignumber.js'); module.exports = { isNumeric: function(n){ return !isNaN(parseFloat(n)) && isFinite(n); }, isPositiveInteger: function(n) { return this.isInteger(n) && parseInt(n) > 0; }, isPositiveIntegerOrZero: function(n) { ...
// @flow import type {AST, MutableAsset} from '@parcel/types'; import type {PostHTMLNode} from 'posthtml'; import PostHTML from 'posthtml'; // A list of all attributes that may produce a dependency // Based on https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes const ATTRS = { src: [ 'script', 'img'...
import React from "react"; import { CheckboxLabel, InputCheckbox, CheckBoxIcon } from "./checkbox.styles"; export const Checkbox = props => { return ( <CheckboxLabel> <InputCheckbox type="checkbox" onClick={props.onClick} /> <CheckBoxIcon /> {props.children} </CheckboxLabel> ); };
import typescript from '@rollup/plugin-typescript'; import { terser } from 'rollup-plugin-terser'; const SOURCE_DIR_NAME = 'src'; export default { input: `${SOURCE_DIR_NAME}/index.ts`, output: { dir: 'build', format: 'es', sourcemap: true, preserveModules: true, preserveModulesRoot: SOURCE_DIR...
const colorSpaces = [ { key: 'srgb', name: 'sRGB', class: RGBColor, generator: 'fromRGB', convertor: 'toRGB', channels: [ { key: 'r', abbr: 'R', name: 'Red', min: 0, max: 255, }, { key: 'g', abbr: 'G', name: 'Green', min: 0, max: 255, }, { key: 'b'...
const IPTVChecker = require('iptv-checker') const normalize = require('normalize-url') const { program } = require('commander') const parser = require('./helpers/parser') const utils = require('./helpers/utils') const file = require('./helpers/file') const log = require('./helpers/log') const ignoreStatus = ['Geo-bloc...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseTask = void 0; function _react() { const data = _interopRequireDefault(require("react")); _react = function _react() { return data; }; return data; } function _path() { const data = require("path"); _path = ...
/* eslint-disable react/destructuring-assignment */ // (C) Copyright IBM Deutschland GmbH 2021. All rights reserved. /*********************************************************************************************** initial state *****************************************************************************************...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Aria = void 0; const card_1 = require("./helpers/card"); exports.Aria = { currency: '£', labels: { inStock: { container: '#addQuantity', text: ['add to shopping basket'] }, maxPri...
/* Copyright 2019 Open End AB 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 dis...
function buildList(element) { // If we've reached the end of our recursion, return an empty list if (element <= 0) { return []; } // Get the list from the recursive call const incompleteList = buildList(element - 1); // Add the current element console.log('Adding element: ' + element); incompleteL...
import Ember from "ember"; export default Ember.Controller.extend({ tableOfContents: function(){ return [ { route: "index", title: "Introduction"}, { route: "helpers", title: "Template Helpers", children: [ {route: "helpers.liquid-outlet", title: "liquid-outlet"}, {rout...
import { cloneDeep, debounce, isObject, throttle, uniq } from 'lodash'; import dayjs from 'dayjs'; const dateFormatPreset = { datetime: 'YYYY/MM/DD HH:mm:ss', date: 'YYYY/MM/DD', time: 'HH:mm:ss' }; class Util { /** * * @desc 判断是否为URL地址 * @param {String} str * @return {Boolean} */ isUrl(s...
// Copyright (C) 2018 Leo Balter. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: prod-CharacterClassEscape description: > Compare range for non-whitespace class escape \S+ with flags g info: | This is a generated test. Please check out https://githu...
//# sourceMappingURL=5.0d93b8f7.chunk.js.map
"use babel" import _ from "underscore" // Public: GrammarUtils.Lisp - a module which exposes the ability to evaluate // code const GrammarUtilsLisp = { // Public: Split a string of code into an array of executable statements // // Returns an {Array} of executable statements. splitStatements(code) { const ...
import React from 'react' import PropTypes from 'prop-types' import { Link, graphql } from 'gatsby' import Layout from '../components/Layout' import Features from '../components/Features' import BlogRoll from '../components/BlogRoll' export const IndexPageTemplate = ({ image, title, heading, subheading, sub...
export { default as AlertBannerDefault } from './Default'; export { default as AlertBannerError } from './Error'; export { default as AlertBannerWarning } from './Warning';
import AsyncStorage from '@react-native-async-storage/async-storage'; const StorageService = { async getData(key) { try { const jsonValue = await AsyncStorage.getItem(key); const result = jsonValue !== null ? JSON.parse(jsonValue) : null; return result; } catch (e) { throw e; } ...
function logoVisibility() { if ($(window).scrollTop() > 128) { $('.logo').addClass('logo-visible'); } else { $('.logo').removeClass('logo-visible'); } }; $(document).ready(function() { logoVisibility(); $(window).scroll(function() { logoVisibility(); }) });
//Sentinel Project archives every sources saved on each datapoints //This API is useful to retrieve an archive sources, in case the original link was deleted var express = require("express"); function load_archiveApi(app, websitemodel) { var WebsiteModel = websitemodel; // retrieve by id app.get('/api/archiveur...