text
stringlengths
5.97k
41.2k
var datepicker_option = { defaultDate : "+w", changeMonth : true, numberOfMonths : 1, dateFormat : 'yy-mm-dd', dayNamesMin : [ '일', '월', '화', '수', '목', '금','토' ], monthNames : [ '1월', '2월', '3월', '4월', '5월','6월', '7월', '8월', '9월', '10월', '11월','12월' ], monthNamesShort : [ '1월', '2월', '3월', '4월','5월', '6월', '7월',...
import React, {Fragment,Component,PureComponent} from 'react'; import { SafeAreaView, StyleSheet, TouchableOpacity, ScrollView, TouchableNativeFeedback, StatusBar, Modal, TouchableHighlight, View, Alert, Dimensions, AsyncStorage, AppState, } from 'react-native'; import constants from '../const...
const ranks = { CHALLENGERI: 27, GRANDMASTERI: 26, MASTERI: 25, DIAMONDI: 24, DIAMONDII: 23, DIAMONDIII: 22, DIAMONDIV: 21, PLATINUMI: 20, PLATINUMII: 19, PLATINUMIII: 18, PLATINUMIV: 17, GOLDI: 16, GOLDII: 15, GOLDIII: 14, GOLDIV: 13, SILVERI: 12, SIL...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import React from 'react'; import { Button, Table } from 'react-bootstrap'; import { Route, Switch } from 'react-router-dom'; import { Bar } from 'react-chartjs-2'; import ScoreItems from './ScoreItems.js'; import ScoreInpu...
'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }...
/** * 客户通用工艺维护 */ var pageCurr; $(function() { layui.use([ 'form', 'table' ], function() { var table = layui.table, form = layui.form; tableIns = table.render({ elem : '#listTable', url : context + '/base/client_proc/getList', method : 'get' // 默认:get请求 , toolbar: '#toolbar', //开启工具栏,此处显示默认图标,可以自...
import React, { Component } from "react"; import { Link } from "react-router-dom"; import { view } from "react-easy-state"; import { Dialog, Button, Spinner, Toaster, Intent, Position } from "@blueprintjs/core"; const $ = require("jquery"); import cartState from "../store"; import Useragent from "useragent.js"; impor...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { View, Text, StyleSheet, TouchableOpacity, TextInput, Keyboard, ScrollView, TouchableWithoutFeedback, Switch, Animated } from 'react-native'; import { Input, Icon, } from 'native-base'; import { SimpleItemsDialog } from 're...
var mark; var page = 1; var outerPane = $('#content'); var timeout = null; var check = false; didScroll = false; var lazyLoadInstance = new LazyLoad({ elements_selector: ".lazy" // ... more custom settings? }); function roundRect(ctx, x, y, width, height, radius) { if (typeof radius === 'undefined') { ...
//Start Game const st = document.getElementById('StartButton'); const splash = document.getElementById('SplashScreen'); const canvas = document.getElementById('canvas1'); const endgame = document.getElementById('endgame'); const canvas1 = document.getElementById('canvasback'); const showHighScore = document.getElementB...
var unwindAngle = adhan.Math.unwindAngle; var timeComponents = adhan.Math.timeComponents; var dayOfYear = adhan.Date.dayOfYear; var julianDate = adhan.Date.julianDate; // // Astronomical Tests // function timeString(hours) { var comps = timeComponents(hours); if (isNaN(comps.hours) || isNaN(comps.minutes) || isNa...
$().ready(function () { if (ons.isReady()) { $.get('/mobile/user/get-log-messages', {}, function (response) { if (response.error) { showToast(response.error); } }) } }); function profissionaisList(query) { query = query || null; $.get("/mobile/us...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.githubIssueToClubhouseStory = exports.clubhouseStoryToGithubIssue = exports.loadConfig = exports.saveConfig = undefined; var _keys = require('babel-runtime/core-js/object/keys'); var _keys2 = _interopRequireDefault(_keys); var _g...
var element=document.getElementById("showdiv"); showhw(-1); function showhw(clid) { $.get(adir+"consql_hw.php?clid="+clid,function(response,status){ str_cl=""; var cltime =""; person_count = 50; clid_arr = new Array(); cltime_arr = new Array(); ...
module.exports.Client = Client; module.exports.Server = Server; module.exports.ServerRooms = rooms; module.exports.getID = getUUID; var rtcconfig = { 'iceServers': [ //{ 'urls': 'stun:stun.l.google.com:19302' }, //{ 'urls': 'stun:stun1.l.google.com:19305' }, //{ 'urls': 'stun:stun2.l.google.c...
// 負責寫資料(日期,時段)到global state import { translate } from 'react-i18next'; import Calendar from "./Calendar"; import LoadingAnimation from "../LoadingAnimation"; import Button from "./Button"; const Col = ReactBootstrap.Col, Row = ReactBootstrap.Row, ListGroupItem = ReactBootstrap.ListGroupItem, ListGroup = R...
// import VirtualJoystick from '../lib/virtualJoystick/virtualJoystick'; /*globals VirtualJoystick*/ /** * Handles keyboard input (joystick input doesn't work correctly yet). * * Key presses are stored in a simple hash this.keyPressed with keyCode as key, and attached handlers are stored in * another hash this.key...
/** * ジョブ管理 * @namespace */ const job = {}; //window.onload job.onload = function() { windowOnLoad(); overwriteFormSubmit(job.gotID, '/job/add', 'postjob'); overwriteFormSubmit(job.deleted, '/job/delete', 'deleteJob'); job.applyStorageData(); const job_que = document.getElementById("job-que-st...
/* @license CSV Translation Tool v1.0.0 https://github.com/songanbui/csv-translation License: MIT */ /** * Parse an Array of CSV Files into an Array of CSV Object (Papaparse). * @param {Array<File>} files * @returns {Promise} * @private */ const _parseCSVFiles = async (files) => { const parsePromises ...
/* bubbleChart creation function. Returns a function that will * instantiate a new bubble chart given a DOM element to display * it in and a dataset to visualize. * * Organization and style inspired by: * https://bost.ocks.org/mike/chart/ * */ function bubbleChart() { // Constants for sizing var width = 800...
/** * @file Silder timeline view */ var zrUtil = require('zrender/lib/core/util'); var graphic = require('../../util/graphic'); var layout = require('../../util/layout'); var TimelineView = require('./TimelineView'); var TimelineAxis = require('./TimelineAxis'); var symbolUtil = require('../...
/* Usage: Adding this script to your doc: - Tools > Script Manager > New - Select "Blank Project", then paste this code in and save. Running the script: - Add-ons > ConverToMarkDown - Select "Add To Drive" function. - The document will be converted into a MD file and it will be placed in the f...
BrowserHistoryUtils = { addEvent: function(elm, evType, fn, useCapture) { useCapture = useCapture || false; if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { FormattedMessage } from '@kbn/i18n/react'; import React, { Compon...
function createKeyTarget(code, ag, repeatIgnore) { var keybound = { code: code }; if (repeatIgnore) { keybound.repeatIgnore = repeatIgnore; } if (ag) { ag = _parseAnnotation(ag); keybound.feature_group = ag.feature_group; keybound.annotation = ag.annotation; ...
/** * 月事件任务规划 / 场景创建第二步 * 带资源冲突检测 */ Ext.ns('App'); Ext.Loader.setConfig({ enabled: true, disableCaching : false, paths : { 'Major' :ctx + '/html/gantt2.5.1/examples/gantt-scheduler/app', 'Sch.locale' :ctx + '/html/gantt2.5.1/js/Sch/locale', 'Gnt.locale' :ctx + '/html/g...
#!/usr/bin/env node 'use strict'; const colors = require('colors'); const path = require('path'); const fs = require('fs-extra'); const fsExtra = require('fs-extra'); const os = require('os'); const childproc = require('child_process'); const spawn = require('child_process').spawn const spawnSync = require('child_pro...
import { r as registerInstance, h, H as Host, c as getElement } from './core-3c51ccf2.js'; var Point = (function () { function Point(x, y, time) { this.x = x; this.y = y; this.time = time || Date.now(); } Point.prototype.distanceTo = function (start) { return Math.sqrt(Math....
/* eslint no-underscore-dangle: ["error", { "allowAfterThis": true }] */ /** * Mixin plekan'a kayıt edilen her component için gereklidir * props : mixin izole olduğu için dışardan alınır * store eklentideki global store'dur * gösterlicek dil'e göre row içindeki html gösterilir * yine gösterilecek dile göre update...
// Copyright (c) 2014-2019, MyMonero.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: // // 1. Redistributions of source code must retain the above copyright notice, this list of // cond...
// Sidebar management var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.has...
import emitStream from 'emit-stream' import EventEmitter from 'events' import datEncoding from 'dat-encoding' import { parseDriveUrl } from '../../lib/urls' import _debounce from 'lodash.debounce' import pda from 'pauls-dat-api2' import { wait } from '../../lib/functions' import * as logLib from '../logger' const baseL...
// IMPORTANT NOTICE: // Remember to update the browser version whenever this file is changed, // to do so, `run bin/build-browser-source-map-support` // The following is taken and adapted from the work of Evan Wallace // https://github.com/evanw/node-source-map-support v0.5.12 // The MIT License (MIT) // // Copyright...
'use strict'; var ko = require('knockout'); var $ = require('jquery'); var bootbox = require('bootbox'); require('bootstrap.growl'); var History = require('exports-loader?History!history'); var siteLicenses = require('js/licenses'); var licenses = siteLicenses.list; var DEFAULT_LICENSE = siteLicenses.DEFAULT_LICENSE;...
function tree() { var data, root, treemap, svg, i = 0, duration = 650, // margin = {top: 20, right: 10, bottom: 20, left: 50}, margin = {top: 0, right: 0, bottom: 80, left: 50}, width = 960 - 4 - margin.left - margin.right, // fitting in block frame height = 800 - 4 -...
var mongoose = require('mongoose'), jwt = require('jsonwebtoken'), // used to create, sign, and verify tokens bcrypt = require('bcrypt-nodejs'); mongoose.connect("mongodb://localhost/ate"); // connect to database var UserModel = models.UserModel; var DeckModel = models.DeckModel; var superSecret = 'superSecret'; var...
import EdgeFeature from "../core/edgeFeature"; import paper from 'paper'; const Registry = require("../core/registry"); const FeatureRenderer2D = require("./render2D/featureRenderer2D"); import GridRenderer from "./render2D/gridRenderer"; import DeviceRenderer from "./render2D/deviceRenderer2D"; //const DeviceRendere...
let keyline = 16; let increment = 56; let simulatorWidth = 360; /*模拟器*/ function reCalculateProperty() { controlPanelHeight = $('#freeze-selected').filter(".on").not('.exit').length * (32 + keyline) + $('.selection-action').not('.exit, #freeze-selected').filter(".on").length * (24 + keyline) + 2 * increment + 16...
var maxAjaxInterval = 2000; DomTerm.simpleLayout = false; DomTerm.addTitlebar = false; DomTerm.usingJsMenus = function() { // It might make sense to use jsMenus even for Electron. // One reason is support multi-key keybindings return ! DomTerm.simpleLayout && typeof MenuItem !== "undefined" && ! ...
/**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. https://www.cocos.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
//var CHAR_BAT = 'monster_bat_darkgreen.png'; //var CHAR_GIANT = 'monster_giant_blue.png'; var CHAR_CHIKEN = './assets/image/char_chiken_white.png'; var CHAR_EAGLE = './assets/image/char_eagle_brown.png'; var SOUND_CHIKEN_00 = './assets/sound/CockM_at_11.mp3'; var SOUND_EAGLE_00 = './assets/sound/ClothD_at_16.mp3'; var...
const jsonfile = require('jsonfile'); const async = require('async'); const os = require('os'); const path = require('path'); const fs = require('fs'); const pathExists = require('path-exists'); const yaml = require('js-yaml'); const fileType = require('file-type'); const StreamZip = require('node-stream-zip') const la...
/* @flow */ var _skewness = require( 'compute-skewness' ); var _kurtosis = require( 'compute-kurtosis' ); /** * Returns an array with the times of each arrival in a [Poisson Process](http://en.wikipedia.org/wiki/Poisson_process) with rate `lambda` until time `T`. * * ![poissP](out/poissP.png) * * *Exercise*: Ass...
/****************************************************************************** Server main *******************************************************************************/ 'use strict'; // include libraries var path = require('path'), express = require('express'), bodyParser = require('body-parser'), c...
var manageProductTable; $(document).ready(function() { // top nav bar $('#navProduct').addClass('active'); // manage product data table manageProductTable = $('#manageProductTable').DataTable({ 'ajax': 'php_action/fetchProduct.php', 'order': [] }); // add product modal btn clicked $("#addProductModalBtn")...
const Language = [{ code: 'en', lang: 'en', text: 'English', title: 'Hong Kong Geo Data Map', desc: 'Get the information of different facilities for you.', copyright: '© The Government of the HKSAR. All rights reserved.', credit: 'Source: The Government of the Hong Kong Special Administrativ...
import React, { Component } from 'react'; import { View, Text, Modal, Image, TouchableOpacity, StyleSheet, Dimensions, ScrollView, Alert, } from 'react-native'; import { Badge, Icon, Input, Tooltip, } from 'react-native-elements'; import ImageViewer from 'react-native-image-zoom-viewer'; import _ from 'lodash'; imp...
import React from 'react'; import './main.css' import { TextField, Typography, MenuItem, Button, Checkbox, Select, FormControl, FormGroup, FormControlLabel, Link, Input, Chip } from "../../../utilities" import { LocationSearchInput, GoogleMarkerMap } from "../../index" import Menu from '@material-ui/core/Menu'; import...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link, withRouter } from 'react-router-dom'; import PropTypes from 'prop-types'; import TextFieldGroup from '../common/TextFieldGroup'; import TextAreaFieldGroup from '../common/TextAreaFieldGroup'; import InputGroup from '../commo...
import React, { useContext, useCallback, useMemo, useState, useRef } from 'react'; import PropTypes from 'prop-types'; import DeckPropType from 'proptypes/DeckPropType'; import { Button, Card, CardBody, CardFooter, CardHeader, CardTitle, Col, FormGroup, Input, Label, Nav, Navbar, NavLink, N...
'use strict' var http = require('http') var path = require('path') var isError = require('core-util-is').isError var Filters = require('object-filter-sequence') var config = require('./config') var connect = require('./middleware/connect') const constants = require('./constants') var errors = require('./errors') con...
/* * Copyright (c) 2015, Yahoo Inc. All rights reserved. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ 'use strict'; const _ = require('lodash'); const utils = require('./lib/utils'); const JSS = require('./lib/jss'); const Grammar = require('./lib/grammar'); c...
import React, { useEffect, useState } from 'react' import { CButton, CCard, CCardBody, CCol, CDataTable, CRow, CModal, CModalBody, CModalFooter, CModalHeader, CModalTitle, CInput, CFormGroup, CCardFooter, CPagination, CDropdown, CDropdownToggle, CDropdownMenu, CDropdownItem, CLab...
'use strict'; var connect = require('connect'); var http = require('http'); var request = require('request'); var httpProxy = require('http-proxy'); var url = require('url'); var coreModules = require("soajs.core.modules"); var core = coreModules.core; var provision = coreModules.provision; var soajsUtils = require("...
//Scripts to help with the set up of the page //cache number variables var windowSize, windowPortrait, windowLandscape, windowWidth, windowWidthScroll, windowWidthEm, windowWidthRem, windowHeight, headerHeight, viewportWidth, headerHeight, headerIsSticky, scrolledFromTop = 0; va...
const EventEmitter = require('events') const Discord = require('discord.js') const fs = require('fs') /** * Create instance of command parser * @param {string} prefix Command Prefix * @param {Discord.Client} bot Bot Instance */ class CmdParser extends EventEmitter { constructor(bot, prefix) ...
/* -*- js-indent-level: 8 -*- */ /* Socket to be intialized on opening the overview page in Admin console */ /* global DlgYesNo _ vex $ Util AdminSocketBase Admin */ function getCollapsibleClass(id) { var container = document.getElementById(id); var label = container.children[0]; var checkBox = container.children...
// -------------------------------------------------------------------------------------- // TOWER DEFENSE - <NAME>., <NAME>. - 2015 // -------------------------------------------------------------------------------------- // CLASSE : PARTIE COURANTE // ------------------------------------------------------------------...
"use strict"; /** * Copyright (c) 2019 The xterm.js authors. All rights reserved. * @license MIT * * (EXPERIMENTAL) This Addon is still under development */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SerializeAddon = void 0; function constrain(value, low, high) { return Math.max(low...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Alert_cjs_1 = require("./Alert.cjs"); exports.Alert = Alert_cjs_1.Alert; var ArrowDown_cjs_1 = require("./ArrowDown.cjs"); exports.ArrowDown = ArrowDown_cjs_1.ArrowDown; var ArrowLeft_cjs_1 = require("./ArrowLeft.cjs"); exports.ArrowLeft =...
// @ts-check //# Responsive width let isMobile = false; window.addEventListener( "DOMContentLoaded", () => { const mobileMatchMedia = matchMedia("(max-width: 768px)"); isMobile = mobileMatchMedia.matches; mobileMatchMedia.addListener((e) => { isMobile = e.matches; // Close the mobile sidebar when switch...
import Button from '../Button/Button'; import classnames from 'classnames'; import CustomPropTypes from '../utils/CustomPropTypes/CustomPropTypes'; import GridManager from '../utils/gridManager/gridManager'; import keycode from 'keycode'; import moment from 'moment'; import PropTypes from 'prop-types'; import { isDateB...
'use strict'; 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.definePrope...
/*globals window, Client */ var TLDS = TLDS || []; if (typeof require != 'undefined') { TLDS = require('./tlds').TLDS; } function loadValidTLDS() { var tldsArray = []; TLDS.forEach(function(tld){ tldsArray.push('\\.' + tld + '(?!\\.|\\w)'); }); return tldsArray.join('|'); } var validLinkMarkDownRegEx = new ...
'use strict'; let formsClass = 'ajax_form'; let $ = require('jquery'); let swal = require('sweetalert2'); // require('chosen-js'); require('../../../node_modules/jquery.maskedinput/src/jquery.maskedinput'); require('./index.scss'); module.exports = function() { /** * Сбор данных из формы * * @par...
"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(gene...
import React, {Component} from 'react'; import axios from 'axios'; import ProductsTblPage from 'react-sort-search-table'; import {PropTypes} from 'prop-types'; import ReactDOM from 'react-dom'; import {getCategories, getPopularCategories, getLastAds} from "../../actions"; import {Link} from 'react-router-dom'; import I...
import { empty } from '/js/utils.js'; class ShapeCreator { constructor(shape_name){ this.shape_name = shape_name; } create(data) { var latlons = data.latlons; // The latlon point array var item = null; // Line geometry if (this.shape_name ==...
var stage; var scale; var cartesianWidth; var cartesianHeight; var normalWidth; var normalHeight; var axisLayer; var axis; var smallerGridLayer; var smallerVerticalLines; var smallerHorizontalLines; var biggerGridLayer; var biggerVer...
$(window).load(function() { fPlay(); }); $(function() { /*显示歌词部分*/ var scrollt = 0; var lytext = new Array(); //放存汉字的歌词 var lytime = new Array(); //存放时间 var line = 0; var scrollh = 0; var songIndex = 0; var mPath = $('#def-path').val(); /*点击列表播放按钮*/ $(".player_music").click(function() { /*开始放歌*/ var e =...
import React, { useState } from 'react'; import { saveAs } from 'file-saver'; import { connect } from 'react-redux'; import { Form, Row, Col, Input, Button, Select, DatePicker, Modal, Upload, notification, Table, Spin, Alert, message } from 'antd'; import { DownOutlined, UpOutlined, UploadOutlined, Snippe...
const humanizeDuration = require("humanize-duration"); const hypixel = require("hypixel-api-nodejs"); // Cooldowns const cooldowns = { hypixel: { main: new Map(), pit: new Map(), }, }; // API Helpers const embedHelper = { footer: { text: "Hypixel Commands are a pain ngl", // Change this to yours! image: { ...
/** * req-helper * v0.0.3 * By <EMAIL> * @license MIT License. */ const resolve = Promise.resolve(); let start = 0.1; const delayIds = {}; /** * setTimeout where time > 0 * Promise.resolve() where time === 0 * @param fn * @param time */ function setDelay(fn, time) { if (typeof fn !== 'function'...
// Kuhni Labs - zen.js v2.2.3 (alpha) July 2020 // Main Developer: <NAME> @dragonnomada async function get(url, params = {}) { const query = Object.entries(params || {}).map(([key, value]) => `${key}=${value}`).join("&"); const response = await fetch(`${url}${query ? `?${query}` : ""}`); if (!response.ok...
function BranchData() { this.position = -1; this.nodeLength = -1; this.src = null; this.evalFalse = 0; this.evalTrue = 0; this.init = function(position, nodeLength, src) { this.position = position; this.nodeLength = nodeLength; this.src = src; return this; } ...
var entranceDoor1 = new entranceDoor(3850,950,); var entranceDoor2 = new entranceDoor(3550,500); var entranceDoor3 = new entranceDoor(3700,500); var entranceDoor4 = new entranceDoor(3900,1150); var entranceDoor5 = new entranceDoor02(3200,1400); var entranceDoor6 = new entranceDoor02(3050,1400); var entranceDoor7 = new ...
import { Tool } from './tools.js' import { HistoryDB } from './historydb.js' import { FeatureCardContent, FeatureCardData } from './feature.js' function adjustDropDownContentPostion(content) { let w = $('.w')[0]; let contentWidth = content.offsetWidth; let $content = $(content); let button = $content.p...
/** * Table * * @module :: Model * @description :: This model represents a table with scores in the database * @docs :: http://sailsjs.org/#!documentation/models */ var _ = require('lodash'); var Table = { identity: 'table', connection: 'default', types: { // Returns if the method exists (default...
global.THREE = require('three'); var io = require('socket.io-client'); const diff = require('deep-diff'); var THREE = global.THREE; var Physijs = require('./libs/physi.js'); const PLAYER_POS = new THREE.Vector3(5, 10, 0); const OTHER_POS = new THREE.Vector3(10, 10, 0); const STEP_RATION = 10; //the roughly ratio of se...
/* * Dckuino.js, an open source project licenced under MIT License */ /* jshint esversion: 6 */ /* jshint laxbreak: true */ var arduinocommandMap = { // Key that can be typed ESCAPE:'KEY_ESC', ESC:'KEY_ESC', GUI:'KEY_LEFT_GUI', WINDOWS:'KEY_LEFT_GUI', COMMAND:'KEY_LEFT_GUI', MENU:'229', APP:'229', ...
let _ = require('isa.js') let rabbit = require('rabbit.js.ng') let Harcon = require('harcon') let { MODE_REQUEST } = require('harcon/lib/Communication') let Barrel = Harcon.Barrel let Communication = Harcon.Communication let { clean } = Communication let Proback = require('proback.js') let DIVISION_REPORTS = 'harcon...
import React, { Component } from 'react'; import cx from 'classnames'; import has from 'lodash/has'; import includes from 'lodash/includes'; import mapValues from 'lodash/mapValues'; import { HotKeys } from 'react-hotkeys'; import ContainerDimensions from 'react-container-dimensions'; import './index.css'; import { m...
/** * Copyright (c) 2017, Neap Pty Ltd. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ const _ = require('lodash') const shortid = require('shortid') //const escapeGraphQlSchema = schema => schema.replac...
import React from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { compose } from 'recompose'; import { graphql } from 'react-apollo'; import gql from 'graphql-tag'; import Immutable, { fromJS } from 'immutable'; import { Container,...
// ECMAScript 5 strict mode /* jshint globalstrict: true*/ /* jslint newcap: true */ /* global THREE, $, document, window, console */ /* global LOADING_BAR_SCALE,ROWS,COLS,PIECE_SIZE, BOARD_SIZE, FLOOR_SIZE, WIREFRAME, DEBUG, Cell, WHITE, BLACK, FEEDBACK, SHADOW */ /* global textures, geometries, removeLoader */ /* gl...
/* * Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope tha...
/* The Cedric's Swiss Knife (CSK) - CSK bench Copyright (c) 2016 <NAME> The MIT License (MIT) 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 limitat...
import counterpart from 'counterpart'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import classnames from 'classnames'; import { startProcess } from '../../api'; import { processNewRecord } from '../../actions/GenericActions'; import { updateComm...
let Magix_PathToObjCache = new G_Cache(); let Magix_Booted = 0; //let Magix_PathCache = new G_Cache(); let Magix_ParamsObjectTemp; let Magix_ParamsFn = (match, name, value) => { try { value = decodeURIComponent(value); } catch (_magix) { } Magix_ParamsObjectTemp[name] = value; }; /** * 路径 * @...
// import { setCookie, getCookie } from '~/assets/js/cookie'; import { CangetUNI, CangetPAYA } from '~/interface/deposite.js'; import { getOptionCreatedLog, getSellLog, getBuyLog, getMint, getRePrice, } from '~/interface/order.js'; import { getProgress } from '~/interface/price.js'; import { get...
document.addEventListener("DOMContentLoaded", init, false); /* Add listener and onChange function for file uploads and sigPol selection, * and onChange for the form container */ var policyInfo; function init() { document.querySelector('#file_tbs').addEventListener('change', handleFileSelect, false); documen...
if (typeof scrollReveal == 'function') { window.sr = new scrollReveal(); }; var appInit = function(){ $('.init-chat').click(function(e) { produto = $(this).attr('data-product'); if( typeof produto != 'undefined' && produto != '' ){ msg = 'Olá, gostaria de saber mais sobre '+produto; } else{ msg = ...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Chat from './Chat'; import Toast, { toastCloseTimeout, clickToastX } from './Toast'; import Users from './Users'; import Login from './Login'; import Search from './Search'; import Details from './Details'; import GoogleMap from '...
// ============================================================================= const { dedent: _, usage, getValidCmdName, persistItemChanges, cooldownToString, stringToCooldown, userLevelToString, stringToUserLevel, getDisplayAccessLevels } = require('../../utils'); // ===========================...
const request = require('request'); const phantom = require('phantom'); const puppeteer = require('puppeteer'); const cheerio = require('cheerio'); const iconv = require('iconv-lite'); const qiniu = require('qiniu'); const Duplex = require('stream').Duplex; const crypto = require('crypto'); const settings = require('....
'use strict'; // Cmd4 includes seperated out for Unit testing const { getAccessoryName, getAccessoryDisplayName } = require( "./utils/getAccessoryNameFunctions" ); let getAccessoryUUID = require( "./utils/getAccessoryUUID" ); let createAccessorysInformationService = require( "./utils/createAccessorysInformati...
"use strict"; //Possible directions a user can move //their character. These are mapped //to integers for fast/small storage var directions = { DOWNLEFT: 0, DOWN: 1, DOWNRIGHT: 2, LEFT: 3, UPLEFT: 4, RIGHT: 5, UPRIGHT: 6, UP: 7 }; //size of our character sprites var spriteSizes = { WIDTH: 46, HEIG...
var currentPosition = null; function fetchBMapLocation(callback) { if (currentPosition) callback(currentPosition); else new BMap.Geolocation().getCurrentPosition(function(r){ if(this.getStatus() === BMAP_STATUS_SUCCESS){ currentPosition = r.point; callback(currentPosition); } }, {enableHighAccurac...
import { connect } from 'react-redux'; import { changeFontSize, changeFontFamily, changeAxesVariableScale, changeVariableAliasLabels, clearAllVariableAliasLabels, setVariableRange, clearVariableRange, clearAllVariableRanges, setThreeDVariableUserRange, clearThreeDVariableUserRange, clearAllThre...
const div = (attrs = {}) => { const el = document.createElement('div'); if (attrs.class) { el.className = attrs.class; } if (attrs.innerHTML) { el.innerHTML = attrs.innerHTML; } return el; } const addNewStyle = (newStyle) => { let styleElement = document.getElementById('styl...