text
stringlengths
5.97k
41.2k
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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 ("...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var ThemeShowcase_module_less_1 = tslib_1.__importDefault(require("./ThemeShowcase.module.css")); var DefaultTheme_1 = tslib_1.__importDefault(require("../../l...
var commandHistory = []; function validInput(){ var inputValue = document.getElementById('input').value.trim(); if (inputValue.length > 0){ var inputObject = getInputType(inputValue) // console.log("inputObject",inputObject); traiteInput(inputObject); updateInput(inputObject.inputNew); } } f...
'use strict'; const OverlayPlugin = require('./util/OverlayPlugin'); const log = require('loglevel'); log.setDefaultLevel('debug'); /* global google */ /** * Instance GPS plugin. * Provides GPS control. */ module.exports = class GPS extends OverlayPlugin { /** * Plugin initialization. * * @par...
(function() { 'use strict'; var register = function(cy) { if (!cy) { return; } // Can't Register if Cytoscape is Unspecified // Default Layout Options var defaults = { padding: 100, // Padding around the layout boundingBox: undefined, // Constrain layout bounds; {x1,y1,x2,y2} or {...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("antd/lib/row/style"); var _row = _interopRequireDefault(require("antd/lib/row")); require("antd/lib/modal/style"); var _modal = _interopRequireDefault(require("antd/lib/modal")); require("antd/lib/for...
import * as segmentsTypes from '../enums/segments' import EVENTS from '../enums/events' import MSG from '../enums/messages' import * as mseUtils from '../utils/mseUtils' import 'core-js/fn/array/find' const TYPE_CONTENT_VIDEO = 'video' const TYPE_CONTENT_AUDIO = 'audio' const BUFFER_MODE_SEGMENTS = 'segments' const B...
// Data const states = [ {name: "Alabama",capital: "Montgomery",largestCity: "Birmingham",abbreviation: "AL",lat: "32.3668052",lng: "-86.2999689"}, {name: "Alaska",capital: "Juneau",largestCity: "Anchorage",abbreviation: "AK",lat: "58.3019444",lng: "-134.4197221"}, {name: "Arizona",capital: "Phoenix",large...
'use strict'; const canvas = document.getElementById('glCanvas'); const gl = canvas.getContext('webgl', { alpha : false, premultipliedAlpha : false }); let depthTextureExtension = gl.getExtension('WEBGL_depth_texture'); const v3 = twgl.v3; const m3 = twgl.m3; const m4 = twgl.m4; const MS_PER_UPDATE = 1000 / 60; let...
import { takeEvery, takeLatest } from 'redux-saga/effects'; // import { message } from 'antd'; let callTakeEvery = function*(action, method) { return yield takeEvery(action, function*(...arg) { try { return yield method(...arg); } catch (e) { // message.warning(e && e.message, 3) console.lo...
import Page from 'components/Page'; import "react-datepicker/dist/react-datepicker.css"; import React from 'react'; import * as myUrl from '../urlLinkMasterG'; import { Button, Card, CardBody, CardHeader, Col, Row, Table, Modal, ModalBody, ModalFooter, ModalHeader, Input, Label, ButtonGroup, InputGroup, Inp...
// //load $(document).ready(function() { setTable(); $(".select2").select2({ dropdownParent: $('#Modal_add_rpp') // dropdownParent: parentElement }); // addrpp(); $('.datepicker').datepicker( { rtl: App.isRTL(), orientation: "left", autoclose: true, format: 'dd-mm-yyyy' }); validate_add_rpp(); ...
/** * @Author: <NAME> <choxnox> * @License: MIT */ var async = require("async"); var changeCase = require("change-case"); var fs = require("fs"); var _ = require("lodash"); var app = { hooks: {}, init: {} }; var _app = {}; var _options = {}; var _utils = { filesystem: require("./util...
let notif = document.querySelector(".main"); let show = document.querySelectorAll(".hide-me"); let loc1 = document.querySelector(".r2d1"); let loc2 = document.querySelector(".r2d2"); let loc3 = document.querySelector(".r2d3"); let loc4 = document.querySelector(".r2d4"); let loc5 = document.querySelector(".r2d5"); let l...
let currentAccount; let lastTransactionTime; let contractAddress; contractAddress = 'TFrBVjdpsuWQUMtjFpMxhUKg2q3oa6rgGv'; // contractAddress = 'TXdYyohKtHDrvfsaT5cd9SUGvymxVMqG1X'; //Shasta NetWork const defaultSponsor = 'TGiyNohpFQcC<KEY>'; // const defaultSponsor = 'TLe7Y2D7w7a3iNdiwqnHnaSfNPFBBEN7tB'; //Shasta l...
import React, { useEffect, useState } from "react"; import PropTypes from "prop-types"; import SwipeableViews from "react-swipeable-views"; import CustomToolbar from "../../CustomToolbar"; import Checkbox from "@material-ui/core/Checkbox"; import { makeStyles, useTheme } from "@material-ui/core/styles"; import Select f...
var myDropzone = ""; var $select = ""; var $selectCon = ""; Dropzone.autoDiscover = false; var totalSize = 0; var totalCost = 1; var diffDays = 7; function showPaymentWindow() { window.popup = window.open("http://www.google.com", 'importwindow', "toolbar=no," + "location=no," + "st...
/* Restore Themes */ function _restoreThemes() { chrome.storage.sync.get({ 'VFM_CURRENT_THEME': {selected: 'vfm-standard'}, 'VFM_THEMES': [] }, function(get) { var vct = get.VFM_CURRENT_THEME; var vt = get.VFM_THEMES; vt.forEach(function(theme) { const btn ...
/** * Babelute Lexicon class and helpers. * @author <NAME> * @licence MIT * @copyright 2016-2017 <NAME> */ import assert from 'assert'; // removed in production import Lexem from '../lexem'; import Babelute from '../babelute'; import FirstLevel from './first-level'; import { addToInitializer, createInitializer } ...
/** * Created by xhl on 15-12-2. */ function ad_jqgrid(captionString, colNamesList, colModelListDict, queryurlString, editurlString, multiselectBool, navGridBool) { //数据填充地址 var grid_selector = "#grid-table"; var pager_selector = "#grid-pager"; //网格选择器,[数据类型,高度,列标题头,列属性,常规属性] jQuery(grid_selecto...
/** * * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
import { Contract, ethers } from "./ethers-5.0.esm.min.js"; var provider, signer, networkInHouse = ['name', 'networkId', 'explorerToken', 'explorerTx'], isMetaMaskLocked, address, contractABIToUse, contractType, contractAddress; var metamaskStatus = $('#metamask-status'); var accountAddress...
/* CONFIGURATION STARTS HERE */ /* Step 0: for each website you can add an field to this object */ const sites = { /* Step 1: enter your domain name like fruitionsite.com */ "emindeniz99.com": { /* Step 2: enter your URL slug to page ID mapping * The key on the left is the slug (without the slash) * ...
'use strict'; function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _i...
var computedState = ko.utils.createSymbolOrString('_state'); ko.computed = ko.dependentObservable = function (evaluatorFunctionOrOptions, evaluatorFunctionTarget, options) { if (typeof evaluatorFunctionOrOptions === "object") { // Single-parameter syntax - everything is on this "options" param ...
var validator = require('validator'); var eventproxy = require('eventproxy'); var config = require('../../config'); // var User = require('../proxy').User; var mail = require('../../common/mail'); var tools = require('../../common/tools'); var utility = require('util...
'use strict' let can,cam,space,massLabel,massSlider,LLabel,LSlider,VLabel,VSlider,scaleSlider,yScaleSlider,cInput,cButton,fInput,RPNstack,setters,advVal,tempEl,timeAcc,detailIn,N,sliderURe,sliderUIm,sliderWRe,sliderWIm,Ulabel,Wlabel,NLabel,NLabel2,phi,pDomainSize,pspace,momPDF,showMomBox; let openHelpPanels=0; let t=0;...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. ...
import * as Tone from 'tone'; import * as Global from './globals.js' var longverb; var chorus; var reverb; var globalSynthLPF; var pingPong; var noisegain, noise, noiseGainMult, noiseEnv, noiseUsrGain; var fmSynths = []; var fmSynthsUsed = []; var noiseSynths = []; var noiseSynthsUsed = []; var padSynths = []; var pad...
// Copyright (c) 2016 CanalTP // // 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, publish, distr...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/////////////////////// // FUNCTIONS /////////////////////// ////////////////////////////////////////////////// // To show or hide labels on the map // labels.toggle(true|false) labels.toggle = function(option) { labels_layers = [ "country-label", "state-label", "settlement-ma...
// Shared Imports import * as debug from '../../utils/debug'; import { utils } from '../../utils/utils'; import { charts } from '../charts/charts'; import { Locale } from '../locale/locale'; import '../emptymessage/emptymessage.jquery'; // Settings and Options const COMPONENT_NAME = 'radar'; // Default Radar Options...
var Container = require('../display/Container'), Rectangle = require('../geom/Rectangle'), ObjectPool = require('../utils/ObjectPool'), ObjectFactory = require('../utils/ObjectFactory'), //camera fx Close = require('../fx/camera/Close'), Fade = require('../fx/camera/Fade'), Flash = require('...
/* */ // Get the name of the called macro let macroName = this.name; // Display a UI message if no actor is selected if (!actor) { ui.notifications.warn(`An actor must be selected prior to calling the ${macroName} macro.`); } // FUNCTIONS // Define the print message function function printMessage(message){ let...
import React from 'react' import SupplierModal from './SupplierModal' import Page from 'components/Page'; import { Pagination, PaginationItem, PaginationLink, Alert, Button, Modal, ModalHeader, ModalBody, ModalFooter, Table} from 'reactstrap'; import { MdDeleteForever, MdDoneAll, MdRemoveCircleOutline } from "react-ic...
/* * MaxTouch.js is developed by <NAME> * * License: MIT */ /*Touch * * TODO: * *setGlobalFunction= Eine Function setzen die für alle Touch elemente Gilt, ausser bei dennen die Überschrieben werden. * *Pinch to Zoom! * *Rotate * *Drag And Drop * *Ausserhalb: User Interface designe...
// ag-grid-enterprise v19.0.0 "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];...
'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } var asap = require('asap'); var _waterfall = require('a-sync-waterfall'); var lib = require('./lib'); var compiler = ...
'use strict'; var Vector3 = require( './vector3' ); function Matrix4( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) { this.elements = new Float32Array( 16 ); var te = this.elements; te[ 0 ] = ( n11 !== undefined ) ? n11 : 1; te[ 4 ] = n12 || 0; te[ 8 ] = n13 |...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
/** * Copyright 2017 Tierion * 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, ...
var app = { pxScale: 1.28, baseColors: {}, baseColorsScreen: { image: true, 0: { stroke: 0xFFFFFF, background: 0x000000, html: "#FFFFFF", borderhtml: "#000000" }, 1: { stroke: 0x4AC99F, background: 0x000000, html: "#4AC99F", borderhtml: "#4AC99F" }, 2: { stroke: 0xF2911B...
/** * @file canonicalurl.js * @copyright <NAME>, <NAME>, 2016 * @author <NAME> <EMAIL> @lmrei * @license MIT * * See https://www.github.com/lrei/canonicalurl * Unshortens and extracts canonical URLs (or OpenGraph URLs) */ const fs = require('fs') const os = require('os') const cluster = require('cluster') cons...
const { ipcRenderer } = require('electron'); const dialog = require('electron').remote.dialog; const runButton = document.getElementById("run-btn"); const halfTimeSetSelect = document.getElementById("half-time-label"); const saveAsButton = document.getElementById("save-as-btn"); const addGasButton = document.getElement...
/*jslint browser:true*/ /* globals jQuery,ajaxurl,grecaptcha */ jQuery(document).ready(function() { 'use strict'; jQuery('.wpucontactforms-form-wrapper').each(function() { set_wpucontactforms_form(jQuery(this)); }); }); /* ---------------------------------------------------------- Recaptcha ----...
import React from 'react' import { Row, Popconfirm, Divider, Table, Select, Button, Modal, Icon, InputNumber, Col, Popover } from 'antd' import html2canvas from 'html2canvas' import products from '../../../data/products' import { setValueLocalstorage, getValueLocalstorage, handleInputNumber, extractI...
// The event loop. // // Each browser has an event loop, which processes asynchronous events like // loading pages and resources, XHR, timeouts and intervals, etc. These are // procesed in order. // // The purpose of the event loop is two fold: // - To get events processed in the right order for the active window (and ...
export const CodePoint = { _0_: '0'.codePointAt(0), _1_: '1'.codePointAt(0), _9_: '9'.codePointAt(0), _a_: 'a'.codePointAt(0), _f_: 'f'.codePointAt(0), _A_: 'A'.codePointAt(0), _F_: 'F'.codePointAt(0), _openCurly_: '{'.codePointAt(0), _openSquare_: '['.codePointAt(0), _closeCurly_: '}'.codePointAt(0...
/* * Welcome to the server.js file, this file. This file is written in * ES6 and is expected to run in node. * * There is a lot of scripting at the top of this file, most of which * is to make sure the user has completed all the steps needed to * actually run the dashboard properly. This will be checking for * t...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments 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 required by applicable law or agreed to in writing, software * distribut...
var temoinTaille = 0; var temoinPoids = 0; var temoinTemperature = 0; var temoinPouls = 0; function maskDeSaisie(){ /****** MASK DE SAISIE ********/ /****** MASK DE SAISIE ********/ /****** MASK DE SAISIE ********/ $(function(){ $("#pressionarterielle").mask("299/299"); $("#glycemie_capillai...
var Backbone = require('backbone'); var Marionette = require('backbone.marionette'); var _ = require('underscore'); require('kiubi/utils/proxy.jquery-ui.js'); var ControllerChannel = Backbone.Radio.channel('controller'); var FormBehavior = require('kiubi/behaviors/simple_form.js'); var SelectifyBehavior = require('ki...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const ts = require("typescript"); const ...
var async = require('async'), debug = require('debug')('rigger'), getit = require('getit'), Stream = require('stream').Stream, fs = require('fs'), path = require('path'), util = require('util'), _ = require('underscore'), // define some reusable regexes, reLineBreak = /\n/, reTr...
/* eslint-disable max-classes-per-file */ const {Duplex} = require('stream'); const {totalmem} = require('os'); const LinkedList = require('linkedlist'); class CachingStream extends Duplex { #parent; /** * Construct a StreamingCache for efficient memory caching capability * @param {StreamCache} parent A pa...
var setting = { view: { addHoverDom: addHoverDom, removeHoverDom: removeHoverDom, selectedMulti: false }, async: { enable: true, url: ctx.path+"/platform/pm/getMenusByMenuTypes.do", otherParam: { "menuTypes":"0,1","states":"1,2"}, dataFilter: filter }, data: { ...
import { useEffect, useState, useRef } from "react"; import { utils } from "web3"; import { useWeb3React } from "@web3-react/core"; import { InjectedConnector } from "@web3-react/injected-connector"; import { WalletConnectConnector } from "@web3-react/walletconnect-connector"; import cn from "classnames"; //import debo...
var express = require('express'), tls = require('tls'), fs = require('fs'), app = express(), http = require('http'), path = require('path'), colorNamer = require('color-namer'), WebSocketClient = require(...
function login() { /**/ var provider = new firebase.auth.GoogleAuthProvider(); firebase.auth().signInWithPopup(provider).then(function (result) { // This gives you a Google Access Token. You can use it to access the Google API. var token = result.credential.accessToken; // The ...
var INTERSECTION = 0; var UNION = 1; var DIFFERENCE = 2; var XOR = 3; var EMPTY = []; var edgeType = require('./edge_type'); var Queue = require('tinyqueue'); var Tree = require('bintrees').RBTree; var SweepEvent = require('./sweep_event'); va...
"use strict"; var _ = require("underscore"); var util = require("substance-util"); var html = util.html; var Surface = require("substance-surface"); var Outline = require("substance-outline"); var View = require("substance-application").View; var TOC = require("substance-toc"); var Data = require("substance-data"); va...
const child_process = require('child_process') const cmd = require('./cmd') const fs = require('fs').promises const fss = require('fs') const unzipper = require('unzipper') const glob = require('glob') const os = require('os') const path = require('path') const paths = require('./paths') const prettier = require('prett...
/************************************************* Copyright 2017 Jive Software 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 appl...
var MODULES = { "youtube": { commands: ["seek_abs", "seek_rel", "pause", "resume"], parameters: [ "url", "title", "duration", "site", "media", "thumbnail", "description", "time", "status", "vid" ], background: false }, "text": { commands: [], ...
/************************ ****** Kristoffer ****** ****** Kuvaja ****** ************************* ****** Front End ***** ****** Projekt 1 ***** ************************/ /********************* ****** Uppg 1 ****** ****** ****** **********************/ //Spara namnet i a och b, combinera dem oc...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FocusHelpers = void 0; const xplat_utils_1 = require("@nstudio/xplat-utils"); const path_1 = require("path"); const fs_1 = require("fs"); const workspace_1 = require("@nrwl/workspace"); const xml2js = require("xml2js"); var FocusHelper...
/** * The MIT License (MIT) * * Copyright (c) 2015 Famous Industries 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...
/** Money NB: based on the thing.org type MonetaryAmount TODO It'd be nice to make this immutable (can we use Object.freeze to drive that thrgough??) */ import { assert, assMatch } from '../utils/assert'; import {asNum, isNumeric} from '../utils/miscutils'; import DataClass, {getType} from './DataClass'; import C fro...
const fs = require('fs'); const EventEmitter = require('events'); const Q = require('q'); const _ = require('busyman'); const zclId = require('zigbee-bridge-definitions'); const proving = require('proving'); const Objectbox = require('objectbox'); const debug = { bridge: require('debug')('zigbee-bridge'), }; cons...
/* count number of message qeues on the list view */ var $postListViewCount = 0; var $MAX_ITEM = 0; var $POST_VIEW_LIST = {}; var $COMMENTS_VIEW_LIST = new Array(); /* Choose Text by default*/ var $SELECTED_POST_TYPE = 'text/plain'; var image_submit = false; var mark_down = false; /* struct.js runs from here. Placing ...
/* eslint-disable no-control-regex */ import { NumberExt } from '../number'; import { Text } from '../text'; import { attr } from './attr'; import { Vector } from '../vector'; import { createSvgElement, empty, remove } from './elem'; import { Platform } from '../platform'; function createTextPathNode(attrs, elem) { ...
//Odabir fajla tj. JSON niza i prikaz u txtA let txtA = document.getElementById('txtA'); //Definisanje drugih parametara i elemenata... let txtB = document.getElementById('txtB'); let txtC = document.getElementById('txtC'); let input = document.querySelector('input'); input.addEventListener('change', () => { l...
'use strict'; let L = require('leaflet'); let esri = require('esri-leaflet'); require('proj4leaflet'); require('leaflet-fullscreen'); require('leaflet.heat/dist/leaflet-heat'); // http://kartena.github.io/Proj4Leaflet/examples/wmts/ // http://kartena.github.io/Proj4Leaflet/examples/wmts/script.js // Using-LDS-XYZ-til...
// Javascript functions for displaying Bluetruth data /* eslint-env es6 */ /* eslint no-console: "off" */ /*global $, L, API_TOKEN */ // m/sec to mph var TO_MPH = 2.23694; // Style options for markers and lines var SITE_OPTIONS = { color: 'black', fillColor: 'green', fill: true, fillOpacity: 0.8, ...
$('#save,#update').on("click",function (e) { var base_url=$("#base_url").val(); //Initially flag set true var flag=true; function check_field(id) { if(!$("#"+id).val() ) //Also check Others???? { $('#'+id+'_msg').fadeIn(200).show().html('Required Field').addClass('required'...
/** * Identifies the position of a DOM or Shadow DOM element * @param element * Element to identify the position of * @returns Object with two properties x and y (in CSS px) */ function getPosition(element) { var xPosition = 0; var yPosition = 0; while(element) { xPosition += (element.offset...
/* * Copyright 2017-2021 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 req...
import React from 'react'; import PropTypes from 'prop-types'; const STOP = 'stop'; const CYCLE = 'cycle'; const VERTICAL = 'vertical'; const VERTICAL_REVERSE = 'vertical-reverse'; const HORIZONTAL = 'horizontal'; const HORIZONTAL_REVERSE = 'horizontal-reverse'; const NONE = 'none'; const integrateArrayOfStyleObject...
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||...
"use strict"; var _path = _interopRequireDefault(require("path")); var _fs = _interopRequireDefault(require("fs")); var _stream = _interopRequireDefault(require("stream")); var _ava = _interopRequireDefault(require("ava")); var _readChunk = _interopRequireDefault(require("read-chunk")); var _pify = _interopRequir...
/* * django-selectable UI widget * Source: https://bitbucket.org/mlavin/django-selectable * Docs: http://django-selectable.readthedocs.org/ * * Depends: * - jQuery 1.4.3+ * - jQuery UI 1.8 widget factory * * Copyright 2010-2012, <NAME> * BSD License * */ (function($) { $.widget("ui.djselectable", { ...
#!/usr/bin/env node "use strict"; var mumble = require('mumble'); var fs = require('fs'); var striptags = require('striptags'); var R = require('ramda'); var decoder = require('./decoder.js'); var argv = require('yargs') .usage('Usage: $0 [options] [script1 script2 ...]') .alias('s', 'server') .describe(...
///////////////////////////////////////////////// /***********************************************/ var Localization = { 'coins': 'Goldwert', 'coin_copper': 'KM', 'coin_silver': 'SM', 'coin_electrum': 'EM', 'coin_gold': 'GM', 'coin_platinum': 'PM', 'weight': 'Traglast', 'warmth': 'Wärm...
/** Created by Complynx on 22.03.2019, http://complynx.net <<EMAIL>> <NAME> This is the main module of the map GUI The init function is in the end */ /** * Here are some templates * First one is the main GUI component */ let html = `<div class="map-gui"> <div class="buttons"> <a class="no-gl mfi" hr...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
// D3 import { axisBottom as d3AxisBottom } from 'd3-axis'; import { scaleLinear as d3ScaleLinear, scaleSequential as d3ScaleSequential } from 'd3-scale'; import { event as d3Event, select as d3Select, selectAll as d3SelectAll } from 'd3-selection'; // Lodash import cloneDeep from 'lodash/cloneDeep'; impor...
let options = { hour: 'numeric', minute: 'numeric', year: 'numeric', month: '2-digit', day: '2-digit' } String.prototype.strstr = function (search) { let position = this.indexOf(search) if (position == -1) { return this } return this.substring(0, position) } String.prototype.capitalize = function () { ...
//dataset array gets made outside var dataset = [] rectangleArray=[]; //to empty it when put in new number //dimensions of svg canvas var width = 900; var height = 200; //reads in the data from this csv d3.csv("data.csv", function(data) { //function custom_chart(data) { //have a global variable: prev clicked so...
(function(){ isWindows = navigator.platform.indexOf('Win') > -1 ? true : false; if (isWindows && !$('body').hasClass('sidebar-mini')){ // if we are on windows OS we activate the perfectScrollbar function $('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar(); $('html').add...
import Feature from 'ol/Feature'; import { Point } from "ol/geom"; import { unByKey } from 'ol/Observable'; import { fromLonLat, toLonLat } from 'ol/proj'; import { Fill, Stroke, Style, Text } from "ol/style"; import CircleStyle from 'ol/style/Circle'; import { getCurrentMap, getCurrentProjCode } from '../core/mapTool...
/* * Copyright (C) 2013 Google Inc. 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 conditio...
let settings, defaults, token; const TIME_ONE_DAY = 86400000; const CARDS_CLASS_WAITING = "ales-card--waiting"; const CARDS_CLASS_NOARROW = "ales-card--noarrow"; const CHAR_BULLET = "·"; const CAPITALIZE_FIRST = 1, CAPITALIZE_WORDS = 2; const strings = { format: { TV: "TV", TV_SHORT: "TV Short", MOVI...
import React, {Component} from 'react'; import Dragula from 'react-dragula'; import {RIEInput, RIENumber} from 'riek'; import DatePicker from 'react-datepicker'; import moment from 'moment'; import fileDownload from 'js-file-download'; import 'react-dragula/dist/dragula.min.css'; import 'bulma-extensions/bulma-tooltip...
function buf(){ bx.clearRect(0,0,document.getElementById('b').width,document.getElementById('b').height); var ptx=0, pty=0; wh=0; wm=0; if(tim!==2&&tim!==3){ if(ka){ ptx=-2 } if(kd){ ptx+=2 } if(ks){ pty=2 } if(kw){ pty-=2 } if(!ksh[2]){ if(ksh[0]&&(ptx!=0||pty!=0)){ if(ksh[...
import * as loop from "./loop.js"; import * as view from "./view.js"; import { Terminal } from "./terminal.js"; import * as input from "./input.js"; import * as keyboard from "./keyboard.js"; import * as pointer from "./pointer.js"; import { Vector } from "./vector.js"; import { Random } from "./random.js"; import * as...
import React, { Component } from 'react'; import { View, TouchableOpacity, Text, DeviceEventEmitter, ToastAndroid, StyleSheet, Dimensions, Image, } from 'react-native'; import { RadioGroup, RadioButton } from 'react-native-flexi-radio-button'; import styles from '../styles'; import { MAPX_FILE_PATH } fr...
import { select, format, drag, event, timeSecond, timeFormat, timeMinute, timeHour, timeDay, timeMonth, timeWeek, timeYear } from 'd3'; function reset(id) { const s = select(`#${id}`); const canvas = s.select("g.canvas"); if (canvas && !canvas.empty()) { canvas.selectAll("*").remove(); canv...
import { FresnelShader } from 'https://threejs.org/examples/jsm/shaders/FresnelShader.js'; var bubbles = []; export default class template_2 { constructor (elem) { this.scene = null; this.camera = null; this.gui = null; this.gltfLoader = null; this.elem = elem; this.object = null; } asy...