text
stringlengths
5.97k
41.2k
'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...
/* * Copyright (c) 2016 <NAME> <<EMAIL>> * * 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, modify, merge, pu...
import React, { Component } from 'react' import { ScrollView, Text, KeyboardAvoidingView, Image, View, TextInput, TouchableOpacity, Button, RefreshControl } from 'react-native' import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view' import LinearGradient from 'react-native-linear-gradient' imp...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var Plane = /** @class */ (function () { function Plane(_a) { var _b = _a === void 0 ? {} : _a, _c = _b.width, width = _c === void 0 ? 1 : _c, _d = _b.height, height = _d === void 0 ? 1 : _d, _e = _b.widthSegments, widthSegment...
/* The MIT License (MIT) Copyright (c) 2016 OpenGov, Inc. 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, modify, merge, ...
import React,{ Fragment } from 'react'; import { Popover } from 'reactstrap'; import PropTypes from 'prop-types'; import cookie from 'react-cookies'; import { gettext, siteRoot, username, canAddRepo } from '../../utils/constants'; import { Link } from '@reach/router'; import { seafileAPI } from '../../utils/seafile-api...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _classnames = _interopRequireDefault(require("classnames")); var _lodash = _interopReq...
/* global alert */ import React, { Component } from 'react'; import { Chain } from '../../models/bitcoinUnits'; import { Text, Platform, StyleSheet, View, Keyboard, ActivityIndicator, InteractionManager, FlatList, ScrollView, RefreshControl, TouchableOpacity, StatusBar, Linking, KeyboardAvoi...
/* * Copyright (C) 2017-2018 Dremio 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 l...
let priorityPreference = 1; //priority preferences change document.getElementById("priority-toggle-btn").onclick = () => { let currentPriorityPreference = document.getElementById("priority-preference").innerText; if (currentPriorityPreference == "high") { document.getElementById("priority-preferenc...
//地址选择 $(function () { $(".user-addresslist").live("click", function () { if (is_mobile == 1) { location.href = '/address/index'; } else { var address_id = $(this).prev().data('address_id'); $(this).addClass("defaultAddr").siblings().removeClass("defaultAddr"); set_address(address_id); } }); $(".lo...
import { merge, filter, sortBy } from "lodash"; import { geography } from "mssql-geoparser"; import uuid from "node-uuid"; import Sequelize from "sequelize"; import DataLoader from "dataloader"; import { defaultCache } from "../../../util/cache"; import { createGlobalId } from "../../../util"; import { Group as Gro...
import React from "react"; import PropTypes from "prop-types"; import { PropTypes as CustomPropTypes, TextSize, Helpers, LabelHelpers, VictoryLabel, VictoryTheme, VictoryPortal } from "victory-core"; import Flyout from "./flyout"; import { assign, defaults, uniqueId, isPlainObject, orderBy } from "lodash"...
/** * 图片button类 * by dily * (c) copyright 2014 - 2035 * All Rights Reserved. * 可以有图片,文字,动画 * todo:九宫格、多动画、图字等 */ var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d....
/* eslint-disable camelcase */ /* eslint-disable eqeqeq */ /* eslint-disable no-unused-expressions */ /* eslint-disable no-shadow */ /* eslint-disable no-plusplus */ /* eslint-disable no-param-reassign */ /* eslint-disable no-undef */ /* eslint-disable no-bitwise */ /* eslint-disable no-underscore-dangle */ /* eslint-d...
/* * Copyright (c) 2014 <NAME>. All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions ...
setup({explicit_done: true}); var debug = document.getElementById("debug"); function debug_print (x) { /* uncomment below statement to show debug messages */ // document.getElementById("debug").innerHTML += x; } var starting_elements = {}; function check_list_subset_of_targetlist(list, list_name, targetlist, target...
const distritosel = document.getElementById("contdistr"); const barrsel = document.getElementById("contbarr"); const results = document.getElementById("results"); const side = document.getElementById("close") const containerSelector = document.getElementById("container-distritos"); const loadState = document.getElement...
import { BASE_ENTITY, BASE_ENTITY_DATA, ATTRIBUTE, ANSWER, EVT_LINK_CHANGE } from 'constants'; import { grabValue } from './utils.reducer'; import { GennyBridge } from 'utils/genny'; const initialState = { data: {}, relationships: {}, aliases: {}, attributes: [], }; const deleteBaseEntity = (state...
// Copyright (c) 2013 The claire-protorpc Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // Copyright 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "Licens...
try { var jQuery = require('../../jquery/jquery-2.0.3.min'); } catch (e) {} /** * Queries Task data from server * * @param search_string * A string value containing the query words * @param callback * A function that will be called with the retrieved data */ function get_task_data(options) { 'use ...
'use strict' const t = require('tape') const cluster = require('./') const approxEqual = require('almost-equal') t('quad: offsets case', t => { let points = [.15,.8, .2,.15, .6,.6, .6,.45, .8,.1, .9,.6, .91,.61] let index = cluster(points, {bounds: [0,0,1,1]}) t.deepEqual(index.slice(), [0, 1,3,2, 4,5, 6]) ...
'use strict'; var Notify = require('osg/notify'); var Uniform = require('osg/Uniform'); var factory = require('osgShader/nodeFactory'); var MACROUTILS = require('osg/Utils'); var CompilerVertex = require('osgShader/CompilerVertex'); var CompilerFragment = require('osgShader/CompilerFragment'); var Compiler = function...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ const fs = require('fs'); const path = require('path'); const retCode = require('./enums/CLI-errors'); const exception = require('./exception'); const NEWLINE = require('os').EOL; const ANY_NEWLINE = /\r\n|\r|\n/g; c...
// var colorArray = ["red", "green", "blue", "pink"]; // 边界 var boundaryLineArray=[ [ {x:180, y:20}, {x:300, y:20}, {x:300, y:30}, {x:330, y:12}, {x:325, y:20}, {x:450, y:20} ] , [ {x:445, y:20}, {x:445, y:112}, {x:468, y:207}, {x:445, y:266}, ] , [ {x:445, y:265}, {x:359, y:265}, {x:355, y:273}, {x:165, y:273}, {x:14...
import * as THREE from 'three' import Tween from 'tween.js' import OrbitControls from './OrbitControls.js' import dat from 'dat.gui' import Stats from 'stats-js' import { Cube, Hero } from './Object.js' import * as COLOR from './color.js' import { sum, findIndex } from 'lodash' function delay (duration = 100...
/* Issue Tracker Pane ** ** This solid view allows a user to interact with an issue tracker, or individual issue, ** to change its state according to an ontology, comment on it, etc. ** */ import * as UI from 'solid-ui' import { board } from './board' // @@ will later be in solid-UI import { renderIssue, rende...
/**操作符-优先级表*/ var OPN_TABLE = { '+' : 0, '-' : 0, '*' : 1, '/' : 1, '^' : 2, }; /**函数查询表*/ var FUNC_TABLE = { 'sin' : 1, 'cos' : 1, 'tan' : 1, 'cot' : 1, 'arcsin' : 1, 'arccos' : 1, 'arctan' : 1, 'ln' : 1, 'log' : 1, }; /**检查是否为数字*/ var isNumber = function(n) { return !isNaN(parseFloat(n)) && isFini...
/* * This file is part of Adblock Plus <http://adblockplus.org/>, * Copyright (C) 2006-2013 Eyeo GmbH * * Adblock Plus is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * Adblock Plus is dist...
import React, {useEffect, lazy, Suspense} from "react"; import {render} from "react-dom"; import {inject, observer} from "mobx-react"; import EventTabs from "Event/tabs/EventTabs"; import Footer from "Layout/Footer"; import Modal from "Common/Modal"; import UpcomingEvents from "Common/UpcomingEvents"; import EluvioPl...
'use strict'; var Writable = require('stream').Writable; var assert = require('assert'); var crypto = require('crypto'); var fs = require('fs'); var inherits = require('util').inherits; var path = require('path'); var spawn = require('child_process').spawn; var BitcoinRPC = require('bitcoind-rpc'); var _ = require('l...
/** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2018 SalesAgility Ltd. * * This program is free so...
var api = require('./neo4jApi'); //var angular = require('angular'); require('jquery-match-height'); require('lazysizes'); var listWithProp; var app = angular.module('myApp',[]); app.controller('dbController', ['$scope', '$http', function($scope){ $scope.listDB = [ {value : "M", name : "Mathilde's database"...
import React, { Component } from 'react' import PropTypes from 'prop-types' import _ from 'lodash' import Immutable from 'seamless-immutable' import { Container, Image, Button, Menu, Dropdown, Grid, Form, Checkbox, Message, Icon, Input, Label } from 'semantic-ui-react' import ReactTable from 're...
const { Client: Client, Collection: Collection, User, Guild, Channel, Role } = require("discord.js"), Util = require("./ClientUtils"), Tasks = require("./agendaTasks"), ImgGenerator = require("./ImageGenerators"), Embedder = require("./Embedder"), Logger = require("./Logger"), Agenda = require(...
import React,{Component,PropTypes} from 'react'; import { Tabs, WhiteSpace,List,InputItem,Switch,DatePicker,Toast,Icon} from 'antd-mobile'; import { connect } from 'dva'; import { Link,routerRedux } from 'dva/router'; import styles from '../../styles/customer/personalCustAddMore.less'; import Dic from '../../utils/dict...
'use strict' var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var DLModels = require('dl-models'); var map = DLModels.map; var MonitoringEvent = DLModels.production.finishingPrinting.MonitoringEvent; var generateCode = require("../../../utils/code-generator"); var MachineManager = require('../....
// Retrieve resources (HTML pages, scripts, XHR, etc). // // If count is unspecified, defaults to at least one. // // Each browser has a resources objects that allows you to: // - Inspect the history of retrieved resources, useful for troubleshooting // issues related to resource loading // - Request resources direct...
/*============us====================================== $Id: tabber.js,v 1.9 2006/04/27 20:51:51 pat Exp $ tabber.js by <NAME> <EMAIL> Documentation can be found at the following URL: http://www.barelyfitz.com/projects/tabber/ License (http://www.opensource.org/licenses/mit-license.php) Copyright...
const colorize = require('colors/safe'); function MochaReporter(baseReporterDecorator, formatError, config) { // extend the base reporter baseReporterDecorator(this); let firstRun = true; let isRunCompleted = false; let internalPrefix = '$%$'; let self = this; /** * Returns the text ...
//array dei valori delle emozioni ogni istante per le quattro emozioni let angry = []; let sad = []; let surprised = []; let happy = []; let picchi_angry = []; let picchi_sad = []; let picchi_surprised = []; let picchi_happy = []; let grafico = []; //cocossd let video; let detector; let detections; //albero trist...
/* tex2hpb – Version 1.0 * * This tool converts hyphenation patterns from TeX * (https://ctan.org/tex-archive/language/hyph-utf8) * to the binary format used in Hyphenopoly.js * (https://github.com/mnater/Hyphenopoly) * * Usage: * # node tex2hpb.js license.txt characters.txt patterns.txt [exceptions.txt | null]...
import { SurfaceCollisionInstance as SurfaceCollision } from "../engine/SurfaceCollision" import { ObjectListProcessorInstance as ObjectListProc } from "./ObjectListProcessor" import { GeoRendererInstance as GeoRenderer } from "../engine/GeoRenderer" import * as Mario from "./Mario" import { atan2s } from "../engine/ma...
import alphaSort from 'alpha-sort'; import semverInc from 'semver/functions/inc'; const IGNORE_PRS = [6296, 6298]; const BASE64 = 'base64'; const UTF8 = 'utf-8'; const SI_DATA_FILE = '_data/simple-icons.json'; const PACKAGE_FILE = 'package.json'; const STATUS_ADDED = 'added'; const STATUS_MODIFIED = 'modified'; con...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const collection_utils_1 = require("collection-utils"); const Annotation_1 = require("../Annotation"); const ConvenienceRenderer_1 = require("../ConvenienceRenderer"); const Naming_1 = require("../Naming"); const RendererOptions_1 = require("....
//== Global Variables == var emptyList = true; var overlay = true; var loaded = false; var shuffle = false; var timeLeft = false; var manualSeek = false; var mp3 = canPlay('audio/mpeg') || canPlay('audio/mp3'); var ogg = canPlay('audio/ogg') || canPlay('application/ogg'); var wav = canPlay('audio/wav'); var m4a = canPl...
import React, { Component } from 'react'; import { Select, Checkbox, message } from 'antd'; import "antd/dist/antd.css"; import { readPermisions } from '../../../utils/toolsPermisions'; import keys from '../../../utils/keys'; import { readData, httpRequest, removeAllData, saveData } from '../../../utils/toolsStorag...
// import React from 'react'; // import { Provider, observer, inject } from 'mobx-react'; // //import './Main.css'; // import { Route, Switch, withRouter, matchPath, BrowserRouter} from 'react-router-dom'; // import {Container} from './Element'; // import {HeadTags} from './HeadTags'; // import {SlashrRouterAppInstance...
function createListenerCollection() { let t = [], e = [] return { clear() { ;(e = CLEARED), (t = CLEARED) }, notify() { const r = (t = e) for (let t = 0; t < r.length; t++) r[t]() }, get: () => e, subscribe(r) { ...
var _this; var menu_control_001={}; var edithtml=''; $(document).ready(function(){ menu_control_001.init(); menu_control_001.listMenu(); $(document).on("click", ".btn_folder_plus",function(e){ $('.tree_layerpop').hide(); $(this).parent().find('.tree_layerpop').show(); }); $(document).on("click", ...
#!/usr/bin/env node /*! :: ----------------------------------------------------------------------------- :: atc - Template Compiler :: https://github.com/cdc-im/atc :: Released under the MIT, BSD, and GPL Licenses :: ----------------------------------------------------------------------------- */ 'use strict'; ...
$(document).ready(function () { byteSizeOrdering() if (importPsutil) { reloadtab(); network_usage_table(); return_stats_settings(); uptime(); get_user(); sys_info(); get_external_ip(); get_local_ip(); $('#diskl').click(function () { ...
const UID = '_U_'; const UNAME = 'User'; const MULTI_TYPE = '_multi'; const STATUS = { UNKNOWN: 'UNKNOWN', PENDING: 'PENDING', RUNNING: 'RUNNING', DONE: 'DONE', FAILED: 'FAILED', }; // *** Node ******************************************************************* function Node(id, pname, ptype, pstatus, psubx...
// // Js functions to install components and process a crud form // function install_form() { _install_form($(".form-editor")); } function process_form(form) { var param = {"valid": true}, fieldset = form.children("fieldset"); _process(param, fieldset, fieldset.attr("name")); debug(param); return ...
var HTML = ""; var titleWithLanguageDic = { ca: 'Pregunta', es: 'Pregunta', en: 'Question', pt: 'Questão', it: 'Domanda', fr: 'Question', de: 'Frage', ru: 'вопрос', ja: '質問', zh: '問題', def: 'Pregunta' } var modalSubmitTextW...
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import Controls from './controls.js'; import Grid from './grid.js'; import { DebugTab } from './debugTab.js'; import Debugger from './debugger.js'; import interpret from './interpreter.js'; import { commands } from './orderedComman...
import React, { cloneElement } from "react"; import PropTypes from "prop-types"; import cx from "classnames"; import { Label } from "../Label"; import { TextField } from "../TextField"; import { Option } from "../Option"; import { utils } from "../utils"; import matchSorter from "match-sorter"; import CSSModules from "...
var path = require('path'); var Common = require(path.resolve(__dirname, './common')); var UtilityFunctions = require(path.resolve(__dirname, '../../util/functions')); var util = new UtilityFunctions(); if(typeof require !== 'undefined') XLSX = require(path.resolve(__dirname, '../xlsx')); module.exports = yardi121417_...
// TODO: Put "direction switch" into its own function // TODO: Implement split paths (odd number of endpoints) // TODO: Write function for oddly distributed choices // TODO: Let user input percentages // This constant represents the margin between two tiles. const MARGIN = 2; // In this enumeration the possib...
import UTOOLS from "./utools.js" import qcshare from "./qcshare.js" import qccommands from "./qccommands.js" import qcparser from "./qcparser.js" import qcprograms from "./qcprograms.js" import qctemplates from "./qctemplates.js" import qcpanel from "./qcpanel.js" // ************************************************** ...
import _ from 'lodash'; import PageManager from '../theme/page-manager'; import 'slick-carousel'; import collapsibleFactory, { CollapsibleEvents } from '../theme/common/collapsible'; import mediaQueryListFactory from '../theme/common/media-query-list'; import remoteBanner from './remote-banners'; import loginForm from ...
"use strict"; /* global global: false */ var $ = require("jquery"); var console = require("console"); var converterUtils = require("./utils.js"); var elaborateDeclarations = require("./declarations.js"); var processStylesheetRules = require("./stylesheet.js"); var modelDef = require("./model.js"); var domutils = requi...
const chai = require('chai') const assert = chai.assert const fs = require('fs') const path = require('path') const Crypto = require('../src') const utils = require('@secrez/utils') // const bs58 = Crypto.bs58 const { box, secretbox } = require('tweetnacl') const { password, b58Hash, b32Hash, passwordSH...
/** @module MicroLibrary */ "use strict" const Fs = require( 'fs' ); const EventEmitter = require( 'events' ); const QueryString = require( 'querystring' ); const Https = require( 'https' ); const Path = require( 'path' ); /** The root directory for the project that this library will be used in */ const projectRoot = ...
function createTextCanvas(text, color, font, size) { size = size || 16; var canvas = document.createElement('canvas'); var ctx = canvas.getContext('2d'); var fontStr = (size + 'px ') + (font || 'Arial'); ctx.font = fontStr; var w = ctx.measureText(text).width; var h = Math.ceil(size); ...
"use strict"; /*! micro-eth-signer - MIT License (c) <NAME> (<EMAIL>) */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Transaction = exports.Address = exports.strip0x = exports.add0x = exports.TRANSACTION_TYPES = exports.CHAIN_TYPES = void 0; const sha3_1 = require("@noble/hashes/sha3"); const ...
//get the canvas and context objects to be used throughout the project var canvas = document.getElementById("table"); canvas.style.width = "53vw"; canvas.style.height = "95vh" var context = canvas.getContext("2d"); //store global hit and score variables var p1Score = 0; var p2Score = 0; var hits = 0; //initialize sou...
'use strict'; // Dependencies const express = require('express'); const cors = require('cors'); const superagent = require('superagent'); const pg = require('pg'); const timeOuts = { weather: 15 * 1000, meetups: 60 * 60 * 24 * 1000, hiking: 30 * 60 * 60 * 24 * 1000, yelp: 60 * 24 * 1000 } require('dotenv')....
/** * Skeleton code implementation for a half-edge mesh */ let vec3 = glMatrix.vec3; function HEdge() { this.head = null; // Head vertex (Type HVertex) this.face = null; // Left face (Type HFace) this.pair = null; // Half edge on opposite face (Type HEdge) this.prev = null; // Previous half edge in ...
import { require_css } from "./chunk-ZSRIJO3U.js"; import { require_javascript } from "./chunk-CZSWYGQC.js"; import { require_codemirror } from "./chunk-63UPWVQH.js"; import { __commonJS, init_define_APP_INFO } from "./chunk-PC2SFJIV.js"; // node_modules/codemirror/mode/xml/xml.js var require_xml = __commonJ...
import moment from 'moment' import config from '../data/config' import storage from '../data/storage' import setting from '../data/setting' import missions from '../data/missions' import { fadeIn, fadeOut, slideIn, slideOut } from '../util/animations' import downloadBySource from '../util/downloadBySource' import Talk ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); var _classCallCheck2 = _int...
function initializeJS() { //tool tips jQuery('.tooltips').tooltip(); //popovers jQuery('.popovers').popover(); //custom scrollbar //for html jQuery("html").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '6', cursorborderradius: '10px', background: '#F7F7F7', cursorborder:...
/* eslint-disable */ /* eslint-disable no-undef */ /* eslint-disable max-len */ /* eslint-disable react/no-unused-state */ /* eslint-disable react/no-did-update-set-state */ /* eslint-disable comma-dangle */ /* eslint-disable no-shadow */ import React, { Component } from 'react'; import { withRouter, } from 'react-ro...
const Discord = require('discord.js'); const client = new Discord.Client({disableEveryone: true}); const fs = require("fs"); const userData = JSON.parse(fs.readFileSync('./userData.json', 'utf8')); var Canvas = require('canvas') var jimp = require('jimp') const moment = require('moment'); const pretty = require('pretty...
//Inserir dados da base em um array const editJsonFile = require("edit-json-file"); let arquivoOriginal; let arquivo; let objContatos; let arrayDados; let contatosNaoFiltrados; let contatos; function montarArrayContatos() { contatos = []; arquivo = editJsonFile("./Assets/data.json"); objContatos = arquivo....
// Copyright 2020 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. const originalConsole = console; const originalAssert = console.assert; const queryParamsObject = new URLSearchParams(location.search); // The following va...
var chart, chartType; var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); var plottablePoints; var globalHigh, globalLow; var scale = 2; var xLabelSeparation = scale*20; var axesPadding = scale*30; var smallPadding = scale*10; var offset = scale*3; var overflow = scale*5; var ohlcData;...
import {KeyBinding} from '../settings-extender/settings-extender.js' export class RandomEncounter { static printMessage(title, message){ let chatData = { user : game.user.id, content : "<h2>Random Encounter for " + title + "</h2>" + message, whisper : game.users.contents.filter(u => u.isGM).map(u => u.id) ...
/* * ================================================================= * * 26.10.17 <-- Date of Last Modification. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ----------------------------------------------------------------- * * **** Module : js-common/cofe.tasks.phaserep.js * ~~~~~~~~~...
/* globals map */ /* globals BMap */ /* globals Reflux */ /* globals Commonfun */ /* globals mapControl */ /* eslint-disable fecs-camelcase */ /* eslint-disable max-len */ /** * @file 轨迹列表和绘制轨迹 Reflux View * @author 崔健 <EMAIL> 2016.08.29 */ import React, {Component} from 'react'; import {render} from 'react-dom'; im...
/** * Sets and ENS name to point at an existing NFT */ import React, { useState, useEffect } from "react" import { Grid, TextField, Button, makeStyles, Avatar, Typography, Link } from "@material-ui/core" import FiberNewIcon from '@material-ui/icons/FiberNew'; import namehash from 'eth-ens-namehash' import { getEnsOw...
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; import PropTypes from 'pr...
function msgProcess(titulo){ Ext.MessageBox.show({ title: titulo, msg: 'Procesando, por favor espere...', progress:true, progressText: 'Procesando...', width:300, wait:true, waitConfig: {interval:200} }); } function createRpycTarea(a,b,id_rpyc){Ext.Ajax.re...
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
const preprints = `{{preprintWords.Preprints}}`; const brand = `OSF Preprints`; const arxiv_trademark_license = 'arXiv is a trademark of Cornell University, used under license.'; export default { global: { share: `Share`, complete: `Complete`, cancel: `Cancel`, discard: `Discard cha...
const dotenv = require('dotenv') const PreloadPlugin = require('@vue/preload-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin') const SentryWebpackPlugin = require('@sentry/webpack-plugin') const path = require('path') const fs = require('fs') const util = require('util') const readFile = util.pr...
'use strict'; /* * While importexport tests target the `setHTML` API endpoint, which is nearly identical to what * happens when a user manually imports a document via the UI, the contentcollector tests here don't * use rehype to process the document. Rehype removes spaces and newĺines were applicable, so the * exp...
const fetch = require('node-fetch') const uuid = require('uuid').v4 const ADMZIP = require('adm-zip'); const fs = require('fs') const WEBSOCKET = require('ws') // ---------------------------------------------------------- DATA // ---- USED AGENT const user_agent = 'remarkable-cloud-js' // ---- AUTH const auth_host =...
/* Environment: Discord -- This environment connects to a Discord server/guild. */ const moment = require('moment'); const Environment = require('../Environment.js'); class EnvDiscord extends Environment { get requiredParams() { return [ 'token', //Discord application token 'serve...
/** * Created by lin on 15/9/23. */ var log = console.log.bind(console); var getDeviceUrl = ay.contextPath + '/nur/infusionmanager/getInfusionDevices/', getDeviceSettingInfoUrl = ay.contextPath + '/nur/infusionmanager/getInfusionDeviceSetInfoByMacaddress', addDeviceInfo = ay.contextPath + '/nur/infusionmanag...
var _ = require('underscore') , L = require('leaflet') , moment = require('moment'); var countries = require('./countries-land-10km.geo.json'); module.exports = function leaflet() { var directive = { restrict: "A", replace: true, template: '<div id="map" class="leaflet-map"></div>', controller: ...
import Vue from 'vue' import VueRouter from 'vue-router' import LayoutBasic from './layouts/LayoutBasic' import LayoutNew from './layouts/LayoutNew' import LayoutConvert from './layouts/LayoutConvert' import LayoutEdit from './layouts/LayoutEdit' import LayoutStatement from './layouts/LayoutStatement' import LayoutSta...
/*jshint esversion: 6 */ "use strict"; function computeGradient(left, percent, right) { var template = "linear-gradient(to right, $fill$, $middle$, $black$)"; var res = percent; var fillPercent = left + " " + res + "%"; var blackPercent = right + " " + (100 - res) + "%"; var middle = res + "%"; ...
var currentWindow = remote.getCurrentWindow(); $(document).ready(function() { $("#toolsFunc").hide(); $(".func_v_yc").click(function(){ $(this).parent().find(".done").removeClass("done"); $(".func_v_hb_box").hide(); $(".func_v_xp_box").hide(); if($(this).hasClass("none") == true){ $(this).removeClass("none"); ...
'use strict' const Buffer = require('buffer').Buffer; // Stores 2^i from i=0 to i=56 var POW = (function () { var r = [], i, n = 1 for (i = 0; i <= 56; i++) { r.push(n) n *= 2 } return r })() // Pre-calculated constants var MAX_DOUBLE_INT = POW[53], MAX_UINT8 = POW[7], MAX_UINT16 = POW[14], M...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RemoteBuildManager = undefined; var _bluebirdLst; function _load_bluebirdLst() { return _bluebirdLst = require("bluebird-lst"); } var _bluebirdLst2; function _load_bluebirdLst2() { return _bluebirdLst2 = _interopRequir...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.tearsheetShellWideProps = exports.tearsheetIsPassive = exports.tearsheetHasCloseIcon = e...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var fs = require('fs'); var path = require('path'); var Winsto...
import React, { useState, useEffect, useRef, useCallback, useMemo, } from 'react'; import ResultsItemMemo from './ResultsItem'; import ResultsGridItem from './ResultsGridItem'; import ListGridToggle from './ListGridToggle'; import { useWindowDimensions } from '../Providers/WindowDimensionsProvider'; impor...