text
stringlengths
3.22k
29.5k
/* globals navigator, $ */ if ('serviceWorker' in navigator) { navigator.serviceWorker.register('sw.js', {scope: '/'}); } // We have JS, yay! Show loading screen. $("#no-script").hide() $("#loading").css('display', 'flex') $(document).ready(function() { let now = new Date().getTim...
'use strict'; const MetadataType = require('./MetadataType'); const Util = require('../util/util'); const File = require('../util/file'); /** * MessageSendActivity MetadataType * @augments MetadataType */ class AccountUser extends MetadataType { /** * Retrieves SOAP based metadata of metadata type into lo...
/* * * ChatPage reducer * */ import { fromJS } from 'immutable'; import im from 'utils/im'; import { DEFAULT_ACTION, CHANGE_TAB, LOAD_MESSAGE_USERS, LOAD_MESSAGE_USER, LOAD_MESSAGE_LIST, LOAD_MESSAGE_LIST_NEXTKEY, LOAD_TOUCH_USER, LOAD_CHAT_MESSAGE, LOAD_CLEAR_MESSAGE_CONTENT, LOAD_MESSAGE_GROU...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BigNum = require("bignum"); const phaeton_cryptography_1 = require("phaeton-cryptography"); const base_transaction_1 = require("./base_transaction"); const constants_1 = require("./constants"); const errors_1 = require("./errors"); const...
import { makeStyles } from "@material-ui/core/styles"; import List from "@material-ui/icons/List"; import Schedule from "@material-ui/icons/Schedule"; import styles from "assets/jss/material-kit-react/views/profilePage.js"; // nodejs library that concatenates classes import classNames from "classnames"; import Card fro...
/*global W, H, Level, Tile, TileLinkDescriptor */ "use strict"; function getTrivialTestLevel() { var walls = []; walls.push(new TileLinkDescriptor(0, 0, Tile.directions.DOWN)); var doors = []; doors.push(new TileLinkDescriptor(0, 0, Tile.directions.UP)); doors.push(new TileLinkDescriptor(0, 1, Tile.direction...
import React, {useState} from 'react'; import { StyleSheet, Text, View, TouchableOpacity, Image, PermissionsAndroid, TextInput } from 'react-native'; import AsyncStorage from '@react-native-community/async-storage'; import { connect } from 'react-redux'; import Heartbeat from './Heartbeat'; import heart from './hea...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. const { MessageFactory } = require('botbuilder'); const { TextPrompt } = require('botbuilder-dialogs'); const { LuisRecognizer } = require('botbuilder-ai'); const { Reservation, reservationStatusEnum, OnTurnProperty } = requ...
import React, { Component } from 'react'; import { StyleSheet, TouchableOpacity } from 'react-native'; import AsyncStorage from '@react-native-community/async-storage'; import { Container, Content, H3, View, Thumbnail, Text, Button, Left, Body, H2, Accordion } from 'native-base'; import defaultIngredients from '../../P...
const { createReadStream, createWriteStream } = require('fs'); const Path = require('path'); const util = require('util'); const ndjson = require.lazy('ndjson'); const Upgrader = require.lazy('../upgrades'); exports = module.exports = function (opt) { return { name: 'archive', service: init }; }; function init...
'use strict'; import React, { PureComponent } from 'react'; import { View, StatusBar, Dimensions, Platform, Modal, PermissionsAndroid, Keyboard } from 'react-native'; import { FooterTab, Button } from 'native-base'; import { Header } from 'react-native-elements'; import { Actions } from 'react-native-router-flux'; impo...
/** * @author richt / http://richt.me * @author WestLangley / http://github.com/WestLangley * * W3C Device Orientation control (http://w3c.github.io/deviceorientation/spec-source-orientation.html) */ import { Euler, MathUtils, Quaternion, Vector3, Vector2 } from "../../../build/three.module.js"; var DeviceO...
const { go } = require('ts-csp'); const {name, derive, isPublic, preApplyChanges, postApplyChanges, fromSource, compare, distinctClause} = require('@dawadk/import-util/src/table-diff-protocol'); const {offloadGeometryColumnToS3} = require('./s3-offload'); const {columnsEqualClause} = require('@dawadk/common/src/postgre...
var map; var geocoder; $(document).ready(function() { // Event creation $('form#event-form').on('submit', function(e) { e.preventDefault(); var form = $(this); var location = form.find('input#location-input').val(); axios.get('https://maps.googleapis.com/maps/api/geoc...
"use strict"; /** * @module node-opcua-xml2json * node -> see if https://github.com/isaacs/sax-js could be used instead */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Xml2Json = exports.ReaderState = exports.ReaderStateBase = void 0; // tslint:disable:max-classes-per-file // tslint:disable...
const { defineStep } = require("@cucumber/cucumber"); const { expect } = require("chai"); defineStep("I click {string} in admin portal", async function(string) { await this.clickElementByXpath(`//li[contains(., '${string}')]`); }); defineStep("I am on the admin portal {string} page", async function(string) { awai...
import React, { Component } from 'react'; import _ from 'lodash'; import Grid from '../Grid/Grid'; import GameButton from '../GameButton/GameButton'; import Solver from '../../utilities/solver'; import { objectHasOwnValue, cloneArray } from '../../utilities/utils'; class Game extends Component { constructor(p...
/* Roots Scheduler Copyright (c) 2021 <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 limitation the rights to use, cop...
var __reflect = (this && this.__reflect) || function (p, c, t) { p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t; }; var __extends = this && this.__extends || function __extends(t, e) { function r() { this.constructor = t; } for (var i in e) e.hasOwnProperty(i) &&...
import * as React from 'react'; import { Button, Grid, List, ListSubheader, ListItem, ListItemIcon, ListItemText, Dialog, DialogTitle, DialogContent, DialogActions, Toolbar, Typography, IconButton, Chip, TextField, Snackbar, ButtonGroup, } from '@material-ui/core'; import MuiAlert fr...
"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...
// Fonctions support var _clean = function (name) { name = name.toLowerCase(); name = name.replace(/\s|,|\.|-|—|'|:|\(|\)|"|\/|!/g, ""); name = name.replace(/ö|ó|ô/g, "o"); name = name.replace(/é|ë|è/g, "e"); name = name.replace(/œ/g, "oe"); name = name.replace(/ç/g, "c"); name = name.replace(/á|ã/g, "a"); name...
/* Free Pirateparty photo generator v1.2 Made by Joshua (TheYOSH) Rubingh for Piratenpartij Nederland - 10 Sept 2016 This script uses the latest HTML5 techniques for offline file reading and manipulation. No data is uploaded to the server. All graphical calculation is done in the local browser. */ // Setup va...
/** * Created by <NAME> on 2016/5/26. */ const playerProtoHelper = require('../domain/entity/playerProtoHelper'); const GM_Group = require('../models/group'); const Constants = require('../constants/constants'); const encryptConfig = require('../../config/encryptConfig.json'); const encrypt = require('./encrypt'); co...
import React, { useState } from "react"; import { useRouter } from "next/dist/client/router"; import Head from "next/dist/shared/lib/head"; import { toast, Toaster } from "react-hot-toast"; import * as htmlToImage from "html-to-image"; import FileSaver from "file-saver"; export default function GithubUser({ usrData })...
"use strict"; class Timetable extends Extractor { constructor() { super(); this.table = $("table.horario"); this.timetable = []; this.ready(); } structure() { return { extractor: "timetable", name: "Timetables", description: "Ext...
const nunjucks = require('nunjucks') const { SECTION_INCOMPLETE, SECTION_COMPLETE } = require('../../../common/utils/constants') const nullOrEmpty = s => !s || s === '' const getErrorMessage = reason => { if (reason === 'OASYS_PERMISSION') { return 'You do not have permission to update this type of assessment. ...
import React, { useEffect, useState } from "react"; import { CCard, CCardBody, CCardHeader, CCol, CRow, CFormGroup, CLabel, CInput, // CSelect, CForm, CButton, CAlert, CInputGroupText } from "@coreui/react"; import { ip } from "../../../utility"; import axios from "axios"; const PagarTarjeta ...
const Currency = require('@requestnetwork/currency').default; const ChainlinkConversionPath = artifacts.require("ChainlinkConversionPath"); const USDT_fake = artifacts.require("UsdtFake"); const address1 = "0x1111111111111111111111111111111111111111"; const address2 = "0x2222222222222222222222222222222222222222"; co...
'use strict' var path = require('path') var assert = require('assert') var isWindows = require('is-windows') var nm = require('./support/match') describe('special characters', function () { describe('regex', function () { it('should match common regex characters', function () { var fixtures = [ 'a...
var drag = require('./drag'); var draw = require('./draw'); var util = require('./util'); var svg = require('./svg'); var makeCoords = require('./coords'); var m = require('mithril'); var pieceTag = 'piece'; var squareTag = 'square'; function pieceClass(p) { return p.role + ' ' + p.color; } function renderPiece(d,...
$(document).ready(function() { $('#myEamil').blur(function(){ verifyEmail(); }); $('#emailSubmit').click(function(e) { e.preventDefault(); checkEmailIsVerified(); }); $('#emailVerifiedCode,#emailVerifiedRefresh').click(function(e){ e.preventDef...
//functions return number from 0 to (maxIter-1) function worldCreator(cx, cy, perlinSeed, rands) { var iter,mount,continental; var ccx = cx; var ccy = cy; // Mountains mount = (noise.perlin2(ccx*3,ccy*3)+1)/12 + (noise.perlin2(ccx*32,ccy*32)+1)/16/16; mount = Math.pow(Math.abs((1-Math.abs((mount-...
/** * The Simulation class serves as data container for important simulation request data. * It holds the simulations backend identifier as name, and the simulations start and end timestamp. */ class Simulation { constructor(name, start, end) { this.name = name; this.start = start; this.en...
/** * Created by semmatabei on 7/30/15. */ /** * Capabilities : * 1. Detect goog.provide to determine filename and main object/class name * 2. Detect goog.require & inherits : * 2.a on goog.require : generate relative path and convert to es6 module import style * 2.b on goog.inherits : remove the expression sinc...
import { boolean, i18n, node, number, string } from "@/helpers"; const messages = { required: i18n.t("validation.required"), alpha: i18n.t("validation.alpha"), minLength: i18n.t("validation.minLength"), maxLength: i18n.t("validation.maxLength"), range: i18n.t("validation.range"), date: i18n.t("validation.d...
var myVersion = "0.5.7", myProductName = "counters"; const fs = require ("fs"); const request = require ("request"); const davehttp = require ("davehttp"); const s3 = require ("daves3"); const utils = require ("daveutils"); var config = { port: 1962, flLogToConsole: true, flAllowAccessFromAnywhere: true, //12/17/1...
import React, { useContext, useEffect } from "react"; import { AppContext } from '../context.js'; import auth from "./firebase"; import axios from 'axios'; import Styled from 'styled-components' import { getAuth, signInWithPopup, GoogleAuthProvider, signInWithEmailAndPassword } from "firebase/auth"; import {Link} from...
// Imports ____________________________________________________________________ const child_process = require('child_process'); const del = require('del'); const fs = require('fs'); const glob = require('glob'); const gulp = require('gulp'); const { ESLint } = require('eslint'); const sass = require('gulp-sass'); cons...
import React, {useEffect,useState} from 'react'; import axios from 'axios'; import { Helmet } from 'react-helmet'; import L from 'leaflet'; import _ from "lodash"; import Layout from 'components/Layout'; import Container from 'components/Container'; import Map from 'components/Map'; import TotalInfo from '../components...
import { spliceStr } from './util.js'; export class InputManager { constructor() { this.element = null; this.handler = null; this.downHandler = null; this.translations = compileTranslationTable(DEFAULT_TRANSLATION_TABLE); this.currentTranslation = null; this.currentSt...
const apiURL = "http://localhost:52201/api/"; $(document).ready(function(){ getCustomers(); getFlowers() getFCategory() }); //müşteri listeleme function getCustomers(){ $.ajax({ url: apiURL+"Customer/CustomerList", dataType : 'JSON', method : 'GET', succes...
var debug = false; /** * @class * @description Creates the GameController, this is our base class. Creates local variables, and initializes the main callback function * @param {String} canvasName Refers to the canvas that we want to draw in * @param {String} worldLocation Refers to the relative location of t...
import { get, writable } from 'svelte/store'; export const defDeviceName = 'MyPixelNut'; export const titleDevices = 'PixelNut Devices'; export const titleHelpDocs = 'PixelNut Docs'; export const SECS_RESPONSE_TIMEOUT = 7; // secs since last device notify/response export const MAX_DEVICE_FAIL_COUNT = 3; ...
/*globals*/ /*jshint node:true, camelcase:false*/ /** * * * node ./utils/build/dist/build.js * * * @author pmeijer / https://github.com/pmeijer */ 'use strict'; var requirejs = require('requirejs'), path = require('path'), fs = require('fs'), Q = require('q'), webgmeVersion = JSON.parse(fs.readF...
var ScrollEvent = function(className,callback,flag){ var $jumbotron = $("."+className); var index = 0; var length = $jumbotron.length; var toTop = function(){ if(isAnimation) return; if(index>0){ ...
import React, { Component } from "react"; import { Alert, Animated, Dimensions, Easing, Image, NativeModules, Platform, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, TouchableOpacity, View, } from "react-native"; import { LinearGradient, Font } from "expo"; import { Header, Icon } f...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview * A background script of the auth extension that bridges the communication * between the main and injected scripts. * * Here is a...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.concreteConfig = exports.readConfigRC = exports.cleansing = exports.cleanGlobOptions = exports.mergingGlobOptions = exports.merging = exports.createFromCli = exports.getDeafultOptions = exports.getRCFilename = exports.CTIRC_FILENAME = ...
const grpc = require("grpc"); const protoLoader = require("@grpc/proto-loader"); const njs = require("numjs"); const crypto = require("crypto"); const utils = require("../../utils"); // minimum documents required to train FAISS index const FAISS_MIN_LIMIT = 10000; var PROTO_PATH = __dirname + "/../../proto/faiss.prot...
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. require('es6-shim'); var $ = require('../util/jquery'); var defineClass = require('../util/define-class'); var _ = require('lodash'); var uuid = require...
/* -*- Mode: js; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ 'use strict'; function handleMessageNotification(options) { //Validate if message still exists before opening message thread //See issue https://bugzilla.mozilla.org/sh...
/** * @fileoverview CIImageUploader * @author: burning <www.cafeinit.com> * @version: 2016-12-02 */ module.exports = { var: '0.0.0', api: '', fileName: 'file', timeout: 10000, debug() { _isDebug = true }, /** * @param file: Object require * @param fileName: String default = 'fil...
import { useState, useContext, useEffect } from "react"; import { useQuery, useMutation } from "@apollo/client"; import { AppContext } from "../context/AppContext"; import { getFormattedCart } from "../../functions"; import Link from "next/link"; import { v4 } from "uuid"; import GET_CART from "../../queries/get-cart";...
var fs = require('fs'); var gulp = require('gulp'); var plugins = require('gulp-load-plugins')(); var runSequence = require('run-sequence'); var through = require('through2'); var watchify = require('watchify'); var browserify = require('browserify'); var uglifyify = require('uglifyify'); var mergeStream = require('mer...
var variableW = setInterval(function() { weather(); }, 180000); function weather(){ // get API-Data var weatherURL = 'https://api.apixu.com/v1/forecast.json?days=6&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&q=LATITUDE,LONGITUDE'; var weatherRequest = new XMLHttpRequest(); weatherRequest.open('GET', weathe...
/* global jQuery */ /* global wp */ function media_upload(button_class) { 'use strict'; jQuery('body').on('click', button_class, function () { var button_id = '#' + jQuery(this).attr('id'); var parent = jQuery(this).parent(); var display_field = jQuery(this).parent().find('.custom-media-...
class ScoreCard { values = { upper1: 0, upper2: 0, upper3: 0, upper4: 0, upper5: 0, upper6: 0, lower1: 0, lower2: 0, lower3: 0, lower4: 0, lower5: 0, lower6: 0, lower7: 0, lower8: 0 }; activeScore...
const CONTENT = ` <div class="scroll-bar-up"></div> <div class="scroll-bar-gutter"> <div class="scroll-bar-thumb" draggable="false"></div> </div> <div class="scroll-bar-down"></div>`; const noop = function() {}; const STEPPING_INTERVAL = 200; export default class ScrollBar { constructor(div, isHorizonta...
import "core-js/stable"; import "regenerator-runtime/runtime"; import Color from 'color' import { onDomChange } from '../../lib/on-dom-change' import { isType } from '../../lib/is-type' const stylesToFix = new Set([ 'color', 'background-color', 'background-image', 'background', 'border', 'border-color', ...
var React = require('react'); var server = require('react-dom/server'); function _interopNamespace(e) { if (e && e.__esModule) return e; var n = Object.create(null); if (e) { Object.keys(e).forEach(function (k) { if (k !== 'default') { var d = Object.getOwnPropertyDescriptor(e, k); Obje...
import React, { useState, useContext } from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import searchImg from '../../../public/images/setting.svg'; import sideImg from '../../../public/images/github.png'; import Assignee from './ListDropBox/Assignee'; import Label from './ListDr...
/** * Ganglia backend for StatsD * Author: <NAME> * Copyright (c) 2013 Wikimedia Foundation <<EMAIL>> * * 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 ...
import { Handlebars } from 'lib'; import VirtualCollection from '../../collections/VirtualCollection'; import dropdown from 'dropdown'; import { helpers, comparators } from 'utils'; import template from './templates/referenceBubbleEditor.hbs'; import BaseLayoutEditorView from './base/BaseLayoutEditorView'; import Fake...
// Map filter and reduce /** var map = [1,2,3,4,5,6,7,8,9,10,11,12].map(function(n) { return n *2; }); console.log(map); var three = [1,2,3,4,5,6,7,8,9,10,11,12].map(function(number) { return number * 3; }); console.log(three); */ // Arrow functions /** function sum(a, b) { return a + b; var su...
/* eslint-disable no-shadow */ /* eslint-disable react/button-has-type */ /* eslint-disable react/prop-types */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { injectIntl, FormattedMessage } from 'react-intl'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; im...
const $ = require('jquery'); const electron = require('electron'); const Datastore = require('nedb'); const ImageUtil = require('./lib/modules/image'); const imgDB = new Datastore({ filename: 'db/images.db', }); const multiImgDB = new Datastore({ filename: 'db/multi_image.db', autoload: true }); const tagDB = n...
import ChatPanel from "../../../../support/elements/clue/ChatPanel"; import TeacherNetwork from "../../../../support/elements/clue/TeacherNetwork"; /** * Notes: * * Teacher dashboard test needs static data from 'clueteachertest's class 'CLUE' * Here is the ID for the class in firebase: a1f7b8f8b7b1ad1d2d6240c41bd23...
const amqp = require('amqp-connection-manager'); const axios = require('axios'); var Gpio = require('onoff').Gpio; const storage = require('node-persist'); const NODE_ID = process.env.NODE_ID || 7; const SERVER_URL = process.env.SERVER_URL || '172.16.31.10:2853'; const DEVICE_NAME = process.env.DEVICE_NAME || 'Control...
var satellitetable = jQuery('script[src*=satellitetable]'); var satjson = satellitetable.attr('jsons'); var editableGridsat = null; editableGridsat = new window.EditableGrid("satgrid", { // called when the XML has been fully loaded tableLoaded: function() { // display a message // renderer ...
import React, { useState, useEffect } from 'react' import Layout from '../../components/Layout/Layout' import SEO from '../../components/Seo' import Message from '../../components/Message/Message' import { Link, navigate } from 'gatsby' import { useDispatch, useSelector } from 'react-redux' import { getUserDetails, ...
'use strict' import { shell } from 'electron' import logger from 'electron-timber' import { is } from 'electron-util' import fs from 'fs' import path from 'path' import parseTorrentName from 'parse-torrent-name' import config from '../config' import strings from './strings' import ipc from './safe-ipc' import { defau...
function CheckserWindows() { var userAgentInfo = navigator.userAgent; var flag = true; if (userAgentInfo.indexOf("Windows NT") == -1) { flag = false; } return flag; } /*var EventUtil = { addHandler: function (element, type, handler, bool) { if (element.addEventListene...
"use strict"; let sheet = window.document.styleSheets[window.document.styleSheets.length-1]; let initialPositionForCssRules = sheet.cssRules.length; let hasCreatedOnce = false; let clientID = "nxkxsr40pk41esg5hs2kiwjxmfpsce"; let hash = document.location.hash; let token = localStorage.getItem("twitchToken"); let twitch...
const { BigNumber } = require('bignumber.js') const BaseStrategy = require('./base_strategy') const { logger, errorLogger } = require('../logger') class UniswapMMV2Strategy extends BaseStrategy { constructor(config, id) { super(config, id) this.priceBeforeProfits = { bids: {}, asks: {} } this.lastK = nul...
import React, { Component } from "react" import Form from "./styled/Form" import { Mutation, ApolloConsumer } from "react-apollo" import cryptojs from "crypto-js" import gql from "graphql-tag" import styled from "styled-components" import { navigate } from "gatsby" import { getDlonamesHistory } from "./../utils/history...
import React, { useState, useEffect } from "react"; import { useHistory, useLocation } from "react-router-dom"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import InputLabel from "@material-ui/core/InputLabel"; // core components import GridItem from "components/Grid/GridItem....
import React from 'react'; import { createMount } from '@material-ui/core/test-utils'; import { Provider } from 'react-redux'; import configureStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import merge from 'lodash/merge'; import noop from 'lodash/noop'; import { ToastProvider } from '../../../app/pro...
import { CContainer, CForm, CFormGroup, CFormText, CInput, CLabel, CRow, CCol, CCollapse, CButton, CInputFile, CCardHeader, CCardBody, CCard, CSelect, CTextarea } from '@coreui/react'; import { useForm, Controller } from 'react-hook-form'; import ExpandMoreIcon from '@material-ui/...
import React, { Component } from 'react'; import { Platform, StyleSheet, Text, View, Image, FlatList, Alert, TextInput, TouchableHighlight, TouchableOpacity, ScrollView } from 'react-native'; import { Button, Icon, List, ListItem, SearchBar, CheckBox } from "react-native-elem...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(gene...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import { Remarkable } from 'remarkable'; let users = [ { username: 'Jerry', age: 21, gender: 'male', comment:'maybe there are a lot of apples.'}, { username: 'Tomy', age: 22, gender: 'male' , comment:'maybe there are a lot of pies.'}, { ...
import * as WT from "./lib/world-tree.js"; const spriteWidth = 322; const spriteHeight = 270; const sheet = new WT.SpriteSheet("demos/graphics/png/outside-terrain-tiles"); const tileRows = [ WT.TerrainType.Rock, WT.TerrainType.DryGrass, WT.TerrainType.WetGrass, WT.TerrainType.Mud, WT.TerrainType.Sand, WT.Te...
//jQuery time var current_fs, next_fs, previous_fs; //fieldsets var left, opacity, scale; //fieldset properties which we will animate var animating; //flag to prevent quick multi-click glitches var geocoder; var map; var marker; /* * Google Map with marker */ function initialize() { var initialLat = $('.search_...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.protot...
//============================================================================================== // 함수명 : GetBuddyWork // 설명 : 버디 리스트 처리 function GetBuddyWork(msg) { // alert('GetBuddyWork'+msg); var Record_arr = msg.split(chRecord_Enter); var Field_arr; //alert('Record_arr:'+Record_arr); var groupArray = ...
var version = 'v22'; var namePrefix = 'swblog-'; var nameReg = new RegExp('^' + namePrefix); var businessKey = 'business-' + version; var businessCacheName = namePrefix + businessKey; var libCacheName = namePrefix + 'lib-' + version; var imageCacheName = namePrefix + 'image'; var markdownCacheName = namePrefix + 'markd...
// jscs:disable requirePaddingNewLinesAfterBlocks 'use strict'; var v = require('validator'); var S = require('string'); var R = require('ramda'); var Joi = require('joi'); var cheerio = require('cheerio'); var uuid = require('node-uuid'); var js2xmlparser = require('js2xmlparser'); var Feed = require('feed'); /** *...
var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = __importDefault(require("path")); const fs_1 = __importDefault(require("fs")); const classModuleP...
/* GENERATED FILE */ import { html, svg, define } from "hybrids"; const PhTrashSimple = { color: "currentColor", size: "1em", weight: "regular", mirrored: false, render: ({ color, size, weight, mirrored }) => html` <svg xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}"...
// 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 or agreed to in ...
// main app // get tasks, search and control app bar import React from 'react'; import { withStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import Button from '@material-ui/core/Button'; import Hidden from '@material-ui/core/Hidden'; import IconButton from '@material-ui/core/Ic...
"use strict"; /* eslint-env commonjs */ /* eslint-disable comma-dangle */ /* global console */ // var require = function(id) { return Script.require(id + '?'+new Date().getTime().toString(36)); } module.exports = DopplegangerAttachments; DopplegangerAttachments.version = '0.0.1b'; DopplegangerAttachments.WANT_DEBUG =...
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ const Cc = Components.classes; const Ci = Components.interfaces; const tests = [ ["affixes", "iso-8859-1"], ["condition", "iso-8859-1"], ["condition_utf", "UTF-8"], ["base", "iso-8859-1"], ...
/*! * Start Bootstrap - Landing Page v6.0.0 (https://startbootstrap.com/theme/landing-page) * Copyright 2013-2021 Start Bootstrap * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-landing-page/blob/master/LICENSE) */ // 전역변수 let id = '' let data $(document).ready(function () { // user 정보 ...
var _ = require('lodash'); function Dice(options) { var self = this; var defaults = { command: 'd20', throttles: { times: 100, repeat: 100, faces: 100, multiplier: 100, modifier: 100 } }; self.options = _.assign(defaults, options); self.data = { command: null, ...
var aiPlayer = { score: 0, cards: [], chat: '', state: 'waiting', passingCards: [], desiredRank: 0, grabCallback: function() { setTimeout(aiGrabCards, randomDelay()) }, fishCallback: function() { setTimeout(aiGoFish, randomDelay()) }, }; var humanPlayer = { score: 0, cards: [], chat: ...
const assert = require('assert') const fnv = require('hash.fnv') const Chunk = require('prolific.chunk') const split = require('./split') const Future = require('prospective/future') const Staccato = { Writable: require('staccato/writable') } const delay = require('delay') class Queue { constructor (size, id, stde...
import React from 'react'; import { Redirect, Route } from 'react-router-dom'; import Main from './components/Main'; import MarkDownLoader from './components/MarkDownLoader'; import { SideBar, SideBarMenu, SideBarLink, SideBarSubMenu } from './components/SideBar'; import { TopBar, TopBarMenu } from './components/TopBa...
var register_contact = function(urlpost, ttype, cid, acctid) { if (ttype == 0 || ttype == 1) { if ($('#honorifics').val() == 0) { $('#honorifics').addClass("alert-danger"); $('#alertholdercontact').append('<br /><span id="alertnotice" class="alert alert-danger" role="alert"><i class=...