text
stringlengths
8.5k
48.7k
const { ipcRenderer, clipboard, nativeImage, remote } = require('electron'); const { $ } = require('./getCurWin'); const fs = require('fs'); const islinux = process.platform == 'linux'; // retina显示屏和普通显示屏 const ratio = window.devicePixelRatio || 1; const canvasDom = $('canvas'); const canvasDomCtx = canvasDom...
var nb_codeVersion = 20200429; var nb_dataVersion = 20190412; var drag = new Drag(); var $overlay = $('.overlay'); $(window).resize(adjustLayout); adjustLayout(); function Note(text){ this.text = text; this.raw = false; this.min = false; } function List(title){ this.title = title; this.notes = [ ...
//文件夹radio树形下拉框值 var Nodes1 = []; var worktable = { pageIndex:1, pageNum:20, worktable_id:"", loadFirst:true, //是否第一次加载 orderColName:"", //排序字段 orderColType:"", //排序字段类型 orderType:"asc", //排序规则 cxtj1:"", //工作表查询条件1 cxtj2:"", //工作表查询条件2 czlx:"1", //操作类型 1:全局刷新;2:下一页append刷新; isInitNextPage:true, table...
/* jshint -W097 */ /* jshint strict:false */ /* jslint node: true */ 'use strict'; const adapterName = require('./io-package.json').common.name; const utils = require('@iobroker/adapter-core'); // Get common adapter utils //const LE = require(utils.controllerDir + '/lib/letsencrypt.js'); const createStreamServe...
// ==UserScript== // @id <EMAIL> // @name WFTools // @author rRuleZ | <EMAIL> // @version 0.0.4.20191124.001 // @description WFTools: One Script for aprove All VALID portals // @include https://wayfarer.nianticlabs.com/* // @match https://wayfarer.nianticlabs.com/* // @include ...
"use strict" //Variable para guardar la fecha y hora actual let fHoy = new Date(); //Variable donde guardaremos la hora de la cita devuelta let horaCita = ""; //Variable para guardar la conexión creada let xmlHttp; //Variable para guardar la fila let fila; //Variable para el dataTable let dataT; $(() => { //Asign...
const stateChoices = [ {id: '00', displayName: '-'}, {id: 'AL', displayName: 'Alabama'}, {id: 'AK', displayName: 'Alaska'}, {id: 'AZ', displayName: 'Arizona'}, {id: 'AR', displayName: 'Arkansas'}, {id: 'CA', displayName: 'California'}, {id: 'CO', displayName: 'Colorado'}, {id: 'CT', displayName: 'Connec...
let json = JSON.stringify(require('../data/civs_breakdown.json')); const replacer = [ {var: "UNIQUE_UNIT", str: "UNIQUE UNIT"}, {var: "ELITE_UNIQUE_UNIT", str: "ELITE UNIQUE UNIT"}, {var: "UNIQUE_TECH_1", str: "UNIQUE TECH 1"}, {var: "UNIQUE_TECH_2", str: "UNIQUE TECH 2"}, {var: "MONK_PREFIX_MESO", str: "meso_"}, {var...
/* * Ma_Sys.ma DirStat 2.0.0.0 Filter by File Type, Copyright (c) 2014 Ma_Sys.ma. * For further info send an e-mail to <EMAIL>. */ function TypeView() { } TypeView.prototype = new ViewJS(); var ref = TypeView.prototype; ref.root = null; ref.create = function() { this.createFromStructure(this.createCountStructure...
var path = require('path'); var channel = module.parent.exports.channel; var ngc = require('nodegame-client'); var Stager = ngc.Stager; var stepRules = ngc.stepRules; var GameStage = ngc.GameStage; var J = ngc.JSUS; var stager = new Stager(); var counter = 0; var PLAYING_STAGE = 1; var MIN_PLAYERS = 4; //Round 1 of 4...
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; import { action } from '@storybook/addon-actions'; import configureStore from 'redux-mock-store'; import Layout from '../layout.component'; const styles = { layoutArea: { display: 'flex', ...
jQuery( document ).ready(function ($) { function advads_load_ad_type_parameter_metabox(ad_type) { jQuery( '#advanced-ad-type input' ).prop( 'disabled', true ); $( '#advanced-ads-tinymce-wrapper' ).hide(); $( '#advanced-ads-ad-parameters' ).html( '<span class="spinner advads-ad-parameters-spinner advads-spinner">...
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { cloneElement, Component } from 'react'; import { StyleSheet, ScrollView, View, Text, TextInput, Switch, Picker, Platform, Dimensions, TouchableOpacity, ListView, } from 'react-native'; import { Button, CheckBox } fro...
hist = { 'canvas_font': [], 'canvas_logo': [], 'canvas_raw': [] }; function update_hint_char(ch) { $('.hint_char').text('Symbol ' + toHex(ch) + ' (' + ch + ')'); } function load_image(src) { var id = get_current_canvas_id(); var canvas = document.getElementById(id); var ctx = canvas.getCont...
// inspired by <NAME>'s fontdetect.js // https://www.lalit.org/wordpress/wp-content/uploads/2008/05/fontdetect.js?ver=0.3 const getFontsShortList = () => [ 'Droid Sans Mono', // Android 'Geneva', // mac (not iOS) 'Helvetica Neue', // Apple 'Lucida Console', // Windows 'Noto Color Emoji', // Linux 'Roboto', // An...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); exports.__esModule = true; exports.default = exports.InputPickerContext = void 0; var _taggedTemplateLiteralLoose2 = _interopReq...
// NPM requires const chalk = require("chalk"); const fs = require("fs"); const format = require("date-fns/format"); const md5 = require("md5"); const zlib = require("zlib"); // Files requires const config = require("./config.json"); //---------------------------------------------------------------------------------...
import { expect } from "chai"; import EvmError from "./helpers/EVMThrow"; import { prettyPrintGasCost } from "./helpers/gasUtils"; import { eventValue } from "./helpers/events"; import { EVERYONE } from "./helpers/triState"; import { deployAccessControl } from "./helpers/deployContracts"; import roles from "./helpers/r...
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext.item"); frappe.ui.form.on("Item", { setup: function(frm) { frm.add_fetch('attribute', 'numeric_values', 'numeric_values'); frm.add_fetch('attribute', 'from_rang...
/** * An EarningRecord represents one year of Social Security earning data. * @constructor */ function EarningRecord() { this.year = -1; this.taxedEarnings = -1; this.taxedMedicareEarnings = -1; this.earningsCap = -1; this.indexFactor = -1; this.isTopEarningsYear = null; this.credits = 0; } /**...
$(document).ready(function(){ clearload(); var nameDeli='<a href="/weekly">Schedule Weekly</i></a>'; $('.nameDeli').html(nameDeli); $('#sidebar5').addClass('active') //get base URL ********************* var url = $('#url').val(); var baseUrl = $('#baseUrl').val(); $('.js-example-bas...
import faker from 'faker'; import moment from 'moment'; import keyBy from 'lodash/keyBy'; import mocks from 'mocks'; export const arrayToString = (array = []) => JSON.stringify(array.map(String)); /** * Utility Functions */ // Generate UIDs const uids = []; export const generateUid = (type = '') => { const uid...
/*! Naive test suite */ import assert from 'assert'; import typs from './typs'; const nan = parseFloat(''); // no-op check -> if no costraints are specified, it should always check assert(true === typs().check()); assert(true === typs().checkOn()); assert(true === typs().is(typs())); assert(false === typs().doesn...
// JavaScript by <NAME> http://www.aphayes.pwp.blueyonder.co.uk/ // Copyright 2001-2013 // This code is made freely available but please keep this notice. // I accept no liability for any errors in my coding but please // let me know of any errors you find. My address is on my home page. // The place definitions and f...
// Copyright (c) 2021, <NAME> and contributors // For license information, please see license.txt frappe.ui.form.on('Emitir Boletos por Faturas de Venda', { onload(frm) { atualiza_query_fatura(frm); }, refresh: function(frm) { if(frm.doc.docstatus == 0) { frm.add_custom_button(__('Selecionar faturas'), fun...
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.hasOwnProperty(p)) d[p] =...
var presets = [ [[15.2,32.1,7.6],[3,0.329,0.15,0.321,0.145,0.709,3,2,4,0.269,0.662],[0,"#000000",3,"#f5f5c1",12,"#158a34",68,"#89e681",100]], [[15.2,32.1,5],[3,0.273,0.117,0.288,0.243,0.348,3,2,4,0.269,0.662],[1,"#000000",3,"#f5f5c1",8,"#158a34",17,"#89e681",20]], [[4,12,1],[2,0.115,0.269,0.523,0.34,0.746,3,4,4,0...
///COUCHES POINTS D'EAUX POUR LA PAGE "DIAGNOSTIC POINTS EAUX" /*création <NAME>*/ ///Paramètre généraux et habillage de la carte //Création des différents panes (ordre de superposition des couches) map.createPane('fond'); map.getPane('fond').style.zIndex = 500; map.getPane('fond').style.pointerEvents = 'none'; map....
const CLOUDFRONT_URL = 'https://d2k5nsl2zxldvw.cloudfront.net'; const NEW_EXPENSIFY_URL = 'https://new.expensify.com'; const PLATFORM_OS_MACOS = 'Mac OS'; const ANDROID_PACKAGE_NAME = 'com.expensify.chat'; const CONST = { ANDROID_PACKAGE_NAME, ANIMATED_TRANSITION: 300, // 50 megabytes in bytes API_MAX...
var acorn = require('acorn'); var terser = require("terser"); var fs = require('fs'); var path = require('path'); // Setup var print = function(x) { process.stdout.write(x + '\n'); }; var printErr = function(x) { process.stderr.write(x + '\n'); }; var read = function(x) { return fs.readFileSync(x).toString();...
/** * Line Listing Screen * - Shows a list of lines * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, ListView, RefreshControl, ScrollView, TextInput, TouchableOpacity, W...
import React, { useEffect, useRef } from "react"; import tw, { styled } from "twin.macro"; import useSWR from "swr"; import { useDispatch } from "react-redux"; import { parseISO, format as formatDateTime } from "date-fns"; import { useLocation } from "react-router-dom"; import queryString from "query-string"; import w...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _mergeClassNames = _interopRequireDefault(require("merge-class-names")); var _Navig...
import { d as defaultTagPrefix, _ as _createForOfIteratorHelper, a as _typeof, b as _createClass, c as _classCallCheck, e as _defineProperty, Y as YAMLSyntaxError, T as Type, f as YAMLWarning, g as YAMLSemanticError, h as _slicedToArray, i as YAMLError, j as _inherits, k as _createSuper } from './PlainValue-ff5147c6.js...
// Copyright 2019 NEC 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 ...
/* * TLSH is provided for use under two licenses: Apache OR BSD. * Users may opt to use either license depending on the license * restictions of the systems with which they plan to integrate * the TLSH code. */ /* ============== * Apache License * ============== * Copyright 2013 Trend Micro Incorporated * *...
const assert = require("assert") const { vec2, vec3, vec4, quat, mat2, mat2d, mat3, mat4} = require("gl-matrix") const gl = require('./gles3.js') const glfw = require('./glfw3.js') const vr = require('./openvr.js') const glutils = require('./glutils.js'); const N = 32; const DIM = vec3.fromValues(N, N, N) if (!glfw...
/** * Copyright 2014 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
const axios = window.axios; var canvas = document.createElement('canvas'); var context = canvas.getContext('webgl2'); renderer = new THREE.WebGLRenderer({ canvas: canvas, context: context }); //camera = new THREE.PerspectiveCamera(); //scene = new THREE.Scene(); mouse = new THREE.Vector2(); clock = new THREE.Clock(); ...
import {globals as globals_, clamp as clamp_} from './worker-globals.js'; import {getLayerPropertyValue as getLayerPropertyValue_, getLayerExpresionValue as getLayerExpresionValue_} from './worker-style.js'; import {addText as addText_, getSplitIndex as getSplitIndex_, getTextLength as getTextLength_, getFont...
import { Message, MessageBox } from 'element-ui'; import calc from '@/utils/calc'; import router from '@/router'; import store from '@/store'; import secret from '@/utils/secret'; import axios from '@/httpConfig/http'; // 用户设备信息 function $getInfo() { const { platform, userAgent } = navigator; const info = []; le...
/* /_includes/tcm-common-code.js code shared by: /assets/js/theCookieMachine.js - Draggable Modal Dialog /tcm.md - The Cookie Machine documentation webpage */ // Get all .tcm-button class instances `/_layouts/default.html` has // .tcm-button in two different place. Old format was to have #tcm_button // ID in ...
/* Copyright (c) 2012, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://yuilibrary.com/license/ */ var Stack = require('./stack').Stack, path = require('path'), fs = require('fs'), mkdirp = require('mkdirp'), log = require('./log'), noop = function () {}, tasks = requ...
/** * https://publications.europa.eu/en/web/eu-vocabularies/th-dataset/-/resource/dataset/eurovoc/version-20181220-0 */ var fs = require('fs'); var async = require('async'); var request = require('request'); var ndjson = require('ndjson'); const socket = require('../../routes/socket.js'); const elasticRestProxy = re...
const { ipcRenderer,remote } = require("electron"); const storage = require('electron-json-storage'); const fs = require("fs"), path = require("path"); const timeago = require('timeago.js'); const App = require('./app'); const Knowledge = require("./knowledge"); const Editor = require("./editor"); const Win = requ...
var express = require('express'); var path = require('path'); var log4js = require('log4js'); const noble = require('noble-mac'); var earbud = null var createBuffer = require('audio-buffer-from') var format = require('audio-format') const portAudio = require('naudiodon'); var utils = require('./utils'); var earbudName...
const TreeRulePrototype = require('../prototypes/TreeRulePrototype'); const ParseUtils = require('../../isml_tree/ParseUtils'); const TreeBuilder = require('../../isml_tree/TreeBuilder'); const Constants = require('../../Constants'); const ruleId = require('path').basename(__filename).slice(0...
const t = require('@babel/types'); const template = require('@babel/template').default; const fs = require('fs'); const findUp = require('find-up'); const path = require('path'); const types = require('./types'); const DirectiveName = 'ReactVueLikeDirective'; const ObserverName = 'Observer'; const LibraryName = 'reac...
/* * 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...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AdapterMemoryClient = void 0; const _ = require('lodash'); let async = require('async'); const pip_services3_commons_node_1 = require("pip-services3-commons-node"); const pip_services3_components_node_1 = require("pip-services3-compone...
var startingY = -14; var boxMass = 1000; var boxRestitution = .2; var useNumberTexture = false; //display shape ID's on the blocks var numBlocksToMatch = 3; //create a random box in a random location function Shape(scene, world, boxWidth, boxHeight, boxDepth, gameState, numBoxesWide, wallData) { //numBoxesWid...
// source from kej's FLV Retriever const str = process.argv[2]; var YouTubeParser, getYouTubeUrl; if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(needle) { var i, item, j, len, pos; pos = -1; for (i = j = 0, len = this.length; j < len; i = ++j) { item = this[i]; if (item =...
/*! This is open-source. Feel free to use, modify, redistribute, and so on. */ var ui = { STATE_ADD_ACTOR: 'addActor', STATE_ADD_LINK: 'addLink', STATE_ADD_NODE: 'addNode', STATE_VIEW: 'view', currentButton: null, //the button that is currently selected currentState: 'view', currentAdding...
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); const execSync = require('child_process').execSync; var app = express(); /* Read Config */ var js...
$(".js-select2").each(function(){ $(this).select2({ minimumResultsForSearch: 20, dropdownParent: $(this).next('.dropDownSelect2') }); }); $('.parallax100').parallax100(); $('.gallery-lb').each(function() { // the containers for all your galleries $(this).magnificPopup({ delegate: 'a...
import { ACESFilmicToneMapping, NoToneMapping, Box3, LoadingManager, EquirectangularReflectionMapping, PMREMGenerator, Sphere, Color, DoubleSide, Mesh, MeshStandardMaterial, PlaneBufferGeometry, Group, MeshPhysicalMaterial, WebGLRenderer, Scene, Perspe...
import React, { Component } from 'react' import { StyleSheet, View, Text, TouchableOpacity, Dimensions, DeviceEventEmitter } from 'react-native' import { withNavigation } from 'react-navigation' import { Button, List, InputItem, Stepper, DatePicker, Provider, Switch, Modal, Toast, SwipeAction, Picker, TextareaItem } fr...
// [Smoosic](https://github.com/AaronDavidNewman/Smoosic) // Copyright (c) <NAME> 2021. // ## textRender.js // Classes responsible for formatting and rendering text in SVG space. // ## SuiInlineText // Inline text is a block of SVG text with the same font. Each block can // contain eithr text or an svg (vex) glyph. E...
var kMissingValueBlock = "<span class='MissingValue'>&lt;&nbsp;?&nbsp;&gt;<span>" var ActivePage = "Devices" function FairyNode_InitOverview() { bootstrap_code = ` <div id="OverviewOuter"> <div id="OverviewInner"> <div id="PageSelectBox" class="OverviewTable"> <div id="But...
// Copyright (c) 2015-2018 <NAME> - https://audio-network.rypula.pl 'use strict'; var AudioMonoIO = AudioNetwork.Rewrite.WebAudio.AudioMonoIO, WavAudioFile = AudioNetwork.Rewrite.Util.WavAudioFile; // TODO extract modulation types to classes // TODO use WaveGenerator instead of generateSineWave function var ...
const evaluationHost =apiGateWayHost+"/configcenter/"; var taskList = [];//并行阶段集合 layui.config({ base:'../../' }).extend({ index:'lib/index' }).use(['index','form', 'element', 'laydate', 'laypage', 'table', 'layer'], function() { var $ = layui.jquery, admin = layui.admin, form = layui.form, element = layui.ele...
//variable declaration const ZERO = 0; const HAPPY = 'happy'; const ANGRY = 'angry'; const START_DAY = 'Start Day'; const DEFAULT_CURR = 'SGD'; const DAY_SECONDS = 30; const CUST_DELAY_IN_MS = 500; //0.5 sec const NUM_OF_SLOT = 5; const NUM_OF_FOOD = 9; const NUM_OF_SUPERHEROES = 729; const NUM_OF_DAILY_CUST = 5; const...
import React, { useEffect, useContext, useState } from "react"; import styled from "styled-components"; import ReactPlayer from "react-player"; import { HyperContext } from "../Context/context"; import { movieDetailsAction, movieSuggestions, addMovieToFavorite, addMovieToWatched, DeleteFavoriteMovies, addCo...
/** * * @desc code to build HTML user interface for /{PNAME}/visual_group endpoint * @author <NAME> <<EMAIL>> * @date 26 Jan. 2021 * */ 'use strict' var toolbar = document.createElement('div'); toolbar.setAttribute('id', 'toolbar'); var pname = document.createElement('div'); pname.setAttribute('class', 'pname');...
/** /////////////////////////////////////////////////////////////////// * * Utility functions for filtering and modifying CCD output * ** /////////////////////////////////////////////////////////////////*/ /** * Create sequence of segment strings * @param {Integer} nSegments Number of segments to create labels...
var _ = require('lodash'); var translate = require("./translate"); var linkify = require('linkifyjs'); const open_es = require("./es_query") /** * optional environment variables - These are not used defined during setup of this function in QnABot but are * useful for testing if defined. * * REGION - optional AWS ...
"use strict"; var OPTS = {language: "auto"}, DEV = (location.search.indexOf("dev") > -1); var PATHS_DEFAULT, INTERNAL_PAGES, PATHS = [], PATHS_REMOVED = [], BROWSER_INFO = getBrowserInfo(); var doc = document; mlWatcher.watchLoad(doc, "DOMContentLoaded") .head.appendChild(mlWatcher.watchLoad(ce("script", "src", "reso...
import _ from 'underscore'; import TokenUtil from '../utils/token_util'; import { SyntaxError } from '../errors/errors'; function tokensHaveBalancedGrouping(tokens) { const openStack = []; _.each(tokens, (token) => { if (token.type !== 'grouping') return; if (TokenUtil.isOpenGroupToken...
/* eslint-env browser */ /* globals _ */ /** * TODO * - autoplay: wait for slide._loaded * - optionally reset video on change * - fade objects on load * - events (ready, progress etc) * - cache video frames (assume frame rate and round currentTime to get frame) * - video options (loop?, sound?) * - fallback f...
var fs = require('./lib/fs.js'); var path = require('path'); var inherits = require('util').inherits; var EventEmitter = require('events').EventEmitter; var async = require('async'); var config = require('./lib/config.js'); var actionQueueFactory = require('./lib/queue/action-queue-factory.js'); var blnApi = require...
/* eslint-disable */ import React, { Component } from "react"; import "./App.css"; import Input from "@material-ui/core/Input"; import alertify from 'alertifyjs'; import { Button, CardColumns, Modal, ModalBody, ModalHeader, ModalFooter } from 'reactstrap'; import Plyr from 'plyr'; import InfiniteScroll fr...
'use strict'; var assert = require('chai').assert; var sinon = require('sinon'); var _ = require('../../../src/scripts/vendor/minified')._; var selectComponent = require('../../../src/scripts/components/select'); var componentRegistry = require('../../../src/scripts/lib/component-registry'); var checkReadOnly = requir...
/****************************** **** DOM on ready load. *******************************/ $(document).ready(function() { //Initialize Tooltips $(".header-links").tooltip({ "placement":"bottom" }); $("nav a.btn-header").tooltip({ "placement":"bottom" }); //Initialize Popover $('.btn-notifications').popover(...
// ************ Le softcaps >;D ************ function applyPolynomialSoftcap(number, threshold, strength = new Decimal(2)) { number = new Decimal(number) threshold = new Decimal(threshold) strength = new Decimal(strength) if (number.lt(threshold)) return number return number.mul(threshold.pow(strength.sub(1))).roo...
import { Draw } from "ol/interaction"; import { createBox, createRegularPolygon } from "ol/interaction/Draw"; import { Vector as VectorLayer } from "ol/layer"; import VectorSource from "ol/source/Vector"; import { Stroke, Style, Circle, Fill, Text } from "ol/style"; import { Circle as CircleGeometry, LineString, Point ...
// Zip files made using https://www.archiverjs.com/ const { Router } = require('express') const fs = require('fs') const path = require('path') const mime = require('mime-types') const _ = require('lodash/core') const archiver = require('archiver') const models = require('../models') const utils = require('../utils') ...
import { useDispatch } from 'react-redux'; import * as nearAPI from "near-api-js"; import BN from 'bn.js'; import _ from 'lodash'; import { parseSeedPhrase } from '../utils'; import ApiHelper from "../apiHelper"; import Validator from '../data/Validator'; import { transactions } from "near-api-js"; import { setTwoFaD...
"use strict"; import React from 'react'; import { StyleSheet, Text, View, Animated, Easing, PanResponder, TouchableOpacity } from 'react-native'; import { bound, range, circularize, deepCompare } from './helpers'; import { scaleLinear, scaleLogarithmic, scaleSqrt } from './scalers' import encaseViews, { EncasedView } ...
"use strict"; /* * accessibility.js - a library with common accessibility related routines. * by <NAME> (<EMAIL>) * MIT License. * * This file must be transpiled for browser like IE11 using babel * Install instructions: https://babeljs.io/docs/en/babel-cli * You will also need npx: https://www.npmjs.com/packag...
import $ from '../../core/renderer'; import domAdapter from '../../core/dom_adapter'; import Class from '../../core/class'; import eventsEngine from '../../events/core/events_engine'; import Widget from '../widget/ui.widget'; import registerComponent from '../../core/component_registrator'; import { extend } from '../....
/** * @license * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
window.onload = function startMain(){ parseGrowthTags(); setNewEnergyCardPlayTracks(parseEnergyTrackTags(), parseCardPlayTrackTags()); parseInnatePowers(); const board = document.querySelectorAll('board')[0]; addImages(board) var html = board.innerHTML; board.innerHTML = replaceIcon(html); ...
import React, { Component } from 'react'; import { connect } from 'dva'; import { Form, Card, Select, Row, Col, Icon, Input, Button, Upload, Breadcrumb, Switch, message, Modal, Checkbox, Radio } from 'antd'; import QRCode from 'qrcode'; import config from '../../../utils/config'; import styles from '../index.less'; imp...
// MIT License // Copyright (c) 2020 <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, including without limitation the rights // to use, copy, modify, merge, p...
/** * Created by kaimingyi on 2016/11/20. */ const fs = require('fs-promise'); var Promise = require("bluebird"); const zlib = require('zlib'); const path = require('path'); const glw = require('../gk-glwrap'); const math = require('gl-matrix'); const Fabricate = require('../fabricate'); const GameObject = require('...
$(document).ready(iniciar); var tabla; var actual; function iniciar() { traducir(); $("#provee_wrapper .label").html('<label>Proveedores</label>'); tabla=$("#tb_materiales").DataTable(); generar_selects(); $.when(generar_filtro(true)).then(function () { window.setTimeout(function() { $(...
import Vue from 'vue' import { getField, updateField } from 'vuex-map-fields' import { COMPETITION_MODE, LOADER_STATUS, POOL_SCORING, SCORE_DATABASE_FIELD_LIST } from '@root/constant' import { getEntryListAssociation, getFightListAssociationList, getFightAssociationList } from './pool/association_helper' import FightLi...
// <NAME> <<EMAIL>> "use strict"; // modules const assert = require('./assert.js'); const Transform = require('./sketch/transform.js'); const SketchObject = require('./sketch/object.js'); const Curve = require('./sketch/curve.js'); const PCurve = require('./sketch/pcurve.js'); const Sketch = require('./sketch/sketch.j...
var ___nextId = ___nextId || 0; var ___process = process || '_NO_PROCESS_'; var ___threadId = '' + Math.floor(Math.random() * 10000); function ___getNextId(parentThreadId) { return ___process.pid + '_' + ___threadId + '_' + ___nextId++; } var ___callTree = { name: '_root', id: ___getNextId(___threadId), threadId:...
var url_entity_by_id = url_root + "/services/findEntitySetup?$_ENTITY_ID={0}"; var login_url = url_root + "/services/user"; var url_entity = url_root + "/services/queryEntityByCodeOrID?$_ENTITY_CODE=md_entities"; var url_field = url_root + "/services/queryFieldsByCodeOrID?$_ENTITY_CODE=md_fields"; var entity_info_list ...
import { render as render$1, EMPTY_OBJ, _CI, _MCCC, _HI, _RFC, _MFCC, _ME, _MP, _MR, _M, Component, Fragment, __render, createComponentVNode, createFragment, createPortal, createRef, createRenderer, createTextVNode, createVNode, directClone, findDOMfromVNode, forwardRef, getFlagsForElementVnode, linkEvent, normalizePro...
// MXFlutterFramework // Copyright 2019 The MXFlutter Authors. All rights reserved. // // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. let { DartClass, FlutterWidget, Color, Locale } = require("./js_flutter_basic_types.js"); /// Creates a text widget...
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import * as encoding from '../libs/query_encoding'; import { svgIcon } from '../libs/svg-icons'; import { Panel, PanelBody } from '../libs/ui/panel'; import DataTable from './datatable'; import * as globals from './globals'; impo...
import React, { Component } from 'react'; import qs from 'query-string'; import { connect } from 'react-redux'; import Obstruction from 'obstruction'; import * as Sentry from '@sentry/react'; import { withStyles, Divider, Typography, Menu, MenuItem, CircularProgress, Button, Popper } from '@material-ui/core'; import W...
// ImageMetaTag dropdown menu scripting - vn0.7.10 // ImageMetaTag is a python package built around a wrapper for savefig in // matplotlib, which adds metadata tags to supported image file formats. // See https://github.com/SciTools-incubator/image-meta-tag for details. // // (C) Crown copyright Met Office. All rights ...
"use strict"; var IMG_FOLDER = "assets/js/dpejes"; var dpe = function(){ var GG_SCALE = [ ['A',0, "&le; 5"], ['B', 5.5, "6 - 10"], ['C', 10.5, "11 - 20"], ['D', 20.5, "21 - 35"], ['E', 35.5, "36 - 55"], ['F', 55.5, "56 - 80"], ['G', 80.5, "&gt; 80"] ]; var ENERGY_SCALE = [ ['A',0, "&le; 50"], ['B', 50.5, "51 -...
/** * Librería de cliente para interaccionar con el servidor de PeliManager (pmgr). * Prácticas de IU 2021-22 * * Para las prácticas de IU, pon aquí (o en otros js externos incluidos desde tus .htmls) el código * necesario para añadir comportamientos a tus páginas. * * Recomiendo separar el fichero en 2 partes: ...
// Copyright [2018] [Banana.ch SA - Lugano Switzerland] // // 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 ap...
//reffering phy-- $(document).ready(function(){ /*--showing details of ref.phy, pcp, co-managed physician--*/ top.$('#spanMoreCoMangPhy, #spanMoreRefPhy, #spanMorePCP').unbind("click"); top.$('#spanMoreCoMangPhy, #spanMoreRefPhy, #spanMorePCP').click(function(){ var refPhyId = ""; var multi = ""; var spanID =...
/** Aurora Plugins **/ EM.nameColor = function (name, bold) { return (bold ? "<b>" : "") + "<font color=" + EM.Color(name) + ">" + (Users(name) && Users(name).connected && Users.getExact(name) ? Chat.escapeHTML(Users.getExact(name).name) : Chat.escapeHTML(name)) + "</font>" + (bold ? "</b>" : ""); }; const pat...