text
stringlengths
3.22k
29.5k
/* eslint-disable */ var fs = require('fs'); // var Converter = require('./js/Markdown.Converter').Converter; // var converter = new Converter(); var marked = require('marked'); // var mdConvertor = require('node-markdown').Markdown; var Handlebars = require('handlebars'); var jsonlint = require('jsonlint'); var hljs ...
const Canal_mensajeria = require("./Canal_mensajeria"); const Ciclo = require("./Ciclo"); const Cuenta = require("./Cuenta"); const Curso = require("./Curso"); const Elemento_malla_curricular = require("./Elemento_malla_curricular"); const Especialidad = require("./Especialidad"); const Evento = require("./Evento"); co...
"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...
/* eslint-disable no-use-before-define */ const Contributors = require('./src/Contributors'); const Events = require('./src/Events'); const Organization = require('./src/Organization'); const Rate = require('./src/Rate'); const Repo = require('./src/Repo'); const User = require('./src/User'); // Define the valid combi...
var framework = require("webex-node-bot-framework"); var webhook = require("webex-node-bot-framework/webhook"); var express = require("express"); var bodyParser = require("body-parser"); const fetch = require("node-fetch"); var app = express(); const { Pomodoro } = require("./models/Pomodoro"); const { CheckIn } = requ...
'use strict'; var d3 = require('d3') , Vec2 = require('svec2') require('components/DetailView/DetailView.css') var ViewActions = require('actions/ViewActions') , DataUtil = require('util/datautil') , svgutil = require('util/svgutil') , EnergyTails = require('components/DetailView/EnergyTails') , DetailShap...
const getSearch = (components) => { const S = {}; let container; let searchInput; let request; let year = 2015; let resultsContainer; let searchResults = {}; let searchVal; let pulse; let areaSearchDone = false; let minPulseDone = false; let layers = ['all']; // either 'all' or a list of DISABL...
/* Handles interaction between view and model */ /// requires var Player = require("./players"), settings = require("./settings"), Turn = require("./turn"); /// object function Controller(board, view) { /// public variables this.board = board; this.view = view; // the turn that this client is taking right n...
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
/** * Copyright 2015, Yahoo Inc. * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms. */ 'use strict'; import invariant from 'invariant'; function getEventClientTouchOffset (e) { if (e.targetTouches.length === 1) { return getEventClientOffset(e.targetTouches[0]); ...
var classes = { 'first-steps': { 'title': 'First Steps in Javascript', 'url': '01-first-steps.html', 'section_start': 'Section 1 - Javascript Basics' }, 'sintaxe': { 'title': 'Javascript Syntax', 'url': '02-javascript-syntax.html' }, 'dom': { 't...
// TVP VOD DOWNLOADER // <NAME>, Dec 2020 --> Aug 2021 //--------------------- module.exports = { checkDirectory: function (videos) { checkDirectory(videos); }, downloadAll: function (videos) { return downloadAll(videos); } } const fetch = require("node-fetch"); const fs = require('fs'); const allVids = requi...
import {getInfo} from "./helpers/get-info" import {getFakeTriplets} from "./helpers/get-fake-data" import {defaultChartConfig} from "./helpers/chart-config" import {imgOk, imgStop} from "./helpers/const"; import {copy2clipboard} from "./helpers/clipboard"; const graphSize = 20 let START_NODE_MON = datetime() let START...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const commands_1 = require("../../commands"); const request_1 = require("../../../../request"); const SpoCommand_1 = require("../../../base/SpoCommand"); const url = require("url"); const vorpal = require('../../../../vorpal-init'); class SpoF...
import React, { Component, PureComponent } from 'react'; import muiThemeable from 'material-ui/styles/muiThemeable'; import Chip from 'material-ui/Chip'; import AppBar from 'material-ui/AppBar'; import FontIcon from 'material-ui/FontIcon'; import FlatButton from 'material-ui/FlatButton'; import Toggle from 'material-ui...
function show_comision(){ let vtc = parseFloat(document.getElementById('vtc_cotizador').value); if(!isNaN(vtc)){ $('#modal_comision').modal('show'); }else{ Swal.fire('Este proyecto no tiene un cotizador asociado','','warning'); } } function comisionByDefault(){ let id = document.getElementById('id')....
$(function (){ template.helper('isEmpty', function(o) { for (var i in o) { return false; } return true; }); template.helper('decodeURIComponent', function(o){ return decodeURIComponent(o); }); var key = getCookie('key'); if(!key){ var goods = d...
// based on work by <NAME>, <NAME> /* Speech-to-text provider using Webspeech API * - on_final(transcript): called when a final transcript is generated * - on_interim(transcript): called when an interim transcript is generated * - lang: code for the spoken language * https://developer.mozilla.org/en-US/docs/...
import _invoke from "lodash/invoke"; import { tooltipAsLabelBehavior } from '@fluentui/accessibility'; import { useAccessibility, useAutoControlled, useTelemetry, useFluentContext, useTriggerElement, useUnhandledProps } from '@fluentui/react-bindings'; import { Ref } from '@fluentui/react-component-ref'; import * as cu...
const zlib = require('zlib'); const http = require('http'); const https = require('https'); const { URL } = require('url'); const { stringify } = require('querystring'); const { join: pJoin } = require('path'); const wump = require('../index'); const WumpRes = require(...
/* global AudioBuffer */ 'use strict' const ADSR = require('adsr') const EMPTY = {} const DEFAULTS = { gain: 1, attack: 0.01, decay: 0.1, sustain: 0.9, release: 0.3, loop: false, cents: 0, loopStart: 0, loopEnd: 0 } function toSeconds (pos, buffer) { if (typeof pos === 'string' && pos.endsWith('%...
const UUID = require("uuid"); const { EventEmitter } = require("events"); const { ProxyFilter } = require("@Proxy"); const Msg = require("@Msg"); const P = new Msg("[P] ", "dark_aqua"); class ElevatorManager { constructor(plasma){ this.plasma = plasma; this.elevators = new Map(); this.initEvents(); this.l...
/* * Copyright (C) 2017 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
var assert = require('chai').assert; var q = require('q'); var path = require('path'); var async = require('async'); var config_loader = require('../../lib/config_loader'); var cwd = process.cwd(); var logger_config_files_dir = path.join(cwd, 'test', 'logger_config_files'); var mock_device_manager = require('../mo...
const Shell = require("node-powershell"); const electron = require("electron"); const BrowserWindow = electron.remote.BrowserWindow; const globalShortcut = electron.globalShortcut; const { download } = require("electron-dl"); //Cases_Status_Information let Cases_Status_Information; var casedata = []; // Ini...
/* eslint-disable react/jsx-no-comment-textnodes */ import React, { useState, useEffect } from 'react'; import {Alert, Container, Card, Col, Form, Button, Toast, Modal, Row } from 'react-bootstrap'; import {addReviewToDb, updateStatus, deleteApplication} from '../../redux/applications'; import { useDispatch, useSele...
/* * Copyright (C) 2017-2019 Dremio 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 l...
"use strict"; require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.symbol.iterator"); require("core-js/modules/es.array.concat"); require("core-js/modules/es.array.for-each"); require("core-js/modules/es.array.from"); require("core-js/modules/es.arra...
/* Copyright 2012 <NAME>. contact: <EMAIL> ~ http://rpbouman.blogspot.com/ ~ http://code.google.com/p/xmla4js twitter: @rolandbouman This is REST-for-analysis - a sample xmla4js application for node.js This script turns node.js into a REST-ful proxy for an existing XML/A server. This program i...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ // flowlint ambiguous-object-type:error 'use strict'; var RelayModernRecord = require('./RelayModernRecord'); v...
import React from 'react'; import Innercontent from './Innercontent'; import { Carousel } from 'react-responsive-carousel'; import Button from './Button'; import { randomString, listToTree } from '../Helper/Data'; import { useDeviceWidthPrefix } from '../hooks/useDeviceWidthPrefix'; import { PartialSlider } from './Par...
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof o...
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 (Object.prototype.hasOwnProp...
const Blendomatic = require("../blendomatic/blendomatic"); const types = require("./types"); module.exports = class Terrain { /* jshint ignore:start */ static TILE_WIDTH = 96; static TILE_HEIGHT = 48; static TILE_HALF_WIDTH = 48; static TILE_HALF_HEIGHT = 24; /* jshint ignore:end */ constructor(width,...
var api = require('./api') const _ = require('underscore') const cheerio = require('cheerio') const jsdiff = require('diff') const express = require('express') const base64 = require('node-base64-image') const lib = require('./lib') const app = express() try { var configuration = require('./config.json'); } catch ...
/** * @file * Example 016: Set optional and locked field values and an envelope custom field value * @author DocuSign */ const path = require('path') , fs = require('fs-extra') , docusign = require('docusign-esign') , validator = require('validator') , dsConfig = require('../../config/index.js').co...
if(typeof module !== "undefined") { module.exports = Client; WebSocket = require("ws"); EventEmitter = require("events").EventEmitter; } else { this.Client = Client; } function mixin(obj1, obj2) { for(var i in obj2) { if(obj2.hasOwnProperty(i)) { obj1[i] = obj2[i]; } } }; function Client(uri) { Event...
/** * @module ol/source/Raster */ import ImageCanvas from '../ImageCanvas.js'; import TileQueue from '../TileQueue.js'; import {createCanvasContext2D} from '../dom.js'; import {listen} from '../events.js'; import Event from '../events/Event.js'; import EventType from '../events/EventType.js'; import {Processor} from ...
//This is the title for your window tab, and your Radar document.title = "Mein Technologieradar für 2017"; //This is the concentic circles that want on your radar var radar_arcs = [ {'r':100,'name':'Adopt'} ,{'r':200,'name':'Trial'} ,{'r':300,'name':'Assess'} ...
var data_cal = []; var source = []; // tooltip show on hover source day tooltip = new PNotify({ title: "Informations", text: "", addclass: "stack-custom", hide: false, width: "auto", buttons: { closer: false, sticker: false }, history: { history: false }, animate_speed: "fast", opacity: .9, icon: "fa ...
/* global wpcom_reblog */ var jetpackLikesWidgetBatch = []; var jetpackLikesMasterReady = false; // Due to performance problems on pages with a large number of widget iframes that need to be loaded, // we are limiting the processing at any instant to unloaded widgets that are currently in viewport, // plus this const...
/* FUNZIONI */ // gestione matrici, sistemi di equazioni function getMatrixRowsCols() { var n, rc; n = prompt('Inserisci le dimensioni della matrice (max ' + matrix_max_dim + 'x' + matrix_max_dim + ')', 'righe x colonne'); if (n === null) { return false; } rc = n.split('x', 2); matrix_rows ...
'use strict'; /*! * nodist * A Node version manager for the windows folks out there. * Copyright 2012 by <NAME> <<EMAIL>> * * (MIT LICENSE) * 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 Soft...
import Speech from "../morse-code/speak-tts-master/src/speak-tts.js"; let speech; var right = new Audio('https://raw.githubusercontent.com/thecwadley/morse-code/master/audio/right.mp3'); var wrong = new Audio('https://raw.githubusercontent.com/thecwadley/morse-code/master/audio/wrong-2.mp3'); function init() { spee...
/** * Created by kevin on 2016/12/6. */ function addLoadEvent(func){ var oldonload = window.onload; if(typeof window.onload != 'function'){ window.onload = func; }else{ window.onload = function(){ oldonload(); func(); } } } function insertAfter(ne...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); // this will be preserved during build var VueFactory = require('./factory'); var instances = {}; /** * Prepare framework config. * Nothing need to do actually, just an interface provided to weex runtime. */ function init () {} /** * ...
const byteSize = require("byte-size"); const shortHash = require("short-hash"); const lodash = require("lodash"); const getObjectKey = require("./utils/getObjectKey.js"); const calc = require("./utils/calc.js"); function hasUrl(urls, requestedUrl) { // urls comes from sites[vertical].urls, all requestedUrls (may not ...
#!/usr/bin/env node /** * @module server * @version 1.0.4 * @author <NAME> <<EMAIL>> */ require('dotenv').config({silent: true}); var rateLimit = require('express-rate-limit'); var express = require('express'); var shrinkRay = require('shrink-ray'); var bodyParser = require('body-parser'); var debug = require('d...
import { Plant } from "./plant.js"; let Point = Isomer.Point; let Path = Isomer.Path; let Shape = Isomer.Shape; let Vector = Isomer.Vector; let Color = Isomer.Color; //Units let UNIT = .3; let SEED_UNIT = UNIT/5; let TILES_X = 30; let TILES_Y = 20; //Colors let green = new Color(50, 160, 60); let red = new Colo...
var questions = [ { id: 01, question: "What is the observation made in the following JavaScript code? var count = [1,,3];", choices: [ "The omitted value takes 'undefined'", "This results in an error", "This results in an exception", "The omitted value takes an integer valu...
import React from 'react'; import PropTypes from 'prop-types'; import TWEEN from '@tweenjs/tween.js'; import { clamp, trimFloat, isMsBrowser } from './utils.js'; const EASING = { ease: TWEEN.Easing.Quadratic.InOut, 'ease-in': TWEEN.Easing.Cubic.In, 'ease-out': TWEEN.Easing.Cubic.Out, 'ease-in-out': TWEEN.Easi...
import { activate } from "hyperact"; import { prepareDocument, HyperCSSStyleDeclaration } from "./element.js"; import { nonNumericType } from "./nonNumeric.js"; const usedPropertyTypes = {}; export function typeOfProperty(property) { return usedPropertyTypes[property] || nonNumericType; } export function registerA...
// @ts-check import { makeWeakStore } from '@agoric/store'; import { Far } from '@agoric/marshal'; import { sameStructure } from '@agoric/same-structure'; import { AssetKind, makeIssuerKit } from '@agoric/ertp'; import { CONTRACT_ELECTORATE, handleParamGovernance } from '@agoric/governance'; import { assertIssuerKey...
import { app, clipboard, dialog, ipcMain, ipcRenderer } from 'electron' import settings from 'electron-settings' import * as hentai from './ehentai.js' let config = settings.get('directory') if (!settings.get('directory')) { console.log('directory:', config) settings.set('directory', app.getPath('downloads')) } c...
"use strict"; require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.symbol.iterator"); require("core-js/modules/es.array.concat"); require("core-js/modules/es.array.find"); require("core-js/modules/es.array.from"); require("core-js/modules/es.array.is...
'use strict' const path = require('path') const meow = require('meow') const { pullAt, merge, omit } = require('lodash') const chalk = require('chalk') const updateNotifier = require('update-notifier') const readPkg = require('read-pkg') const writePkg = require('write-pkg') const dotProp = require('dot-prop') const pk...
import Bresenham from './bresenham'; import ImageDebug from '../common/image_debug'; import Code128Reader from '../reader/code_128_reader'; import EANReader from '../reader/ean_reader'; import Code39Reader from '../reader/code_39_reader'; import Code39VINReader from '../reader/code_39_vin_reader'; import CodabarR...
// eslint-disable-next-line import/no-unresolved import Phaser from 'phaser'; import gameState from '../helpers/gameState'; import playerImg from '../assets/images/player.png'; import appleImg from '../assets/images/apple.png'; import pineAppleImg from '../assets/images/pineapple.png'; import landImg from '../assets/im...
// We require the Hardhat Runtime Environment explicitly here. This is optional // but useful for running the script in a standalone fashion through `node <script>`. // // When running the script with `npx hardhat run <script>` you'll find the Hardhat // Runtime Environment's members available in the global scope. con...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
/** * Copyright (c) Baidu Inc. All rights reserved. * * This source code is licensed under the MIT license. * See LICENSE file in the project root for license information. * * @file 元素节点类 */ var changeExprCompare = require('../runtime/change-expr-compare'); var changesIsInDataRef = require('../runtime/changes-...
"use strict"; var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var generateCode = require("../../utils/code-generator"); var ProductManager = require('../master/product-manager'); var StorageManager = require('../master/storage-manager'); var UomManager = require('../master/uom-manager'); var ...
'use strict'; var FieldMap = require('./FieldMap'); var RecordField = require('./RecordField'); var AbstractRecord = require('./AbstractRecord'); var SnapshotFactory = require('./SnapshotFactory'); var util = require('../../common'); function Record(fieldMap) { var name = fi...
/** * routes.js * Stripe Payments Demo. Created by <NAME> (@romainhuet) * and <NAME> (@thorwebdev). * * This file defines all the endpoints for this demo app. The two most interesting * endpoints for a Stripe integration are marked as such at the beginning of the file. * It's all you need in your app to accept a...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
import React, { Component } from 'react' import styled from 'styled-components'; import { Link } from 'react-router-dom'; import { Button, Back } from './styledComponents' import { FaChevronUp as Icon } from "react-icons/fa"; import Blockies from 'react-blockies'; import Media from 'react-media'; import pluralize fr...
import { extend } from "../common/Util"; var JSONFormat = function (options) { /* * @description 当 <keepData> 属性设置为true,这是传递给<read>操作的要被解析的字符串。 */ this.data = null; /* * APIProperty: keepData * @description 保持最近读到的数据的引用(通过 <data> 属性)。默认值是false。 */ this.keepData = false; ...
/** * Created by Sec on 2017/3/16. */ import React, { PropTypes } from 'react'; import { connect } from 'dva'; import { Row, Col, Card, Tree, Table, Icon, Button, Popconfirm, Tooltip, message } from 'antd'; import EquipmentTypePanel from './EquipmentTypePanel'; import EquipmentTypeModal from './EquipmentTypeModal'; i...
const util = require('util'); const moment = require('moment'); const mysql = require('mysql2'); const Base = require('db-migrate-base'); const Promise = require('bluebird'); let log; let type; let internals = {}; const MysqlDriver = Base.extend({ init: function (connection) { this._escapeDDL = '`'; this._e...
import Ember from 'ember'; import NewHost from 'ui/mixins/new-host'; import { ajaxPromise } from 'ember-api-store/utils/ajax-promise'; var RANCHER_TEMPLATE = 'Linux Ubuntu 14.04 LTS 64-bit'; var RANCHER_GROUP = 'rancher-machine'; var RANCHER_INGRESS_RULES = [ { startport: 22, endport: 22, cidrlist: '0.0....
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
import store from './store'; import { setAggregateMinuteData, setAggregateHourlyData, setAggregateDailyData, setOrderData } from './actions/marketActions'; import deepstream from './deepstream'; //import fuzzy from 'fuzzy'; const sde = store.getState().sde; const subscriptions = {}; export function subscribeItem(id)...
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toSt...
/** * Developer: <NAME> * Date: 7/7/2014 * Copyright: 2009-2016 Comindware® * All Rights Reserved * Published under the MIT license */ import { keypress, Handlebars } from 'lib'; import { helpers, htmlHelpers } from 'utils'; import template from '../templates/list.hbs'; import SlidingWindowColle...
import * as React from 'react'; import { View, Text, StyleSheet, TouchableWithoutFeedback, Slider, Animated, Dimensions } from 'react-native'; import { Video, Audio } from 'expo-av'; import { Button, IconButton, ActivityIndicator, List } from "react-native-paper"; import { LinearGradient } from 'expo-linear-gradient'; ...
"use strict"; var _extends2 = require("babel-runtime/helpers/extends"); var _extends3 = _interopRequireDefault(_extends2); var _regenerator = require("babel-runtime/regenerator"); var _regenerator2 = _interopRequireDefault(_regenerator); var _asyncToGenerator2 = require("babel-runtime/helpers/asyncToGenerator"); ...
"use strict"; const render_widgets_poll_widget = require("../templates/widgets/poll_widget.hbs"); const render_widgets_poll_widget_results = require("../templates/widgets/poll_widget_results.hbs"); const people = require("./people"); class PollData { // This object just holds data for a poll, although it // ...
/** * Event handlers for Puppeteer page/client events. */ const fs = require('fs') const esprima = require('esprima') const logger = require('./logger') const issues = require('./issues') let results = { script_hosts: [], xhr_hosts: [], websocket_hosts: [], webworker_hosts: [], obfuscated_script_hosts: []...
import AppBar from '@mui/material/AppBar'; import Avatar from '@mui/material/Avatar'; import Button from '@mui/material/Button'; import Card from '@mui/material/Card'; import CardActions from '@mui/material/CardActions'; import CardContent from '@mui/material/CardContent'; import CardHeader from '@mui/material/CardHead...
let tableIns; let tableInsOnLine; let tree; layui.use(['element', 'form', 'table', 'layer', 'laydate', 'tree', 'util'], function () { let table = layui.table; let form = layui.form;//select、单选、复选等依赖form let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 let laydate = layui.laydate; tree...
/** * (c) 2018 <NAME> * @author: <NAME> * @license: MIT */ document.addEventListener("DOMContentLoaded", function () { document.getElementById("report").style.display = "none"; }); window.onload = function () { if (window.File && window.FileReader && window.FileList && window.Blob) { Chart.plugin...
// Rabbit Parts const allParts = [...document.getElementsByClassName('all')] const ears = [...document.getElementsByClassName('ear-inner')] const eyes = [...document.getElementsByClassName('eye')] const eyeInner = document.getElementById('pupil') const innerEyes = [...document.getElementsByClassName('eye-inner')] const...
/** * Wheel, copyright (c) 2017 - present by <NAME> * Distributed under an MIT license: https://arnovandervegt.github.io/wheel/license.txt **/ const motorModuleConstants = require('../../../../shared/vm/modules/motorModuleConstants'); const VMModule = require('./../VMModule').VMModule; exports.MotorModul...
"use strict"; require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.symbol.iterator"); require("core-js/modules/es.array.filter"); require("core-js/modules/es.array.from"); require("core-js/modules/es.array.iterator"); require("core-js/modules/es.func...
import { mat4 } from "gl-matrix"; import image from "./image.jpg"; main(); function main() { const canvas = document.querySelector("#glcanvas"); const gl = canvas.getContext("webgl"); if (!gl) { alert("無法初始化WebGL。您的瀏覽器或機器可能不支持它。"); return; } //著色器資料 const baseVS = require("../shader/base.vs"); co...
/* Copyright 2016 First People's Cultural Council Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
const http = require("http"); const cluster = require('cluster'); const superagent = require("superagent"); //客户端请求代理模块 const async = require("async"); // const nodeExcel = require('excel-export'); const mongoose = require('mongoose'); global.mongoose = require('mongoose'); global.db = mongoose.connection; db...
// 云函数入口文件 const cloud = require('wx-server-sdk') cloud.init({ env: process.env.Env }) const rp = require('request-promise'); const dateUtils = require('date-utils') const db = cloud.database() const _ = db.command const APPID = process.env.AppId const APPSCREAT = process.env.AppSecret console.info(APPID) console.info(...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _spectraNmrUtilities = require('spectra-nmr-utilities'); var utils = _interopRequireWildcard(_spectraNmrUtilities); var _mlStat = require('ml-stat'); var _lodash = require('lodash.round'); var _lodash2 = _interopRequireDefault(_lod...
var parse = require('./parse'), stringify = require('./stringify'), QueryableNodeBuilder = require('./QueryableNodeBuilder'), _ = require("underscore"); var DEBUG_MODE = false; var dLog = function () { if (DEBUG_MODE) { console.log.apply(console, arguments); } }; // Might not be a regex var resetRegex = funct...
// var width_hm = 900 var width_hm = document.getElementById("content_size").offsetWidth; var height_hm = 25 var height_hm_title = 45 var height_hm_explainer = 15 var incomplete_colour = '#999999' var areas = ['Brighton and Hove', 'Bracknell Forest', 'Buckinghamshire', 'East Sussex', 'Hampshire', 'Isle of Wight', 'K...
import { useState, useRef } from 'react'; import _ from '../../../shared/util/base'; import ReactResizeDetector from 'react-resize-detector'; import BannerSectionStyles from './banner-css'; import FieldText from '../fields/text'; import FieldSlider from '../fields/slider'; import FieldColorPicker from '../fields/color-...
import React, {useState, useEffect, useCallback} from 'react' import { makeStyles } from '@material-ui/core/styles' import News from './../news/DisplayPublishedNews' import TeamStats from './../stats/teamStats' import {list} from '../stats/api-stats.js' import LastResult from '../stats/LastMatch' import Calendar from '...
import {hierarchy} from 'd3-hierarchy'; import packageInfo from '../package.json'; const {version} = packageInfo const defaults = Object.freeze({ children: data => data.children, nodeSize: node => node.data.size, spacing: 0, }); // Create a layout function with customizable options. Per D3-style, the // option...
import { SafeAreaView, Text, StyleSheet, Image, View, TouchableOpacity, FlatList, } from 'react-native'; import React from 'react'; import COLORS from '../src/conts/colors'; import categorysushi from '../src/conts/categorysushi'; const Detail = ({navigation, route}) => { const [sushiCount, setSushiCoun...
const mapGen = require('./functions/map'); const moveFunc = require('./functions/movement'); const scoreMenu = require('./functions/score'); const menu = require('./menu'); const Sound = require('node-aplay'); const player = require('play-sound')( (opts = { player: process.platform === 'win32' ? 'powershell' : 'a...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mapboxgl.accessToken = "<KEY>"; var map = new mapboxgl.Map({ container: "map", // container id style: "mapbox://styles/jnb2387/cj6ku9dfd7hsi2rnzrfsvj1rp", // stylesheet location // style: "../style.json", center: [-105.0009, 39.7472], //Denver zoom: 12 // starting zoom }); // Create a popup, but don't add i...
"use strict"; let prevEdges = []; // I need to change this name var show = 'currentPath'; function setShow(str) { switch (str) { case 'path': show = 'path'; break; default: show = 'currentPath'; } } /** * * (I need to change this name) * * This one is for change the function...
var columnDefs = [ /*{headerName: 'P.A', field: 'pa', filter: 'agTextColumnFilter', chartDataType: 'series', enableRowGroup: true},*/ //{headerName: '#', field: 'id', chartDataType: 'series', filter: 'agTextColumnFilter', cellRenderer: 'agGroupCellRenderer'}, {headerName: 'Referência', field: 'referencia', ...