text
stringlengths
2
1.04M
import FileReader from 'ember-file-upload/system/file-reader'; import { module, test } from 'qunit'; const FakeFileReader = { trigger: 'onload', abort() { this.onabort(); }, readAsArrayBuffer(blob) { setTimeout(() => this[this.trigger](blob), 0); }, readAsDataURL(blob) { setTimeout(() => this[t...
'use strict'; var fs = require('fs'); var path = require('path'); var encoding = 'utf-8'; function listFiles(dirPath, extensions) { extensions = Array.isArray(extensions) ? extensions : [extensions]; return fs.readdirSync(dirPath, encoding) .filter(ignoreDots) .filter(isExtension) .map(resolve); fu...
export default function sayHello() { return 'Hello World 2!'; }
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The production x %= y is the same as x = x % y es5id: 11.13.2_A4.3_T1.4 description: Type(x) and Type(y) vary between Null and Undefined ---*/ //CHECK#1 x = null; x %= undefi...
/** * Copyright (c) Microsoft 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 or agr...
// https://gist.githubusercontent.com/mzeryck/3a97ccd1e059b3afa3c6666d27a496c9/raw/bbcac348d540e452228bd85aa80a5b45bb023a65/mz_invisible_widget.js // 这是原作者gist地址,本人就汉化,只为引用到自己修改的Scriptable中 // 10086来源GideonSenku,https://github.com/GideonSenku/Scriptable/blob/master/10086/10086.js const $ = new ScriptableToolKit(`10086`...
angular.module('ovh-api-services').service('OvhApiCloudProjectRegion', ($injector) => ({ v6() { return $injector.get('OvhApiCloudProjectRegionV6'); }, Workflow() { return $injector.get('OvhApiCloudProjectRegionWorkflow'); }, AvailableRegions() { return $injector.get('OvhApiCloudProjectAvailableReg...
// require: var replace = require("replace"); var fs = require('fs-extra'); var path = require('path'); // use: var profile = process.env.ENV ? process.env.ENV : 'local'; console.log('Moving the detected configuration template…'); fs.copySync(path.resolve(__dirname, './app.config.ts.tpl'), path.resolve(__dirname, '.....
/* ## Dummy module * For demonstartion on how to create a custom Banana module. */ define([ 'angular', 'app', 'underscore', 'jquery' ], function (angular, app, _, $) { 'use strict'; var module = angular.module('kibana.panels.dummy', []); app.useModule(module); module.controller('dummy', function($...
//# sourceMappingURL=5.e7a0e967.chunk.js.map
export default (str) => { try { return JSON.parse(str); } catch (e) { return false; } }
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["mojs"] = factory(); else root["mojs"] =...
/** * Copyright (c) Microsoft Corporation * All Rights Reserved * MIT License * * 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 ...
import SingletonScope from "../bindings/scopes/SingletonScope"; function Singleton() { return (target) => { target.__diska = { ...target.__diska, scope : SingletonScope }; }; } export default Singleton;
const nodemailer = require('nodemailer'); const models = require('../models'); // Set up nodemailer account requirements const transporter = nodemailer.createTransport({ service: 'gmail', auth: { user: 'financetracker.jlt@gmail.com', pass: process.env.GMAIL_PASS, }, }); const { Account } = models; cons...
/* The MIT License (MIT) Original Library - Copyright (c) Marak Squires Additional functionality - Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...
function Utils() { } Utils.prototype = { constructor: Utils, fileDate: () => { let myDate = new Date(); myDate.getMonth(); myDate.getDate(); return myDate.getMonth() + 1 + '-' + myDate.getDate(); }, suffixEu: domain => { let tmpArr = domain.split('.'); const suf = tmpArr[tmpArr.length -...
/* * @flow * Copyright (C) 2018 MetaBrainz Foundation * * This file is part of MusicBrainz, the open internet music database, * and is licensed under the GPL version 2, or (at your option) any * later version: http://www.gnu.org/licenses/gpl-2.0.txt */ import * as React from 'react'; import FormCsrfToken from ...
function start() { cm.getChar().getStorage().sendStorage(cm.getC(), 1091004); cm.dispose(); }
import React from "react"; import connect from "./connect"; import LoginLayout from "./LoginLayout"; const Login = ({errorMessage, isInvalidEmail, isLoading, onLogin}) => ( <LoginLayout errorMessage={errorMessage} isEmailInvalid={isInvalidEmail} isLoading={isLoading} onLogin={onLogi...
const sha256 = require('js-sha256'); const buggySha256 = require('sha256'); const bip39 = require('bip39'); const crypto = require('crypto'); const bigi = require('bigi'); const bitcoinZcash = require('bitcoinjs-lib-zcash'); const bitcoin = require('bitcoinjs-lib'); const bs58check = require('bs58check'); module.expor...
import _ from 'lodash' const initialStatus = { employees: [], loading: false, error: null, absence: [], messages: [] } const reducers = (state = initialStatus, action) => { switch(action.type) { case "SET_EMPLOYEES" : return { ...state, empl...
import {install} from '#polyfills/abort-controller'; describes.realWin('AbortController', {}, (env) => { let win; let controller, signal; beforeEach(() => { win = env.win; delete win.AbortController; delete win.AbortSignal; install(win); controller = new win.AbortController(); signal =...
import React from 'react'; import renderer from 'react-test-renderer'; import Tile from '..'; import CONSTANTS from '../../../constants'; describe('Tile component', () => { it('Should exist', () => { expect(Tile).toMatchSnapshot(); }); it('Should have notification classname', () => { const component = re...
function addNewKey(path,value) { }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var HomeComponent = /** @class */ (function () { function HomeComponent() { // Use the component constructor to inject providers. } HomeComponent.prototype.ngOnInit = function () { ...
var browserFakeUserAgent = 'Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45'; (function(that) { if (!that) { return; } if (typeof window !== 'undefined') { return; } if (typeof global === 'undefined') { return; } global.navigato...
import { mount } from '@vue/test-utils' import IconSpinner from '@/IconSpinner' describe('tv-icon', () => { test('is a Vue instance', () => { const wrapper = mount(IconSpinner) expect(wrapper.vm).toBeTruthy() }) } )
import styled from 'styled-components'; export const Outer = styled.div``;
odoo.define('pos_epson_printer.pos_epson_printer', function (require) { "use strict"; var models = require('point_of_sale.models'); var PaymentScreenWidget = require('point_of_sale.screens').PaymentScreenWidget; var EpsonPrinter = require('pos_epson_printer.Printer'); var posmodel_super = models.PosModel.prototype; m...
'use strict'; var path = require('path'); var config = require(path.resolve('config/config')); var GooglePlaces = require('googleplaces'); class PlaceService { constructor(googlePlaces) { if(!googlePlaces) { googlePlaces = new GooglePlaces(config.googlePlacesApiKey, config.googlePlacesOutputFormat); }...
var classDNSClient = [ [ "getAddressFromCache", "classDNSClient.html#a4dae82b9c2886d9801f5bc4f36bcdc02", null ], [ "handleMessage", "classDNSClient.html#a95d324647f66e43e2e21c59480eb7c8a", null ], [ "initialize", "classDNSClient.html#a75897ddfee3cb2d23415a3e51fbd4e2f", null ], [ "numInitStages", "classD...
define('ember-data/setup-container', ['exports', 'ember-data/-private', 'ember-data/serializers/json-api', 'ember-data/serializers/json', 'ember-data/serializers/rest', 'ember-data/adapters/json-api', 'ember-data/adapters/rest', 'ember-data/transforms/number', 'ember-data/transforms/date', 'ember-data/transforms/string...
declare module "node-wit" { declare var npm$namespace$log: { DEBUG: typeof log$DEBUG, INFO: typeof log$INFO, WARN: typeof log$WARN, ERROR: typeof log$ERROR, Logger: typeof log$Logger }; declare class log$Logger { constructor(level: string): this; } declare var log$DEBUG: string; d...
import Vue from "vue"; import Vuetify from "vuetify"; import "vuetify/dist/vuetify.min.css"; Vue.use(Vuetify); export default new Vuetify({ theme: { themes: { dark: { primary: "#3F51B5", accent: "#FFC107", secondary: "#404040", success: "#4CAF50", info: "#03A9F4", ...
import React from 'react'; import cx from 'classnames'; class ObservedImageBase64Inner extends React.Component { constructor(props) { super(props); this.state = { downloaded: false, styles: {} }; } observe = () => { const { className = 'image', src, ratio = false, noConstraints } = t...
function bubble_Sort() { time_interval = 0 document.getElementById('bubble').click() for (var i = 0; i < array_length; i++) { for (var j = 0; j < array_length - i - 1; j++) { update_block(block_divs[j], block_divs_value[j], "yellow"); if (block_divs_value[j] > block_divs_valu...
const core = require('@actions/core'); const { getAuthanticatedUrl } = require('./utils'); module.exports = {createBranch, clone, push, areFilesChanged, getBranches}; async function createBranch(branchName, git) { return await git .checkout(`-b${branchName}`); } async function clone(token, remote, dir, git) { ...
import trimCurrency from '../index'; test('Remove whitespaces', () => { const currency = '1000 00'; expect(trimCurrency(currency)).toBe(100000); }); test('Remove symbols', () => { const currency = '$5000'; expect(trimCurrency(currency)).toBe(5000); }); test('Remove all non-digits', () => { const currency...
import { validateSearch, validateParams, validateIDString } from './_helpers' import injector from 'vue-inject' import axios from '~/axios' const $log = injector.get('$log') function generateSearchParams(search) { const { filters = {} } = search const filterArray = Object.keys(filters).map((key) => { return {...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); window.Vue = require('vue'); /** * Next, we will create a fresh Vue ap...
(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{562:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return a})),n.d(t,"language",(function(){return o}));var a={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',c...
jQuery(document).ready(function(){jQuery(".fusion-vertical-menu-widget .current_page_item, .fusion-vertical-menu-widget .current-menu-item").each(function(){var e=jQuery(this),n=e.parent();e.find(".children, .sub-menu").length&&e.find("> .children, > .sub-menu").show("slow"),n.hasClass("fusion-vertical-menu-widget")&&e...
function errorHandler(error) { if (!error.response) return console.log(error); const { status, data } = error.response; if ([401, 403, 404, 422, 500].includes(status)) { console.log(error.response, data.errors.body[0]); throw data.errors.body[0]; } console.dir(error); } export default errorHandler...
import PropTypes from 'prop-types'; import React, { PureComponent } from 'react'; class Footer extends PureComponent { static propTypes = { currentTheme: PropTypes.string.isRequired, changeTheme: PropTypes.func.isRequired }; render() { const { currentTheme, changeTheme } = this.props; return ( ...
import React from 'react' import { Button } from 'react-bootstrap' import { connect } from 'react-redux' import { removeFromCart } from '../../actions/cart.action' // Bootstrap import Card from 'react-bootstrap/Card' const CartItem = ({ removeFromCart, item: { itemName, itemPrice, _id } }) => { return ( <Card clas...
import ApplicationSerializer from './application'; const { isArray } = Array; export default ApplicationSerializer.extend({ serialize(...args) { const json = ApplicationSerializer.prototype.serialize.apply(this, args); if (isArray(json.classificationTypes)) { return { ...json, totalRecords: json.clas...
var test = require('tap').test; var CronExpression = require('../lib/expression'); var CronDate = require('../lib/date'); test('empty expression test', function(t) { try { var interval = CronExpression.parse(''); t.ok(interval, 'Interval parsed'); var date = new CronDate(); date.addMinute(); va...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'elementspath', 'en-au', { eleLabel: 'Elements path', // MISSING eleTitle: '%1 element' } );
var d = require('describe-property'); var Accept = require('../headers/Accept'); module.exports = function (mach) { Object.defineProperties(mach.Connection.prototype, { /** * Returns true if the request indicates that the client accepts * the given media type. */ accepts: d(function (mediaTyp...
import { Github } from "@styled-icons/boxicons-logos/Github" import { Twitter } from "@styled-icons/boxicons-logos/Twitter" import { Linkedin } from "@styled-icons/boxicons-logos/Linkedin" import { Instagram } from "@styled-icons/boxicons-logos/Instagram" const Icons = { Github, Twitter, Linkedin, Instagram, }...
import React from 'react' import { SiteContext, ContextProviderComponent } from '../context/mainContext' import { FaTimes, FaLongArrowAltRight } from 'react-icons/fa' import { Link } from 'gatsby' import CartLink from '../components/CartLink' import { slugify } from '../../utils/helpers' import Image from '../componen...
define([ "./core" ], function($) { // This module is borrow from zepto.callback.js // (c) 2010-2014 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. // Create a collection of callbacks to be fired in a sequence, with configurable behaviour // Option flags: ...
var webpath = '/', upfolder = '/files/', link = new Array(), CenterTimer, AW1, AW2; function favorites() { var a = arguments; var b = ',travelstj,'; if (b.indexOf(',' + a[0].toLowerCase() + ',') == -1 && GetCookie('username') == '') { alert('请先登陆!'); return } $.ajax({ url: webpath + 'sys/ajax/vote.ashx?t=' + a[0] + '&...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); require("@babel/register"); var ...
'use strict'; 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]; } } }...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var dao_1 = require("../dao"); function createAssignment(request) { if (!request.body.staff || !request.body.table) { return Promise.reject({ statusCode: 400, message: 'Data fields missing.' }); ...
import db from '../../models'; /** * @param {object} model database table model * @param {object} data inputs data to be saved in db * @param {object} where conditions * @returns {object} Object representing the response returned */ export default async (model, data, where) => { const response = await db[model]...
"use strict"; /*global require*/ var defined = require("terriajs-cesium/Source/Core/defined"); var defineProperties = require("terriajs-cesium/Source/Core/defineProperties"); var DeveloperError = require("terriajs-cesium/Source/Core/DeveloperError"); var FunctionParameter = require("./FunctionParameter"); var inherit ...
'use strict'; export function flatten(array) { return array.reduce((a, b) => { return a.concat(Array.isArray(b) ? flatten(b) : b); }, []); }
import axios from "axios"; const API_URL = "http://localhost:8080/api/auth/"; const register = (username, email, password, birth) => { return axios.post(API_URL + "signup", { username, email, password, birth }); }; const login = (username, password) => { return axios ...
import React from 'react'; import { graphql } from 'gatsby'; import { css } from '@emotion/core'; import { MDXRenderer } from 'gatsby-mdx'; import Layout from '../components/layout'; import ReadLink from '../components/read-link'; export const query = graphql` query($slug: String!) { mdx (frontmatter: {slug: {eq: ...
import { Component, $$, sendRequest, platform } from 'substance' import { convertCSLJSON } from '../converter/bib/BibConversion' import QueryComponent from './QueryComponent' export default class DOIInputComponent extends Component { constructor (...args) { super(...args) this.handleActions({ 'query': ...
import Cookies from 'js-cookie'; import Vue from 'vue'; import Vuex from 'vuex' //import getters from './getters'; /*const state = { breadcrumbs: null, } const mutations = { SET_BREADCRUMBS: ( state, href ) =>{ state.breadcrumbs = href; } }; const getters = { getBreadCrumbs(state){ return state.breadcrumb...
$(function () { "use strict"; $(window).on('load', function (e) { //$('body').addClass('loaded'); $('.loader').fadeOut("slow");; }); loadscroler(); }); /*Function for Add Go to up arrow Start */ function loadscroler() { $('body').prepend('<a href="#" class="bottom-top"...
// import important parts of sequelize library const { Model, DataTypes } = require('sequelize'); // import our database connection from config.js const sequelize = require('../config/connection'); // Initialize Product model (table) by extending off Sequelize's Model class class Product extends Model {} // set up fi...
/** * @param {number[]} arr * @param {number} k * @return {number} */ const getWinner = function (arr, k) { const arrMax = Math.max(...arr) if (k >= arr.length) { return arrMax } let tempK = 0 let winner = arr.shift() while (tempK < k) { if (winner === arrMax) { return arrMax } co...
var fs = require('fs') var files = fs.readdirSync(__dirname) var prefix = 'controllers-' files.forEach((file) => { if (file.indexOf(prefix) === 0) { var name = file.substring(prefix.length) name = name.substring(0, name.length - 3) exports[name] = require('./' + file) } })
import { $, $$ } from './lib/querySelector'; import { create } from './lib/dom-create-element.js'; const currentUsername = $('.current-user').innerHTML; // https://stackoverflow.com/a/49389811 const submitTextareaOnSubmit = (event) => { if (event.which === 13 && !event.shiftKey) { event.targe...
(function () { 'use strict'; angular .module('austackApp.account.settings', [ 'austackApp.auth', 'austackApp.cropImage' ]) .config(configAccountSettingsLogin); // inject configAccountSettingsLogin dependencies configAccountSettingsLogin.$inject = ['$stateProvider']; /** * Route c...
/** * @preserve SelectNav.js (v. 0.1) * Converts your <ul>/<ol> navigation into a dropdown list for small screens * https://github.com/lukaszfiszer/selectnav.js */ window.selectnav = (function(){ "use strict"; var selectnav = function(element,options){ element = document.getElementById(element); // r...
(function(exports) { if(typeof document === 'undefined') var document = {}; if(typeof window === 'undefined') var window = {}; if(!window.document) window.document = document; if(typeof navigator === 'undefined') var navigator = {}; if(!navigator.userAgent) navigator.userAgent = 'Mozilla/5.0 (Macintosh; In...
import React, { Component } from 'react' import { Link, graphql } from 'gatsby' import get from 'lodash/get' import Layout from '../components/Layout' import FrontpageHero from '../components/FrontpageHero' import FrontpageHeroBlurb from '../components/FrontpageHeroBlurb' import FrontpageVideo from '../components/Fron...
"use strict" const Util = require("../../util") const Define = require("../../define") const _ = require("lodash") module.exports = async function(topkey) { if (!Util.isValidKey(topkey)){ throw new Error(`<rache:hash:vals> ERR invalid top key.`) } let result = await this._rawGet(topkey) if (!!result){ if ...
/** * glsl-playground v0.0.1 * * Copyright 2016-present, 王健(Jason Wang), contributors. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports ...
import { h, Component } from 'preact' import Web3Enabled from "../components/Web3Enabled.js"; import GiftSelect from "../components/redeem/GiftSelect.js"; import ContentBox from "../components/ContentBox.js"; var Web3 = require("web3"); export default class Redeem extends Web3Enabled{ renderUnlockedWeb3() { ret...
import React, {useState} from 'react'; import {useMutation} from "@apollo/client"; import Swal from 'sweetalert2'; import DropdownButton from 'react-bootstrap/DropdownButton'; import Dropdown from 'react-bootstrap/Dropdown' import {Button, Card, Form, Row, Col} from "react-bootstrap"; import {CREATE_AD} from '../../gra...
import angular from 'angular'; import ProjectExportModalComponent from './projectExportModal.component.js'; import ProjectExportModalController from './projectExportModal.controller.js'; const ProjectExportModalModule = angular.module('components.projects.projectExportModal', []); ProjectExportModalModule.controller(...
import React from 'react' import wonder from '../images/wonder_wehrman.jpg' import dunAengus from '../images/dun_aengus.jpg' import "./hobbies.css" const Hobbies = () => ( <div id="hobbies"> <div className="hobbies" > <h1>Hobbies</h1> <div className="hobbies-image"> <img className="derb...
import { util_load } from '../util.js'; export default class Shader { static SHADER_PATH = './resources/shaders/'; static attachShaderProgram(shader, type, source) { let shader_program = shader.gl.createShader(type); util_load(this.SHADER_PATH + source, function(data) { shader.gl.shaderSource(...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
import React, { Component, Fragment } from "react"; import PropTypes from "prop-types"; import { Field } from "redux-form"; // core components import Typography from "@material-ui/core/Typography"; import Chip from "@material-ui/core/Chip"; // material-ui components import CustomSelectView from "components/Inputs/Cus...
export default { '/': { component: 'app/pages/home' } }
'use strict'; module.exports = { port: parseInt(process.env.MTGAAS_PORT || 8080), database: { host: process.env.MTGAAS_POSTGRES_HOST || 'localhost', port: parseInt(process.env.MTGAAS_POSTGRES_PORT || 5433), database: process.env.MTGAAS_POSTGRES_DATABASE || 'mtgaas_dev', user: process.env.MTGAAS_POS...
import React from 'react'; class Favorites extends React.Component { render() { return ( <h1>This is favorites</h1> ) } } export default Favorites;
import { inherit } from "@uirouter/core"; export default class CadastroController { constructor(cadastroService) { var vm = this; this.name = 'Cadastro'; vm.salvar = salvar; function salvar(){ //debugger; vm.estado; cadastroService.salvar(vm.estado); } } } CadastroCon...
import { addDecorator, addParameters, configure } from '@storybook/react'; import { addReadme, configureReadme } from 'storybook-readme'; import theme from './theme'; import './styles.scss'; addDecorator(addReadme); addParameters({ options: { name: 'White Label Wallet Styleguide', theme, }, }); configure...
/* CanvasJS jQuery Charting Plugin - https://canvasjs.com/ Copyright 2020 fenopix --------------------- License Information -------------------- CanvasJS is a commercial product which requires purchase of license. Without a commercial license you can use it for evaluation purposes for upto 30 days. Please refer ...
module.exports = new Date(1991, 2, 16)
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
import { Table, Button, Popconfirm, Input, Icon } from 'antd'; import tableUtil from 'utils/tableUtil'; import SearchBar from './SearchBar.js'; import AddModal from './modal/AddModal.js'; import styles from './labelList.less'; import { ORDER_SUFFIX } from 'configs/constants'; const { getColumns } = tableUtil; // 页面参数初...
import App from './App.svelte'; const app = new App({ //target: document.body //target: replaceContents( document.querySelector( '#target' )) target: document.getElementById("target"), }); export default app;
const TTLSUtils = require('./ttlsUtils'); const nock = require('nock'); var _ = require('lodash'); describe('TTLSUtils', () => { const webADENock = { domain: 'https://api.nrs.gov.bc.ca', path: '/oauth2/v1/oauth/token?grant_type=client_credentials&disableDeveloperFilter=true&scope=TTLS.*', headers: { ...
'use strict'; var _ = require('lodash'); var Bluebird = require('bluebird'); var fs = require('fs'); var path = require('path'); var redefine = require('redefine'); module.exports = redefine.Class({ constructor: function (options) { this.options = options || {}; this.options.storageOp...
(function() { load("jstests/configs/standard_dump_targets.config.js"); // Tests using mongorestore to restore data from a collection with // a malformed metadata file. jsTest.log('Testing restoration from a malformed metadata file'); var toolTest = new ToolTest('malformed_metadata'); toolTest.startDB('fo...
module.exports = { "root": true, "env": { "es6": true, "node": true }, "extends": [ "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", ...
import React from "react" //import { Link } from "gatsby" import "../components/layout.css" import Intro from "../components/intro" import SEO from "../components/seo" import NameDisplay from "../components/namedisplay" import Portfoliodisplay from '../components/portfoliodisplay' //import Positions from '../components...
import React from "react"; import ReactDOM from "react-dom"; import BatchReport from "./Report/BatchReport"; import BatchReportBeta from "./Report/BatchReportBeta"; import InteractiveReport from "./Report/InteractiveReport"; import EmptyReport from "./Report/EmptyReport"; // import registerServiceWorker from './regist...
import { create } from '../common/create'; create({ relations: { '../badge-group/index': { type: 'ancestor' } }, props: { info: Number, title: String }, methods: { onClick() { const group = this.getRelationNodes('../badge-group/index')[0]; if (group) { group.se...
import { toObjectId } from "../../../lib"; import { DATABASE } from "../../../constants"; const table = [ { name: "Aba South", state: 1 }, { name: "Arochukwu", state: 1 }, { name: "Bende", state: 1 }, { name: "Ikwuano", state: 1 }, { name: "Isiala Ngwa North", state: 1 }, { name: "Isiala Ngwa S...