text
stringlengths
2
1.04M
'use strict'; var CellXform = require('../../../../../lib/xlsx/xform/sheet/cell-xform'); var testXformHelper = require('./../test-xform-helper'); var SharedStringsXform = require('../../../../../lib/xlsx/xform/strings/shared-strings-xform'); var Enums = require('../../../../../lib/doc/enums'); var fakeStyles = { a...
// DATA_TEMPLATE: empty_table oTest.fnStart( "Sanity checks for DataTables with data from JS - Deep data source" ); oTest.fnTest( "jQuery.dataTable function", null, function () { return typeof jQuery().dataTable == "function"; } ); oTest.fnTest( "jQuery.dataTableSettings storage array", null, function () { ret...
/* */ "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("rxjs-compat/observable/merge")); //# sourceMappingURL=merge.js.map
module.exports = { cookie: { originalMaxAge: null, expires: null, secure: true, httpOnly: true, domain: 'localhost', path: '/' }, csrfSecret: 'XXXXXXXX', expires: 99999999, 'respondentCorrespondenceAddress': { 'addressType': 'postcode', 'postcode': 'SW9 9PE', 'street1': nul...
import Error from './Error'; import Loading from './Loading'; import Tasks from './Tasks'; import TodoList from './TodoList'; export { Error, Loading, Tasks, TodoList, };
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.2.4.4_A8; * @section: 15.2.4.4; * @assertion: The Object.prototype.valueOf.length property has the attribute DontEnum; * @description: Checking if enumerating the Object....
var service = require('./token-service'); exports.emailLogin = function(email ) { //if valid email and passwd return token //register the token in the DataBase for a possible invalidation var token= service.createToken(email); //console.log("token registrado en DBs "+token+"\n\n"); return token; };
/*! * Muuri v0.5.1 * https://github.com/haltu/muuri * Copyright (c) 2015, Haltu Oy * * 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 t...
import React from 'react'; import { Form, Row, Col, Button } from 'react-bootstrap'; import { Link } from 'react-router-dom'; import { Formik } from "formik"; import { ConsultantSignupSchema } from "./SignupSchema"; import {gender} from './genderData' const SignupFormConsultant = () => { return ( <> ...
/** * Returns a new list containing the contents of the given list, followed by * the given element. * * @func * @category List * @sig a -> [a] -> [a] * @param {*} el The element to add to the end of the new list. * @param {Array} list The list of elements to add a new item to. * list. * @return {Array...
import { login, logout, getInfo } from '@/api/user' import { getToken, setToken, removeToken } from '@/utils/auth' import router, { resetRouter } from '@/router' const state = { token: getToken(), name: '', avatar: '', introduction: '', roles: [] } const mutations = { SET_TOKEN: (state, token) => { st...
/** * ueditor完整配置项 * 可以在这里配置整个编辑器的特性 */ /**************************提示******************************** * 所有被注释的配置项均为UEditor默认值。 * 修改默认配置请首先确保已经完全明确该参数的真实用途。 * 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。 * 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。 **************************提示***************...
import './App.css'; import { BrowserRouter as Router, Switch, Route, } from "react-router-dom"; import Header from './components/Head/Header'; import Welcome from './components/Body/Welcome'; import WelcomeUser from './components/Body/WelcomeUser'; import Footer from './components/Footer/Footer'; import M...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const array_prototype_flatmap_1 = __importDefault(require("array.prototype.flatmap")); const pluralize_1...
import initServer from './server' // JWT verification middleware import jwt from 'express-jwt' // Retrieves RSA signing keys from a JWKS import jwksRsa from 'jwks-rsa' // // Express Authentication Middleware // const jwtVerificationDefinition = { // Dynamically provide a signing key // based on the kid in the head...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.GoIssueOpened = function GoIssueOpened (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 14 16"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","d":"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1....
/*! Stencil CLI v2.4.0 | MIT Licensed | https://stenciljs.com */ const toLowerCase = (str) => str.toLowerCase(); const dashToPascalCase = (str) => toLowerCase(str) .split('-') .map(segment => segment.charAt(0).toUpperCase() + segment.slice(1)) .join(''); const isFunction = (v) => typeof v === 'function'; ...
/* eslint-disable new-cap */ 'use strict'; const { RepeatException, ParametersException } = require('lin-mizar'); const { set, has } = require('lodash'); class UserDao { async createUser (ctx, v) { let user = await ctx.manager.userModel.findOne({ where: { username: v.get('body.username') } ...
// Copyright (C) 2019 rameshvk. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. "use strict"; import { Decoder } from "./decode.js"; import { Text } from "./text.js"; import { Value } from "./value.js"; import { field } from "./field.js"; ...
/* -------------------------------- REQUIRES -------------------------------- */ var child = require("child_process"); var assert = require("assert"); /* --------------------------------- CONFIG --------------------------------- */ if (process.argv[2] == null) { [ 'Usage: ', '', ' `node bin/stop-test.js ...
/* @flow */ import { of } from "rxjs"; import React, { PureComponent } from "react"; import { connect } from "react-redux"; import { View, StyleSheet, Image } from "react-native"; import { Trans } from "react-i18next"; import { SafeAreaView } from "react-navigation"; import ProgressCircle from "react-native-progress/Ci...
macDetailCallback("045c6c000000/24",[{"d":"2019-03-07","t":"add","s":"ieee-oui.csv","a":"1133 Innovation Way Sunnyvale CA US 94089","c":"US","o":"Juniper Networks"}]);
import React, {useState, useEffect} from 'react'; import {View, Text, StyleSheet, FlatList, Image} from 'react-native'; import yelp from '../api/yelp'; const ResultsShowScreen = ({navigation}) => { const [result, setResult] = useState(''); const id = navigation.getParam('id'); const getResult = async id =...
macDetailCallback("68a1b7000000/24",[{"d":"2009-09-05","t":"add","a":"Floor 8,Tower A, Wanliu Yicheng Building\nNo.11, Changchun Qiao Road, Haidian District\nBeijing 100089\n","c":"CHINA","o":"Honghao Mingchuan Technology (Beijing) CO.,Ltd."},{"d":"2015-08-27","t":"change","a":"Floor 8,Tower A, Wanliu Yicheng Building...
/** * @fileOverview 微信小程序的入口文件 */ var qcloud = require('./vendor/qcloud-weapp-client-sdk/index'); var config = require('./config'); var AV = require('./libs/av-weapp-min.js'); App({ /** * 小程序初始化时执行,我们初始化客户端的登录地址,以支持所有的会话操作 */ onLaunch() { qcloud.setLoginUrl(config.service.loginUrl); ...
import React, {useMemo} from "react"; import Box from "@mui/material/Box"; import {Checkbox, TableCell, TableHead, TableRow, TableSortLabel} from '@mui/material'; import {visuallyHidden} from "@mui/utils"; import {connect} from "react-redux"; import {setSelectedRoles} from "../../../../../../Redux/Requests/Settings/req...
import React from 'react'; import { Slider } from '@lugia/lugia-web'; import styled from 'styled-components'; export const DemoItem=styled.div` padding:0 20px 20px 0; `; export default class BaseSlider extends React.Component { onchange = v => { }; render() { return ( <DemoItem> <div>verti...
function sendEmail(infor_clientes, nome_hotel, valor_hotel, nome_agencia, dia_viagem, destino, total, entrada, restante, email, contato, email_cliente, apartamento, ponto_encontro, cnpj, endereco, site) { corpo_email = `<!doctype html> <html ⚡4email data-css-strict> <head> <meta cha...
"use strict"; let jwt = require('jsonwebtoken'); module.exports = (sequelize, logger, config) => { return async function (token) { try { let decoded = jwt.verify(token, config.secret, { algorithms: ['HS256'] }); if (decoded) { let user = ...
import React from "react"; import { BrowserRouter as Router, Route } from "react-router-dom"; import Home from "./pages/Home"; import Contact from "./pages/Contact"; import Portfolio from "./pages/Portfolio"; import Navbar from "./components/Navbar"; import Footer from "./components/Footer"; function App() { return ...
"use strict"; // Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
define('uglify-js/parser', ['require', 'exports'], function(require, exports) { /*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. This version is suitable for Node.js. With minimal changes (the exports stuff) it should work on an...
const profile = { firstName: "Gunawan", lastName: "Aji", age: 21 } let firstName = "Dirga"; let age = 22; // menginisialisasi nilai baru melalui object destruction ({firstName, age} = profile); console.log(firstName); console.log(age); /* output: Dirga 18 */
const compiledContract = require('./solidity/build/contracts/Wallet.json'); const { convertForEthereum, convertForOutside } = require('./numberUtils'); class Wallet { constructor (web3Wrapper) { this.web3Wrapper = web3Wrapper; } createNewWallet ({initialFiatAmount = 0}) { return this.web3Wrapper.deployC...
import update from 'react-addons-update'; import { formatDate } from '../../utils/formatDate'; import { updateTask } from '../../utils/asanaRequests'; const onDrop = async (tasks, groupedTasks, setGroupedTasks, dispatchTask, target, source) => { const currentTask = tasks.find(task => task.id === source.taskId); co...
const WebSocket = require("ws"); const EventEmitter = require("events"); class AudioNode extends EventEmitter { constructor(manager, options = {}) { super(); this.manager = manager; this.ws = null; this.client = manager.client; this.port = options.port; Object.defineProperty(this, "password",...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { Recove...
MobData = { 723: [ {"id":"0","inid":0,"type":2,"name":"ピアシングボウ","repop":40,"id_area":3,"lv_min":0,"lv_max":0,"is_npc":false,"real_posx":38.84,"real_posy":14.78,"posx":155.38,"posy":29.56}, {"id":"1","inid":0,"type":2,"name":"ピアシングボウ","repop":40,"id_area":4,"lv_min":0,"lv_max":0,"is_npc":false,"real_posx":36.53,"real_...
'use strict'; import plugins from 'gulp-load-plugins'; import browser from 'browser-sync'; import gulp from 'gulp'; import autoprefixer from 'autoprefixer'; // Load all Gulp plugins into one variable const $ = plugins(); // Build the site, run the server, and watch for file changes gulp.task('d...
/** * @license * Copyright 2012 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview JavaScript for Blockly's Code demo. * @author fraser@google.com (Neil Fraser) */ 'use strict'; /** * Create a namespace for the application. */ var Code = {}; /** * Lookup for names of supported language...
import { logger } from '../../utils/logger'; import { basicFind } from '../basic-query-handler'; import UserOrder from '../../db-models/user-order-model'; import { ITEM_CATEGORY_COURSE_CERTIFICATE, ITEM_CATEGORY_COURSE_RUN } from '../../db-models/order-item-model'; export const fetchByUserAndItemRefId = async ( ...
import React from 'react'; export const MenuDown = () => ( <svg baseProfile="full" width="24" height="24" viewBox="0 0 24.00 24.00"> <path fill="currentColor" fillOpacity="1" strokeWidth="0.2" strokeLinejoin="round" d="M 7,10L 12,15L 17,10L 7,10 Z "/> </svg> );
baseUrl = 'https://eth.2miners.com/api/accounts/'; window.onload = function() { const table = document.getElementById("table"); const walletIdInput = document.getElementById("walletID"); const IdLabel = document.getElementById("IdLabel"); const requestBtn = document.getElementById("requestBtn"); con...
var searchData= [ ['_5finfoplikow_309',['_InfoPlikow',['../class_pz_g_1_1_lacze_do_g_n_u_plota.html#a1916c5a6fecfb3554e9d5204b2f2086c',1,'PzG::LaczeDoGNUPlota']]], ['_5fnazwapliku_310',['_NazwaPliku',['../class_pz_g_1_1_info_pliku_do_rysowania.html#a07ab06c56b9c3179e566a4123ab2a037',1,'PzG::InfoPlikuDoRysowania']]]...
var left = 10; var right = 480; var bottom = 290; let rad = 20; let xpos, ypos; let xspeed = 1.8; let yspeed = 1.2; let xdirection = 5; let ydirection = 1; let ballColors = ["purple", "yellow", "red", "blue"]; function setup() { createCanvas(500, 300); frameRate(40); ellipseMode(RADIUS); xpos = width / 2; y...
import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHome = (props) => ( <SvgIcon {...props}> <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/> </SvgIcon> ); ActionHome = pure(ActionHome); ActionHome.displayName = 'ActionHome'; ActionHome.muiName = 'SvgIcon'; export default ActionHo...
const { doBinaryDiagnosticPart1 } = require("./doBinaryDiagnostic.js"); const { doBinaryDiagnosticPart2 } = require("./doBinaryDiagnostic.js"); describe("Day 3: Binary Diagnostic", () => { const testFile = `${__dirname}/../data/example.txt`; const realFile = `${__dirname}/../data/input.txt`; test("Part One: che...
import { blackColor } from "assets/jss/aiditto-pro-style/aidittoColorStyles.js"; const headerSectionStyle = theme => ({ titleTextWithoutImage: { color: blackColor, fontSize: "1.5em", marginBottom: "0.5em", fontWeight: 600 } // , // img: { // width: "100%", // height: "auto" // } // ...
import React, { Component } from "react"; import { Link } from "react-router-dom"; export default class PortfolioItem extends Component { constructor(props) { super(props); this.state = { PortfolioItemClass: "" }; } handleMouseEnter() { this.setState({ PortfolioItemClass: "image-blu...
var fs = require('fs') module.exports = hasChangedSince function hasChangedSince(file,fileOrTime,cb){ var fileTime, cmpTime function done(){ if(fileTime && cmpTime) { cb(false,fileTime < cmpTime) } } fs.stat(file,function(err,stat){ if(err) return cb(err,true) fileTime = Date.parse...
import Promise from 'bluebird'; import Email from '../models/email.model'; import Box from '../models/box.model'; import User from '../models/user.model'; import Socket from '../routes/socket'; import NERService from "../core/analysis/NERService"; import GmailConnector from '../core/mail/GmailConnector'; import EWSConn...
import { gql } from '@apollo/client'; export const ADD_USER = gql` mutation addUser($username: String!, $email: String!, $password: String!) { addUser(username: $username, email: $email, password: $password) { token user { _id username } } } `; export const SAVE_BOOK = gq...
import React, { Component } from 'react'; class Resume extends Component { render() { if(this.props.data){ var skillmessage = this.props.data.skillmessage; var education = this.props.data.education.map(function(education){ return <div key={education.school}><h3>{education.school}</h3> ...
/*! MBTools app.js * ================ * Main JS application file for MBTools v2. This file * should be included in all pages. It controls some layout * options and implements exclusive MBTools plugins. * * @Author Almsaeed Studio * @Support <http://www.almsaeedstudio.com> * @Email <support@almsaeedstudio.com...
function MainAssistant() { Mojo.Log.info("enter constructor()"); Mojo.Log.info("exit constructor()"); } MainAssistant.prototype.setup = function() { Mojo.Log.info("enter setup()"); $('title').innerHTML = Mojo.appInfo.title; $('version').innerHTML = 'Beta v' + Mojo.appInfo.version; window.setTimeout(...
var gecoDocumentControllers = angular.module("gecoDocumentControllers",[]); gecoDocumentControllers.controller('CreateOrdersCtrl',["$scope","$http","$routeParams","$location","$rootScope",'LoginFactory',function($scope,$http,$routeParams,$location,$rootScope,LoginFactory){ $scope.filter = {}; $scope.generateobj = {...
// == NOTE == // This code uses ES6 promises. If you want to use this code in a browser // that doesn't supporting promises natively, you'll have to include a polyfill. gapi.analytics.ready(function() { /** * Authorize the user immediately if the user has already granted access. * If no access has been create...
import UI_canvas from '../ui_canvas.js' import history from '../history.js' import { generate } from '../generate.js'; import { gridState, snapGridState, grid_rows, grid_columns, grid_sub } from '../grid.js' import { workspace } from '../elements.js' let dragger, follower let points = [] let test_results let slice = {...
MapRoute.API.User = (function(api) { var _super = MapRoute.API.Base; return api; }(new MapRoute.API.Base({ url: '/api/users' })));
'use strict'; const fs = require('fs'); const path = require('path'); const RECEIVER_FILE_PATH = path.resolve('./config/receiver.json'); const DOTS = 80; const SPACE_CHAR_CODE = parseInt(20, 16); const ARReceiverCore = require('./ar_receiver_core').ARReceiverCore; class ARReceiver extends ARReceiverCore { construct...
$.validator.addMethod("greaterThanEqual", function (value, element, param) { var target = $(param); if (this.settings.onfocusout && target.not(".validate-greaterThanEqual-blur").length) { target.addClass("validate-greaterThanEqual-blur").on("blur.validate-greaterThanEqual", function () { $(...
/*global beforeEach, afterEach*/ 'use strict'; var chai = require('chai') , sinon = require('sinon') , sinonChai = require('sinon-chai') , expect = chai.expect , list = require('../lib/list'); chai.use(sinonChai); chai.config.includeStack = true; describe('Element lists', function () { describe('inline col...
const env = process.env.APP_ENV || 'pro'; const prefix = process.env.prefix || '/api/app'; // const CONF = require('../../conf/index'); console.log('\x1B[31m%s\x1B[0m', `---------环境变量env => ${env} -----------`); module.exports = { port: 3000, decorate: { // curl: require('../../cli/lib/curl'), // middleware: req...
import * as tslib_1 from "tslib"; import * as React from 'react'; import { PrimaryButton } from 'office-ui-fabric-react/lib/Button'; import { TextField } from 'office-ui-fabric-react/lib/TextField'; import './TextField.Examples.scss'; var TextFieldAutoCompleteExample = /** @class */ (function (_super) { tslib_1.__e...
'use strict'; /* 钢材历史价格表 id: 价格id iron_id: 钢材id price: 钢材历史价格 staus: 启用状态 */ module.exports = app => { const { FLOAT, INTEGER, BOOLEAN } = app.Sequelize; const Price = app.model.define('price', { id: { type: INTEGER(11), primaryKey: true, allowNull: false, ...
module.exports = { moduleFileExtensions: ['ts', 'tsx', 'js'], transform: { '^.+\\.(ts|tsx)$': 'ts-jest', }, testMatch: ['**/*.spec.(ts|tsx)'], testPathIgnorePatterns: ['./node_modules/', './dist/'], testEnvironment: 'jsdom', };
import React, { Component } from 'react'; import BoardComponent from './components/BoardComponent/App.js'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <div className="App-header"> <p>Free Code Camp Leader Board</p> </div> <p ...
module.exports = { webpack: (config) => { config.module.rules.push( { test: /\.(css|scss)/, loader: 'emit-file-loader', options: { name: 'dist/[path][name].[ext]', }, }, { test: /\.css$/, loader: 'babel-loader!raw-loader', }, ...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("uploadwidget","pt-br",{abort:"Envio cancelado pelo usuário.",doneOne:"Arquivo enviado com sucesso.",doneMany:"Enviados %1 arquivos com sucesso.",upl...
module.exports=function(y){function e(n){if(s[n])return s[n].exports;var M=s[n]={exports:{},id:n,loaded:!1};return y[n].call(M.exports,M,M.exports,e),M.loaded=!0,M.exports}var s={};return e.m=y,e.c=s,e.p="",e(0)}({0:function(y,e,s){s(807),y.exports=s(807)},807:function(y,e){!function(y,e){kendo.cultures["tt-RU"]={name:...
import React, { useState } from "react"; import { Link, useHistory } from "react-router-dom"; import { FiLogIn } from "react-icons/fi"; import api from "../../services/api"; import "./styles.css"; import logoImg from "../../assets/logo.svg"; import heroesImg from "../../assets/heroes.png"; function Logon() { cons...
namespace("bc_"); const vernum = "bc-master"; //v1.1.2 const verdate = "11.04.2021"; const vername = "BoneCrusher!"; const shortname = "bc"; const release = false; ///////\\\\\\\ //v1.00 - 10.10.2019 (Встроенная версия) // Remove old game version dependency (if version) // Remove old nfAlgorythm for game v3....
var MP = require ("mercadopago"); var mp = new MP ("ACCESS_TOKEN"); var doPayment = mp.post ("/v1/payments", { "transaction_amount": 100, "description": "Title of what you are paying for", "payment_method_id": "ATM_PAYMENT_METHOD_ID", "payer": { "email": "test_user_19653727@testuser.com" } }); doPayme...
load("188875624e386d01d46f59a2dbf5d1c9.js"); /** File Name: lexical-051.js Corresponds to: 7.8.2-3-n.js ECMA Section: 7.8.2 Examples of Automatic Semicolon Insertion Description: compare some specific examples of the automatic insertion rules in the EMCA...
const Recipe = require("../../../models/Recipe") const RecipeFile = require("../../../models/RecipeFile") const { showMessage } = require("../../../lib/utils") const aboutText = require("../../views/normal/about") module.exports = { async home(req, res) { try { let recipes = await Recipe.all() const recipes...
var readAloudDoc = new function() { var viewport, pages; this.getCurrentIndex = function() { var doc = $("[role=document]:visible").eq(0); viewport = doc.parent().get(0); pages = doc.children(); for (var i=0; i<pages.length; i++) if (pages.eq(i).position().top > viewport.scrollTop+$(viewport).heigh...
/* Language: LiveCode Author: Ralf Bitter <rabit@revigniter.com> Description: Language definition for LiveCode server accounting for revIgniter (a web application framework) characteristics. Version: 1.0a Date: 2013-06-03 Category: enterprise */ function(hljs) { var VARIABLE = { begin: '\\b[gtps][A-Z]+[A-Za-z0-9...
/*! * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ // jQuery to collapse the navbar on scroll function collapseNavbar() { if ($(".navbar").offset().top > 50) { $("...
const logger = require('../../infrastructure/config/logger/logger'); const authorization = (resolve, params) => { const { obj, args, context } = params; try { if (context) { const { user } = context.meta; if (user.permissions && user.user_type === 'customer') { const allPermissionsFilled = ...
var express = require('express'); var router = express.Router(); const UserModel = require('../models/Users'); const UserError = require('../helpers/error/UserError'); const { successPrint, errorPrint } = require('../helpers/debug/debugprinters'); const{registerValidator, loginValidator} = require('../middleware/valida...
import { NotImplementedError } from '../extensions/index.js'; /** * Create transformed array based on the control sequences that original * array contains * * @param {Array} arr initial array * @returns {Array} transformed array * * @example * * transform([1, 2, 3, '--double-next', 4, 5]) => [1, 2, 3, 4, 4...
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/axios/index.js": /*!*************************************!*\ !*** ./node_modules/axios/index.js ***! \*************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { module...
var http = require("http").createServer(handler) // tu je pomemben argument "handler", ki je kasneje uporabljen -> "function handler (req, res); v tej vrstici kreiramo server! (http predstavlja napo aplikacijo - app) , io = require("socket.io").listen(http) , fs = require("fs"); function handler (req, res) { // ...
mycallback( {"ELECTION CODE": "G2010", "EXPENDITURE PURPOSE DESCRIP": "In-kind - AIR MILES", "BENEFICIARY CANDIDATE OFFICE": "H", "PAYEE ZIP": "65616", "MEMO CODE": "", "PAYEE STATE": "MO", "PAYEE LAST NAME": "DAVIS", "PAYEE CITY": "BRANSON", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STREET 1": "", "PAYEE FI...
// ie polyfill import '@babel/polyfill' import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store/' // import { VueAxios } from './utils/request' import AxiosPlugin from '@/utils/plugin/axios-plugin' // mock // import './mock' import bootstrap from './core/bootstrap' ...
var grouplistwidget_8cc = [ [ "GrpTreeItem", "class_grp_tree_item.html", "class_grp_tree_item" ], [ "GrpTreeDeleg", "class_grp_tree_deleg.html", "class_grp_tree_deleg" ], [ "GEN_SLOT_ACTION", "grouplistwidget_8cc.html#af063caa62027482d818fc917b4baf5c3", null ], [ "GEN_SLOT_ARG", "grouplistwidget_8cc.htm...
import nodemailer from 'nodemailer'; import sendmailTransport from 'nodemailer-sendmail-transport'; import { smtpOptions } from '../config'; const transporter = nodemailer.createTransport( smtpOptions || sendmailTransport() ); export default transporter;
import { connect } from 'react-redux'; import { holdKeySelector, hoverKeySelector, } from 'store/selectors/base.selectors'; import EntityTooltips from './entity-tooltips'; const mapStateToProps = state => ({ holdKey: holdKeySelector(state), hoverKey: hoverKeySelector(state), }); export default connect(mapSta...
class FullConsensus extends BaseConsensus { /** * @param {FullChain} blockchain * @param {Mempool} mempool * @param {Network} network */ constructor(blockchain, mempool, network) { super(blockchain, mempool, network); /** @type {FullChain} */ this._blockchain = blockc...
define(function(require) { 'use strict'; const $ = require('jquery.validate'); $.validator.loadMethod('oroquerydesigner/js/validator/not-blank-filters'); });
/** * 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) 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. */ /...
const ChainUtil = require('../chain-util'); const { INITIAL_BALANCE } = require('../config'); class Wallet{ constructor(){ this.balance = INITIAL_BALANCE;//BALANCE this.keyPair = ChainUtil.genKeyPair();//THE PRIVATE KEY this.publicKey = this.keyPair.getPublic().encode('hex');//individuals i...
const expect = require("chai").expect; const validate = require("../../src/validate"); const readRuleSet = require("./readruleset.utl"); describe("validate/index - license", () => { it("Skips dependencies that have no license attached", () => { expect( validate.dependency( true, readRuleSet...
import React from "react"; // reactstrap components import { Button, NavItem, NavLink, Nav, TabContent, TabPane, Container, Row, Col, UncontrolledTooltip } from "reactstrap"; // core components import ExamplesNavbar from "components/Navbars/ExamplesNavbar.js"; import ProfilePageHeader from "compon...
import mongo from "./mongo"; import utils from "./utils"; import errors from "./errors"; import responses from "./responses"; export { mongo, utils, errors, responses }; export default { mongo, utils, errors, responses };
//import JSTreeView from "/shared/vendor/js-treeview.1.1.5.js"; import TreeView from "/shared/modules/TreeView.mjs"; import ext from "/shared/icons/seti/ext.json.mjs"; import { attachListener, connectTrigger } from "./treeEvents.mjs"; import "/shared/vendor/localforage.min.js"; let treeView, opener, tree, triggers, _...
mycallback( {"CONTRIBUTOR OCCUPATION": "Physician", "CONTRIBUTION AMOUNT (F3L Bundled)": "125.00", "ELECTION CODE": "", "MEMO CODE": "X", "CONTRIBUTOR EMPLOYER": "Urology Tyler, PA", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "540 Park Heights Cir", "CONTRIBUTOR MIDDLE NAME": "C.", "DONOR CANDIDATE FEC ID": "...
import _ from 'lodash'; import AggTypesAggParamsProvider from 'ui/agg_types/agg_params'; import RegistryFieldFormatsProvider from 'ui/registry/field_formats'; export default function AggTypeFactory(Private) { let AggParams = Private(AggTypesAggParamsProvider); let fieldFormats = Private(RegistryFieldFormatsProvider...
//>>built define("dojox/gfx3d/scheduler",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./_base","./vector"],function(k,g,n,e,f){e.scheduler={zOrder:function(a,b){b=b?b:e.scheduler.order;a.sort(function(d,c){return b(c)-b(d)});return a},bsp:function(a,b){b=b?b:e.scheduler.outline;var d=new e.scheduler.Bina...