text
stringlengths
3.22k
29.5k
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, de...
const m = require('mithril') const vent = require('../vent') const app = require('../app') const Scrollbars = require('../scrollbars') const TileMap = require('../TileMap') const r = require('../renderer') const Tile = require('../Tile') const Tween = require('../util/tween') const Drag = require('../util/drag') cons...
/** * Created by <NAME> on 16/12/15. */ var THREE = require('three'); var TrackballControls = require('three.trackball'); var OrthographicTrackballControls = require('three.orthographictrackball'); var Layouts = require('./layouts'); var Fixed = Layouts.connectedMultilayer; var ForceDirectedLayered = Layouts.indepen...
$(function() { "use strict"; buildControlTable(); // Needs to be Float type for OPC UA server let speed = 100; let borderColor = getComputedStyle(document.documentElement).getPropertyValue('--border-color'); let fontColor = getComputedStyle(document.documentElement).getPropertyValue('--font-c...
var yo = require('yo-yo') var css = require('../styles/run-tab-styles') var modalDialogCustom = require('../../ui/modal-dialog-custom') var remixLib = require('remix-lib') var EventManager = remixLib.EventManager var confirmDialog = require('../../ui/confirmDialog') var modalDialog = require('../../ui/modaldialog') var...
const merge = require('lodash/merge') const { ref, raw } = require('objection') const detailsForURLResolver = require('./detailsForURLResolver') const ManuscriptResolvers = ({ isVersion }) => { const resolvers = { submission(parent) { return JSON.stringify(parent.submission) }, async reviews(parent...
// HELPER FUNCTIONS let log16 = Math.log(16); let MAX_WIDTH = 100; let percentOffset = (offset, offsetRange) => (offset / offsetRange) * 100; let percentValue = function(value, min, max){ if (value === max) { return 100; } return ((value - min) / max) * 100; }; let expoPorcent = function(percent, min, max){ // ht...
/* * @copyright * Copyright (c) Microsoft. 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 applicab...
/* jquery.focus.js start */ (function(root, factory) { if (typeof exports !== 'undefined') { if (typeof module !== 'undefined' && module.exports) module.exports = factory(global.$); exports = factory(global.$); } else { factory(root.$); } }(this, function($) { $.fn.focusBegin = function() {...
import React, { Component } from 'react'; import { emojiList as emoji } from 'get-emoji'; import getEmoji from 'get-emoji'; const wrapperStyle = { display: 'inline-block', marginTop: '2px', marginBottom: '2px', marginRight: '4px', padding: '1px 3px', borderRadius: '5px', backgroundColor: '...
var $configApp = { /* DEFAULT VALUES */ disable_debugger : false, title: 'New Project', version: '0.0.1' } if($configApp['disable_debugger']===false){ var text_error = "Change 'disable_debugger' to 'true' to ignore the errors found by the debugger.<br>"; var error_bar = document....
import React, { useState, useEffect, useRef } from 'react' import Button from '../../../../atoms/Button/Button' import Input from '../../../../atoms/Input/Input' import Select from 'react-select' import Container from '../../../../atoms/Container/Container' import OrderNoHubHeader from '../PendingOrders/PendingOrderHea...
/** * Transforms NALD data into VML native format * @module lib/licence-transformer/nald-transformer */ const { find, uniqBy, isArray } = require('lodash'); const sentenceCase = require('sentence-case'); const BaseTransformer = require('./base-transformer'); const LicenceTitleLoader = require('./licence-title-loade...
/* * Copyright (c) 2015, Groupon, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditio...
/* Copyright 2020 <NAME> <<EMAIL>> Copyright 2020 The Matrix.org Foundation C.I.C. 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...
import React, { Component, PureComponent } from 'react'; import { connect } from 'react-redux'; import { Separator, DateSeparator, SeparatorNoMessages, Message } from '../../../components/message'; import { HeaderDialogContainer } from '../../../components/header-dialog-container'; import { Scrollbars } from 'react-cus...
/** * Project - ShaCar * Team - Group 3 Carshare * Last Modified - 2018/05/25 * Authors * - <NAME> */ import React, { Component, PropTypes } from "react"; import { Button, Row, Col, FormGroup, Input, Label, ButtonDropdown, DropdownToggle, DropdownMenu, DropdownItem...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var actorfunctions_details = [ "void VelFromAngle(double speed = 0, double angle = 0)", "void Vel3DFromAngle(double speed, double angle, double pitch)", "double absangle(double ang1, double ang2)", "double BobSin(double fb)", ...
/** * 从根节点开始渲染和调度 * 两个阶段: * diff阶段 对比新旧的虚拟DOM, 进行删除、更新或创建。 * render阶段成果是effect list知道哪些节点更新了、知道那些节点删除了、那些节点增加了 * * render阶段两个任务: 1. 根据虚拟Dom生成fiber树 2. 收集effect list * commit阶段: 进行DOM更新创建阶段; 此阶段不能暂停,要一气呵成; */ import { ELEMENT_TEXT, PLACEMENT, DELETION, TAG_HOST, TAG_ROOT, TAG_TEXT, UPDATE } from '...
//instantiate our basic objects var express = require('express') var session = require('express-session') var https = require('https') var url = require('url') var app = express() //set up the session object app.use(session({secret: 'some<PASSWORD>'})); var sess; //set the configuration parameters //client_id, redir...
var path = require('path'); var express = require('express'); var ws = require('ws'); var minimist = require('minimist'); var url = require('url'); var kurento = require('kurento-client'); var fs = require('fs'); var https = require('https'); var uniqid = require('uniqid'); var fileName = 'file://'+__dirname+'/sta...
import { // domcapture, domprocess } from '../utils'; import domtoimage from 'dom-to-image'; const screenshot = () => { const screenshotController = function ($scope, $element, $compile, $timeout, $window) { const colors = { gray: '#898b89', lightGray: '#e6e3e3' }, hightLevelZindex = { ...
var stdio = require('stdio'), phantom = require('phantom'), url = '', form = null, delay = 1000, debug = false, jQuery = '', testMode = false; //stdio setup var ops = stdio.getopt({ url: {key: 'u', args: 1, description: 'URL to hit'} , form: {key: 'f', args: 1, description: 'ID of f...
import React from 'react'; import op from 'object-path'; import cn from 'classnames'; import _ from 'underscore'; import { Button, Icon } from '@atomic-reactor/reactium-ui'; import Reactium, { __ } from 'reactium-core/sdk'; import { Scrollbars } from 'react-custom-scrollbars'; import SelectBranch from '../_helpers/Sele...
/* eslint-disable no-trailing-spaces */ /* eslint-disable no-multiple-empty-lines */ const express = require('express'); const router = express.Router(); const Programs = require('./programs-model'); const Workouts = require('../workouts/workouts-model'); const Clients = require('../clients/clients-model'); const {vali...
import create from 'zustand'; import BigNumber from 'bignumber.js'; import { AUCTION_DATA_FETCHER } from '../constants'; const initialPageState = { pageStart: 0, pageEnd: 10, pageStep: 10 }; const transformEvents = async (auctions, service, type, ilk) => { const groupedEvents = _.groupBy(auctions, auction => auctio...
const http = require('http'); const https = require('https'); const commander = require('commander'); const { auth } = require('arsenal'); const { UtapiClient, utapiVersion } = require('utapi'); const logger = require('../utilities/logger'); const _config = require('../Config').config; const { suppressedUtapiEventField...
/* * Copyright (c) 2018, <NAME> <<EMAIL>irez at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice,...
var bigdataViews, mapData, clientId, scopes, loadGplusProfile, loadGapis, signinWithGapi, loginAction, signIn, signOut, out$ = typeof exports != 'undefined' && exports || this; bigdataViews = [initDataView, initMapView]; mapData = {}; out$.initAllView = initAllView; function initAllView(){ $('#btn-signin').click(func...
import Vue from 'vue' import { union, without, has, isNil, noop, isFunction, mapValues, merge, get, set, cloneDeep, isPlainObject, } from 'lodash' import { validate, asyncValidate } from '../validators/validate' import isValid from '../utils/isValid' import CONSTANTS from '../constants' export ...
import Drag from "../js/drag"; import { Float } from "../js/float"; import { Vector, VectorE } from "../js/vector"; import { noise_perlin, noise_value } from "../js/noise"; import { Waveform } from "../js/waveform"; import bonfire_mp3 from "./bonfire.mp3"; import scifi_mp3 from "./scifi.mp3"; import metalHits_mp3 from ...
'use strict'; // http://www.w3schools.com/js/js_strict.asp // token handling in session var token = require('./token'); // web framework var express = require('express'); var router = express.Router(); var bodyParser = require('body-parser'); var jsonParser = bodyParser.json(); var rawParser = bodyParser.raw({limit:...
const fork = require('child_process').fork; const path = require('path'); const async = require('async'); const _ = require('lodash'); const chalk = require('chalk'); const debug = require('debug')('webdriver.io:runner'); const glob = require('glob'); const Progress = require('./lib/progress'); function upperCaseFirs...
import * as d3 from "d3"; import * as sankey from "./d3-sankey-diagram/src/index"; import * as saveSvg from "save-svg-as-png"; import LZString from "lz-string"; import ClipboardJS from "clipboard"; import {CSS3_NAMES_TO_HEX, getColor, resetColorIndex} from "./colors"; const lineRegex = new RegExp("(.*)\\[([0-9,.?]+[...
/* * Single geometry with one texture */ // extend array prototype Array.prototype.pushArray = function(arr) { this.push.apply(this, arr); }; function Mesh() { // relative shift and orientation this.strip = false this.shading = 0 this.ambient = [1,1,1] this.dirLight = [1,1,1] this.x ...
import React from 'react' import { ValidatorForm } from 'react-form-validator-core' import Loader from "react-loader-spinner"; import TextComponent from './TextComponent'; import ItemCount from './ItemCount'; import MonitorCard from './MonitorCard'; import { withRouter } from 'react-router-dom'; import Swal from 'swee...
const axios = require("axios"); const ghPinnedRepos = require("./gh-pinned-repos.js"); const Parser = require("rss-parser"); const parser = new Parser(); const striptags = require("striptags"); const truncate = require("truncate-html"); const pako = require("pako"); const _ = require("lodash"); const { instagramToken, ...
import React from 'react'; import styled from 'styled-components'; import dequal from 'dequal'; import { escapeHTML } from '../utils'; import { t, Translate } from 'react-i18nify'; import toastr from 'toastr'; const Wrapper = styled.div` position: absolute; z-index: 1; left: 0; top: 0; width: 100%;...
import { useCallback, useMemo } from 'react' // import { useWeb3React } from '@web3-react/core' import Web3 from 'web3' import { useWeb3React } from './useWeb3' import { useSynchronizer } from './useContract' import { useTransactionAdder } from '../state/transactions/hooks' import { useAddPopup } from '../state/applic...
var SensusTidakTercatatSkpd = new SkpdCls({ prefix : 'SensusTidakTercatatSkpd', formName:'adminForm' }); var SensusTidakTercatat = new DaftarObj2({ prefix : 'SensusTidakTercatat', url : 'pages.php?Pg=SensusTidakTercatat', formName : 'adminForm',// 'ruang_form', formSetDetailEntry : function(){ ...
var _ = require('./lodash'), sanitize = require('./util').sanitize, sanitizeOptions = require('./util').sanitizeOptions, addFormParam = require('./util').addFormParam, path = require('path'); const VALID_BODY_MODES = ['urlencoded', 'raw', 'graphql', 'file', 'formdata']; /** * Adds mode of redirection in fetch...
const { validationResult } = require('express-validator'); const convertapi = require('convertapi')(process.env.CONVERTAPI_KEY); const fastcsv = require("fast-csv"); const fs = require("fs"); const Member = require('../models/Member'); const Profile = require('../models/Profile'); const ShilohRegistration = require('.....
// debounce limits the amount of function invocation by spacing out the calls // by at least `wait` ms. function debounce(func, wait, immediate) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if (!immediate) func.apply(context, ...
/* ©2015-2016 EdgeVerve Systems Limited (a fully owned Infosys subsidiary), Bangalore, India. All Rights Reserved. The EdgeVerve proprietary software program ("Program"), is protected by copyrights laws, international treaties and other pending or existing intellectual property rights in India, the United States and o...
const request = require('superagent') const cheerio = require('cheerio') const common = require('../connectors/common') console.log('enterprise connector loading...') const SEARCH_URL = 'search/results?qu=' const ITEM_URL = 'search/detailnonmodal/ent:[ILS]/one' const HEADER = { 'User-Agent': 'Mozilla/5.0 (Windows NT ...
/* 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 may not use this f...
/* eslint-disable react/no-find-dom-node */ import React, { Component, useEffect, useMemo, useRef, useState } from 'react'; import { findDOMNode } from 'react-dom'; import { findScrollParent, findScrollParents, isNodeAfterScroll, isNodeBeforeScroll, } from '../../utils'; import { Box } from '../Box'; class Ref...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutProperties2 = _inte...
import { Utils } from './builder.classes'; export function DfBuilderController() { // TODO: adds logic code } export function DfFormObjectEditableController($scope, $injector) { var $builder = $injector.get('$builder'); var $validator = $injector.get('$validator'); $scope.setupScope = (formObject) => { ...
/* clienthttp is a polyfill of the WHATWG Fetch API. These are safe to run in parallel. If you need to run ten http requests, all 10 will resolve in a timely manner. You **can** put clienthttp.cs in it's own resource, and make it async if you believe it will improve things. I already do async functions on i...
function createCompilexJson(code_zip_list) { var compilexJson = new Object(); compilexJson.compilers_versions = $("#compilers_versions-selection-box")[0].value; compilexJson.codesend_selected_compiler = $("#codesend_selected_compiler")[0].value; compilexJson.cbx_compatible = 1; compilexJson.codesend...
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
var canvas = document.getElementById('testCanvas'); var viewer = ProcessCanvas.init(canvas); var scene = new ViewObjectList(viewer); /* NOTE: This example will crash your browser if you add circular references in the connections section. So, don't do it. */ // Just some test data var testData = { nodes: [ { ...
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import { ViroScene, ViroBox, ViroMaterials, ViroNode, ViroImage, ViroVideo, ViroFlexView, V...
let configs = { calcButton: "#button_calc", formData: "#form_tests_data", averageResult: "#results_average", medianResult: "#results_median", modeResult: "#results_mode", varianceResult: "#results_variance", deviationResult: "#results_deviation", elapsedTime: "#elapsed_time", firstNu...
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { compose } from 'redux'; import Dropzone from 'react-dropzone'; import Button from 'react-bootstrap/lib/Button'; import Modal from 'react-bootstrap/lib/Modal'; import Glyphicon from 'react-bootstrap/lib/Glyphi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _errorBoundary = _interopRequireDefault(require("../app/error-boundary")); var ArrayType = _interopRequireWildcard(require("./array")); var MixedType =...
var simpleJSON ={ "donutChart" : {"Title" : ["Last 15 day's temperature readings","string","string"], "Dount key":["Agnitio,IBM,Facebook","array","string"], "Dount Data":["12000,8850,10000","array","int"], "Color":["#e67a77,#95d7bb,#aec785","array","string","colorTag"], "Factor":["Cost...
import ScratchJr from '../ScratchJr'; import Palette from './Palette'; import Undo from './Undo'; import OS from '../../tablet/OS'; import ScratchAudio from '../../utils/ScratchAudio'; import {frame, gn, newHTML, isAndroid, setProps} from '../../utils/lib'; let interval = null; let recordedSound = null; let isRecordin...
import Table from "@material-ui/core/Table"; import TableBody from "@material-ui/core/TableBody"; import TableCell from "@material-ui/core/TableCell"; import TableHead from "@material-ui/core/TableHead"; import TableRow from "@material-ui/core/TableRow"; import TableFooter from "@material-ui/core/TableFooter"; import T...
let email = document.querySelector('#email'); let password = document.querySelector('#password'); let svgContainer = document.querySelector('.svgContainer'); let armL = document.querySelector('#armL'); let armR = document.querySelector('#armR'); let eyes = document.querySelector('#eyes'); let nose = do...
const testSetup = require('./testSetup'); const assert = require('chai').assert; const db = require('../db'); const z3 = require('../z3'); const server = testSetup.server; describe('Publish operations', () => { before(() => {}); after(() => {}); beforeEach(testSetup.beforeEach); afterEach(testSe...
import {UploadIcon} from '@sanity/icons' import {Button, Card, Grid} from '@sanity/ui' import ButtonCollection from 'part:@sanity/components/buttons/button-collection' import DialogContent from 'part:@sanity/components/dialogs/content' import Dialog from 'part:@sanity/components/dialogs/default' import FormField from '...
/* This file is part of the Adambots Automated Scouting Kit (AASK). AASK is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AASK is distribute...
"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]; })...
/** * @license * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
var cheerio = require('cheerio'); var moment = require('moment'); var striptags = require('striptags'); var urljoin = require('urljoin.js'); var multidep = require('../multidep'); var pkg = require('../package'); var utils = require('../node_scripts/utils'); var isUrl = utils.isUrl; var aframeVersions = multidep.ver...
// Adjust the positioning of image resizer // ============================================================================= var imageResizeClass = $R['classes']['image.resize']; imageResizeClass.prototype.init = function (app) { this.app = app; this.$doc = app.$doc; this.$win = app.$win; this.$body = ...
import {QueryCtrl} from 'app/plugins/sdk'; import './css/query-editor.css!'; import Sortable from './../external/Sortable.min'; import {substituteFinalQuery} from "./queryBuilderService"; export class BosunDatasourceQueryCtrl extends QueryCtrl { constructor($scope, $injector, uiSegmentSrv) { super($scope, $inj...
import { DEFAULT_SETTINGS, DEFAULT_LANG } from "./defaults"; import { ONE_DAY } from "./constants"; class Timepicker { constructor(targetEl, options = {}) { this.targetEl = targetEl; const attrOptions = Timepicker.extractAttrOptions( targetEl, Object.keys(DEFAULT_SETTINGS) ); this.setti...
/* global fabric:true document:true $:true window:true canvas:true */ const mapCanvas = new fabric.StaticCanvas("map", { isDrawingMode: false, }); var Cross = fabric.util.createClass(fabric.Object, { objectCaching: false, initialize: function (options) { this.callSuper("initialize", options); ...
/* eslint-disable max-len */ /* eslint-disable @typescript-eslint/no-var-requires */ const plugin = require("tailwindcss/plugin"); const svgToDataUri = require("mini-svg-data-uri"); module.exports = { purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"], darkMode: false, mode: "jit", theme: { boxSh...
"use strict"; /** * @author tudou527 * @email [<EMAIL>] */ Object.defineProperty(exports, "__esModule", { value: true }); const fs = require("fs"); const is = require("is"); const crypto = require("crypto"); const urllib = require("urllib"); const request = require("request"); const isuri = require("isuri"); const de...
// Create new topic // 'use strict'; const $ = require('nodeca.core/lib/parser/cheequery'); const charcount = require('charcount'); module.exports = function (N, apiPath) { N.validate(apiPath, { club_hid: { type: 'integer', required: true }, title: { type: 'stri...
import React from 'react' import {connect} from 'react-redux' import {getCartThunk} from '../store/cart' import {removeItemThunk} from '../store/cart' import {updateItemThunk} from '../store/cart' import {Link} from 'react-router-dom' import styled from 'styled-components' const Checkout = styled(Link)` display: fle...
var color = require('./color.js'); var car = require('./car.js') // var p2 = require('p2') class Sensor {} class DistanceSensor extends Sensor { constructor(car, opt) { super() this.type = "distance" this.car = car this.angle = opt.angle / 180 * Math.PI this.length = opt.l...
/** * Created by <NAME> on 2018.12.31 * Copyright (c) 2018 <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, ...
let allOrders = []; let activeOrder; let chosenOrder; const server = "https://hakimlivs.herokuapp.com/"; // const server = "https://hakim-livs.herokuapp.com/"; // const server = "http://localhost:8080/"; const updateOrderLink = server + "customerOrder/update"; const getAllOrders = server + "customerOrder/orders"; $(fu...
const { Spanner } = require("@google-cloud/spanner") const { diff } = require('jest-diff') const contentful = require(`contentful-management`) const pMap = require(`p-map`) const _ = require(`lodash`) const fs = require(`fs`) const path = require(`path`) const spannerProjectId = `gatsby-project` const spannerInstance ...
// nvue操作dom的库,用于获取dom的尺寸信息 const dom = uni.requireNativePlugin('dom') // nvue中用于操作元素动画的库,类似于uni.animation,只不过uni.animation不能用于nvue const animation = uni.requireNativePlugin('animation') export default { data() { return { // 是否滑动中 moving: false, // 状态,open-打开状态,close-关闭状...
import React from "react"; import createReactClass from "create-react-class"; import { ThemeProvider, createGlobalStyle } from "styled-components"; import PropTypes from "prop-types"; import combine from "terriajs-cesium/Source/Core/combine"; import { terriaTheme } from "./StandardTheme"; import arrayContains from "../...
import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Modal, Toast } from 'components'; import Nav from 'components/nav'; import NoContent from 'components/nocontent'; import { routerRedux } from 'dva/router'; import { cookie, config, formateSeconds, getImages } from 'utils'; import WxIm...
export const smz3ItemNames = { 0x60: "Progressive Tunic", 0x5F: "Progressive Shield", 0x5E: "Progressive Sword", 0x0B: "Bow", 0x58: "Silver Arrows", 0x0C: "Blue Boomerang", 0x2A: "Red Boomerang", 0x0A: "Hookshot", 0x29: "Mushroom", 0x0D: "Powder", 0x07: "Firerod", 0x08: ...
var { assert, Path, '@kingjs': { Exception, 'IEquatable': { Equals, GetHashcode }, 'IComparable': { IsLessThan }, 'IInspectable': { Inspect }, '-pojo': { ToArray }, '-reflect': { isString }, '-string': { StringBuilder }, }, } = module[require('@kingjs-module/dependencies')]() var NoRelative...
/* Magic Mirror * Module: MagicMirror-LCD-Backlights * MIT Licensed. */ var NodeHelper = require('node_helper'); const SerialPort = require('serialport') ; const Readline = require('@serialport/parser-readline'); const exec = require('child_process').exec; var counter = 0; var strands = [] ; var writebuffer = []...
/** Parchment Transcript Recording Plugin * Version 1.0 * URL: http://code.google.com/p/parchment-transcript/ * Description: Parchment Transcript Recording Plugin sends transcripts of games being played on Parchment web interpreter to a remote server. * Author: <NAME> * Copyright: Copyright (c) 2011 <NAME> under M...
import DataAccess from '../../../dataaccess/DataAccess'; import BreastMainTreatmentDebraV09 from '../../../dataaccess/BreastMainTreatmentDebraV09.json'; import hardCodedFHIRPatient from '../../../dataaccess/HardCodedFHIRPatient.json'; import hardCodedConvertedFHIRPatient from '../../../dataaccess/HardCodedConvertedFHIR...
"use strict"; // mesh object class BaseMesh { constructor(gl, vertices = null, textures = null, indices = null, uniforms = null) { this._vertices = vertices; this._textures = textures; this._indices = indices; this._vao = null; this._vbo = null; this._uniforms = unif...
import { doBinaryRequest, doFetch } from "./fetchHelpers"; import { matrixFBSToDataframe } from "../util/stateManager/matrix"; import { _getColumnSchema } from "./schema"; import { addObsAnnoColumn, removeObsAnnoColumn, addObsAnnoCategory, removeObsAnnoCategory, addObsLayout, } from "../util/stateManager/sche...
//XXX: TODO: Speed up sphere misses (Find out when we'll totally miss) //Use infinity instead of 10000 //Create a system for finding intersections quickly. //It takes on the verts and indices in the OpenGL style, then creates a BVH. function CreateCDFromModel( verts, indices ) { var lverts = []; var lids = []; for(...
const colors = require('color-name-list') function stringToHex (hex) { // Convert to string and make sure input color is in Uppercase hex = (hex || '000000').toString().toUpperCase() // Check if the hex code starts with #, If not then prepend a # to the code. hex = (hex.substring(0, 1) === '#') ? hex : `#${hex...
var nodos = []; var grafo = []; //Es para mantener la idea var rutaMasCorta; var longitudMasCorta; var listos = null; var limiteIteraciones = 500; //Construye el grafo con cada identificador function generarGrafo(serieDeNodos) { for (i = 0; i < serieDeNodos.length; i++) { nodos.push(serieDeNodos[i]); }...
import React, { Component } from 'react'; import * as cyber from '../../utils/cyber' import { browserHistory } from 'react-router' var moment = require('moment'); import { Container, AddItemButton, AddItemButtonText, Section, SectionContent, Centred, Button, FundContainer, ...
import { object, string, array, boolean } from 'yup' // this is a temporary fix until boolean().nullable().required() works /* eslint-disable-next-line no-template-curly-in-string */ const fakeRequiredMessage = '${path} is a required field' const nullableBool = boolean() .defined() .oneOf([true, false, null], fake...
import React, { Component } from "react"; import { View, StyleSheet, Text, ScrollView, TouchableOpacity, Image, TextInput, Animated, LayoutAnimation, Modal } from "react-native"; import NavigationBar from "../../../../../components/@jcmall/navbar"; import { PublicStyles, windowHeight, windowWidth } fr...
const DATE_TIME_FORMAT_CLIENT = "DD.MM.YYYY HH:mm:ss"; const render = new function () { var _render = this; var templates = {}; var getTemplate = function (id) { var template = templates[id]; if (!template) { template = $('#' + id).html(); templates[id] = template; ...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0...
var accountApi = { get: function (id, callback) { appDispatcher.handle(generate("GET", null, "/account/v1/accounts/" + id), callback); }, post: function (body, callback) { appDispatcher.handle(generate("POST", body, "/account/v1/accounts"), callback); }, update: function (id, body, c...
/** * Created by <NAME> on 12/04/2016. */ var gulp = require('gulp'); var plugins = require('gulp-load-plugins')(); var connect = require('gulp-connect'); var del = require('del'); var bf = require('main-bower-files'); var es = require('event-stream'); // helper for getting filtered files from bower components using...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _obje...