text
stringlengths
8.5k
48.7k
///// Jalali (Shamsi) Calendar Date Picker (JavaScript) ///// var datePickerDivID = "datepicker"; var iFrameDivID = "datepickeriframe"; var dayArrayShort = new Array('شن', 'یک', 'دو', 'سه', 'چه', 'پن', 'جم'); var dayArrayMed = new Array('شنبه', 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه'); var da...
var express = require('express') , router = express.Router() , settings = require('../lib/settings') , locale = require('../lib/locale') , db = require('../lib/database') , lib = require('../lib/explorer') , qr = require('qr-image') , formatCurrency = require('format-currency') , formatNum = require('fo...
// ============================================================ // PCA JS Component // ============================================================ var abundancesObj = {}; var boundX = []; var boundY = []; var pcaOverrideScale = null; var pcaOverrideAlpha = null; var pcaOverrideBeta = null; var pcaOverrideRangeMin = nu...
/* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Software in the Sustain Ecosystem are Released Under Terms of Apache Software License This research has been supported by funding from the US National Scienc...
/*global describe it*/ var assert = require('assert'); var util = require('util'); var J = require('./index.js')(); describe('jski', function() { describe('5.1. number and integer', function() { it('should create the schema', function() { assert(J.number().type === 'number'); }); it('should v...
/*********************** Load Components! Express - A Node.js Framework Body-Parser - A tool to help use parse the data in a post request Pg-Promise - A database tool to help use connect to our PostgreSQL database ***********************/ var express = require('express'); //Ensure our express framework...
const helper = require('./helper.js'); const Location = require('./location.js'); const Day = require('./day.js'); const News = require('./news.js'); const Player = require('./player.js'); const Action = require('./action.js'); const AI = require('./ai.js'); //CLASS: Game, a complex class containing a full game. modul...
var pwaoc = [ { "sTitle": "feature", sWidth: "40px" }, { "sTitle": "corr." }, { "sTitle": "adjpvalue" }, { "sTitle": "BHadj"}, { "sTitle": "hypergeom_test"}, { "sTitle": "BHadj"}, { "sTitle": "nsamples", "visible": false}, { "sTitle": "ndiff_1", "visible": false}, { "sTitle": "ndiff_2", "visible": false}, { "sTitle": "...
var Class = require('shipyard/class/Class'), Events = require('shipyard/class/Events'), Options = require('shipyard/class/Options'), dom = require('shipyard/dom'), object = require('shipyard/utils/object'), string = require('shipyard/utils/string'), log = require('shipyard/utils/log'), ...
/* * * Copyright (C) 2020 Universitat Politècnica de Catalunya. * * 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 requir...
/* * Wazuh app - React component for build q queries. * Copyright (C) 2015-2020 Wazuh, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
var c; var player_id; var player_color; var socket; var camera, scene, renderer,light; var effect; var worldWidth = 256, worldDepth = 256; socket = io.connect(); socket.emit('load') function gotPosition(position) { // top north : 48.8985587 2.3592401,21 // south = 48.8194131 2.3446799,21 // E ...
/*---------------------------------- 4dsoko_main.js main program and entry point ----------------------------------*/ // static var on game var isDebug1=1; //debug flag var isDebug2=0; //debug flag var mmax = 8; //length of edge of the world (common for dimensions) var SokoObj = function(){}; SokoObj.charaLen = 10;...
/* * Copyright (C) 2017 by Coriolis Technologies Pvt Ltd. * This program is free software - see the file LICENSE for license details. */ const defaultImages = ["kp1.gif", "kp2.jpg", "kp3.jpg", "kp4.jpg"]; var bkg = chrome.extension.getBackgroundPage(); var ProtectedSitesData; var template_of_MLmodel = { root: "...
// Copyright (c) 2014 International Aid Transparency Initiative (IATI) // Licensed under the MIT license whose full text can be found at http://opensource.org/licenses/MIT var dstore_db=exports; var refry=require('./refry'); var exs=require('./exs'); var iati_xml=require('./iati_xml'); var iati_cook=require('./iati_c...
'use strict'; /******************************************************************************* * PREDIX UI CATALOG BUILD TOOLS * * The following gulp tasks are available for this project: * * - `gulp serve` - Run when developing the project. Continuously builds *.scss * files to the css/ direct...
/** * Created by pi on 7/21/16. */ var modelBase = require('../ModelBase'); var Line = require('../eq/Line'); var Storage = require('../eq/Storage'); var LayerLog = require('./LayerLog'); var AssemblyItem = require('./AssemblyItem'); var Warehouse = require('../eq/Warehouse'); var TraceLog = require('./TraceLog'); va...
/* eslint no-underscore-dangle: [2, { "allow": ["_id", "_transform", "_lastLineData", "_flush", "emit"] }] */ // let fs = require('browserify-fs'); import Console from 'console'; import _ from 'lodash'; import {zScore, fastp, etta} from './stats'; import BN from 'bignumber.js'; BN.config({ ROUNDING_MODE: 2 }) ; import ...
/** * Makes sure that speeds are correctly adjusted at all collision points. * @param {Scene} scene * @constructor */ var SpeedAdjuster = function(scene) { var self = this; /** * Used for solving the matrix of speed effects. * @type {StaticSolverEngine} */ this.staticSolverEngine = new ...
var PrntPrcsDetKy = 0;//used to retrive child record function LoadDlytodogrid(PrjKey, LeadAdrKey, CurAdrKey, PrtyKy, PrcsObjKy, AprStsKy,PrcsDetCat1Ky, LoadDlytodogrid) { var DlyTodoColumn = [ //{ // width:"30px", // template: '<input type="checkbox" id="Selecte...
function score_entity() { scores = {} for (q_shape of shapes) { scores[q_shape] = 0 for (a_shape of shapes) { correct = exp["e_pretest"][`${q_shape}_${a_shape}`] == subset_shapes[q_shape][a_shape] scores[q_shape] += correct } } exp["e_scores"] = scores return scores } // Basic inputs ...
var raptor = require('./raptor.js'); var rdfstore = require('./rdfstore.js'); var fs = require('fs'); Utils = {}; Utils.recur = function(c){ if(Utils.stackCounter === Utils.stackCounterLimit) { Utils.stackCounter = 0; setTimeout(c, 0); } else { Utils.stackCounter++; c(); } ...
import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Form, Tag, Input, Modal, Dropdown, Popconfirm, Select, Radio, Table, message, Divider, Button, InputNumber, } from 'antd'; import styles from './CostAccount.less'; import { updateCostItem, createCostItem, del...
/** * Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
// // virtualKeyboard.js // examples // // Created by <NAME> on 11/18/14. // Copyright 2014 High Fidelity, Inc. // // Control a virtual keyboard using your favorite HMD. // Usage: Enable VR-mode and go to First person mode, // look at the key that you would like to press, and press the spacebar on your "REAL" ke...
function getAllPages() { return window.roamAlphaAPI .q("[:find ?t :where [?e :node/title ?t] ]") .map(t => t[0]) .sort(function (a, b) { return b.length - a.length; }); } function removeUnlinkSpans(el) { for (i = 0; i < el.childNodes.length; i++) { if ( el.childNodes[i].nodeType == 1 && ...
/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil; tab-width: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* * Copyright 2013 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
import { liftTarget, canJoin, joinPoint, canSplit, ReplaceAroundStep, findWrapping } from 'prosemirror-transform'; import { Fragment, Slice } from 'prosemirror-model'; import { NodeSelection, Selection, TextSelection, AllSelection } from 'prosemirror-state'; // :: (EditorState, ?(tr: Transaction)) → bool // Delete the...
// Copyright (c) 2012 Sven "FuzzYspo0N" Bergström, // 2013 <NAME> // written by : http://underscorediscovery.com // written for : http://buildnewgames.com/real-time-multiplayer/ // modified for collective behavior experiments on Amazon Mechanical Turk // MIT Licensed. ...
import Cookies from 'js-cookie'; import fetchIntercept from 'fetch-intercept'; import qs from 'qs'; import getConfigBase from './constants/get-config-base'; import { ACCOUNT_UPDATE_ERROR, ACCOUNT_UPDATE_SUCCESS, DESTROY_ACCOUNT_ERROR, DESTROY_ACCOUNT_SUCCESS, EMAIL_CONFIRMATION_ERROR, EMAIL_CONFIRMATION_SU...
// Corrupted Skynest (Hard) // // made by michengs const {SpawnVector, SpawnCircle, SpawnSemicircle} = require("../lib"); let player, entity, library, effect; let print = true; let debuff = null; let timer1; let timer2; let timer3; let timer4; let timer5; let qbacting = null; let blue = false; let red = false; const...
import Map from './map.js'; import IconFactory from './iconFactory.js'; import SeedTransform from './seedTransform.js'; class WOTW { constructor() { this.setupHTML(); this.map; this.drawer; this.iconFactory; this.timeline; this.shop; this.seedTransform; ...
'use strict'; var express = require('express'), handlers = require('./handlers'), models = require('./models'), helpers = require('./helpers'), custom = require('./custom'), utils = require('./utils'), spike = require('./spike'), features = require('./features'), processors = require('./...
// ==UserScript== // @name [dmzj]Novel // @description 在动漫之家上看小说 // @include http*://xs.dmzj.com/* // @version 1.0.3 // @modified 2019-8-6 13:30:19 // @author dodying // @namespace https://github.com/dodying/UserJs // @supportURL https://github.com/dodying/UserJs/issues // @icon https:/...
import { ENTER, EXIT, SYMBOL_SIZE, UPDATE } from '../../const/d3'; import { polarLabelCssPrefix, polarLabelOuter } from '../../util/polarLabels'; import { MonteOptionError } from '../../support/MonteOptionError'; import { PolarChart } from './PolarChart'; import { TAU } from '../../const/math'; import { arcLabelTween }...
const Progress = require('./progress.js') const previousBuild = require('../data/json/All.json') const watson = require('../config/dt_map.json') const bpConflicts = require('../config/bpConflicts.json') const _ = require('lodash') const title = (str) => str.toLowerCase().replace(/\b\w/g, l => l.toUpperCase()) const war...
import React, { Component, Fragment } from 'react' import BigNumber from 'bignumber.js' import { Link } from 'react-router-dom' import { connect } from 'react-redux' import { FormattedMessage, // FormattedNumber, defineMessages, injectIntl } from 'react-intl' import { handleNotificationsSubscription } from '...
const multer = require('multer'); const fs = require('fs'); const telegram = require('./bot'); const {checOnTrueVal, tableRecord, token, log, readyFullDate, clienttoken} = require('../modules/service'); const town = (req, res) => { let sql; if (req.body.param === 'townAdd') { sql = `INSERT INTO points...
var SiteCtrl = ['$scope', 'Module', '$routeParams', 'Request', 'Message', 'Backend', function($scope, Module, $routeParams, Request, Message, Backend){ var module = 'site'; Module.init(module, '网站管理'); $scope.loaded = false; var section = Module.getSection(); $scope.has_httpserver = false; $scope.nginx_supported...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tonalPcset = require('tonal-pcset'); var chromatic = ["1P 2m 2M 3m 3M 4P 4A 5P 6m 6M 7m 7M"]; var lydian = ["1P 2M 3M 4A 5P 6M 7M"]; var major = ["1P 2M 3M 4P 5P 6M 7M",["ionian"]]; var mixolydian = ["1P 2M 3M 4P 5P 6M 7m",["dominant"]]...
"use strict"; var CARD_GUI = {}; (function() { var assetsRoot = ''; function clearCardSpace() { var cardSpace = $("#cardSpace").empty(); } function clearDeckSpace() { var cardSpace = document.getElementById("deck"); cardSpace.innerHTML = ''; } function draw_deck(deck,...
window.App = Ember.Application.create(); //------------------------------- Data Models ------------------------------- /* Data model of a person */ App.personModel = Ember.Object.extend({ firstName: null, lastName: null, email: null, fullName: function () { return this.get('firstName') + ' ' + this.get...
var valueObjects = []; var queryResponse = {}; var queryErrorResponse = {}; var dataJSON = {}; function getQueryExecutedFragment() { var ontologyIdentification = $("#datasources").val(); if(typeof dataSourceForEdit!== "undefined" && dataSourceForEdit!=null ){ if (dataSourceForEdit.hasOwnProperty("...
//***************************************// // // // KANATA // // // //***************************************// // get window width/height let windowWidth = window.innerWidth; let windowHeight = window.innerHeig...
/** * Includes all the scripts needed by the queue and jobs. * * */ /*eslint-env node */ /*global Promise:true */ 'use strict'; var Promise = require('bluebird'); var _ = require('lodash'); var debuglog = require('debuglog')('bull'); var Redlock = require('bull-redlock'); function execScript(client, hash, lua, nu...
// Credit: Rob--W // Pull request #6190 to the original PDF.js project /* globals assert, error, Dict, Name, isArray, isArrayBuffer, isBool, isDict, isInt, isName, isNum, isString, isRef, Ref, stringToBytes */ import { Dict, Name, isDict, isName, isRef, Ref} from "../../src/core/primitives.js" impo...
const fileStorage = localforage.createInstance({ name: "data", storeName: "files" }); const basemapStorage = localforage.createInstance({ name: "data", storeName: "basemaps" }); const map = L.map("map", { zoomSnap: 0, maxZoom: 22, zoomControl: false, renderer: L.canvas({ padding: 0.5, toleranc...
/** * vueLoader.js * 使用浏览器加载并解析 .vue 单文件组件的库 */ // 可用的全局 className, 作用参见 scopeStyles 注释 // 一般为 app/index.vue 中定义过的全局 class 名称 const topClassName = [ '.app-phone' ]; let _srcBaseUrl = ''; let _disableMock = false; function setLoaderConfig(baseUrl, disableMock) { _srcBaseUrl = baseUrl; _disableMock = dis...
"use strict"; const Path = require("path"); const util = require("util"); const assert = require("assert"); const semver = require("semver"); const _ = require("lodash"); const logger = require("./logger"); const PkgDepResolver = require("./pkg-dep-resolver"); const PkgDistFetcher = require("./pkg-dist-fetcher"); cons...
/* *** MduiLogIOBroker Dieses Script dient der Visualisierung des ioBroker-Logs in der vis im Material Design CSS Style als table- bzw. list-Anzeige. Dazu wird ein onLog()-Handler instanziiert, welcher bis zu MAX_LOG_CACHE Log-Einträge zwischenspeichert und daraus dann alle BUILD_TABLE_TIMER Sekunden bis zu MAX_LOG_FOL...
// geonames feature codes const featureCodes = { 'A.ADM1': 'first-order administrative division', 'A.ADM1H': 'historical first-order administrative division', 'A.ADM2': 'second-order administrative division', 'A.ADM2H': 'historical second-order administrative division', 'A.ADM3': 'third-order administrative d...
var V241IGroup; var volumeChart; var compChart; window.dataRef; d3.json('newDatatest.json', function (data) { // var lineChart2 = dc.lineChart("#dc-line-chart-2"); //dc = d3 & crossfilter interface to make it easier to graph volumeChart = dc.barChart('#monthly-volume-chart'); var dataCrossfilter = crossfil...
var MeshPainter = { enabled: false, name: "MeshPainter", collision_pos: vec3.create(), last_collision_pos: null, _mouse_over_the_mesh: false, current_texture: null, settings: { channel: "color", uvs: "0", tex_size: 512, bg_color: [0,0,0], }, brush: { color: vec3.fromValues(1,1,1),...
//const printer = require('./lib/printer'); const printer = require('./node_modules/printer/lib/printer'); var express = require('express'); var removeAccents = require("remove-accents") var dateFormat = require('dateformat'); var LocalStorage = require('node-localstorage').LocalStorage; localStorage = new LocalStorage...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (...
function BranchData() { this.position = -1; this.nodeLength = -1; this.src = null; this.evalFalse = 0; this.evalTrue = 0; this.init = function(position, nodeLength, src) { this.position = position; this.nodeLength = nodeLength; this.src = src; return this; } ...
goog.declareModuleId('plugin.file.shp.SHPParser'); import ColumnDefinition from '../../../os/data/columndefinition.js'; import Fields from '../../../os/fields/fields.js'; import * as text from '../../../os/file/mime/text.js'; import * as mimeZip from '../../../os/file/mime/zip.js'; import * as geo from '../../../os/ge...
/* eslint-disable camelcase */ /* eslint-disable prefer-template */ // TODO(olc): Remove after refactor // see https://stackoverflow.com/questions/36887428/d3-event-is-null-in-a-reactjs-d3js-component import { event as currentEvent } from 'd3-selection'; import React from 'react'; import ReactDOM from 'react-dom'; imp...
/** * @name AppNotifications * @source https://github.com/QWERTxD/BetterDiscordPlugins/blob/main/InAppNotifications/InAppNotifications.plugin.js * @updateUrl https://raw.githubusercontent.com/QWERTxD/BetterDiscordPlugins/main/InAppNotifications/InAppNotifications.plugin.js * @website https://github.com/QWERTxD/Bett...
/* * Copyright (c) 2011 Metropolitan Transportation Authority * * 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 requir...
import Vue from 'vue' import compact from 'lodash/compact' import groupBy from 'lodash/groupBy' import flatten from 'lodash/flatten' import uniq from 'lodash/uniq' import uniqBy from 'lodash/uniqBy' import flow from 'lodash/flow' import orderBy from 'lodash/orderBy' import settings from 'electron-settings' import searc...
angular.module('sidenavDemo1', ['ngMaterial']) .controller('AppCtrl', function($scope, $sce) { $scope.me = {}; $scope.loaded = false; $scope.loggedIn = false; $scope.me.name = ""; $scope.mail = []; $scope.mail.social = []; $scope.mail.promotions = []; $scope.mail.updates = []; $scope.mail.forums = []; $s...
/* * Copyright (C) 2010-2014 <NAME> (haftungsbeschränkt) * * This file is part of structr <http://structr.org>. * * structr is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 o...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const shared_1 = require("@lwc/shared"); const html_1 = require("./html"); const attribute_1 = require("./attribute"); const expression_1 = require("./expression"); const style_1 = require("./style"); const ir_1 = require("../shared/ir"); cons...
// Convert from old font-encoding of Ahom text to Unicode forms: const langConverter = new langConverterClass('aho', 'Tai Ahom'); // Mappings for Ahom old ASCII encoding to Unicode font // Source: <NAME> // Started 8-Nov-2017 langConverter.map_encoding_names = map_encoding_names = ['Ahom', 'AhomManuscript', 'Aiton']; ...
const { URL } = require("url") let RATE_LIMIT_REACHED = false const _getDivsNb = (arg, cb) => cb(null, document.querySelectorAll("div.GridTimeline-items > div.Grid").length) const _getFollowersNb = (arg, cb) => cb(null, document.querySelectorAll("div.GridTimeline div[data-test-selector=\"ProfileTimelineUser\"]").len...
import accessibilityHuman from "./accessibility-human.svg"; import accessibility from "./accessibility.svg"; import activity from "./activity.svg"; import addToList from "./add-to-list.svg"; import add from "./add.svg"; import alarm from "./alarm.svg"; import alignCenter from "./align-center.svg"; import alignLe...
"use strict"; var old_screen = screen; /** * Adapter to use visual screen in browsers (in contrast to node) * @constructor * * @param {BusConnector} bus */ function ScreenAdapter(screen_container, bus) { console.assert(screen_container, "1st argument must be a DOM container"); const russian = true; ...
'use strict'; /* XSD (XML Schema Definition) that likely describes the XML elements within ClinVar's EFetch response: ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/xsd_public/clinvar_variation/variation_archive.xsd (v1.3 as of Sept 2019) A quasi-XSD of the elements we're interested in (refined from the document above): <xs:...
import "./jsPDF/jspdf.umd.min.js"; import "./leaflet-image/leaflet-image.js"; import {createElement, setProperties} from "./util.js"; const DEBUG = false; // TODO: make a proper leaflet plugin: https://github.com/Leaflet/Leaflet/blob/master/PLUGIN-GUIDE.md function pixelsToMeters(map, pixels, pos) { // https://stac...
<!-- // Hide // *** COMMON CROSS-BROWSER COMPATIBILITY CODE *** var isDOM = document.getElementById?1:0; var isIE = document.all?1:0; var isNS4 = (navigator.appName=='Netscape' && !isDOM)?1:0; var isIE4 = (isIE && !isDOM)?1:0; var isDyn = (isDOM||isIE4||isNS4); function getRef(id, par) { par = (!par ? document : (p...
/** * 基础 API 接口(无需认证) * @author Raymond * @create 2019/9/2 */ const EventEmitter = require('events'); const Logger = require('tracer').console({inspectOpt: {showHidden: true, depth: null}}); const ASYNC = require('async'); const QRCode = require('qrcode'); const _ = require('lodash'); const JWT = require('jsonwebt...
// console.log(`yup`); // STEP 1 // Create class for ROBOTS // Create class for PARTS const gameStartMusic = new Audio (`./music/game-start.mp3`); gameStartMusic.loop = true; const gameBattleMusic = new Audio (`./music/game-battle.mp3`); gameBattleMusic.loop = true; const gameOverMusic = new Audio (`./music/game-ove...
const { createMacro } = require('babel-plugin-macros'); // copy to: // https://astexplorer.net/#/gist/642aebbb9e449e959f4ad8907b4adf3a/4a65742e2a3e926eb55eaa3d657d1472b9ac7970 module.exports = createMacro(ICUMacro); function ICUMacro({ references, state, babel }) { const { Trans = [], Plural = [], Selec...
//TODO the esthetic need is pretty high, attempt to create an attractive Africa and see how it looks //TODO output the entire animation construct //TODO start animation //TODO reset to an animation stage import React from 'react'; import Arboreal from 'arboreal'; let TIMESTEP = 100; let ANIMATE = true; ANIMATE = fals...
 // "Made Order Advisor" ("M.O.A") by BizKiwi.NZ // Copyright 2015 BizKiwi.NZ - <EMAIL> var crewWindow = window.self; //crewWindow.closed = false; var customerWindow = window.opener; //customerWindow.closed = false; var thisWindow = "crew"; var closeAllFlag = false; customerWindow.crewWindowCloseFlag = false; custom...
import * as d3 from 'd3'; import * as Utils from './utils'; import './neo4jd3.scss'; const DEFAULT_OPTIONS = { arrowSize: 5, highlight: undefined, minCollision: undefined, neo4jData: undefined, neo4jDataUrl: undefined, nodeOutlineFillColor: undefined, nodeRadius: 25, relationshipColor: '#a5abb6', zoo...
'use strict'; var Constants = require('Constants'); var Object3DUtil = require('geo/Object3DUtil'); var UndoStack = require('editor/UndoStack'); var LabelPointer = require('controls/LabelPointer'); var LabelPainter = require('controls/LabelPainter'); var MeshHelpers = require('geo/MeshHelpers'); var Form = require('ui...
/* eslint-disable class-methods-use-this */ /* eslint-disable react/sort-comp */ /* eslint-disable react/destructuring-assignment */ /* eslint-disable no-unused-vars */ /* eslint-disable camelcase */ import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Form, Input, Button, Popover, Pro...
/****************************************************************************** * MarketplaceEnhancements.js * * Author: * <NAME> * * Collaborators: * <NAME> * * Created on: * 09.12.2012. * * ToDo: * It works * Documentation, log * and other * *****************************...
/** * Created by alykoshin on 6/30/14. */ 'use strict'; if ( typeof module !== 'undefined' && typeof require !== 'undefined') { var debug = require('./../../mylib/utils.js').debug; var BasicContainer = require('./basicContainer.js'); } var ALIGN = Enum({ TOP: 'TOP', RIGHT: 'RIGHT', BOTTOM:'BOTTOM',...
var UserDefinedProtocol = { // -turbidostat settings turbidostatODMin: 0.4, turbidostatODMax: 0.425, turbidostatODType: 720, ODReadoutInterval: 60, // -optimizer parameters controlledParameter: 'none', controlledParameterSteps: [[ 1100, 25 ], [ 440, 25 ], [ 55, 25 ]], // -optimizer stability check g...
import * as R from 'ramda' import moment from 'moment' import _ from 'lodash' import i18n from '@/locales' import { numerify } from '@/filters' import { getLanguage } from '@/utils/common/cookie' // import { encodeURI } from 'js-base64' let tIndex = 0 export const UNITS = ['B', 'K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'...
'use strict'; var fs = require('fs'); var Path = require('path'); var util = require('util'); var parser = require('./parser').parser; var md_conrefs = require('markdown_conrefs'); // keep a list of outside objects, so that we can link to proper documentation when required var additionalObjsJSON; // // helpers // f...
const path = require("path"); const _ = require("lodash"); const fs = require("fs-extra"); const uuid = require("uuid"); const uuidv5 = require("uuid/v5"); const moment = require("moment"); const crypto = require("crypto"); const siteConfig = require("./data/SiteConfig"); const config = require("./src/config"); const m...
/* * Copyright 2021-2022 Objectiv B.V. */ // noinspection UnnecessaryLocalVariableJS /** * * Script to generate Typescript definitions of events and contexts used by the tracker, based on the centralized * schema. The schema directory itself can be found in the root of the git repository (/schema). The base sche...
/******************************************************************************* - - Copyright 2019 IBM Corporation and others. - - 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 - - ...
/* Copyright 2013 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 agreed to in ...
frappe.pages['cms-page-builder'].on_page_load = function(wrapper) { var page = frappe.ui.make_app_page({ parent: wrapper, title: 'CMS Page Builder', single_column: true }); page.set_primary_action(__("Save"), function() { page_builder.save_page() }) page.set_secondary...
// Copyright 2017 <NAME>. // // 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 w...
import { LineSegment } from './LineSegment.js'; import { Plane } from './Plane.js'; import { SAT } from './SAT.js'; import { Vector3 } from './Vector3.js'; import { Logger } from '../core/Logger.js'; import { Polygon } from './Polygon.js'; import { Polyhedron } from './Polyhedron.js'; const line = new LineSegment(); c...
function setupGUI() { $(document).off('.data-api') $(document).on(`click`, `.btn-action`, actionButtonClicked) $(document).on(`click`, `.btn-trigger`, triggerButtonClicked) $(document).on(`click`, `.code-tag-module.debug-mode`, createCodeTagPopover) $(document).on( `click`, `.change-display-mode-icon`, c...
var util = { R: function R() { return parseInt(Math.random() * 1000); }, formatDateTime: function formatDateTime(d, pattern) { if (!d) return ""; if (typeof d != "object") { if (/[TZ]/.test(d) == false && /[-]/.test(d)) { // 考虑到浏览器兼容性问题,将yyyy-MM-dd转换成yyyy/MM/dd的格式再进行new Date d = d.replace(/...
"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 (b.hasOwnPrope...
// Util if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == ...
const COLORS = { "r":"red", "g":"green", "b":"blue", "y":"yellow", "k":"black" }; const ELECTRODE_STATUS = { "noisy":{ "label":"Noisy (ungrounded)", "shortlabel":"Noisy", "color":"rgb(191, 191, 191)" }, "quiet":{ "label":"Quiet (grounded, no activity)", ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var manifest = require('./manifest.json'); var RoutesManifestJson = require('./routes-manifest.json'); var Stream = require('stream'); var zlib = require('zlib'); var http = require('http'); function _interopDefaultLegacy (e) { return e && ...
// @ts-check /* * Stardew Valley Item Finder * https://gucci-on-fleek.github.io/Stardew-Valley-Item-Finder/ * SPDX-License-Identifier: MPL-2.0+ * SPDX-FileCopyrightText: 2021 gucci-on-fleek */ /** * @type {Object<String, Function>} */ let template, elements /** * Populates the template object with its member...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import React, { Component } from 'react'; import { withStyles } from '@material-ui/core/styles'; import MuiExpansionPanel from '@material-ui/core/ExpansionPanel'; import MuiExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary'; import MuiExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails...