text
stringlengths
5.97k
41.2k
var mydata = []; var check = true; var userName = ""; var lastrow,lastcell; var barCodeFlag = false; var vm = new Vue({ el : '#rrapp', data:{warehourse:[]}, created: function(){ this.getUser(); }, methods : { getUser: function () { $.getJSON(baseURL+"sys/user/info?_" + $.now(), function (r)...
var paper = require("paper"); //var AsciiTable = require('ascii-table'); //const {table} = require('table'); function FlowerGenerate(flowers,count,ordering, fossilColor){ //console.log(flowers); var ttable = createTable([{Type: "Scenario", MwH: parseInt(flowers["scenario"])}, {...
var data = [ { "uaddress": "0x276ea10526355d106a1abb3853b41aa9adc9af54", "datadate": "2019-05-09 09:10:00", "dataplace": "p1", "datacontent": { "placedata": 63, "collectdata": 75 }, "ipfsdatahash": "", "hassell": false }, { "uaddress": "0x33d8de600a16d3e417eb807729f74207156d3b8a", "datadate": "2019-05-09 09:10:00",...
//---------------------------------------------------- // * // * Variables and Constants //---------------------------------------------------- // Define Host const HOST = "https://www.davidhaylock.co.uk/oheuropa/"; // Append the URL with HOST URL const UPLOAD_ID_URL = HOST+"userinteraction.php?newuser=1"; const UP...
import './mdialog.css' /**************** * Dialog 类 ****************/ var Dialog = function (conf) { this.constructor = Dialog; this.timestamp = (Date.now()).toString(); this.id = 'Dialog_' + this.timestamp; // 时间戳 // 选项 this.content = conf.content || ''; // 内部内容 this.onClose = conf.close ||...
// Create Compare Tables and Charts var allData = {}; var tableData = {}; var selectionData = {}; var addNewBrandToIndex; var MAX_TABLE_COLUMNS = 3; var CHART_WIDTH = 180; var CHART_HEIGHT = 70; function compareDataLoaded(data) { console.log(data); allData = data; // Get unique brand names tableData.brands = getUn...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. 'use strict'; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && ...
var _ = require('lodash'); var assert = require('assert'); var editor = require('./stubs/editor'); var parser = require('../lib/parser/abbreviation'); var resources = require('../lib/assets/resources'); var tabStops = require('../lib/assets/tabStops'); var utils = require('../lib/utils/common'); var actionUtils = requi...
import React, {useState, useContext} from 'react'; import {useParams, useLocation} from 'react-router-dom'; import 'date-fns'; import { format } from 'date-fns'; import DateFnsUtils from '@date-io/date-fns'; import heLocale from "date-fns/locale/he"; import { positions } from '@material-ui/system'; import { Box, Chip,...
#!/usr/bin/node /** * μDoc.js: a simple documentation generator * * copyright (c) <NAME> 2012 */ var fs = require('fs'), inputFiles = process.argv.slice(2, -1), outputDir = fs.realpathSync(process.argv.slice(-1)[0]), i, inFile, text, outFiles = {}, outFilename, outFile, comments = {}; func...
/** * Created by xuhe on 15/6/2. */ var Inform = { init: function(){ Inform.inform = $("#global-inform"); Inform.header = Inform.inform.find(".md-header"); Inform.body = Inform.inform.find(".md-body"); Inform.panel = Inform.inform.find(".md-panel"); Inform.loading = Inform....
import CAF from 'caf/dist/caf'; import eventhandlers from '@/store/modules/synclounge/eventhandlers'; import { combineUrl, combineRelativeUrlParts } from '@/utils/combineurl'; import { fetchJson } from '@/utils/fetchutils'; import { slPlayerClientId } from '@/player/constants'; import { open, close, on, waitForEvent,...
//real time communication /*jslint es6, maxerr: 100, browser, devel, fudge, maxlen: 120, white, node, eval */ /*global caches */ /*could add close connection button*/ import {MESSAGES} from "./settings/messages.js"; import d from "../../node_modules/dom99/built/dom99Module.js"; import {yesNoDialog, textDialog}...
import Buttons from './buttons' import Dimension from './dimension' import EventEmitter from './../util/eventEmitter' import Events from './../events' import Form from './form' import OptionsWrapper from './optionsWrapper' import Resource from './../resource' import VideomailError from './../util/videomailError' import...
/** * Module that allows management of content types * Base content type sub-module [Depends on Content] */ var rootpath = process.cwd() + '/', path = require('path'), calipso = require(path.join(rootpath, 'lib/calipso')), Query = require("mongoose").Query; /** * Define the routes that this module will reps...
import { Fragment } from 'react' import { Menu, Transition } from '@headlessui/react' import { ChatAltIcon, CodeIcon, DotsVerticalIcon, EyeIcon, FlagIcon, PlusIcon, ShareIcon, StarIcon, ThumbUpIcon, } from '@heroicons/react/solid' import { FireIcon, HomeIcon, TrendingUpIcon, UserGroupIcon } from '@her...
function Kline() {} Kline.prototype = { browerState: 0, klineWebsocket: null , klineTradeInit: false, tradeDate: new Date(), tradesLimit: 100, lastDepth: null , depthShowSize: 15, priceDecimalDigits: 6, amountDecimalDigits: 4, symbol: null , curPrice: null , title: "", ...
// Turning off eslint warnings: /* global d3 */ // import React from 'react'; import {connect} from 'react-redux'; // import { hot } from 'react-hot-loader/root'; import { Loader } from 'react-overlay-loader'; import 'react-overlay-loader/styles.css'; import PivotContainer from './pivot-container.js'; import SelectDa...
import katex from 'katex' /** Represents a one way step. @constructor @param {string} formulaText - The text of the formula. @param {string} rule - The rule that is used in this step. @property {string} formula The formula. @property {string} rule The applied rule. */ export class LogIndStep {...
function get(id) { return document.getElementById(id); } var KEY = { ESC: 27, SPACE: 32, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40 }; var DIR = { UP: 0, RIGHT: 1, DOWN: 2, LEFT: 3, MIN: 0, MAX: 3 }; var COLOR = { RED: 1, GREEN: 2, BLUE: 3, ORANGE: 4, YELLOW: 5, PURPLE: 6, LIGHTBLUE: 7}; var canvas = get('game_canvas'...
import iconv from 'iconv-lite'; import {DESCRIPTORS} from '../constants'; import {ParseError} from '../errors'; import {PSIDescriptor} from '../packets'; import {stringifyDvb, parseBCD, parseBCDSeconds, parseDatetimeBCD} from '../util'; import Parser from './Parser'; const split = (data, start, size, func) => { c...
/* eslint-env node, mocha, es2017 */ import FileStorage from '../src/fileStorage.js' import PouchDb from 'pouchdb' import PouchDbAdapterMemory from 'pouchdb-adapter-memory' import { expect, assert, use } from 'chai' import chaiAsPromised from 'chai-as-promised' import { step } from 'mocha-steps' import { buildTextFile...
const weirdParse = require('./weird-parse') const html = { tags: ['<!--', '-->'], pattern: ['<!--+', '-->'], } const jsx = { tags: ['{/*', '*/}'], pattern: [ '\{\/\\*+', '\\*+/\}' ] } const yaml = { tags: ['##', '##'], pattern: [ '##+', '##+' ], converter: (str) => { return str...
let width = +document.body.getElementsByTagName('canvas')[0].getBoundingClientRect().width; let height = +document.body.getElementsByTagName('canvas')[0].getBoundingClientRect().height; const textWidth = 140; let xDomain, yDomain, x, y, data, filtered, context, toLink, dataContainer; let windowLeft, windowRight, oriLef...
import React, { forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState, } from 'react'; import { MessageContext } from '../../contexts/MessageContext'; import { FormContext } from './FormContext'; import { FormPropTypes } from './propTypes'; const defaultValue = {}; const defaultTouche...
// This file contains the application's shared state and a variety of convenience // functions for handling requests. In particular, this file initializes: // * The reference list of available scenarios // * The reference list of metadata for those scenarios: the `metadata` collection in MongoDB // * A stored index of ...
//'use strict'; var express = require('express'); var bodyParser = require('body-parser'); var watson = require('watson-developer-cloud'); var extend = require('util')._extend; var i18n = require('i18next'); var Twitter = require('twitter'); var TwitterAuth = require("node-twitter-api-custom"); var Canvas = require("ca...
const fs = require('fs'); const remote = require('electron').remote; const path = require('path'); const BrowserWindow = remote.BrowserWindow; const ipc = require('electron').ipcRenderer; var Peaks = require('peaks.js'); const WaveformData = require('waveform-data'); var myAudioContext = new AudioContext(); var os = r...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
/** * A background or foreground item. * * @param layer the layer object from the resource file. * @returns {MatteItem} */ function MatteItem(layer) { // this.depth = layer.depth; // this.type = layer.type; copy(layer, this); if (this.x === undefined) this.x = 0; if (this.y === undefined) this.y = 0; if (...
/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Component } from '@wordpress/element'; import { compose } from '@wordpress/compose'; import { Button, Card, CardBody, CardFooter, TabPanel, __experimentalText as Text, FlexItem, CheckboxControl, } from '@wordpress/components'; impor...
import { gql } from "@apollo/client" import { Icon, IconSize } from "@blueprintjs/core" import { IconNames } from "@blueprintjs/icons" import { DEFAULT_PAGE_PROPS, DEFAULT_SEARCH_PROPS } from "actions" import API from "api" import AppContext from "components/AppContext" import AssessmentResultsContainer from "component...
function clearCinii() { // 結果テーブル要素 $('#ciniiResultTbl > *').each(function(){ $(this).remove(); }); // ページネーション要素 $('#ciniiPageLink > *').each(function(){ $(this).remove(); }); $('#ciniiDescription').html(''); // 結果数・現在位置 $('#ciniiResultTbl').addClass('hidden'); // 結果テーブル $('#ciniiDialog .buttonS...
import { GLTFLoader } from '../loaders/GLTFLoader.js'; import { DRACOLoader } from '../loaders/DRACOLoader.js'; import { KTX2Loader } from '../loaders/KTX2Loader.js'; import * as THREE from 'three'; import { BuilderButton } from './BuilderButton.js'; import StatsVR from '../stats/statsvr.js'; import Stats from '../libs...
// Wasm Module (Package) Manager for the shell import table from "text-table"; import * as idbKeyval from "idb-keyval"; import { fetchCommandFromWAPM } from "./query"; import { extractContents } from "@wasmer/wasmfs/lib/tar"; import { lowerI64Imports } from "@wasmer/wasm-transformer"; import welcome from "./callback-c...
const { add_binary_resource, } = require('../../registry'); const { get_function_params, } = require('../../parser/type_converters'); /* config */ const pack_array_to_binary = true; const ARRAY_VERTEX = 0; const ARRAY_NORMAL = 1; const ARRAY_TANGENT = 2; const ARRAY_COLOR = 3; const ARRAY_TEX_UV = 4; const ...
import React, { Component } from 'react'; import { faWallet, faCalendar, faAngleDoubleRight, faBox, faList, faClock, faAngleDoubleLeft, faChevronLeft, faChevronRight, faSync, faUsers, faDollarSign } from '@fortawesome/free-solid-svg-icons'; import { Col, Row, Form, FormGroup, InputGroup, InputGroupAddon, InputGroupText...
const NameConverter = require('./name_converter'); const { getTypeFromKey, getReverseRelatedField, getLastWord, rightTrim, getProper, pluralize } = NameConverter; const util = require('util'); const idkeys = { Chat: { user: "from_user", chat_user: "to_user", chat_id: "message_id" }, ...
import { TRAJECTORY_END, TRAJECTORY_POS } from "../../../../include/surface_terrains"; // 0x0702EC3C - 0x0702ECC0 export const rr_seg7_trajectory_0702EC3C = [ TRAJECTORY_POS(0, /*pos*/ 4500, -1820, 2050), TRAJECTORY_POS(1, /*pos*/ 5250, -1840, 2050), TRAJECTORY_POS(2, /*pos*/ 5860, -1430, 2070), T...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(...
var base_url = $('#base_url').attr('class'); $( document ).ready(function() { $("#is_fix_member_id").click(function() { var mem = $(this).data('mem'); if($(this).prop('checked')) { $("#member_id").val(""); $("#member_id").prop("readonly", false); $("#member_id").f...
// http://akelpad.sourceforge.net/forum/viewtopic.php?p=4270#4270 // http://infocatcher.ucoz.net/js/akelpad_scripts/highlighter.js // https://github.com/Infocatcher/AkelPad_scripts/blob/master/highlighter.js // (c) Infocatcher 2009-2012 // Version: 0.3.4 - 2012-04-06 // Author: Infocatcher //=================== ////...
import { CHAT_USER, ACTIVE_USER,FULL_USER, ADD_LOGGED_USER, CREATE_GROUP } from './constants'; //Import Images import avatar1 from "../../assets/images/users/avatar-1.jpg"; import avatar2 from "../../assets/images/users/avatar-2.jpg"; import avatar4 from "../../assets/images/users/avatar-4.jpg"; import avatar3 fr...
/** * 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 */ var parse = require('flow-parser').parse; var vlq = require('vlq'); /** * Given a string JavaScript source which c...
/** * Video */ import React, { PureComponent } from 'react'; import { AppState, ActivityIndicator, TouchableOpacity, StyleSheet, NativeModules, Slider, StatusBar, PanResponder, Text, LayoutAnimation, View, } from 'react-native'; import Touchable from './Touchable'; import...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _asyncToGenerator = _interopRequireDefault(require('async-to-generator')); var _nuclideUri; function _load_nuclideUri() { return _nuclideUri = _interopRequireDefault(require('nuclide-commons/nuclideUri')); } var _string; function...
// Error checking and parameter validation. // // Statements for the form `check.someProcedure(...)` get removed by // a browserify transform for optimized/minified bundles. // /* globals atob */ var isTypedArray = require('./is-typed-array') var extend = require('./extend') // only used for extracting shader...
/** * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
const { cookies, local,} = brownies; String.prototype.isEmpty = function() { return (this.length === 0 || !this.trim()); }; function randInt(min=111, max=116) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min + 1)) + min; } var number_format = function (number, dec...
//返回购物车 function backcart(){ var key = getCookie("111yao"); window.location.href="../carts/cart!page.action?key="+key; } //选择收货地址 function xuanzeReceiver(receiverId,uiid){ if(receiverId!=$("#receiverId").val()){ $("#receiverId").val(receiverId); $("#"+uiid).find("li").each(function() { if($(this).chi...
const config = require("./name-parser-config"); const same_tag_regs_table = config.same_tag_regs_table; const not_author_but_tag = config.not_author_but_tag; const char_names = require("./character-names"); //https://stackoverflow.com/questions/5582574/how-to-check-if-a-string-contains-text-from-an-array-of-substrings-...
/* * Bones Scripts File * Author: <NAME> * * This file should contain any js scripts you want to add to the site. * Instead of calling it in the header or throwing it inside wp_head() * this file will be called automatically in the footer so as not to * slow the page load. * * There are a lot of example functi...
/** * @fileoverview Axis Data Maker * @author NHN. * FE Development Lab <<EMAIL>> */ import chartConst from '../../const'; import predicate from '../../helpers/predicate'; import geomatric from '../../helpers/geometric'; import calculator from '../../helpers/calculator'; import renderUtil from '../../helpe...
import React, { useRef, useEffect, useState } from "react" import { media } from "../../styles" import * as d3 from "d3" import { useStaticQuery, graphql } from "gatsby" import _ from "lodash" const cssTimeLine = { display: "none", [media(767)]: { width: "100%", display: "flex", }, } const cssCloseBtn =...
var Fluxxor = require("fluxxor"); var bigRat = require("big-rational"); var fixtures = require("../js/fixtures"); var constants = require("../js/constants"); var utils = require("../js/utils"); var TradeStore = Fluxxor.createStore({ initialize: function(options) { this.title = "Trades"; this.trad...
/*jshint node:true, bitwise:false */ var fs = require('fs'); var zlib = require('zlib'); function ZipWriter() { var entries = []; function calculateCrc32(buf) { var CRC_TABLE = [ 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d...
import { parseDate, addZero, cloneDeep, isArray, numToDate, makeRange, isUndefined, getDaysByYear, getDaysByMonth, getMonthsByYear, } from './base'; import locale from './locale'; import dateFormat from './dateFormat'; import Slot from '../../Slot'; import { shouldUpdate } from '../../Utils'; const...
import React, { Component } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { connect } from 'react-redux'; import { Button, ListGroup, Image, Card, Tooltip, OverlayTrigger, Row, Col, Form, FormControl } from 'react-bootstrap'; import ImagePreviewModal from './image_preview_modal'...
import FdBaseSheet from './fd-base-sheet'; import FdUmlElement from '../../objects/uml-primitives/fd-uml-element'; import FdUmlLink from '../../objects/uml-primitives/fd-uml-link'; import { isNone, isBlank } from '@ember/utils'; import { translationMacro as t } from 'ember-i18n'; import { all, resolve, reject } from '...
/* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the c...
import { formatData, getStartDate, containsDateTime, divideDuration, getRndInteger, convertEventsToDictionary, selectionSort, getRandomDate, getStrings } from './helper'; import { insertEvent, getCalendarList, createSecondaryCalendar, getAvailabilities, listEvents, getCalendar, insertAccessRule, getAccessRules, removeA...
// app-camera-move.js // // Created by <NAME> on 05/05/2017. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // // This Client script sets up the Camera Control Tablet App, which ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _solidUi = require("solid-ui"); var _rdflib = require("rdflib"); /* pad Pane ** */ var paneDef = { // icon: (module.__dirname || __dirname) + 'images/ColourOn.png', icon: _solidUi.icons.iconBase ...
//declare global objects var socket = io(); var resObj = {}; var wellsObj = []; function restoreResMethods(res){ res.getIndex = function(row, col) { let index = 0; let long, short; if (gridblocksX > gridblocksY) { long = gridblocksX; short = gridblocksY; } el...
'use strict'; const _ = require('lodash'); const fs = require('fs'); const DialogFlowUtil = require('./dialogflowUtil'); const BUILTIN_PREFIX = '@sys.'; const utils = require('./../utils/utils'); const pathSep = require('path').sep; const DEFAULT_INTENT = { 'auto': true, 'contexts': [], 'responses': [ ...
import { getUserAgent, isEventSelf, startScrollView, stopScrollView } from './lib.polyfill' function getLen(v) { return Math.sqrt(v.x * v.x + v.y * v.y) } function dot(v1, v2) { return v1.x * v2.x + v1.y * v2.y } function getAngle(v1, v2) { let mr = getLen(v1) * getLen(v2) if (mr === 0) return 0 let r = do...
// ---------------------------------------------------------------------------- // sprites.js // Enuma Sprites PoC // // Copyright (c) 2018 Enuma Technologies Limited. // https://www.enuma.io/ // ---------------------------------------------------------------------------- const { curry, ap, map, filter, identity, ...
// Code by <NAME> <EMAIL> December 2020 // Made using P5.js https://p5js.org/ // currently using an old version of P5.sound as the latest version causes glitches on Chrome browse on Android var mode; // store the detected device - i.e. mobile, tablet, computer var NumberOfButtons; // the number of bu...
import { array, isArray, isObject, isString } from 'vega-util'; import { isBinned, isBinning } from '../../bin'; import { SCALE_CHANNELS, X, X2, Y2 } from '../../channel'; import { getTypedFieldDef, isConditionalSelection, isFieldDef, isValueDef } from '../../channeldef'; import * as log from '../../log'; import { isPa...
'use strict'; import Tank from "./Tank.js"; import Team from "./Team.js"; import Bullet from "./Bullet.js"; import Battlefield from "./Battlefield.js"; import EventStore from "./EventStore.js"; import CollisionResolver from "./CollisionResolver.js"; import AiWrapper from "./AiWrapper.js"; import PerformanceMonitor fro...
/* globals __DEV__ */ import Phaser from 'phaser' import Player from '../sprites/Player' export default class extends Phaser.State { init() { } preload() { } create() { this.fireRate = 300 this.nextFire = 0 this.initializeWorld(); this.initializeGui(); thi...
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------------------------------------------------...
import * as tf from '@tensorflow/tfjs'; import loadImage from 'blueimp-load-image'; import ndarray from 'ndarray'; import ops from 'ndarray-ops'; import KerasJS from 'keras-js'; import * as WebDNN from 'webdnn'; import * as onnx from 'onnxjs'; import {imagenetClassesTopK} from './imagenet'; const IMAGE_URLS = [ { ...
const answers = [ 'anruf', 'anzug', 'apfel', 'april', 'arche', 'areal', 'arena', 'armee', 'armut', 'aroma', 'asche', 'aston', 'atlas', 'atmet', 'atome', 'augen', 'autor', 'baden', 'bahnt', 'baier', 'baker', 'banal', 'bande', 'baron', 'basar', 'basis', 'bauch', 'ba...
import { map, forEach, isString, filter, assign, has } from 'min-dash'; import { isSimpleType, parseNameNS } from 'moddle'; import { hasLowerCaseAlias, serializeAsType, serializeAsProperty, DEFAULT_NS_MAP, XSI_TYPE } from './common'; var XML_PREAMBLE = '<?xml version="1.0" encoding="UTF-8"?...
import {List} from 'immutable'; import React from 'react'; import { connect } from 'react-redux'; import page from 'page'; import StackChart from '../../../../shared/js/components/StackChart'; ...
/* * The MIT License (MIT) * * Copyright (c) 2015 - present Instructure, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ri...
/** * 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...
let planName = "" let saveObj = {} let selectedFields =[] var source = {} let resourcesSource = {} let resources = {} let inv_resources = {} let personnelArray =[] let serverURL = "http://127.0.0.1:3000" //---- let plansArray = [] let columnArray = [] //--- /** Field for Data Fields for Item of Kanban Board **/ va...
import React, {Component} from 'react'; import {connect} from 'react-redux'; import {hashHistory, Link} from 'react-router'; import * as postUserAction from '../../actions/posts/post/list'; import { Animated, View, Image as Img, StyleSheet, TouchableWithoutFeedback, Text, ScrollView, FlatList } from 'react-native'; imp...
/****************** Sound Safari por <NAME> de Digital Naturalism Laboratories www.dinalab.net Creado para el Instituto Smithsonian de Investigaciones Tropicales Stri.si.edu Los grillos fueron grabados por <NAME>, las ranas fueron grabadas por <NAME> y <NAME>, <NAME> y <NAME> grabaron otros sonidos. Las imágenes son...
 //$(document).ready(function () { // $("#success-alert").hide(); // $("#info-alert").hide(); // $("#danger-alert").hide(); // //$("#myWish").click(function showAlert() { // // $("#success-alert").fadeTo(2000, 500).slideUp(500, function () { // // $("#success-alert").slideUp(500); // // ...
/* * Copyright (c) 2022 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ 'use strict'; const customBackendName = 'custom-webgl'; /** * Applies a blur effect using Web...
const expInputEl = document.querySelector(".exp-input"); const output = document.querySelector(".output"); const numBtns = document.querySelectorAll(".num"); const operatorBtns = document.querySelectorAll(".operator"); const clearBtn = document.getElementById("clear"); const backspaceBtn = document.getElementById("ba...
"use strict"; var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; exports.__esModule = true; ...
var { MessageActionRow, MessageButton, Permissions, MessageSelectMenu } = require('discord.js'), { connection, mod_connection } = require('./connection.js'), nrpnames = new Set(), sened = new Set(), snyatie = new Set(); class Request_For_Roles { async send_request(bot, message) { if (messag...
var express = require('express'); var dateFormat = require('dateformat'); var http = require('http'); var async = require('async'); var router = express.Router(); var middleware = require('./token-middleware'); /** * @api {get} /metrics/:workflowID/:taskID/:experimentID 1. Get all sampled metrics' names and average v...
var instance_skel = require('../../instance_skel'); var TelnetSocket = require('../../telnet'); var debug; var log; instance.prototype.CHOICES_BUTTON = [ { id: '3', label: 'Ch Pg +' }, { id: '4', label: 'Ch Pg -' }, { id: '5', label: 'Fd Pg +' }, { id: '6', label: 'Fd Pg -' }, { id: '7', label: 'Bt Pg +' ...
const { ethers } = require("hardhat") const { expect } = require("chai") const { time } = require("./utilities") describe("MochiChef", function () { before(async function () { this.signers = await ethers.getSigners() this.alice = this.signers[0] this.bob = this.signers[1] this.carol = this.signers[2]...
// external dependencies const _ = require('lodash'); const dns = require('dns'); const uuid = require('node-uuid'); // internal dependencies const SMTPLogger = require('./smtp-logger'); const SMTPStream = require('./smtp-stream'); /** * Represents a SMTP session. Whenever a client connects, * a new session will be...
import React, { Component } from "react"; import { View, TextInput, Dimensions, StyleSheet, KeyboardAvoidingView, Keyboard, Platform, TouchableOpacity, TouchableWithoutFeedback, SafeAreaView, StatusBar } from "react-native"; import { toggleEventModal, populateAttending, populateNotAttending ...
#!/usr/bin/env node 'use strict'; // aeformatter const util = require('util'); const objc = require('objc'); const aesupport = require('./aesupport'); const kae = require('./kae'); /****************************************************************************************/ function _formatAppRoot(appData) { ...
//TEMP const log = console.log; import {parse} from "babylon"; import * as helpers from "babel-helpers/lib/helpers"; //NOTE //It would be more efficient to build the AST for these code snippets programmatically, but it's not a lot of code so maybe //it doesn't matter. //TODO //role map for use by prototype methods /...
import React, {PropTypes} from 'react'; import _ from 'lodash'; import async from 'async'; import CompSearchDB from './CompSearchDB'; import dbConn from '../store/db_connection.js'; import CircularProgress from 'material-ui/lib/circular-progress'; import * as layouts from '../store/db_layouts.js'; import Snackbar from...
//-------------------ALUMNO-------- // PARSE YA ESTA INICIALIZADO EN POLY-PROFILE //Guardamos nueva tarea function saveHomework(expense){ var TableExpense = Parse.Object.extend("Homework"); var tableExpenseData = new TableExpense(); //Activamos el spinner para dar la sensación de carga o estado en proces...
exports.makeSimpleInvoiceList=function(doc){ var newDoc={ _id:doc._id, uuid:doc.uuid, invoiceNo:'<b>' + (doc.ID==''?'':doc.ID) + (doc.localDocumentId!=''?' | ' + doc.localDocumentId:'') + '</b><br>', issueDate:doc.issueDate + '<br>' + doc.issueTime, partyName:'<b>'+ doc.accountingParty.title + '</b>...
angular .module("lab", ['pascalprecht.translate']) .config(['$translateProvider', translateConfig]) .controller("LabController", LabController); function translateConfig($translateProvider) { $translateProvider.useSanitizeValueStrategy('escaped'); $translateProvider.useUrlLoader(LOCALES_URL); $...
var GoalObject = function (game, x, y, index) { Phaser.Sprite.call(this, game, x + 8, y + 8, 'sprite_sheet_16x16', 0); this.game.physics.enable(this, Phaser.Physics.ARCADE); this.body.setSize(16, 16); this.anchor.set(0.5); }; GoalObject.prototype = Object.create(Phaser.Sprite.prototype); GoalObject.prototype.co...
var ACTIVE_VIEW = 'activeView', BC = 'bc', BD = 'bd', BODY_CONTENT = 'bodyContent', BOUNDING_BOX = 'boundingBox', BUTTON = 'button', COLUMN = 'column', CONTENT = 'content', DATE_FORMAT = 'dateFormat', DBLCLICK = 'dblclick', DESC = 'desc', DISK = 'disk', EVENT = 'event', FIELD = 'field', FIELDSET = 'fields...
/* * SEGS - Super Entity Game Server * http://www.segs.io/ * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md) * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details. */ function doLogin() { var form_data = document.getElementById("modal_form_login"); var bo...