text
stringlengths
8.5k
48.7k
import MongoObject from 'mongo-object'; import humanize from './humanize.js'; import ValidationContext from './ValidationContext'; import SimpleSchemaGroup from './SimpleSchemaGroup'; import regExpObj from './regExp'; import _ from 'underscore'; import MessageBox from 'message-box'; import clean from './clean'; import ...
"use strict"; const Cesium = require("cesium"); const path = require("path"); const Promise = require("bluebird"); const ArrayStorage = require("./ArrayStorage"); const loadMtl = require("./loadMtl"); const outsideDirectory = require("./outsideDirectory"); const readLines = require("./readLines"); const Axis = Cesium...
/// Implements the process of managing a package's .npm directory, /// in which we call `npm install` to install npm dependencies, /// and a variety of related commands. Notably, we use `npm shrinkwrap` /// to ensure we get consistent versions of npm sub-dependencies. var Future = require('fibers/future'); var cleanup...
import React from "react"; import Layout from "../../../layout/Layout"; import { Checkbox, Pagination, Select } from "antd"; import 'moment/locale/zh-cn'; const Option = Select.Option; import moment from 'moment'; import echarts from "echarts"; import { observer } from "mobx-react"; import GeneralizeManageStore from "....
import React, { Component } from 'react'; import { withStyles } from '@material-ui/core'; import { connect } from 'react-redux'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import { fade } from '@material-ui/core...
// when publish, change the exact version number // in local testing, comment the version out! window.version = "v0.8.13" const source = window.version ? `https://cdn.jsdelivr.net/gh/chaosprint/glicol@${version}/js/src/` : "src/" window.loadDocs = async () => { fetch(source+'glicol-api.json') .then(response => res...
"use strict"; const eventBus = require('ocore/event_bus.js'); const conf = require('ocore/conf.js'); const aa_composer = require('ocore/aa_composer.js'); const network = require('ocore/network.js'); const walletGeneral = require("ocore/wallet_general.js"); const mutex = require('ocore/mutex.js'); const string_utils = r...
import capMixin from "./cap-mixin" import rasterLayerPointMixin from "./raster-layer-point-mixin" import rasterLayerPolyMixin from "./raster-layer-poly-mixin" import rasterLayerHeatmapMixin from "./raster-layer-heatmap-mixin" import rasterLayerLineMixin from "./raster-layer-line-mixin" import { createRasterLayerGette...
'use strict'; const cors = require('cors'); const { exec } = require('child_process'); const express = require('express'); const proxy = require('express-http-proxy'); const redirectToHTTPS = require('express-http-to-https').redirectToHTTPS; const fs = require('fs'); const path = require('path'); const cheerio = requi...
/************************************************************************* * ADOBE CONFIDENTIAL * ___________________ * * Copyright 2015 Adobe Systems Incorporated * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Adobe Systems Incorporated and its suppliers, * if ...
// Safety Goggles ON! 'use strict'; // ========================================================================================================================= // global variables // ========================================================================================================================= var myG...
const COOKIE_LANGUAGE = 'language'; const COOKIE_SENTIMENTAL = 'sent'; const COOKIE_FULL_THUMB = 'fullthumb'; const APP_EVENT = 0, APP_PLACE = 1, APP_PERSON = 2, APP_VIDEO = 3; const LNG_RU = 'ru', LNG_EN = 'en'; const MAX_PHOTO_W=1280; var localize={ 'en':{ 'bt': ['Events','Places','People','Video'], 'lng':'E...
var EWAC_F_OPTIONS = { "部门" : { Sql : "SELECT DEP_ID, DEP_NAME FROM ADM_DEPT WHERE sup_id=@g_sup_id order by DEP_NAME", DisplayField : "DEP_NAME", ValueField : "DEP_ID" }, check_by_txt : function(txt) { for ( var n in EWAC_F_OPTIONS) { if (txt.indexOf(n) >= 0) { return EWAC_F_OPTIONS[n]; } } } }...
var WebSocket = require('ws'); var Packet = require('./packet.js'); var servers = require('./servers.js'); var Account = require('./account.js'); var EventEmitter = require('events').EventEmitter; function Client(client_name) { //you can change this values this.client_name = client_name...
/** * Copyright 2009 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
var models = require('@bungalow/models'); var exports = {}; /** * Abstract class for Mashcast user storage **/ var MashcastBackend = function () { }; var Observable = models.Observable; /** * Logs user in * @param {String} username The username * @param {String} password The password * @return {Promise} a promi...
import path from 'path'; import { ipcRenderer, remote } from 'electron'; import Mousetrap from 'mousetrap'; import clamp from 'lodash/clamp'; import throttle from 'lodash/throttle'; import Hammer from 'react-hammerjs'; import trash from 'trash'; import PQueue from 'p-queue'; import Color from 'color'; import React fro...
/* global PIXI */ import 'pixi.js' import p2 from 'p2' import { Howl } from 'howler' import { scanGamepads, getGamepads } from 'gamepad' import { Spinner } from 'spinner' import { Wave } from 'wave' import { Sparks } from 'sparks' const FPS = 60 const SOUNDS = [ 'wilhelm', 'music', 'slap' ] const TEXTURES = [ ...
/*! * bracks-parser.js * This software is released under the MIT license: * * Copyright (c) <2016> <<NAME>> * * 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, in...
/*campusList*/ $(function(){ $(".onlynum").keyup(function () { $(this).val($(this).val().replace(/[^0-9]/g, "")); }); var pull=$('#campusListOpen'); menu=$('.branch ul'); menuHeight=menu.height(); $(pull).on('click', function(e){ e.preventDefault(); menu.slideToggle(); }); $(".curriculumSea...
import APU from './APU.js'; const cyclesLookup = [7,6,2,8,3,3,5,5,3,2,2,2,4,4,6,6, 2,5,2,8,4,4,6,6,2,4,2,7,4,4,7,7, 6,6,2,8,3,3,5,5,4,2,2,2,4,4,6,6, 2,5,2,8,4,4,6,6,2,4,2,7,4,4,7,7, 6,6,2,8,3,3,5,5,3,2,2,2,3,4,6,6, 2,5,2,8,4,4,6,6,2,4,2,7,4,4,7,7, 6,6,2...
/** * * ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary), * Bangalore, India. All Rights Reserved. * */ /** * This mixin is attached to BaseEntity so that it applies to all Models used in * the oeCloud.io framework.This is used to add data with autoscope and manual * scope values. While P...
"use strict"; /** * @module opcua.server */ require("requirish")._(module); var Dequeue = require("collections/deque"); var subscription_service = require("lib/services/subscription_service"); var NotificationMessage = subscription_service.NotificationMessage; var StatusChangeNotification =subscription_service.Sta...
// (Include Missingno.?? It's not in the cry pack I have but it'd be fun. It's nidoM base.) /* Data from the Pokemon Crystal diassembly. A list of every Gen I-II Pokemon in ID order. The entry with the same index in pokemonBases, pokemonPitches, and pokemonLengths corresponds to that Pokemon. */ // thanks to http://m...
import { log, i18n, getCanvas } from "../midi-qol-relics.js"; import { doItemRoll, doAttackRoll, doDamageRoll, templateTokens } from "./itemhandling.js"; import { configSettings, autoFastForwardAbilityRolls, criticalDamage } from "./settings.js"; import { bonusDialog, expireRollEffect, getOptionalCountRemainingShortFla...
/* eslint-disable prettier/prettier */ import React from 'react'; import { FormattedMessage, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import MyFormattedMessage from '../MyFormattedMessage'; class UnitModelsTable extends React.Component { static prop...
var Gentleball = Gentleball || {}; var i; //Creamos los objetos del juego //Sonidos var musica; var disparo; var rebote; var ganar; var menu; var muerte; var golpetazo; //Jugadores var sprite; var sprite2; //Pelotas var pelotas; var pelotas2; //Barreras var pared; var pared2; //Dianas var dianaia; var dianaic; var di...
/** * 渲染普通文件消息 */ import React, { useMemo } from "react"; import { useHistory } from "react-router-dom"; import { observer } from "mobx-react"; import { message as messageBox, Modal, Progress } from "antd"; import minioClient from "utils/minioFile"; import chatContent from "../style.module.less"; import helper from "...
/* * L.Control.OrderLayers is a control to allow users to switch between different layers on the map. */ L.Control.OrderLayers = L.Control.Layers.extend({ options: { title: 'Title', autoZIndex: false }, initialize: function (baseLayers, overlays, options) { L.setOptions(this, options); this._layers = {...
import React, { Component, Fragment, createElement } from 'react'; import PropTypes from 'prop-types'; import arrayFindIndex from 'array-find-index'; import PlayerContext from './PlayerContext'; import GroupContext from './GroupContext'; import * as PlayerPropTypes from './PlayerPropTypes'; import createCustomMediaEle...
import _ from 'lodash'; import React, { Component, Fragment } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import shouldPureComponentUpdate from 'react-pure-render/function'; import { Divider, withStyles } from '@material-ui/core'; import LinearProgress from '@material-ui/cor...
//not being used class xperimusFeatureCollector { constructor(blocks, onsets, chords, summedevidence, rchromaenergy, peakamps, dissonance, sones, centroid, rms){ this._blocks = blocks; this._onsets = onsets; this._chords = chords; this.__chords = []; this._summedev...
//holds all actions that can be used from a macro var actions = {}; actions.stop = function (params) { checkParams(0, params); stopAll(); }; actions.hideTabs = function (params) { checkParams(0, params); closeAll(); }; actions.toggleHints = function (params) { checkParams(0, params); showTool...
/** tools for an ioBroker Adapter v0.0.0.1 Copyright (c) 2016 soef <<EMAIL>> 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 noti...
/* 3D Vector/Surface Math library... */ let a, b, c; let discrim, rootDiscrim, Q; let t0 = 0; let t1 = 0; let inverseMag = 0; let ratioIoR = 0; function vec3(x, y, z) { this.x = x || 0.0; this.y = y || 0.0; this.z = z || 0.0; } let tempVec = new vec3(); let sN = new vec3(); let L = new vec3(); vec3.prototyp...
/** * Created by moveosoftware on 10/9/18. */ let FoodyLoader = require('../common/foody-loader'); let price; let used_coupon_details = null; let mobileOS = foodyGlobals.isMobile ? getMobileOperatingSystem() : false; let withAddress = false; jQuery(document).ready(($) => { window.scroll(0, 0); if ($('#coupon...
const request = require('request'); const fs = require('fs'); const path = require('path'); const pluginName = 'SWGTLogger'; const pluginVersion = '2021-04-02_1621'; var wizardBattles = []; var sendBattles = []; var tempDefenseDeckInfo = []; module.exports = { defaultConfig: { enabled: true, saveToFile: fals...
/** * Created by Krzysiek on 2016-11-29. */ //Functions Array.prototype.pushAll = function(items) { Array.prototype.push.apply(this, items); return this; }; Array.prototype.unique = function() { let a = this.concat(); for(let i = 0; i < a.length; ++i) { for(let j = i + 1; j < a.length; ++...
/* Copyright (c) 2020 <NAME> (Totally Information) 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 agree...
"use strict"; const Majiang = { Shoupai: require('./shoupai'), Game: require('./game'), Util: require('./util'), SuanPai: require('./suanpai'), }; const width = [12, 12 * 6, 12 * 6 * 3]; module.exports = class Player { constructor(id) { this._id = id; } /** * @param {array} msg 信息 * @param {function}...
import React, { useState, useEffect, useRef } from 'react'; import { View, Text, TouchableWithoutFeedback, Switch, Image as Image2, TouchableOpacity } from 'react-native'; import Modal from 'react-native-modal'; import style from './style' import { map, key_map, fire, worker } from 'src/assets' ...
"use strict"; const OS_ANDROID = /(?:Android [\d\.]+;)|(?:;\s?Android [\d\.]+)/.test(navigator.userAgent); const OS_ANDROID_SHARE_TYPE2 = false; const SHARE_API = navigator.canShare && navigator.canShare(); var homeSection = null;// "null" means the front page var homeAntiquity = HOT; var homeAfter = null; ...
import React, { useState, useEffect, useRef } from "react"; import Message from "../../Message"; import { FaRegTimesCircle } from "react-icons/fa"; import { BiArrowBack } from "react-icons/bi"; import hamburgerCustom from "../../../static/img/hamburger.svg"; import { ImAttachment } from "react-icons/im"; import { MdSen...
var __SHADER_SOURCE_TABLE__ = { "shadowmap": { V: ` attribute vec3 a_position; uniform mat4 u_modelMatrix; uniform mat4 u_viewMatrix; uniform mat4 u_projectMatrix; void main() { gl_Position = u_projectMatrix * u_viewMatrix * u_modelMatrix * vec4(a_positi...
// import {config} from 'dotenv' //'jupiterliketheplanet', 'sortoftvnetwork', 'packtheater'] export const CHANNEL_NAME = '#jupiterliketheplanet'; // export const CHANNEL_NAME = process.env.CHANNEL export const OATH_TOKEN = ''; export const BOT_USERNAME = 'europachatbot'; export const ZOOM_LINK = '' export const BLOCKE...
var arr = [ { id: "response_time", title: "Details of Flows", x: 0, y: 0, width: 12, height: 9, type: "success", userData: { fn: "createDetailReport" }, }, ]; var availableReports = { }; if( URL_PARAM.app == "All") delete( U...
// ----------------------------------------------------------------------------------- // // Lightbox v2.03.3 // by <NAME> - http://www.huddletogether.com // 5/21/06 // // For more information on this script, visit: // http://huddletogether.com/projects/lightbox2/ // // Licensed under the Creative Commons Attribu...
'use babel'; import path from 'path'; import { renderToStaticMarkup } from 'react-dom/server'; import _ from 'underscore-plus'; import fs from 'fs-extra'; import os from 'os'; const atomLinter = require('atom-linter'); import { Range } from 'atom'; import formatting from './formatting'; import indexing from './indexin...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _ = require('lodash'); var $q ...
// A small implementation of BigInteger based on http://www-cs-students.stanford.edu/~tjw/jsbn/ // // All public methods have been removed except the following: // new BigInteger(a, b) (only radix 2, 4, 8, 16 and 32 supported) // toString (only radix 2, 4, 8, 16 and 32 supported) // negate // abs // compareTo...
/* Copyright 2020-2021 Intel 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 agreed to in writing, s...
"use strict"; var fs = require('fs-promise'); var txtToSql = require('../lib/txt-to-sql.js'); var expect = require('expect.js'); var discrepances = require('discrepances'); var changing = require('best-globals').changing; var yaml = require('js-yaml'); var common = require('./test-common'); function loadYam...
"use strict"; const vscode = require("vscode"); const EditUtil = require("./edit_util.js"); const CommandUtil = require("./command_util.js"); const tag_jump = require("./tag_jump.js"); const mode_handler = require("./mode_handler.js"); const keyboard_macro = require("./keyboard_macro.js"); const exec = function(comman...
(function () { if (window.hasRun) return; window.hasRun = true; window.firstMutationDetected = false; console.log("loaded"); addTopicDropdownToPage(); checkForMutations(); })(); function addTopicDropdownToPage() { let { all_topic_tags, all_repositories } = getTopicsAndRepos(); //genera...
import { CONTROLS, MODES } from '../Constants'; import { DataImage } from '../DataImage'; import * as THREE from 'three'; /** * @classdesc Widget for controls * @constructor * @param {HTMLElement} container - A domElement where default control widget will be attached to */ function Widget ( container ) { if (...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
var margins = { 'win_t': 10, 'win_b': 10, 'win_l': 10, 'win_r': 10, 'subset_min_h': 100, 'subset_L': 10, 'subset_R': 10, 'subset_row_pad': 10, 'svg_L': 10, 'svg_R': 10, 'svg_T': 10, 'svg_B': 10, 'legend_w': 200, 'legend_padW': 2, 'legend_padH': 2, 'legend...
//keycode mappings var Left_codes = { //for those double tap multi-fingers, //we need to choose from the best one 24: 'q', //pinky + ring q 12: 'w', //ring + middle w 6 : 'e', //middle + index e //normal codes 16: 2, 8 : 3, 4 : 4, 2 : 5, 1 : 1, 5 : 14, //last selection ...
require ('../dlib/mutilxt.js') Fdrandom=require ('../dlib/Fdrandom.js') Barsort=require('../barsort.js') //~ Timsort=require('O:/hub/lead/node-timsort/build/timsort.min.js') Fdrandom.repot("3") //~ Fdrandom=Fdrandom.hot() //~ var a=[-222222222222222222,0.0000000000000001,1.1,1.2,1.1,1.1,1.1] //~ console.log(radixSort...
"use strict"; // https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values // https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code // 0xE0 -> 0x0100 // /!\ rotate digit code // Note: special code has a same value that code (ControlLeft, ArrowDown, etc) // // test: // https://yari-dem...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import debounce from 'lodash.debounce'; import { WS_URL, SESSION_TIME, BASE_CURRENCY } from '../../config/constants'; import { isMobile } from 'react-device-detect'; import { setWsHeartbeat } fro...
/* * The Zapatec DHTML Calendar * * Copyright (c) 2004 by Zapatec, Inc. * http://www.zapatec.com * 1700 MLK Way, Berkeley, California, * 94709, U.S.A. * All rights reserved. * * * The Calendar Wizard. Collects preferences from the * user, creates a calendar, and generates the code. */ var utils = Zapatec....
var _excluded = ["style", "context"], _excluded2 = ["width"], _excluded3 = ["children", "ctx"], _excluded4 = ["context"]; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (sym...
'use strict'; exports.__esModule = true; var _getIterator2 = require('babel-runtime/core-js/get-iterator'); var _getIterator3 = _interopRequireDefault(_getIterator2); var _typeof2 = require('babel-runtime/helpers/typeof'); var _typeof3 = _interopRequireDefault(_typeof2); var _regenerator = require('babel-runtime/...
/* CMPSCI 373 Homework 3 -- Curves */ const panelSize = 600; const Bezier = 1, BSpline = 2, Hermite = 3; //#begin_hidden const Interpolation = 4; //#end const dotSize = 5; const fov = 45; const aspect = 1; let scene, renderer, camera, material, orbit; let controlPts = []; // array for control points let curvePts = []...
/** * Copyright 2019 Adobe. All rights reserved. * This file is licensed to you 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 appl...
/** * 均衡调度JS * */ var flag = 0; var dayTime = $("#endTime2").val(); var xiaoquname1 = ""; var city1 = ""; var xiaoquname2 = ""; var city2 = ""; var blanceId = ""; var changjia = ""; var functid = ""; var day = $("#day").val(); var day1 = $("#day1").val(); var city3 = ""; layui.config({ //自定义模块存放的目录 base: '...
const LIVE_DATA_STRUCT = { /*x01*/ 1: [decodeTemp, 2, "intemp"], /*x02*/ 2: [decodeTemp, 2, "outtemp"], /*x03*/ 3: [decodeTemp, 2, "dewpoint"], /*x04*/ 4: [decodeTemp, 2, "windchill"], /*x05*/ 5: [decodeTemp, 2, "heatindex"], /*x06*/ 6: [decodeHumid, 1, "inhumid"], /*x07*/ 7: [decodeHumid, 1, "outhumid"],...
/** * Bitwig Controller Script for the Behringer X-Touch Compact. * * Author: <NAME> - https://github.com/justlep/bitwig * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ loadAPI(6); load('lep-framework/complete.js'); host.defineController('Behringer', 'X-Touch Compact', '1.0', '58169cfc-222...
/* * ISC License (ISC) * Copyright (c) 2018 aeternity developers * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this pe...
const express = require('express'); const router = express.Router(); // Schemas const User = require('../schemas/user.js'); const TravelNotice = require('../schemas/travel_notice.js'); const ShippingRequest = require('../schemas/request.js'); const Notification = require('../schemas/notification.js'); const MessageCrea...
/** * By <NAME> * https://github.com/hkarn/HTML-CSS-JS-Webstandards-final-YHJUST16 */ /** * The assignment required some things to be done using jQuery. jQuery is used for the import/export elements as well as the advertisement * The jQuery should be first in the appropriate sections. */ /** * When the size of...
/** * Resize function without multiple trigger * * Usage: * $(window).smartresize(function(){ * // code here * }); */ (function($,sr){ // debouncing function from <NAME> // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ var debounce = function (func, threshold, exe...
import React from "react"; import bridge from "@vkontakte/vk-bridge"; import queryString from "query-string"; import { platform } from "@vkontakte/vkui"; import { FaLink, FaHistory, FaStar, FaInfoCircle } from "react-icons/fa"; import { PanelHeader, Panel, Tabbar, TabbarItem, Epic, Div, Button, CardGrid...
//Initialize Bootstrap 5 Tooltips everywhere. var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl, { html: true, sanitize: false, }); }); ...
var express = require('express'), app = express(), Mock = require('mockjs') var bodyParser = require('body-parser') var session = require('express-session') var sess = { secret: 'keyboard cat', cookie: {} } if (process.env.NODE_ENV === 'production') { app.set('trust proxy', 1) // trust first proxy sess.cookie....
/* eslint-disable */ let ColorPicker = (function(window, document, opts) { var type = (window.SVGAngle || document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') ? 'SVG' : 'VML'); var picker; var slide; var hueOffset = 15; var svgNS = 'http://www.w3.o...
const BOARD_SIZE = { width: 0.75, height: 0.1, depth: 0.75 } const MODEL = { PAWN: { OBJ: '../assets/chess/pawn/model.obj', MTL: '../assets/chess/pawn/materials.mtl', SCALE: 0.10, owner: { name: '<NAME>', profileUrl: 'https://poly.google.com/user/5fiHEBToVIl' }, model: { ...
'use strict' var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var DLModels = require('dl-models'); var map = DLModels.map; var ProductionOrder=DLModels.sales.ProductionOrder; var ProductionOrderDetail=DLModels.sales.ProductionOrderDetail; var ProductionOrderLampStandard=DLModels.sales.Productio...
var fovToolbox = [false, false]; var currentlyAddingSegments = false, segmentMeasurementPaused = false; var addSegmentTargetOrigin, addSegmentTargetDestination; var maskCanvas = document.createElement('canvas'); var maskCtx = maskCanvas.getContext('2d'); function setFovVisibilityTool(source, toolIndex) { clearSel...
/* #Init photoswipe ================================================== */ $.fn.addPhotoswipeWrap = function() { return this.each(function(k, link) { var $this = $(this); $this.on('click', function(e){ e.preventDefault(); }) $this.parents('figur...
/* global action: true CodeMirror: false Diff2HtmlUI: false Dropzone: false formProperties: true JSONEditor: false jsPanel: false page: false */ import { call, cantorPairing, configureForm, configureNamespace, downloadFile, history, historyPosition, notify, observeMutations, openPanel, serializeF...
// ==UserScript== // @name Diep.io Tool (DEVELOPER VERSION) // @description made with much love. // @version 4.2.7 // @author Cazka#9552 // @namespace *://diep.io/* // @match *://diep.io/* // @grant GM_info // @grant GM_addStyle // ==/UserScript== 'use strict'; /* * C O N...
/* global: THREE,assert */ // GeomView.js // Author: <EMAIL> // released under MIT license let THREE = global.THREE; let assert = global.assert || function (condition, message) { if (!condition) { throw new Error(message); } }; const GeomTools = { boundingBox: function (obj) { let me = t...
//layer弹窗 layui.use(['layer', 'laypage', 'table', 'form', 'element', 'laydate'], function(){ layer = layui.layer; laypage = layui.laypage; //分页组件 table = layui.table; //数据表格组件 form = layui.form; //表单组件 element = layui.element; laydate = layui.laydate; //日期选择器 }); $(document).on('mouseenter', ...
"use strict"; var Compiler = require("myclinic-drawer").Compiler; var Box = require("myclinic-drawer").Box; function Shohousen(){ this.compiler = new Compiler(); this.setup(); } Shohousen.prototype.getOps = function(){ return this.compiler.getOps(); }; Shohousen.prototype.setup = function(){ var compiler = this...
var gauss = require('./gaussian-elimination-master/gauss.js'); //console.log(gauss([[1, 2], [2, 3]], [4, 5])); //var simulate = require('./simulator.js').simulate; var res = {}; res.cell = []; for(var i = 0; i < 20; i++){ res.cell[i] = new Cell(4500, 0.3, 100, 1000); } function Cell(p, poro, perm, dx){ this.p = p; ...
import { map, mergeMap, catchError, takeUntil, switchMap, concatMap, exhaustMap } from 'rxjs/operators'; import { ofType } from 'redux-observable'; import { from, iif, of, interval, throwError } from 'rxjs'; import { Client } from '@microsoft/microsoft-graph-client'; import { Appointment, DateTime, ...
/** * @copyright Copyright 2016-2020 <NAME> <<EMAIL>> * @license MIT * @module inflate-auto */ // It's helpful to use named parameters for documentation, which makes // re-building the argument list annoying and error prone. Since that is done // frequently in this module, disable prefer-rest-params here. /* esli...
var BASEURL = "http://www.xznczhxx.gov.cn/api/v1"; var BASEIMGURL = 'http://www.xznczhxx.gov.cn'; var private_key = "<KEY>"; //md5加密算法 (function($) { var rotateLeft = function(lValue, iShiftBits) { return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); } var addUnsigned = function(lX, lY) { var lX4, lY...
import { css, html } from 'lit-element/lit-element.js'; import { findComposedAncestor, isComposedAncestor } from '../../helpers/dom.js'; import { announce } from '../../helpers/announce.js'; import { classMap } from 'lit-html/directives/class-map.js'; import { dragActions } from './list-item-drag-handle.js'; import { g...
/* * Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.com/) * * 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 requ...
"use strict"; /** * gridstack-dd.ts 5.0.0-dev * Copyright (c) 2021 <NAME> - see GridStack root license */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (...
'use strict'; const _ = require('lodash'); const util = require('util'); const murmurhash = require('murmurhash').v3; const ops = require('./statement/operations'); const documentPredicate = require('./statement/document-predicate'); const parseKey = require('./util/parse-key'); const quote = require('./util/quote'); ...
/** * A higher-order component to add a Lune styled popup to a component. * * @module lune/ContextualPopupDecorator * @exports ContextualPopup * @exports ContextualPopupDecorator */ import ApiDecorator from '@enact/core/internal/ApiDecorator'; import {on, off} from '@enact/core/dispatcher'; import {handle, forPr...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _reactLifecyclesCompat = require("react-lifecycles-compat"); var _dateUtils = requi...
const Backbone = require('backbone'); const kdbxweb = require('kdbxweb'); const GroupModel = require('../../models/group-model'); const AppSettingsModel = require('../../models/app-settings-model'); const Scrollable = require('../../mixins/scrollable'); const FieldViewText = require('../fields/field-view-text'); const ...
'use strict'; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("../../../src/components/VDataTable/VDataTable.sass"); var _VData = require("../VData"); var _VDataIterator = require("../VDataIterator"); var _VBtn = _interopRequireDefault(require("../VBtn")); var _V...
//@EliasHasle /*Dependencies: THREE, Mirror, WaterShader, dat.gui (for gui only), browse_files_Elias_Hasle, Patch_interpolation */ /* PLANS: Upgrading to (a possibly modified) WaterShader2.js will remove the dependency on Mirror.js as well as opening up possibilities for visualizing approximate water flows around ves...