text
stringlengths
2
1.04M
export default { createLink: 'إنشاء رابط', linkName: 'اسم الرابط', linkMessage: 'فضلا حدد اسم الرابط' }
System.register(["./CellType", "./Position"], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; var CellType_1, Position_1; var Cell; return { setters:[ function (CellType_1_1) { CellType_1 = CellType_1_1; }, ...
/** * 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. * * @flow */ // UpdateQueue is a linked list of prioritized updates. // // Like fibers, update queues come in pairs: a current queu...
mycallback( {"CONTRIBUTOR OCCUPATION": "Grand Lodge Representative", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "INT'L ASSOCIATION OF MACHINISTS", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "18148 W ECHO LANE", "CONTRIBUTOR MIDDLE NAME": "D", "...
import React from 'react'; import { Ionicons } from '@expo/vector-icons'; import Colors from 'src/constants/Colors'; type Props = { name: String, focused: Boolean, }; export default function TabBarIcon(props: Props) { return ( <Ionicons name={props.name} size={26} style={{ marginBottom: -...
const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const cors = require('cors'); const mongoose = require('mongoose'); const imgRoutes = express.Router(); const PORT = 4000; let Annot = require('./img_schema'); app.use(cors()); app.use(bodyParser.json()); const cred = ...
'use strict'; function findHighestProductOfThree(arr) { if (arr.length <= 3) { return arr.reduce((prev, curr) => prev * curr, 1); } arr.sort((curr, next) => curr - next); var length = arr.length; var minProduct = arr[0] * arr[1] * arr[length - 1]; var maxProduct = arr[length - 1] * arr[...
/* eslint-disable no-new */ import $ from 'jquery'; import MockAdapter from 'axios-mock-adapter'; import { shuffle } from 'lodash'; import axios from '~/lib/utils/axios_utils'; import IssuableContext from '~/issuable_context'; import LabelsSelect from '~/labels_select'; import 'select2'; import '~/api'; import '~/cre...
const schema = require('./schema-transformTo-table.js'); const _ = require('underscore'); const json_parse = function(json) { try { return JSON.parse(json); } catch (err) { return {}; } }; // 处理字符串换行 const handleWrap = str => { return _.isString(str) ? str.replace(/\n/gi, '<br/>') : str; }; const messa...
'use strict'; const Bottleneck = require('bottleneck') , groupsApi = require('./http/endpoints/groups') , ApiDefinition = require('./http/ApiDefinition.js') , model = require('@delos-tech/hue-bridge-model').model , Room = model.Room , LightGroup = model.LightGroup , Zone = model.Zone , util = require('.....
import Vue from 'vue' import Vuex from 'vuex' import mutations from './mutations' import actions from './actions' import getters from './getters' // 1,安装插件 Vue.use(Vuex) const state = { cartList:[] } // 2,创建store对象 const store = new Vuex .Store({ state, mutations, actions, getters }) // 3,挂载Vue实例上 expor...
// source: https://github.com/cphyc/thunderbird_remove_safelinks/blob/e48b3f3bf547797cfc9db60cbcd43003c8a0f545/src/decoders.js function unUrlDefense(a) { let proofpoint_regex = new RegExp('https://urldefense(?:\.proofpoint)?\.com/(v[0-9])/([.:]?[-+a-zA-Z0-9%&/=;_!?*$]+)+'); var proofpoint = a.match(proofpoint_regex...
import { version } from '../../package.json'; export const DEBUG = process.env.NODE_ENV !== 'production'; export const VERSION = version; export const USER_AGENT = `js-sdk/${VERSION}`; export const PLATFORM = `browser/js-sdk/${VERSION}`;
import React, { useState, useEffect } from "react"; import Link from "next/link"; import { Link as LinkScroll } from "react-scroll"; import ButtonOutline from "../misc/ButtonOutline."; import LogoVPN from "../../public/assets/LotoLogo.svg"; const Header = () => { const [activeLink, setActiveLink] = useState(null); ...
var searchData= [ ['other_20bleam_20scanner_20application_20members_1045',['Other Bleam Scanner application members',['../group__blesc__app.html',1,'']]] ];
var searchData= [ ['data',['data',['../classquickcpplib_1_1__xxx_1_1string__view_1_1basic__string__view.html#aca2147716d7d914028649d5c12f874a7',1,'quickcpplib::_xxx::string_view::basic_string_view::data()'],['../classgsl_1_1span.html#a71b0e7033fcbe93d01922deb645c8f9d',1,'gsl::span::data()']]], ['deallocate',['deall...
import merge from '../utils/merge'; import Component from '../component'; import Template from '../template'; import Checkout from './checkout'; import windowUtils from '../utils/window-utils'; import formatMoney from '../utils/money'; import normalizeConfig from '../utils/normalize-config'; import browserFeatures from...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const codeUtils_1 = require("./codeUtils"); const remix_lib_1 = require("@remix-project/remix-lib"); const ethereumjs_util_1 = require("ethereumjs-util"); function createExpressions(instructions) { const expressions = []; let labels = ...
const solid_wine_glass_alt = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 288 512"><path d="M216 464h-40V346.81c68.47-15.89 118.05-79.91 111.4-154.16l-15.95-178.1C270.71 6.31 263.9 0 255.74 0H32.26c-8.15 0-14.97 6.31-15.7 14.55L.6 192.66C-6.05 266.91 43.53 330.93 112 346.82V464H72c-22.09 0-40 17.91-40 40 0 4.4...
; (function() { window.require(["ace/snippets/qml"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })();
/* Language: AspectJ Author: Hakan Ozler <ozler.hakan@gmail.com> Website: https://www.eclipse.org/aspectj/ Description: Syntax Highlighting for the AspectJ Language which is a general-purpose aspect-oriented extension to the Java programming language. */ /** @type LanguageFn */ function aspectj(hljs) { const KEYWOR...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ var ajax = new XMLHttpRequest(); function request_login() { var username = document.getElementById('username').value; var pas...
const { NotImplementedError } = require("../extensions/index.js"); /** * Given a number, replace this number with * the sum of its digits until we get to a one digit number. * * @param {Number} n * @return {Number} * * @example * For 100, the result should be 1 (1 + 0 + 0 = 1) * For 91, the result should be 1...
import React, {useState, useEffect} from "react" import Layout from "../../components/layout" import { Helmet } from "react-helmet" import { ToastContainer } from "react-toastr"; import ToastMessagejQuery from "react-toastr/lib/components/ToastMessage/ToastMessagejQuery"; import { getCategories } from "../../data/scatt...
import React, { Component } from 'react'; import { Button } from 'semantic-ui-react'; import player from '../../rpc/api/player.js'; import { addNotification } from '../../actions/notification-actions.js'; class AlbumPlayButton extends Component { constructor(props, context) { super(props, context); this.st...
//Modified from https://github.com/barisusakli/nodebb-plugin-imgur //Also check https://github.com/lzjluzijie/nodebb-plugin-6tu 'use strict'; var request = require('request'); var fs = require('fs'); var plugin = {}; plugin.upload = function(data, callback) { var image = data.image; if (!image) { return callba...
'use strict'; import _ from 'lodash'; let angular = require('angular'); module.exports = angular.module('spinnaker.deck.core.filterModel.dependentFilter.service', []) .factory('dependentFilterService', function () { function digestDependentFilters ({ pool, dependencyOrder, sortFilter }) { return depende...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EvaluationBatchResponse = void 0; class EvaluationBatchResponse { constructor() { } static getAttributeTypeMap() { return EvaluationBatchResponse.attributeTypeMap; } } exports.EvaluationBatchResponse = Evaluatio...
// Copyright 2019 NEC Corporation // // 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 ...
var crypto = require('crypto'); function Attribute(__SLAG_PROPERTIES) { __SLAG_PROPERTIES = __SLAG_PROPERTIES || {}; var __SLAG_DEVICE = JSON.parse(process.env.SLAG_DEVICE); var __SLAG_CHECKS = [], __SLAG_NAMES = [ 'bubbleParent', 'apiName', 'type', 'value', 'range', 'id' ]; if (__SLAG_NAMES.len...
define(["angular", "application"], function (angular) { "use strict"; angular.module("app.controllers").controller("PostsController", [ "$scope", "$rootScope", "$routeParams", "$location", "PostsServices", function ($scope, $rootScope, $routeParams, $location, Po...
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --stack-size=70 "a".replace(/a/g, ""); function test() { try { test(); } catch(e) { "b".replace(/(b)/g, new []); } } try...
/* * Copyright 2021 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
(...languages) => { utils.replaceGetterWithProxy( Object.getPrototypeOf(navigator), 'languages', utils.makeHandler().getterValue(Object.freeze(languages)) ) }
import $ from 'jquery' import * as d3 from 'd3' import L_ from '../../Basics/Layers_/Layers_' import Map_ from '../../Basics/Map_/Map_' //Add the tool markup if you want to do it this way var markup = [].join('\n') var LegendTool = { height: 0, width: 180, activeLayerNames: null, MMWebGISInterface: nu...
var expect = require('chai').expect, _ = require('lodash'), fs = require('fs'), Promise = require("bluebird"), ObjectID = require('mongodb').ObjectID; var DSModel = require("../../server/datasys/datasys_model"); var ProjModel = require("../../server/project/proj_model"); var Ath...
/*.##....##.########.########..##...........######...#######..##....##..######...#######..##.......######## ..##..##.....##....##.....##.##..........##....##.##.....##.###...##.##....##.##.....##.##.......##...... ...####......##....##.....##.##..........##.......##.....##.####..##.##.......##.....##.##.......##......
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
'use strict'; module.exports = () => { throw null; // eslint-disable-line no-throw-literal };
import axios from 'axios'; import config from '../config'; import { GET_REQUESTS, GET_REQUESTS_FAIL, DELETE_REQUEST_ERROR_MESSAGE } from '../constants/types'; export const getRequests = requests => ({ type: GET_REQUESTS, requests }); export const getRequestsError = () => ({ type: GET_REQUESTS_FAIL, }); exp...
require('./bootstrap'); require('./form-steps'); require('./statistics-tablist');
(function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,elements:[{id:'text',type:'text',style:'width: 100%;',label:d.text,'default':'',required:true,validate:CKEDITOR.dialog.validate.notEmpty(d.textMissing),set...
//-------- js/Config.js -------- // Generated by CoffeeScript 1.12.2 (function () { var Config, Data, console, cwaenv, document, location, log, setTimeout, zip; cwaenv = this.getCWAEnv(); console = this.console; document = this.document; location = this.location; zip = this.zip; setTimeout =...
import React from "react" import { View, Image, ImageBackground, TouchableOpacity, Text, Button, Switch, TextInput, StyleSheet, ScrollView } from "react-native" import Icon from "react-native-vector-icons/FontAwesome" import { CheckBox } from "react-native-elements" import { connect } from "react-re...
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
/** * DevExtreme (ui/data_grid/ui.data_grid.error_handling.js) * Version: 16.2.6 * Build date: Tue Mar 28 2017 * * Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml */ "use strict"; var $ = require("jquery"), clickEvent = requ...
import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; module('Integration | Component | tutorial-hierarchie', function(hooks) { setupRenderingTest(hooks); test('it renders', async function...
'use strict'; module.exports = class Address { constructor(hd, coin) { this.HD = hd this.coin = coin } getCoinKeyPair(index, account, change) { // getCoinKeyPair(this.coin, index, account, change) return this.HD.getCoinKeyPair(this.coin, index, account, change); } ...
/* * Copyright 2021 Adobe Systems Incorporated * * 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 applica...
var a =Math.random(); console.log(a)
/* Shield UI 1.7.37 Trial Version | Copyright 2013-2018 Shield UI Ltd. | http://www.shieldui.com/eula */
import React, { useState, useCallback, useEffect } from 'react'; import { useParams } from 'react-router-dom'; import { Box, Container, makeStyles } from '@material-ui/core'; import axios from 'src/utils/axios'; import Page from 'src/components/Page'; import useIsMountedRef from 'src/hooks/useIsMountedRef';...
var NodeTipbotApi = function() { 'use strict'; var request = require( 'request' ), q = require( 'q' ), hmac_sha512 = require( './hmac-sha512.js' ), JSONStream = require( 'JSONStream' ), es = require( 'event-stream' ); var deferred = q.defer(), start, end, ...
import { BasSysSchema } from '../_baseItems'; var templateItemSchema = BasSysSchema.createSchema({ templateTypeId: ObjectId, desinger: String }); export { templateItemSchema };
import Strings from './strings'; export default Strings;
import React from 'react'; import { Router } from '@reach/router'; import Navbar from '../components/Navbar'; import Home from '../pages/Home'; import Profile from '../pages/Profile'; // TODO: const currentUserQuery = ??? // TODO: Delete those variables after exercise const me = {}; const loading = false; const App ...
const { NotImplementedError } = require('../extensions/index.js'); /** * Given some integer, find the maximal number you can obtain * by deleting exactly one digit of the given number. * * @param {Number} n * @return {Number} * * @example * For n = 152, the output should be 52 * */ function deleteDigit(n) { ...
// https://d3js.org/d3-force/ v2.0.1 Copyright 2019 Mike Bostock (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-quadtree'), require('d3-dispatch'), require('d3-timer')) : typeof define === 'function' && define.amd ? define(['exports', 'd3-quadtr...
leafs = { image: { events: ['load', 'tap'], props: { src: undefined, } }, spacer: { component: 'view', props: { }, events: ['tap'] } } containers = { ['scroll-view']: { props: { 'scroll-into-view': undefined, 'enable-flex': undefined, 'scroll-x': undefi...
function applyViaHeader(n,e,a){if(e.via){var r=!0===e.via?require("os").hostname():e.via,t="1.1 "+r;n.via&&(t=n.via+", "+t),a.via=t}}function slashJoin(n,e){return n.length&&"/"===n[n.length-1]&&(n=n.substring(0,n.length-1)),e.length&&"/"===e[0]&&(e=e.substring(1)),n+"/"+e}function extend(n,e){for(var a in e)owns.call(...
import React, { useEffect, useState } from "react"; import { Link, useParams } from "react-router-dom"; import { useQuery } from '@apollo/react-hooks'; import Cart from "../components/Cart"; // import { useStoreContext } from "../utils/GlobalState"; import {useSelector, useDispatch} from 'react-redux'; import { REMO...
const express = require("express"); const app = express(); const port = 8080; app.get("/", (req, res) => res.send("Test pipeline")); app.listen(port); console.log(`App running on http://localhost:${port}`);
/*! * Copyright (c) 2016 Nanchao Inc. * All rights reserved. */ 'use strict'; var usbDevice = require('usb-manager'); var checkAvailable = require('./manager-helper').checkAvailable; var AudioCapturer = require('./audio-capturer'); var DRIVER_NAME = 'snd_usb_audio'; var capturerNamePattern = /pcmC([0-9]+)D([0-9])c...
/* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable jsx-a11y/click-events-have-key-events */ import React from 'react'; import { render, act, fireEvent } from '@testing-library/react'; import MockAdapter from 'axios-mock-adapter'; import faker from 'faker'; import { toast } from 'react-toasti...
module.exports = { env: { es6: true, jest: true, browser: true }, extends: ["airbnb", "prettier", "prettier/react"], globals: { Atomics: "readonly", SharedArrayBuffer: "readonly", __DEV__: true }, parserOptions: { ecmaFeatures: { jsx: true }, ecmaVersion: 2018, ...
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ // Thanks to https://github.com/andreypopp/react-textarea-autosize/ /** * calculateNodeHeight(uiTextNode, useCache = false) */ /** @type {?} */ var HIDDEN_TEXTAREA_STYLE = "\n min-height:0 !important;\n max-height:none !important;\n ...
import axios from 'axios' export default { getPaints (request = {}) { return axios.get('/paints', request) .then((response) => Promise.resolve(response)) .catch((error) => Promise.reject(error)) }, updatePaints (type, subtype, values) { return axios.post('/paints', { name: type...
/* * Copyright 2019 EPAM Systems * * 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 ...
function tooltip_build() { // This is a little tooltip div used to hover the taxon names var tooltip = d3.select("body") .append("div") .attr('id','tooltip') .style("position", "absolute") .style("z-index", "10") .style("visibility", "hidden") .style("backgro...
const API = { async getLastWorkout() { let res; try { res = await fetch("/api/workouts"); } catch (err) { console.log(err) } const json = await res.json(); return json[json.length - 1]; }, async addExercise(data) { const id = location.search.split("=")[1]; // console.l...
/*! PhotoSwipe - v4.1.2 - 2017-04-05 * http://photoswipe.com * Copyright (c) 2017 Dmitry Semenov; */ (function (root, factory) { if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.PhotoSwipe = factory(); } })(t...
const defer = require('p-defer'); const mem = require('mem'); module.exports = class MiddlewareState { constructor() { this.called = false; this.deferred = defer(); const og = this.call; this.call = mem((...args) => { this.called = true; return og.call(this, args); }); } call() {...
/*jshint expr: true*/ describe('DepsImporter', function() { function createDepsNode(deps) { var root = document.createElement('nmouse-deps'); deps .map(function(dep) { var node = document.createElement('nmouse-dep'); node.setAttribute('data-id', dep.id...
const db = require('../db/database'); class Role { getAll = (callback) => { const sql = `SELECT * FROM role`; return db.query(sql, (err, rows, fields) => { if (err) { throw err; } callback(rows); }); } addRole = (title, salary, dep...
// Generated by CoffeeScript 1.10.0 (function() { var CheckJadeVersion, compareVersion, underscore; compareVersion = require('semver'); underscore = require('underscore'); CheckJadeVersion = (function() { function CheckJadeVersion(pkg, versionComparator) { var cleanedVersion, key; this.depend...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var renderWebGL = require('../../../utils/NOOP'); var renderCanvas = require('../../../utils/NOOP'); if (typeof WEBGL_RENDERER) { renderWeb...
export default { projectData: { counter: 0, check: true, }, userinfo : { users :'Guest' } };
import fs from 'fs' import path from 'upath' import { pascalCase } from 'change-case' import consola from 'consola' import rimraf from 'rimraf' export const MODULE_NAME = 'nuxt-page-generator-helper' export const PATH_CACHE_DIR = path.join(MODULE_NAME) export const PATH_CACHE_ROUTES = path.join(PATH_CACHE_DIR, 'routes...
import React, { useState } from "react"; import { useMutation } from '@apollo/client'; import { ADD_REACTION } from '../../utils/mutations'; const ReactionForm = ({ thoughtId }) => { const [reactionBody, setBody] = useState(""); const [characterCount, setCharacterCount] = useState(0); const [addReaction, { error...
import Head from 'next/head'; import { useRouter } from 'next/router'; import MainLayout from '@/layouts/MainLayout'; export default function NotFoundPage() { const router = useRouter(); return ( <div> <Head> <title>Bookerly | OOOPS wrong turn</title> </Head> <MainLayout> <div...
module.exports = { displayName: 'storybook-wrapper', preset: '../../jest.preset.js', setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'], globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json', stringifyContentPathRegex: '\\.(html|svg)$', }, }, coverageDirectory: '../../coverag...
const fsys = require( './botfs.js'); const Dispatch = require( './dispatch.js'); const Cache = require( 'archcache' ); const Discord = require ( 'discord.js'); const path = require( 'path' ); /** * @constant {number} CONTENT_MAX - maximum message size. */ const CONTENT_MAX = 1905; exports.CONTENT_MAX = CONTENT_MAX; ...
/*! elementor - v3.2.4 - 26-05-2021 */ "!="​
module.exports={A:{A:{"2":"I C G E A B SB"},B:{"2":"D g q K"},C:{"1":"0 1 2 Y Z a b c d e f J h i j k l m n o p u v w t y r W","2":"3 QB F H I C G E A B D g q K L M N O P Q R S T U V s X OB NB"},D:{"1":"0 1 2 6 9 F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r W CB RB A...
$(function(){ $("#employees").dxTreeList({ dataSource: employees, keyExpr: "ID", parentIdExpr: "Head_ID", filterRow: { visible: true }, selection: { mode: "single" }, columns: [ "Full_Name", { dataField: ...
test( "hello test", function() { ok( 1 == "1", "Passed!" ); });
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _reactNative=require('react-native'...
/* eslint-disable max-len */ // For a detailed explanation regarding each configuration property, visit: // https://jestjs.io/docs/en/configuration.html const base = require('../../jest.config.base.js') const pack = require('./package') module.exports = { ...base, // An array of glob patterns indicating a set of f...
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot f...
/** * Created by:CaMnter */ /********************** * 箭头函数 - 基本用法 * **********************/ var arrowFunction1 = v => v; // 等同于 function af1(v) { return v; } console.log("[function]\t\t[test-" + 1 + "]\t\t[arrowFunction1(67)] = " + arrowFunction1(67)); /** * 没有参数 */ var arrowFunction2 = () => 77; // 等同于 fu...
var Backbone = require('backbone'); module.exports = Backbone.View.extend({ id: 'side', className: 'columns medium-4 hide-for-small-only', events: { 'click a': 'showPlate' }, template: require('../templates/side.hbs'), initialize: function (){ this.listenTo(this.model, 'change:collection', this...
module.exports = [ { title: 'English', locale: 'en', }, { title: 'Help translate', locale: 'eo-UY', }, ]
/*! FixedColumns 4.0.0 * 2019-2021 SpryMedia Ltd - datatables.net/license */ import FixedColumns, { setJQuery as fixedColumnsJQuery } from './FixedColumns'; // DataTables extensions common UMD. Note that this allows for AMD, CommonJS // (with window and jQuery being allowed as parameters to the returned // function) ...
import { createAction, createReducer } from 'redux-action'; import {saveAs} from 'browser-filesaver'; import { showNotification } from './notifications-module'; import { driversAPI } from '../services/rest'; import { handleError } from './handle-error-module'; export const LOADING_ACTION = 'RA/DriversImport/LOADING_AC...
(function(){"use strict";BX.namespace("BX.Landing.UI.Form");BX.Landing.UI.Form.BalloonForm=function(o){BX.Landing.UI.Form.BaseForm.apply(this,arguments);this.layout.classList.add("landing-ui-form-balloon")};BX.Landing.UI.Form.BalloonForm.prototype={constructor:BX.Landing.UI.Form.BalloonForm,__proto__:BX.Landing.UI.Form...
(window.webpackJsonp=window.webpackJsonp||[]).push([[368],{3845:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return o}));r(6),r(7);var n=r(0);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&...
export default { experience: { title: 'Fishing in the wild Alagnak River', cover: 'https://fishtripr-prod-offer-pics.s3.eu-west-3.amazonaws.com/partners/5a86f4f05a298f7384391939/offers/15085380/cover.jpeg', country: 'Canada', city: 'Montréal', region: 'Québec', reviews_average: 4.5, ...
'use strict' const { ObjectId } = require('mongodb') const connectDB = require("./db") module.exports = { createCourse: async (root, { input }) => { // Default values const defaults = { teacher: "", topic: "", } let newCourse = {...defaults, ...input} try { const db = awa...
const cors = require('cors'); const whitelist = (process.env.CORS_DOMAINS || '').split(","); export default cors({ origin(origin, callback) { // allow requests with no origin if (!origin) return callback(null, true); if (!whitelist.includes(origin)) { const message = `The CORS po...
const fs = require('fs') require('dotenv').config() try { const data = fs.writeFileSync('dist/ca-certificate.cer', process.env.CA_CERT ) } catch (err) { console.error(err) }