text
stringlengths
5.97k
41.2k
var datatable_enabled = true; function des_habilitar(a, b) { $("#btn_nuevo").prop("disabled", b); $("#btn_modificar").prop("disabled", a); $("#btn_anular").prop("disabled", a); $("#btn_aceptar").prop("disabled", a); $("#btn_cancelar").prop("disabled", a); $("#txt_monto").prop("disabled", a); ...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var classnames = _interopDefault(require('classnames')); var React = _interopDefault(require('react')); var TouchFeedback = _interopDefault(require('rmc-feedback')); var ReactDOM = _interop...
/** @module solr */ import Ember from 'ember'; import DS from 'ember-data'; import { SolrSearchHandler, SolrRealTimeGetHandler, SolrUpdateHandler, SolrDeleteHandler } from 'ember-solr/lib/handlers'; import SolrCommitType from 'ember-solr/lib/commit-type'; import SolrRequest from 'ember-solr/lib/request'; im...
/* global plupload */ /* eslint-disable camelcase */ import 'plupload/moxie'; import 'plupload/plupload.dev'; import 'plupload/jquery.ui.plupload/jquery.ui.plupload'; import logger from 'loglevel'; import config from './config'; import localization from './localization'; import util from './util'; import iziToastHelpe...
import "./three.js/three.min.js"; import "./three.js/personalFill.js"; /* Voxel math ideals * it could be possible to establish that there are distinct values for N such that * * * */ /* * voxelUtil.rayCast usage.... * var o = scope.mouseRay.o; var result; result ...
/** * Dependencies */ var _ = require('lodash'), utils = require('./utils'), hop = utils.object.hasOwnProperty; /** * Query Builder for creating parameterized queries for use * with the Postgres adapter * * This is nasty. Hacked together while figuring out the options * that get passed to the various f...
/** * Editor main functions */ import Vue from 'vue' import _ from 'lodash' import store from '../store' import jp from 'jsonpath' import apiserver from './feathers' //Vue.prototype.$db = db /*var doc = { hello: 'world' , n: 5 , today: new Date() , nedbIsAwesome: true ...
// Copyright © 2020 <NAME>. See LICENSE for details. // So you’re diving into JavaScript, eh? // Here’s a quick start guide to the language: // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types // JavaScript modules. // As of May 2020, Three.js is officially moving to modul...
const dt = require("./date-box.js"); const nb = require("./number-box.js"); const sb = require("./string-box.js"); const valid = require("./validator-box.js"); /** * Internacionalization module require: * DateBox (dt), NumberBox (nb), StringBox (sb) and ValidatorBox (valid) modules * * @module I18nBox */ funct...
// ------------------------------------------- Start scripts function - Mission Andina ----------------------------------------------- // On load function onLoadData() { // Top button document.getElementById("button_to_top").className = "opacity0"; } // Auto risize textareas $(function() { //...
const players = {}; const MOVE_FRAME_WAIT = 20; const P_SIZE = 20; const MAZE_SQUARE_SIZE = 30; const MAZE_PAD = (MAZE_SQUARE_SIZE - P_SIZE) / 2; const LOBBY = 0; const GAME = 1; const LOADING = 2; const ERR = 3; const sections = ['lobby', 'game', 'loading', 'err']; const LEFT = 0; const UP = 1; const RIGHT = 2; c...
$('#viz').hide(); var config = { HXLProxyURL:'https://proxy.hxlstandard.org/data.json?strip-headers=on&url=https%3A//docs.google.com/spreadsheets/d/1QA0UGOJtk5pJ-0oY2-V0iXs21SGS5Qz51Ns8i3QP1UA/edit%23gid%3D0', geomURL:'data/hti_adm3_topo.json', topojson:'hti_adm3', color:'#008080', mapcolors:['#ddd...
/* ExplorerStore */ var AppDispatcher = require('../dispatcher/AppDispatcher'); var EventEmitter = require('events').EventEmitter; var _ = require('lodash'); var ExplorerConstants = require('../constants/ExplorerConstants'); var FormatUtils = require('../utils/FormatUtils'); var ExplorerUtils = require('../utils/Explo...
// dependencies var AWS = require('aws-sdk'); var async = require("async"); var util = require('util'); var extend = require('util')._extend; var SSH = require('simple-ssh'); var fs = require('fs'); var config = require('./config'); if (config.aws) { AWS.config.update(config.aws); } // get reference to AWS resources...
"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...
"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 { compose } from 'react-compose'; import BallDiff from '../../Util/BallDiff.js'; import BallCalc from '../../Util/BallCalc.js'; import { Container, Header, Content, Button, Text, Icon } from 'native-base'; import { Col, Row, Grid } from 'react-native-easy-grid'; import...
/* globals _ $ Backbone I18n */ const LOCAL_STORAGE_DISMISS_KEY = 'etm.survey-2021.dismiss-until'; /** * Translation helper. */ function t(key, options) { return I18n.t('survey.questions.' + key, options); } /** * Returns the elements used to answer a question. */ function renderQuestion(question, number, tota...
var docjsons = new Array(); var docurls = new Array(); var attributeArray = new Object(); var base_url = "."; $(document).ready(function(){ $("#api_load").on("click", function(event){ var url = $('#docurl').val(); var pattern = /(file|ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\...
const { Client } = require("discord.js"); const db = require("quick.db"); const bot = new Client(); const prefix = ">"; //PREFIX BOT KAMU const { MessageEmbed } = require("discord.js") const got = require("got") const fetch = require("node-fetch") const ms = require('ms'); const readline = require("readline") const pag...
function customAxisHelper(pos, axlength){ var gO = new THREE.SphereGeometry( 5, 32, 32 ); var mO = new THREE.MeshBasicMaterial( {color: 0xffff00} ); var sphereO = new THREE.Mesh( gO, mO ); var gX = new THREE.BoxGeometry( axlength.x*10, 5, 5, 32 ); var mX = new THREE.MeshBasicMaterial( {color: 0xff0...
const https = require('https'); const fs = require('fs'); import axios from 'axios'; import csv from 'csvtojson'; import dayjs from 'dayjs'; import { KiteConnect } from 'kiteconnect'; import { EXIT_STRATEGIES, STRATEGIES, STRATEGIES_DETAILS } from './constants'; import console from './logging'; const redisClient = re...
import * as THREE from '../node_modules/three/build/three.module.js'; import {OrbitControls} from '../node_modules/three/examples/jsm/controls/OrbitControls.js'; import {GLTFLoader} from '../node_modules/three/examples/jsm/loaders/GLTFLoader.js'; import {THREEx} from './threex.domevents.js'; import { InteractionManager...
/** * @module playlist-loader * * @file A state machine that manages the loading, caching, and updating of * M3U8 playlists. */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.len...
/** * Initialize loggly for logging FE */ var _LTracker = _LTracker || []; _LTracker.push({ 'logglyKey': '7c2fbce1-2a3d-4a7f-a885-cf068ee22a98', 'sendConsoleErrors': true, 'tag': 'loggly-jslogger' }); _LTracker.push('Hello World'); // Sentry to get error details and messages to the sentry cloud and emai...
var divstatus, divstations, divreponses, divparis; var questions = []; // Tableau des stations (question : quelle station va a quel endroit ?) var reponses = []; // Tableau des bonnes réponses (coordonnées) var repondu = []; // Tableau des réponses du joueur (json, format {"station", "coords"} avec coords un array) ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const _ = require("lodash"); const LinkLayerWidget_1 = require("./layers/LinkLayerWidget"); const NodeLayerWidget_1 = require("./layers/NodeLayerWidget"); const Toolkit_1 = require("../Toolkit"); const MoveCanva...
// // graph.js // graphminer // // Created by <NAME> on 2015-04-08. // Copyright 2015-2019 <NAME>. All rights reserved. // var demoConfig = { dataURL: "data/graph.json", preset: "overview" }; var ignoreHashChange = false; window.onhashchange = function() { if (ignoreHashChange) { ignoreHashChange = fals...
import { Subject } from '../../../models/subject'; import { Table } from '../../../core/TableClass.js'; import { text_maker } from '../partition_text_provider.js'; import { TextMaker as StandardTextMaker } from '../../../components/index.js'; import { rpb_link } from '../../../link_utils.js'; import { PartitionPerspect...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.FilterItemType = void 0; require("ant...
var fuzzy = require('fuzzystringcompare'); var Fifo = require('fifo'); /** Amber @class Amber */ var Amber = { /** Am Amber Bot. @class Bot @namespace Amber @for Amber @constructor */ Bot:function() { var bot = this; this._targets = {}; this._requires = {}; this._sessions = []; /** Add a ta...
'use strict'; var DEVICE_INFO_API = '/device/api/info'; var DEVICE_LOGS_API = '/device/api/logs'; var dataTables; var realTimeCharts = []; var devices = []; var currentDataUnitUpdate; var currentDataUnitIntervalTime = 2000; // **** main **** $('.espx-sidebar-element').each(function (index) { $(this).on('click',...
import React from 'react' import PropTypes from 'prop-types' import Hotspot from './Hotspot' class ImageHotspots extends React.Component { constructor (props) { super(props) this.state = { container: { width: undefined, height: undefined, ratio: undefined, orientation: ...
import { Component } from "../component/component.js"; import { SwingComponent } from "../component/swing_component.js"; import { DraggableComponent } from "../component/draggable_component.js"; import { GLCore } from "../../webgl/core/core.js"; import { GLMath } from "../../webgl/utils/math.js"; export const No...
var width = 960, size = 150, padding = 19.5; var a = []; var x = d3.scaleLinear() .range([padding / 2, size - padding / 2]); var y = d3.scaleLinear() .range([size - padding / 2, padding / 2]); var histX = d3.scaleLinear() .range([padding / 2, size - padding / 2]); var histY = d3.scaleLinear() ...
/* jshint esversion: 6 */ /* global window, document, TweenMax, ThreeJs */ import Dom from './shared/dom'; import DragListener from './shared/drag.listener'; import { RoundBoxGeometry } from './shared/RoundBoxGeometry'; THREE.Euler.prototype.add = function(euler) { this.set(this.x + euler.x, this.y + euler.y, this.z...
const express = require('express') const router = express.Router() // Add your routes here - above the module.exports line // Set service name based on sub folders for different prototypes router.get('/land-manager/*', function(req, res, next){ res.locals['serviceName'] = 'Make or update an ELM claim' next() }) ...
/* Copyright 2020 Dynatrace 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
import createError from "http-errors"; import { postJSON } from "co-wechat-api/lib/util"; import path from "path"; import fs from "fs"; import download from "download-file"; import xml2js from "xml2js"; import moment from "moment"; import { post } from "../lib/network"; import API from "../api/wechat"; import { wechat...
import * as React from 'react'; import Box from '@mui/material/Box'; import Button from '@mui/material/Button'; import Dialog from '@mui/material/Dialog'; import DialogActions from '@mui/material/DialogActions'; import DialogContent from '@mui/material/DialogContent'; import DialogContentText from '@mui/material/Dialog...
var spacing = require('./abc_spacing'); function setupSelection(engraver) { engraver.rangeHighlight = rangeHighlight; if (engraver.dragging) { for (var h = 0; h < engraver.selectables.length; h++) { var hist = engraver.selectables[h]; if (hist.selectable) { hist.svgEl.setAttribute("tabindex", 0); his...
/*! * Expose `HttpContext`. */ module.exports = HttpContext; /*! * Module dependencies. */ var EventEmitter = require('events').EventEmitter; var debug = require('debug')('strong-remoting:http-context'); var util = require('util'); var inherits = util.inherits; var assert = require('assert'); var Dynamic = requi...
export const BTC = { id: 'bitcoin', name: 'Bitcoin', symbol: 'BTC', }; export const HIVE = { id: 'hive', name: 'Hive', symbol: 'HIVE', coinGeckoId: 'hive', }; export const HBD = { id: 'hive-dollars', name: '<NAME>', symbol: 'HBD', coinGeckoId: 'hive_dollar', }; export const ETH = { id: 'ether...
import React, { useEffect } from "react"; // import { makeStyles } from "@material-ui/core/styles"; import axios from "axios"; import moment from "moment"; import { Grid, Button, Typography, Container, Card, CardContent, CardActionArea, Dialog, DialogActions, DialogContent, DialogTitle, Table, ...
/** * translate markdown format to content state used by Mark Text * there is some difference when parse loose list item and tight lsit item. * Both of them add a p block in li block, use the CSS style to distinguish loose and tight. */ import StateRender from '../parser/render' import { tokenizer } from '../parser...
const Discord = require('discord.js'); const data = require('quick.db') exports.run = async (client, message, args) => {// chimp#0110 if(!message.member.hasPermission('MANAGE_GUILD')) return; let prefix = '!'// botun prefixi let ar = ['göster', 'sil', 'purge', 'süpür', 'oluştur', 'kanal-ayarla', 'kanal-sıfırla', 'kim...
import { Maps } from '../../../api/maps/Maps.js'; import { Posts } from '../../../api/posts/Posts.js' import { Proposals } from '../../../api/proposals/Proposals.js'; import { Communities } from '../../../api/communities/Communities.js'; import { Groups } from '../../../api/group/Groups.js'; import { setCommunity } fro...
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ExperimentViewUtil from './ExperimentViewUtil'; import { RunInfo } from '../sdk/MlflowMessages'; import classNames from 'classnames'; import { Dropdown, MenuItem } from 'react-bootstrap'; import ExperimentRunsSo...
import * as React from "react"; import { useMutation, useQuery, useQueries, useQueryClient } from "react-query"; import { connect } from "react-redux"; import { useNavigate } from "react-router-dom"; import { Box, Button, Chip, CircularProgress, Paper, Table, TableBody, TableCell, TableContainer, Ta...
// Pt 2021 - MIT-License var blocklyArea = document.getElementById('blocklyArea'); var blocklyDiv = document.getElementById('blocklyDiv'); var farbeMathe = "#5b67a5"; var farbep5Text = "#5ba58c"; var workspace = Blockly.inject(blocklyDiv, { collapse: true, comments: true, css: tru...
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes, visuallyHidden } from '@mui/utils'; import { unstable_composeClasses as composeClasses } from '@mui/base'; import useTheme from '../styles/useTheme'; import { capitalize, useForkRef, useIsFocusVis...
/** * @author sunag / http://www.sunag.com.br/ */ import { CubeReflectionMapping, CubeRefractionMapping, CubeUVReflectionMapping, CubeUVRefractionMapping, LinearEncoding, GammaEncoding } from '../../../../build/v3d.module.js'; import { NodeUniform } from './NodeUniform.js'; import { NodeUtil...
/** * 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...
"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]; }; return function (d, b)...
var GL; (function (GL) { GL.ACTIVE_ATTRIBUTES = 35721; GL.ACTIVE_ATTRIBUTE_MAX_LENGTH = 35722; GL.ACTIVE_TEXTURE = 34016; GL.ACTIVE_UNIFORMS = 35718; GL.ACTIVE_UNIFORM_MAX_LENGTH = 35719; GL.ALIASED_LINE_WIDTH_RANGE = 33902; GL.ALIASED_POINT_SIZE_RANGE = 33901; GL.ALPHA = 6406; GL.AL...
import * as Tags from "../tags"; import * as THREE from "three"; import { GLTFLoader } from "../util/GLTFLoader"; import files from "../assets/gltf/*.{gltf,glb,png,jpg}"; import { createMeshMaterial, createSpriteMaterial, getEmptyTexture, } from "./materials"; import { loadTexture } from "./load"; impor...
/************************************************************* * Copyright Locomote Limited 2018 ---- All Rights Reserved. * * Unauthorized copying of this file is strictly prohibited. * *************************************************************/ /* A class for performing a URL normalization HTML transform. * ...
/* * © Code for Karlsruhe and contributors. * See the file LICENSE for details. */ // import for bundle.css require('../css/main.css'); const $ = require('jquery'); require('select2')($); const dayjs = require('dayjs'); const isBetween = require('dayjs/plugin/isBetween'); const isoWeek = require('dayjs/plugin/iso...
var form_id="weather_form", image_dir="/d20/weather/images", weather= { base:{prec:0,wind:"r1.5"}, warm:{ mod:{t_base:80,t_dev:20,s_dev:40}, forecast:{ dice:"1d100","01-70":{}, "71-90":{wind:"+1"}, "91-99":{wind:"+3"}, "100":{prec:31,temp:"-10"} } }, temperate:{ mod:{t_ba...
// ==UserScript== // @name Quick Links for OnePlus Forum Users // @namespace *.oneplus.net* // @version 1.3.2 // @description enter something useful // @author <NAME> aka Kallen, <NAME> aka kp1234, <NAME> aka sp99 // @include *forums.oneplus.net* // @grant none // @license MIT Li...
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { ListGroup } from '../ListGroup'; import VerticalNavItem from './VerticalNavItem'; import VerticalNavMasthead from './VerticalNavMasthead'; import { filterChildren, findChild, noop, propsChanged } from '....
import { addHexPrefix, isValidAddress, isValidPrivate, privateToAddress, privateToPublic, sha3, } from 'ethereumjs-util' import EthereumTx from 'ethereumjs-tx' import createKeccakHash from 'keccak' import { getBip32RootKey } from '/api/bip39' import { formatCoin, limitDecimals, bigNumber } from ...
/* jshint -W052 */ // work around https://github.com/jshint/jshint/issues/3067 var fs = require('fs'); var path = require('path'); var async = require('async'); var cl = require('ciel'); var fidoconfig = require('fidoconfig'); var FidoMail2IPFS = require('fidomail2ipfs'); var file2MSGID = require('find-msgid-in-file')...
import * as PIXI from 'pixi.js-legacy' import * as Voronoi from 'voronoi' import gameHelper from '../services/gameHelper' class Territories { static zoomLevel = 100 constructor () { this.container = new PIXI.Container() this.zoomPercent = 0 } setup (game, userSettings) { this.game = game T...
const request = require('request-promise'); const uniq = require('lodash.uniq'); module.exports = { name: 'apostrophe-forms', label: 'Form', extend: 'apostrophe-pieces', seo: false, openGraph: false, moogBundle: { directory: 'lib/modules', modules: [ 'apostrophe-forms-widgets', 'apostro...
var statusElement = document.getElementById('status'); var progressElement = document.getElementById('progress'); var diskBoxCombo = document.getElementById('diskbox_combo'); var networkStatusDiv = document.getElementById('network_status'); var highScoreStatus = document.getElementById('highScore_status'); var highScor...
// Full screen char drawing // const a_string = '!"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'; // const a_string = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'; const a_string = 'BLACK LIVES MATTER'; // const a_string = 'B'; const n_chars = 6; c...
import React from "react"; import { Note } from "@tonaljs/tonal"; import classNames from "classnames"; import { WheelLines } from "./WheelLines"; import { gradesOrder, gradesNumerals } from "../../utils/Lists"; import { stylizeNote } from "../../utils/Utils"; import Box from "../box/Box"; import "./wheel.scss"; export...
'use strict'; const rpc = require('vscode-jsonrpc'); const cp = require('child_process'); const utf8 = require('utf-8') const ipcRenderer = require('electron').ipcRenderer; const getCurrentWindow = require('electron').remote.getCurrentWindow; const keyevent = require('./keyevent'); // load option file const defaultOp...
function graph() { renderGanttSlider(); renderGanttChart(); $("a[data-toggle=\"tab\"]").on("shown.bs.tab", function(e) { if ($(e.target).attr("href") == "#relation") { renderRelationTree(addNoRelationTasklist); } }); $("a[data-toggle=\"tab\"]").on("shown.bs.tab", functi...
// some functionality that is needed by Gem.js but is related to styling (some things are also needed by Style.js) var HashMap = require("hashmap") var Style = require("./Style") var utils = require('./utils') var defaultStyleMap = new HashMap() // maps from a proto class to its computed default style var computedSt...
var proto = require("proto") var EventEmitter = require("events").EventEmitter var utils = require("./utils") // emits the event: // change - the event data is an object of one of the following forms: // {data:_, type: 'set', property: propertyList} // {data:_, type: 'added', property: propertyLis...
/** Copyright 2014-2015 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the "license" file accompany...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true, }); exports.HaxViewSource = void 0; var _litElement = require("lit-element/lit-element.js"); var _dlBehavior = require("@lrnwebcomponents/dl-behavior/dl-behavior.js"); var _utils = require("@lrnwebcomponents/utils/utils.js"); var _haxStore...
/* * 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 * distributed u...
import ShaderBase, {VANTA} from './_shaderBase.js' const win = typeof window == 'object' let THREE = win && window.THREE class Halo extends ShaderBase { getDefaultOptions() { return { baseColor: 0x001a59, color2: 0xf2e735, backgroundColor: 0x131a43, amplitudeFactor: 1.0, ...
import _ from 'lodash'; import { binaryStringToArray, decodeBase64, getFingerprint, getKeys, isExpiredKey, keyInfo } from 'pmcrypto'; import { RECIPIENT_TYPE, PACKAGE_TYPE, KEY_FLAGS } from '../../constants'; import { CONTACT_ERROR } from '../../errors'; import { toList } from '../../../helpers/arrayHelper'; import { ...
// Original game: https://www.helicoptergame.net let LOW_GRAPHICS = false; let g_one ; let g_two ; var clouds = []; var rocks = []; var count = 0; var old_vol = 0; let mic; let h_img, r_img; let angle = 0; let charge = 0; let mic_threshold = 0.05; let altitude = 0; let score = 0; let highscore = 0; let reset = 1; l...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
'use strict'; var PIXI = require('pixi'); var BaseShape = require('./BaseShape'); var Rectangle = require('./Rectangle'); var EVENT = require('../../../../model/model').socketEvents; module.exports = TableCell; function TableCell(shapeProperties) { this.fontSize = shapeProperties.fontSize || 12; this.fontFamily = ...
function setResizeContactForm() { resizeContactForm(), window.addEventListener("resize", resizeContactForm); } function resizeContactForm() { var o = window.innerWidth, e = document.querySelector("#contact .popup-inner iframe"); e.width = o <= 375 ? 300 : o > 375 && o <= 425 ? 320 ...
import React, { Component } from 'react'; import { array, bool, func, oneOf, object, shape, string } from 'prop-types'; import { connect } from 'react-redux'; import { compose } from 'redux'; import { withRouter } from 'react-router-dom'; import debounce from 'lodash/debounce'; import omit from 'lodash/omit'; import cl...
var eventId = 'rp14'; var fs = require('fs'); var path = require('path'); var allTracks = { 'Business & Innovation': { id:'business-innovation', label_de:'Business & Innovation', label_en:'Business & Innovation', color:[194.0, 56.0, 24.0, 1.0] }, 'Science & Technology': { id:'science-technology', label_de:'Wis...
var Shop = function(){ function doAjax(opt) { return $.ajax({ method: opt.method, url: opt.url, dataType: opt.dataType || 'json', data: opt.data }).done(function(json, textStatus) { if(textStatus === 'abort') { return; } if (!opt.dataType || opt.dataType.toU...
const fs = require('fs'); const forever = require('forever-monitor'); const settings = require('./settings/ayano.json'); const acsettings = require('./settings/general.json'); const Discord = require("discord.io"); const cardmanager = require('./modules/cardmanager.js'); const utils = require("./modules/localutils.js")...
import React from 'react' import PropTypes from 'prop-types' import ReactLoading from 'react-loading' import styled from 'styled-components' import { Upload } from 'antd' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import ControlButton from 'components/ControlButton/ControlButton' import ControlBtn...
/* * EasyUploader v0.0.10 * (c) 2018-2019 shinn_lancelot * Released under the MIT License. */ /** * The default options file. * el: Bind to the element node. * name: The input element name which is created. * id: The input element id which is created. * accept: The input element accept which is created. * fil...
//интервал ячеек в минутах var interval = 60; //тип отображаемого графика (по умолчанию фиксированный) var type = 'fix'; //данные для обработки кликов выбора var selectData = []; //создать дни и сетки выбора времени function createGrid() { $('#' + type + ' .schedule-settings').html(''); $.each(data[type], ...
// Copyright (c) 2018 Intel Corporation. All rights reserved. // Use of this source code is governed by an Apache 2.0 license // that can be found in the LICENSE file. 'use strict'; /* global describe, it, before, after */ const assert = require('assert'); const fs = require('fs'); let rs2; try { rs2 = require('nod...
/** * (c) 2013 <NAME> <<EMAIL>> */ /* jshint browser:true, devel:true */ /* globals chrome, URL, getParam, openCRXasZip, get_zip_name, get_webstore_url, zip, beautify, prettyPrintOne, CryptoJS */ 'use strict'; var crx_url = getParam('crx'); // Integrate zip.j...
/*--------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------*/ 'use strict'; Object.defineProperty(export...
function getFioiPlayer() { return { players: [], isPlaying: false, currentPlayer: null, currentSeek: 0, duration: 0, loaded: false, endReset: false, ended: false, targetDiv: null, progressBar: null, bind: function(elem) { ...
import { v4 as uuid4 } from 'uuid'; const xre =require('xregexp'); class USFM2Tokens { /* INIT */ constructor(usfmString) { this.usfm = usfmString; this.setup(); this.matchProtoTokens(); this.parseProtoTokens(); } setup () { this.setupLookups(); this.s...
const express = require("express"); const mongoose = require("mongoose"); const shortid = require("shortid"); var geoip = require('geoip-lite'); const publicIp = require('public-ip'); const router = express.Router(); var privateIpValue; var publicIpValue; var geoLocValue; var geoLocValuePrivate; var browserAndOSValue...
"use strict"; /* * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ Object.defineProperty(exports, "__esModule", { value: true }); /** * Defines values for StatusLevelTypes. * Possible values include: 'Info', 'Warning...
// # Bezier factory // A factory for generating bezier curve shape-based entitys // // Path-defined entitys represent a diverse range of shapes rendered onto a DOM &lt;canvas> element using the Canvas API's [Path2D interface](https://developer.mozilla.org/en-US/docs/Web/API/Path2D). They use the [shapeBasic](../mixin/s...
function getElementsByClassName(oElm, strTagName, strClassName) { var arrElements = (strTagName == "*" && oElm.all) ? oElm.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\\-"); var oRegExp = new RegExp("(^|\\s)" + strClas...
var app = angular.module('SummerCampApp', [ "ngRoute", "ngTouch", "angular-carousel", "mobile-angular-ui", ]); app.config(function($routeProvider, $locationProvider) { $routeProvider.when('/', {templateUrl: "home.html"}); $routeProvider.when('/rules', {templateUrl: "rules.html"}); $rout...
/* Zooma2 Javascript client library. This plugin enables ZOOMA autocomplete and annotation functions to be bound to appropriate elements. */ // defaults var default_zooma_url = 'https://www.ebi.ac.uk/spot/zooma/'; var default_zooma_base_path = 'v2/api/services'; var default_logging_div = 'zooma-log'; var de...
/*jslint browser:true*/ // imawidget is the thing that allows me to choose the bounding rectangle // for images. // It gets the image from an img element with the id "ima_source". // The bounds are stuffed into a forn element with the id gotten from // a div element with the id "ima_query", thus allowing the original ...