text
stringlengths
3.22k
29.5k
"use strict"; var app = angular.module('SubmitQueueModule', ['ngMaterial', 'md.data.table', 'angular-toArrayFilter', 'angularMoment']); app.config(['$compileProvider', function ($compileProvider) { $compileProvider.debugInfoEnabled(false); }]); app.controller('SQCntl', ['DataService', '$interval', '$location', SQCn...
/* * Copyright 2017 SideeX committers * * 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...
/* eslint-disable */ // #ifdef APP-PLUS let alphaBg, shareMenu; // 关闭弹窗 export const closeShare = function() { alphaBg && alphaBg.close(); alphaBg && shareMenu.close(); }; // 复制 function onCopy(item, shareInfo, callback) { let copyInfo = shareInfo.shareUrl || shareInfo.shareContent || shareInfo.shareImg; if (copy...
var Promise = require('bluebird'); var _ = require('lodash'); var chalk = require('chalk'); var recursiveLog = require('./utils/recursiveLog'); /** Domain exceptions */ var IllegalMove = require('./exceptions/IllegalMove') var AlreadyDisconnected = require('./exceptions/AlreadyDisconnected') var PlayerFlagged = requi...
var parametroAjax = { 'token': $('input[name=_token]').val(), 'tipo': 'POST', 'data': {}, 'ruta': '', 'async': false }; var GuardarVotacion = function(){ parametroAjax.data = $("#FormVotacion").serialize(); parametroAjax.ruta=rutaV; respuesta=procesarajax(parametroAjax); ManejoResp...
/* eslint-disable no-console */ import * as babel from '@babel/core'; import traverse from '@babel/traverse'; import { mkdir, readFileSync, writeFileSync } from 'fs'; import { getLineFeed } from './helpers'; import { rewriteUrlForNextExport } from 'next/dist/next-server/lib/router/rewrite-url-for-export'; import path f...
// Copyright Joyent, Inc. and other Node contributors. // // 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 rights to use, copy, modi...
/** * Created by wangdi on 23/11/16. */ 'use strict'; import React, {Component} from 'react'; import {StyleSheet, View, Text, ListView, Image, Platform, TouchableNativeFeedback, TouchableHighlight, TouchableOpacity, RefreshControl, ActivityIndicator} from 'react-native'; import {connect} from 'react-redux'; import {...
import React, { Fragment, Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { getRequest } from 'src/util'; import { Icon } from 'ming-ui'; import cx from 'classnames'; import DocumentTitle from 'react-document-title'; import { Flex, ActivityIndicator, M...
/* eslint-disable no-plusplus */ import shortNumber from 'short-number'; import { cloneDeep } from 'lodash'; import { getChannelStats } from '@hms-dbmi/viv'; import { pluralize } from '../../utils'; import { VIEWER_PALETTE } from '../utils'; import { GLOBAL_SLIDER_DIMENSION_FIELDS, DEFAULT_RASTER_LAYER_PROPS, DEF...
import { join } from 'path'; import { addDefault, addSideEffect } from '@babel/helper-module-imports'; function camel2Dash(_str) { const str = _str[0].toLowerCase() + _str.substr(1); return str.replace(/([A-Z])/g, ($1) => `-${$1.toLowerCase()}`); } function winPath(path) { return path.replace(/\\/g, '/'); } ex...
//TODO: Countdown goes two seconds down- rounding - when paused //TODO: Fix the audio issue. let running = false; let pause = false; let startTime, difference; let workTime = 30; let breakTime = 15; let time = 0; let interval; let minutes = Math.floor((workTime- 1) / 60); let seconds = Math.floor((workTime...
var tnm_dict = { 'T' : '原发肿瘤', 'N' : '区域淋巴结', 'M' : '远处转移', 'G' : '组织学分级/分化程度/肿瘤分级', 'L' : '肿瘤位置', 'S' : '血清学标记物', 'Y' : '年龄', 'PSA' : 'PSA值', 'HE' : '肿瘤核分裂', 'RISK' : '预后风险评估', 'HER2' : 'HER2', 'ER' : 'ER', 'PR' : '...
import ItemBoundable from './ItemBoundable'; import PriorityQueue from '../../util/PriorityQueue'; import hasInterface from '../../../../../hasInterface'; import ItemVisitor from '../ItemVisitor'; import SpatialIndex from '../SpatialIndex'; import AbstractNode from './AbstractNode'; import Double from '../../../../../j...
const $ = jQuery = jquery = require ("jquery") const common = require ("cloudflare/common") const modal = require ("cloudflare/core/modal") const notification = require ("cloudflare/core/notification") function maxAgeLabel ( value ) { if ( value >= 31536000 ) return "12 months" if ( value >= 15552000 ) return "6 mon...
var electronPackager = Meteor.wrapAsync(Npm.require("electron-packager")); var electronRebuild = Npm.require('electron-rebuild'); var fs = Npm.require('fs'); var mkdirp = Meteor.wrapAsync(Npm.require('mkdirp')); var path = Npm.require('path'); var proc = Npm.require('child_process'); var dirsum = Meteor.wrapAsync(Npm.r...
import Discord from 'discord.js'; import { matchEmojis, matchURLs, Link, Emoji } from './parse-message.js'; import nick from './nick.js'; import { domain } from './url-utils.js'; import { channelName } from './channel-name.js'; /** * Normalize a sring to look for the guild name in * @param {string} str The string to...
function assert(bool, message) { if (!bool) throw "Assertion failed! " + (message || "") } function isArray(o) { return o && o.constructor === Array } function indent(text) { return text .split("\n") .map(function(line) { return " " + line }) .join("\n") } function maybeNumber(v) { v = ...
/** * Created by jun on 15/10/14. */ var cid = getCid(); var page = getPage(); var perpage = 20; $(function() { var data = {'cid':cid, 'page':page, 'perpage': perpage}; $.getContent(apiBaseUrl+'/product/catlist','','cateList'); $.getContent(apiBaseUrl+'/period/list',data,'lotteryList'); }); function suc...
// Firstly variables/ objects- because the objects won't create conflictws with global variables // Let's Play variable const playBtn = document.querySelector('.play'); // place for communicate to user when he wom't choose the weapon const info = document.querySelector('.choose'); // result information const winner = d...
import { CDN_HOST_URL } from './config'; import { html, css, unsafeCSS } from 'lit-element'; import { PageViewElement } from './page-view-element.js'; import { updateMetadata } from 'pwa-helpers/metadata.js'; import { until } from 'lit-html/directives/until.js'; import { connect } from 'pwa-helpers/connect-mixin.js'; i...
'use strict'; const charset = require('charset'); const cheerio = require('cheerio'); const fields = require('./fields'); const iconv = require('iconv-lite'); const jschardet = require('jschardet'); const media = require('./media'); const request = require('request'); const url = require('url'); const utils = require(...
'use strict'; const ethers = require('ethers'); const {encoding, wire} = require('bns'); const LRU = require('blru'); const ENS_ADDRESS = '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'; const ENS_ABI = [ 'function setOwner(bytes32 node, address owner) external @500000', 'function setSubnodeOwner(bytes32 node, b...
var mysql = require("mysql"); const inquirer = require('inquirer'); const Table = require('cli-table'); var connection = mysql.createConnection({ host: "localhost", // Your port; if not 3306 port: 3306, // Your username user: "root", // Your password password: "<PASSWORD>", database:...
import JSONRPC from 'jsonrpc-dispatch'; import { fixedTimeCompare } from '../lib/string'; import { EventEmitter } from 'events'; import URI from '../lib/uri'; import logger from '../lib/logger'; import { getOffsetHeightToBody, calculateHeight, calculateWidth } from '../lib/dimension'; import MutationObserver from 'muta...
import Tx from 'ethereumjs-tx'; import { toHex, fromWei, toWei, toBN } from 'web3-utils'; import retry from 'async-retry'; import { ledgerSignTransaction } from './ledger'; import { trezorSignTransaction } from './trezor'; import { metamaskSignTransaction, FakeMetamaskTransaction } from './metamask'; import { WALLET_T...
pmServer="http://192.168.3.103"; pmWorkspace="workflow"; // username='admin';password='<PASSWORD>'; console.log("success"); //username='zhang3';password='<PASSWORD>'; //username='chengcai';password='<PASSWORD>'; //验证用户名和密码,若成功返回token function access_token(username,password) { var jqxhr = $.ajax({ type: "...
import InterfaceBlockchainFork from 'common/blockchain/interface-blockchain/blockchain/forks/Interface-Blockchain-Fork' import PPoWBlockchainProofPi from './../prover/proofs/PPoW-Blockchain-Proof-Pi' import BlockchainGenesis from 'common/blockchain/global/Blockchain-Genesis' import consts from 'consts/const_global' imp...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
import get from "lodash/get"; import set from "lodash/set"; import { getLabel, getSelectField, getCommonContainer, getCommonCard, convertDateToEpoch } from "egov-ui-framework/ui-config/screens/specs/utils"; import { setRoute } from "egov-ui-framework/ui-redux/app/actions"; import { localStorageGet, getAccessToken } fro...
const express = require('express'); const request = require('request'); const sock = require('socket.io'); const io = sock(http); const cheerio = require('cheerio'); const async = require('async'); const fs = require('fs'); const session = require('express-session'); const passport = require('passport'); const crypto =...
// Imports const Config = require('./Config'); const Prompt = require('../utils/Prompt'); const Log = require('../utils/Log'); const Constants = require('../utils/Constants'); const Files = require('../utils/Files'); const util = require('util'); const exec = util.promisify(require('child_process').exec); // Delete EB...
import PerfectScrollbar from "react-perfect-scrollbar"; import { Box, Card, CardHeader, Divider, Table, TableBody, TableCell, TableHead, TableRow, Dialog, DialogTitle, Button, DialogActions, Chip, MenuItem, DialogContent, TextField, InputLabel, Select, Avatar, CardContent, Ty...
import React, { useEffect, useState, useRef, useLayoutEffect } from "react"; import { Container, Row } from "../components/Grid"; // import { Input, FormBtn } from "../components/Form"; import SongReq from "../components/SongReq"; import QueueModal from "../components/QueueModal"; import Header from "../components/Head...
'use strict'; /* controllers for vote and home */ var inheriting = {}; var GLOBALS; var _; angular.module('lobbycitoyen.document_controller', []); function HomeCtrl($scope, $http , $sce, $location, $routeParams, $locale,$timeout, VoteRest, vendorService) { $scope.ui = {} $scope.ui.sockets_refresh =false $...
import React, { useContext } from "react"; import { string, bool, shape, number, arrayOf } from "prop-types"; import { Helmet } from "react-helmet"; import urljoin from "url-join"; import config from "../../../data/SiteConfig"; import LocaleContext from "../../i18n/LocaleContext"; function SEO({ postNode, postSEO...
var deleteCustoms = [], files = []; $(document).ready(function() { $('#formats').multiselect({ }); }); $(document).on("click", 'a[id^="licenselink"]', function(){ var langid = $(this).data('langid'); $("#langid").val(langid); var langid = $("#langid").val(); if ($(this).children('i').hasClass('fa-download')){ ...
function timeSince(date) { let seconds = Math.floor((new Date() - new Date(date)) / 1000); let interval = Math.floor(seconds / 31536000); let timesince = []; if (interval > 1) { seconds = (seconds - (31536000 * interval)); timesince.push(interval + " years "); } interval = Math.floor(seconds / 25920...
$btn = $('.btn-wrap button'), //button $livescore = $('.livescore'), //livescore $contul = $('.control ul'), //control ul $bro = $('.bro > div'), //bro $fadet = $('.fade h2'), //fade text $header = $('.header'), //header $cont = $('.control'), //co...
import assert from 'assert' import math from '../../../../src/defaultInstance.js' /** * Transform node, array and single type value in a string with no spaces inside. * * Syntax: * * stri(arg) * * @param {any} arg Input value * @return {string} String value */ function st...
/* eslint-disable camelcase, semi, space-before-function-paren, padded-blocks */ /*! * Sitemap * Copyright(c) 2011 <NAME> * MIT Licensed */ 'use strict'; const err = require('./errors'); const urljoin = require('url-join'); const fs = require('fs'); const builder = require('xmlbuilder'); const SitemapItem = requir...
import { neo4jgraphql } from 'neo4j-graphql-js' import { getNeode } from '../../db/neo4j' import { UserInputError, ForbiddenError } from 'apollo-server' import { mergeImage, deleteImage } from './images/images' import Resolver from './helpers/Resolver' import log from './helpers/databaseLogger' import createOrUpdateLoc...
const fs = require("fs").promises; const SRC_TEMPLATE = require("fs").readFileSync("src/_template.cpp").toString(); const TYPE_MAP = { "void": "undefined", "int": "number", "float": "number", "double": "number", "const char*": "string", "GLFWwindow*": "pointer", "GLFWmonitor*": "pointer", ...
/** @jsx jsx */ import { useState } from 'react'; import { render } from 'react-dom'; import { RadioGroup, Radio } from 'react-radios'; import { jsx } from '@emotion/core'; import { Body, Button, Container, ContentBlock, Section, Footer, Header, Icon, Repo, Title, GithubLogo, StretchGroup, } f...
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; var __importDefault = (t...
import React, { useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import { FormControl, InputLabel, Select, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Paper, withStyles, } from '@material-ui/core'; import Modal from '../../components/Modal/Modal'; imp...
const { parseDOM } = require('./htmlparser2'); const { selectAllGenerator, selectOne, is } = require('./css-select'); const serialize = require('./dom-serializer'); const { getLink, getLinks, getLinksGenerator } = require('./links'); const parseFormat = require('./parseFormat'); const rselector = /^([^@]*)(?:@\s*([\w-...
import Login from './views/Login.vue' import NotFound from './views/404.vue' import Home from './views/Home.vue' import Main from './views/Main.vue' import Form from './views/nav1/Form.vue' import Page4 from './views/nav2/Page4.vue' import Page5 from './views/nav2/Page5.vue' import Page6 from './views/nav3/Page6.vue' i...
"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]; })...
/* eslint-disable eqeqeq */ import React, { Component } from 'react'; import { Drawer, Card, Col, Row, Form, Select, Button, Icon, Input } from 'hzero-ui'; import { Bind } from 'lodash-decorators'; import isEmpty from 'lodash/isEmpty'; import { connect } from 'dva'; import notification from 'utils/notification'; impor...
// wink-nlp // // Copyright (C) GRAYPE Systems Private Limited // // This file is part of “wink-nlp language models”. // // 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 t...
// return arrays of objects for all graphics // face indices always counter-clockwise for consistency function arrow( begin, end, options={} ) { if ( !( 'color' in options ) ) options.color = defaultPlotColor; if ( !( 'opacity' in options ) ) options.opacity = 1; if ( begin.length === 2 ) { options.fill...
'use strict'; import '../stylesheets/settings.scss'; import '../stylesheets/lists.scss'; import '../stylesheets/selector.scss'; import emojiRegex from 'emoji-regex'; import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import UserSettingsCard from './Components/Cards/U...
/*auteur: <NAME> titre: Tranport_JS date:09.11.2019 version: 1*/ function changeBgColor(obj, colorName) { obj.style.backgroundColor = colorName; } function aficher(x) { x.style.height = "400px"; x.style.width = "500px"; x.style.zIndex = "20"; } function normalImg(x) { x.style.height = "0px"; x.style.wid...
"use strict"; var obj = [ { x: "Carbohydrate", y: 10, fill: "#D3C1D4" }, { x: 'Fat', y: 90, fill: "#B26CAB" }, ]; var obj1 = [ { x: "Carbohydrate", y: 6, fill: "#7D70B3" }, { x: 'Fat', y: 4, fill: "#BFBED9" }, ]; angular.module('healthTrackerApp', ['ejangular']) .controller('healthTrackerCtrl', function...
import React, { Component } from "react"; import classnames from 'classnames'; import { Table, Pagination } from "tinper-bee"; // 内部组件 import EditModul from "./component/edit"; import Logo from "./component/icon"; import AddModul from "./component/addModul"; import SearchModul from "./component/searchModul"; import Edi...
//////////////////////////////////////////////////////////////////////////////// // This modules handles the options for Graph3d. // //////////////////////////////////////////////////////////////////////////////// var Camera = require('./Camera'); var Point3d = require('./Point3d'); // enumerate the available styles...
; (function ($) { $(document).ready(function(){ $('.form-horizontal').delegate('.diyUpload .toLeft','click',function () { var o = readyOptions(this); prevTo(this,o); }); $('.form-horizontal').delegate('.diyUpload .toRight','click',function () { var o = readyOptions(this)...
var quickAlgoContext = function(display, infos) { var context = { display: display, infos: infos, nbCodes: 1, // How many different codes the user can edit nbNodes: 1 // How many nodes will be executing programs }; // Set the localLanguageStrings for this context context.setLocalLanguageStrin...
var BASE_URL = "http://api.inpoet.in/data/"; var GMAPS = "https://maps.googleapis.com/maps/api/distancematrix/json?"; $(document).ready(function(){ var in_prop = ".in-prop"; var in_kot = ".in-kot"; var in_kec = ".in-kec"; var in_kel = ".in-kel"; var cls_origins = $(".in-origins"); var cls_destinations = $...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _toConsumableArray2 = _interopRequireDefault(require("@babel/r...
/* eslint-disable no-console */ require('dotenv').config(); const multibase = require('multibase'); const ForgeSDK = require('@arcblock/forge-sdk'); const { wallet, newsflashWallet, type } = require('../api/libs/auth'); const mongoose = require('mongoose'); const { Newsflash } = require('../api/models'); const { fromJ...
/** * 学生信息管理初始化 */ var StudentInfos = { id: "StudentInfosTable", //表格id seItem: null, //选中的条目 table: null, layerIndex: -1, userTableId: "userTable", userTable: null, dicts : null }; /** * 初始化表格的列 */ StudentInfos.initColumn = function () { return [ {field: 'selectItem', chec...
'use strict' var https = require('https') var fs = require('fs') var EventEmitter = require('events').EventEmitter var util = require('util') var path = require('path') var _ = require('lodash') // TODO: DON'T WRITE UPDATE PERMISSION TO DISK, KEEP IN MEMORY // Config should be read-only, from root partition var Updat...
/* global __dirname module process require */ const path = require('path'); const dappPath = process.env.DAPP_PATH; const embarkPath = process.env.EMBARK_PATH; const dappNodeModules = path.join(dappPath, 'node_modules'); const embarkNodeModules = path.join(embarkPath, 'node_modules'); let nodePathNodeModules; if (pr...
"use strict"; exports.__esModule = true; exports["default"] = void 0; var _off = _interopRequireDefault(require("dom-helpers/events/off")); var _on = _interopRequireDefault(require("dom-helpers/events/on")); var _scrollLeft = _interopRequireDefault(require("dom-helpers/query/scrollLeft")); var _scrollTop = _intero...
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]; }; return function (d, b) { ...
$(document).ready(function () { $("#filterEnabled").click(function () { if ($(this).is(':checked')) { showFilters(); } else { hideFilters(); } }); $("#addRuleBtn").click(addRule); let filterRulesContainer = $("#filter-rules"); filterRulesContainer.on("...
'use strict'; const Helpers = require('../../helpers'); var _ = { intersection: require('lodash/intersection'), difference: require('lodash/difference'), each: require('lodash/each'), uniq: require('lodash/uniq'), }; var handlers = { RPL_WELCOME: function(command, handler) { var nick = comm...
"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 (Object.protot...
(function () { var params = window.json_date.preInfo; params.appver = '3.2.157'; var p_fvkey = ''; var getinfo = "//h5vv.video.qq.com/getinfo?callback=?&charge=0&vid=" + params.vid + "&defaultfmt=auto&otype=json&guid=" + params.guid + "&platform=10901&defnpayver=1&appVer=3.2.157&sdtfr...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Processes API test for Chrome. // browser_tests.exe --gtest_filter=ExtensionApiTest.Processes var pass = chrome.test.callbackPass; var fail = chro...
/** * Prepare submit function on login button in a login modal. * */ $(document).ready(function() { $("#newUserForm").submit(function(e) { $.ajax({ type: "POST", url: "UserController", data: $("#newUserForm").serialize(), dataType: "text", success: function(data, status, xhr) ...
/** iZ³ | Izzzio blockchain - https://izzz.io Copyright 2018 Izio Ltd (OOO "Изио") 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 require...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; this.EXPORTED_SYMBOLS = ["HealthReporter"]; const {classes: Cc, interfaces: Ci, utils: Cu} = Compo...
'use strict'; // Imports let chalk = require('chalk'); let ClaChecker = require('@gkalpak/ng-cla-check'); let ngMaintainUtils = require('@gkalpak/ng-maintain-utils'); let path = require('path'); let Phase = ngMaintainUtils.Phase; // Classes class Merger { // Constructor constructor(logger, cleanUper, utils, uiUt...
var assert = require('assert') var bufferutils = require('./bufferutils') var typeForce = require('typeforce') var networks = require('./networks') var randomBytes = require('randombytes') var Address = require('./address') var HDNode = require('./hdnode') var TransactionBuilder = require('./transaction_builder') var ...
// LE CLIENT CHOISI // var typeClientChoisi = 0; var clientChoisi = document.getElementById("clientChoisi"); // var validation=document.getElementById("envoyer"); var nomclient=document.getElementById("nomclient"); var prenomclient=document.getElementById("prenomclient"); var ad...
/** * dat-guiVR Javascript Controller Library for VR * https://github.com/dataarts/dat.guiVR * * Copyright 2016 Data Arts Team, Google Inc. * * 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 * *...
/** * @module index * @author <NAME> * @copyright 2015 <NAME>. All rights reserved. * See LICENSE file in root directory for full license. */ "use strict" //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------...
const path = require('path'); const timeout = 30000 const shipmentData = require('../data/shipment-data.json'); const { supervisorScan } = require('../model/supervisorScan'); const { Login } = require('../model/Login'); describe('/ (ItemHold/Return-Item)', () => { let page // page.setDefaultNavigationTimeout(...
/* jslint node: true */ 'use strict'; // ENiGMA½ const Config = require('../../config.js').get; const baseClient = require('../../client.js'); const Log = require('../../logger.js').log; const LoginServerModule = require('../../login_server_module.js'); const userLogin = require('../../user_login.js').userLogin; cons...
$(document).ready(function(){ $(".col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12").on("click", function(){ setColAmount($(this).attr('class'), $(this).parent().attr("id")); }); $(".col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12").hover(f...
import React, { Component } from "react"; import { compose } from "redux"; import { Progress, Icon, Header, Button, Loader, Table, Popup, Divider, Pagination, } from "semantic-ui-react"; import { connect } from "react-redux"; import moment from "moment"; import { fetchSiteSettings, fetchJobList, ...
/* * Session information */ var isDebugMode = true; var ignorefilters = ['cache', 'download']; var onLogInfo = null; function isNull(obj) { return (undefined === obj) || (obj === null) ? true : false; }; function isNullOrBlank(obj) { return (undefined === obj) || (obj === null) || ((_.isString(obj) && (obj.tri...
/** * pda * Analytics.js * @author <NAME> * @description Created on 02/04/2019 * Copyright © 2019 pda. All rights reserved. */ import { Platform } from 'react-native'; // import firebase from 'react-native-firebase'; import { myLog } from './StaticFunctions'; import DeviceInfo from 'react-native-device-info'; i...
/* * Copyright 2018 Google Inc. All Rights Reserved. * 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...
const EventEmitter = require('events').EventEmitter, net = require('net'), Reader = require('../lib/reader'), HexUtil = require('../lib/HexUtil'), requestAsync = require('request-promise'), Promises = require('../lib/Promises'), Logger = require('../lib/Logger'), DnsResolver = require('../li...
import { graphql } from "gatsby"; import { groupBy } from "helpers/groupBy"; import { buildPathFromFile } from "helpers/routes"; import { compareNestedEntries, compareOrders, compareName, } from "helpers/sortReference"; export const DOCS_CONTENT_URL = "https://github.com/stellar/new-docs/blob/master/content/"...
var CalendarData=new Array(100); var madd=new Array(12); var tgString="甲乙丙丁戊己庚辛壬癸"; var dzString="子丑寅卯辰巳午未申酉戌亥"; var numString="一二三四五六七八九十"; var monString="正二三四五六七八九十冬腊"; var weekString="日一二三四五六"; var sx="鼠牛虎兔龙蛇马羊猴鸡狗猪"; var cYear,cMonth,cDay,TheDate; CalendarData = new Array(0xA4B,0x5164B,0x6A5,0x6D4,0x415B5,0x2B6,0x9...
var express = require('express'); var app = express(); var http = require('http').Server(app); var io = require('socket.io')(http); app.get('/', (req, res) => { res.sendFile(__dirname+'/index.html'); }); app.use('/public',express.static(__dirname+'/public/')); /* Game */ var Player = ()=>{ max = 10; min = 1; ...
import React from 'react'; import { Icon, NavBar, Card, Button, Toast, Modal } from 'antd-mobile'; import {connect} from 'dva'; import router from 'umi/router'; import { stringify } from 'qs'; import { getUrlParamReg } from '../../../utils/utils'; import { downloadPath, imgs } from '../../../utils/constants'; import Vo...
// Billiards.js // // Created by <NAME> on January 21, 2015 // Copyright 2014 High Fidelity, Inc. // // Creates a pool table in front of you. Hold and release space ball to shoot a ball. // Cue ball will return if falls off table. Delete and reset to restart. // // Distributed under the Apache License, Version ...
var HEIGHT = 550; var WIDTH = 600; var DEFAULT_COLOR = ["#FFFFFF", "#FF0000", "#00FF00", "#0000FF", "#FFFF00"]; function getElmt(id){ return document.getElementById(id); } function FCG(){ this.cdom = getElmt('myfcg'); this.ctx = this.cdom.getContext('2d'); this.currentLevel = 0; } FCG.prototype.line = function(x1...
"use strict"; // Core modules const path = require("path"); const fs = require("fs"); // Public modules from npm const { app, BrowserWindow, ipcMain, dialog } = require("electron"); const logger = require("electron-log"); const Store = require("electron-store"); // Modules from file const { run, openLink } = require...
import React, { Component } from 'react'; import { StyleSheet, Text, View, Image, FlatList, Dimensions, TouchableOpacity } from 'react-native'; import { CachedImage } from 'react-native-img-cache'; import { apiUrl, resourceUrl, getGender, getType, getNature } from '../../js/Params'; import processGallery from '../../...
import BraftEditor from 'braft-editor' import 'braft-editor/dist/braft.css' import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Form, Input, DatePicker, Select, Button, Card, InputNumber, Radio, Icon, Tooltip, Switch, Row,...
export const APP_NAME = 'INSURANCE'; export const LABEL_SEARCH = 'Search'; export const LABEL_SEARCH_BOOKS = `${LABEL_SEARCH} books`; export const LABEL_ADD_BOOK = 'Add book'; export const LABEL_SAVE = 'Save'; export const LABEL_UPDATE = 'Update'; export const LABEL_BOOK_INFORMATION = 'Information'; export const LABEL_...
'use strict'; var expect = require('chai').expect; var spawn = require('child_process').spawn; var rimraf = require('rimraf'); var mkdirp = require('mkdirp'); var fs = require('fs'); var async = require('async'); var RPC = require('bitcoind-rpc'); var http = require('http'); var bitcore = require('bitcore-lib'); var P...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _defineProperty2 = _interopReq...