text
stringlengths
5.97k
41.2k
const EventorApi = require('eventor-api'); const Person = require('./person'); const EventInfo = require('./eventinfo'); const Race = require('./race'); const EventResult = require('./eventresult'); function EventorSync(options) { this.eventorApi = new EventorApi({ eventorApiUrl: 'http://eventor-sweden-te...
console.log("this"); function swap1(image) { document.getElementById("images-select").src = image.href; }; function slider_owl(slider_id, visible1, visible2, visible3, visible4, margin) { $(slider_id).owlCarousel({ navigation: true, slideSpeed: 500, singleItem: true, pagination: true, ...
/* * Copyright 2019 Adobe. All rights reserved. * This file is licensed to you 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...
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __assign = (this && this.__assign) || function () { __assign = Object...
const childProcess = require('child_process'); const spawn = require('child_process').spawn; const S = require('string'); const os = require('os'); const path = require('path'); const pem = require('pem'); const crypto = require('crypto'); const as...
window.userInfo = JSON.parse(window.sessionStorage.getItem('userInfo')); let audit_server='http://xjcloud-audit.xjcloud.wlq.pbc.gov:8666/audit-api/socket/' $(document).ready(function () { let tokenKey = 'Authorization'; let Authorization = window.sessionStorage.getItem(tokenKey) Authorization = Authorizatio...
var json2hx = new function(){var that = this; const RESERVED = [ "function","class" ] function validName(x){ if (RESERVED.includes(x)){ return "_"+x; } return x; } function shortID(){ var id = ""; for (var i = 0; i < 5; i++){ id+=String.fromCharCode(~~(Math.random()*26)+...
"use strict"; // // functional tests // const clickHandlers = (etype,func) => { return $(document).on('click', etype, func) } // const dashboardHandler = (func) => { return clickHandlers('.dashboard_button',func); } // const getLocalStorage = (key, func) => { return chrome.storage.local.get(key,func); } // co...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof3 = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; exports.selectProps = selectProps; var _vue = require("vue"); var _...
// Copyright (c) 2014 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. // This should output "PROXY success:80" if all the tests pass. // Otherwise it will output "PROXY failure:<num-failures>". // // This aims to unit-te...
import { Quaternion } from "../math/Quaternion.js"; import { Vector3 } from "../math/Vector3.js"; import { Matrix4 } from "../math/Matrix4.js"; import { EventDispatcher } from "./EventDispatcher.js"; import { Euler } from "../math/Euler.js"; import { Layers } from "./Layers.js"; import { Matrix3 } from "../math/Matrix3...
import React, { Component } from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import {faPlus, faSave, faMinus, faSpinner, faArrowLeft, faTrash} from '@fortawesome/free-solid-svg-icons' import {FontAwesomeIcon} from '@fortawesome/react-fontawesome' import PropTypes from 'prop-...
var fs = require('fs'); var gulp = require('gulp'); var ignore = require('gulp-ignore'); var jshint = require('gulp-jshint'); var watch = require('gulp-watch'); var uglify = require('gulp-uglify'); var server = require('gulp-server-livereload'); // var browserify = require('gulp-browserify'); var browserify = requir...
'use strict'; const path = require('path'); const fs = require('fs'); const _ = require('lodash'); const generator = require('strapi-generate'); const { fromJS, List, Map } = require('immutable'); const Manager = require('../utils/Manager.js'); const { createManager, removeColsLine, reorderList, } = require('../...
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 <NAME> <<EMAIL>> <NAME> <<EMAIL>> <NAME> <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free...
/* * The MIT License (MIT) * * Copyright (c) 2016-2017 The Regents of the University of California * * 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 * wit...
import React, { Component } from 'react'; import { View, Image, Alert, TextInput, FlatList, TouchableOpacity, ActivityIndicator, KeyboardAvoidingView, Platform, Dimensions, ScrollView, BackHandler } from 'react-native'; import firebase from 'react-native-firebase'; import { connect } from 'react...
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return O...
'use strict'; var __createBinding = (this && this.__createBinding) || (Object.create ? function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; }, }); } : func...
'use strict'; var Video = require('twilio-video'); var Rickshaw = require('rickshaw'); var normalize = require('./math').normalize; var frequencyExtract = require('./math').frequencyExtract; var mean = require('./math').mean; var activeRoom; var previewTracks; var identity; var roomName; var d3 = require("d3"); var da...
/* * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/) * * 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 requ...
// A5 Fragment Processing Code // Parts for students complete are maked by TODO; the rest is pre-processing Math.radians = function(degrees) { return degrees * Math.PI / 180; } Math.degrees = function(radians) { return radians * 180 / Math.PI; } // geometry: An associative array with three keys: // - v...
/* +-------------------------------------------------------------------+ | P I N G P O N G | | | | Copyright <NAME> <EMAIL> | | Created 10/07/2002 Las...
var loadnext = 5; // preload next 5 slides var loadprev = 2; // keep previous 2 slides in case user scrolls up var videoloadnext=2; // preload videos less var resourcepath; var current_resolution = 1920; var resolution = []; var disqus_loaded = false; var current_slide = $('.slide').get(0); var video_formats={ h2...
/**** Start of imports. If edited, may not auto-convert in the playground. ****/ var geometry = /* color: #d63000 */ee.Geometry.Point([84.07618795831739, 29.54037010686166]); /***** End of imports. If edited, may not auto-convert in the playground. *****/ // Make a layer of shadow pixels at any time of year var util...
import React, { useState, useEffect } from "react"; import { graphql } from "gatsby"; import Layout from "../components/layout"; import * as variable from "../components/variables"; import styled from "styled-components"; import Container from "../components/container"; import SkuCard from "../components/Products/SkuCa...
var have_webgl = (function () { // http://www.browserleaks.com/webgl#howto-detect-webgl if (!window.WebGLRenderingContext) return false; /* WebGL not supported*/ var canvas = document.createElement("canvas"), names = ["webgl", "experimental-webgl", "moz-webgl"], gl = false; for (var i in names) { ...
// Read function READ(addr) { switch ((addr >> 12) & 0xF) { case 0x0: if (gb_bios_enable && addr < 0x100) { return DMG_BIOS[addr]; } case 0x1: case 0x2: case 0x3: return ROM[addr]; ...
// Copyright 2016 the V8 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. // Some edge cases that unibrow got wrong assertEquals("𐐘", "𐑀".toUpperCase()); assertEquals("𐑀", "𐐘".toLowerCase()); assertEquals("σ", "Σ".toLower...
// declaração de constantes mais usadas const $i = document.getElementById("data_inicio"); const $f = document.getElementById("data_final"); const $Ti = document.getElementById("inputInicio"); const $Tf = document.getElementById("inputFinal"); (() => { let hours = `00`, minutes = `00`, seconds = `00`, ...
// jshint worker:true /* * Copyright (c) 2014 <NAME>. All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, t...
const { s, t, sleep, Random } = require('koishi') const API = require('./api') require('./database') t.set('blive', { 'desc': 'bilibili 直播订阅', 'hint': '请使用直播间号进行操作。可以通过 search 子命令进行相关的搜索。', 'user': '{0} (UID {1} / 直播间 {2})', 'add': '订阅直播', 'add-success': '成功订阅主播 {0} !', 'add-duplicate': '本群已经订阅了主播 {0}。'...
/* Copyright 2021 <NAME> & Association BDovore * * 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 conditions and t...
import React, { useState, useEffect } from "react"; import Button from '@material-ui/core/Button'; import AddCircleIcon from '@material-ui/icons/AddCircle'; import { Grid, Select, MenuItem, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, } from "@material-ui/core"; import axios from "axi...
/** * UTILS */ var setInt = function( arrayBuffer, start, value ) { arrayBuffer[start] = value & 0xff; arrayBuffer[start+1] = (value >> 8); }; /** * CODE */ var DEBUG = false; const FILE_TERMINATOR = 59; // ';' const EXTENSION_SEPARATOR = 33; // '!' const GRAPHICS_CONTROL_LABEL = 249; // 0xf9 const APPLICATIO...
const path = require("path") const fs = require("fs"); const mustache = require('mustache') const { setting } = require('./setting') var xmlreader = require('./third/xmlreader') const api = require('../main-api.js') function sendmessage(args) { return api.sendMessage(args); } function jsFormat(es6Code) { cons...
var types = [ { type:"Buffer", title:"", info:"output=input", i:{ in_:0 }, o:{ out:0 }, f:function( i, o ) { o.out = i.in_; } }, { type:"Logger", title:"console.log()", info:"Prints the input to the browser console.", i:{ msg:"" }, f:function( i, o ) { console.log( i.msg ); } }, { type:"Summer", title:...
import { Component } from 'react'; import { connect } from 'react-redux'; import * as etg from '../etg.js'; import * as etgutil from '../etgutil.js'; import * as sock from '../sock.js'; import * as store from '../store.js'; import * as userutil from '../userutil.js'; import * as Components from '../Components/index.js...
// These files are used for both the online web page as well as offline Android app var DEBUG = 0; // > 0 for console.* messages, 0 to disable. Values 1 or 2 or 3. // var DEBUG = 2; // COMMENT OUT FOR RELEASE /////////////////////////////////////////////////////////////////////////// // General functions /** * Disp...
/// <reference path="../../../Source/ThirdParty/ammo.js-master/builds/ammo.js" /> /// <reference path="../common.js" /> //requirejs([ // "../../../requirejs.config.js", // "../../../appconfig.js", // '../../../Source/Main', // '../common.js' //], function ( // config, // appconfig...
// @ts-nocheck // TODO: fix it import { Block } from '../../../abstract/Block.js'; import { constraintRect, minRectSize } from './crop-utils.js'; import { CROP_PADDING, MIN_CROP_SIZE } from './cropper-constants.js'; import { classNames } from './lib/classNames.js'; import { debounce } from './lib/debounce.js'; import ...
"use strict"; // メッセージの送信半径[m] const MESSAGE_RADIUS = 1000; const ROPE_RADIUS = 100; const STEP_RADIUS = 50; // 画像サイズ[px] const PICTURE_SIZE = 512; // const R = 6378137; const O = 2 * Math.PI * R; // 切断とみなす時間[sec] const TIMEOUT = 60; // 発言後、吹き出しを消すまでの時間[sec] const EMIT_TIMEOUT = 60; // GNSSのタイムアウト時間 const GNSS_TIMEOU...
var applicationFormTable = null; var dataTableLanguage = { decimal: "", emptyTable: "表中无匹配的数据", info: "从 _START_ 到 _END_ /共 _TOTAL_ 条数据", infoEmpty: "没有数据", infoFiltered: "(从总计 _MAX_ 条数据中过滤)", infoPostFix: "", thousands: ",", lengthMenu: "显示 _MENU_ 条数据", loadingRecords: "加载中...", ...
require('dotenv').config(); const moment = require('moment'); let schedule = require('node-schedule'); var leoProfanity = require('leo-profanity'); var frenchBadwordsList = require('french-badwords-list'); leoProfanity.clearList(); leoProfanity.add(frenchBadwordsList.array); const Usercommands = require("./database/u...
import { Set } from 'immutable'; import capitalize from 'capitalize'; import React from 'react'; import Layout from '../../components/Layout'; import CarTable from '../../components/CarTable'; import s from './styles.css'; import axios from 'axios'; import { ScatterPlot, BarChart } from 'react-d3-components'; import { ...
// ============================================================================= // // • MODULE/PKG: SuperSpeller // • COPYRIGHT: © Copyright Zayie Software, Inc. 2021 // • LICENSE: Licensed under the CC0-1.0 License (https://creativecommons.org/publicdomain/zero/1.0) // // =============================================...
"use strict"; // Prealoder function prealoader() { if ($('#loader').length) { $('#loader').fadeOut(); // will first fade out the loading animation $('#loader-wrapper').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website. $('body').delay(350).css({ 'overflow':...
var tagify = new Tagify(document.querySelector('input[name=tags]'), { delimiters : null, templates : { tag : function(tagData){ try{ return `<tag title='${tagData.value}' contenteditable='false' spellcheck="false" class='tagify__tag ${tagData.class ? tagData.class : ""}' ${th...
"use strict" // Expresiones regulares // namePattern -> nombres y apellidos(aceptamos un espacio en medio) const namePattern = /^[a-z,A-Z,á,é,í,ó,ú,â,ê,ô,ã,õ,ç,Á,É,Í,Ó,Ú,Â,Ê,Ô,Ã,Õ,Ç,ü,ñ,Ü,Ñ]+[' ']?[a-z,A-Z,á,é,í,ó,ú,â,ê,ô,ã,õ,ç,Á,É,Í,Ó,Ú,Â,Ê,Ô,Ã,Õ,Ç,ü,ñ,Ü,Ñ]+$/; // const urlPattern = /^https?:\/\/(www\.)?[-a-zA-Z0-9@%...
import getItemKey from '../../action-creators/helpers/getItemKey'; import generateUrl from '../../action-creators/helpers/generateUrl'; import wrapInObject from '../../utils/object/wrapInObject'; import extractListOperations from '../../action-creators/helpers/extractListOperations'; import makeRequest from '../../acti...
// Sample Portlets // --------------------------------------------------------------------------------------- var samplePortlets = []; isc.say("This is a preview of the SmartClient portal framework. Users can easily customize a nested portal view. <P> To add components to the portal, open the menu at the right and ...
var attributes = { "fill": "gray", "stroke-opacity": 0.5, "stroke": "black", "stroke-width": "1" }; var virtual = { "fill": "gray", "stroke-opacity": 0.5, "stroke": "black", "stroke-width": "1", "stroke-dasharray":"--" }; var real = { "stroke": "black", "stroke-width": "1", "stroke": "black", "...
var handleAppClose = { initialize:function(){ addCloseWindowListener(e => { confirmDialog({ heading:"Save before quitting?", description:"", cancelText:"Exit Without Saving", confirmText:"Save and Quit", secondaryTe...
// Music Recommendations // by <NAME> // TODO: use regex or similar tool so multi artist albums (e.g. pinata by freddie gibbs & madlib) are seen as the same as pinata by freddie gibbs, // another example is fetti by currensy, freddie gibbs & alchemist is same as fetti by currensy, // and that albums ending with s...
const PAYMENT1_TEEN = 0; const PAYMENT2_TEEN = 1; const PAYMENT3_TEEN = 2; const PAYMENT4_TEEN = 3; const PAYMENT5_TEEN = 4; const PAYMENT6_TEEN = 5; const PAYMENT7_TEEN = 6; const PAYMENT0_MOM = 0; const PAYMENT1_MOM = 1; const PAYMENT2_MOM = 2; const PAYMENT3_MOM = 3; function addClickThroughListeners(allTeenScreens...
/** * Copyright reelyActive 2015-2021 * We believe in an open Internet of Things */ // Constants const STATUS_OK = 200; const STATUS_CREATED = 201; const STATUS_BAD_REQUEST = 400; const STATUS_NOT_FOUND = 404; const MESSAGE_BAD_REQUEST = 'Bad Request [400]. An error likely occurred on the server.'; const MESSAGE_...
// https://github.com/Phrogz/context-blender // //Context Blender JavaScript Library // // Copyright © 2010 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, i...
var t = null; var Base={ dialog : null, dialog2 : null, // 提示框,几秒后自动关闭 alertTime : function (msg, second, reload){ if (Base.dialog2) { Base.dialog2.close().remove(); } if (t) { clearTimeout(t); } if(typeof title == 'undefined') title = '消息'; if(typeof second == 'undefined') second = 2; Base....
export const feminins = [ "Adriana", "Agathe", "Alba", "Albane", "Alessia", "Alexandra", "Alexia", "Alia", "Alice", "Alicia", "Alix", "Aliyah", "Alizée", "Alma", "Amal", "Amale", "Amandine", "Ambre", "Amel", "Amelia", "Amélia", "Amélie", "Amina", "Amira", "Ana", "Anaé", "Anaelle", "Anais", "Anaïs", "Anastasia", "Andrea...
/* * forumVotePage * */ import React from 'react' import { injectIntl } from 'react-intl' import { Form, Icon, Input, Card, Col, Row, Modal, Tabs, Radio, Table, Button, InputNumber, Tooltip, Select, Progress } from 'antd' import PropTypes from 'prop-types' import { createStructuredSelector } from 'reselect' import ...
// Variablen für die Oberflächenaktionen var buttonVW_PortA = document.getElementById("button_portA_vw") var buttonRW_PortA = document.getElementById("button_portA_rw") var buttonVW_PortB = document.getElementById("button_portB_vw") var buttonRW_PortB = document.getElementById("button_portB_rw") var buttonVW_PortC = do...
var apikeys = ['<KEY>', '<KEY>', '<KEY>', '<KEY>', 'AIzaSyAvdyTWT0ooWAYwR9OkmgAPZZ0dv57_A5Y', '<KEY>', '<KEY>' , '<KEY>', '<KEY>', '<KEY>', '<KEY>']; var apikeyindex = 0; // var points = <?php echo json_encode($points) ?>; Number.prototype.toRad = function (...
var SerialPort = require("serialport").SerialPort; var net = require('net'); var Connection = require('mqtt-connection'); var mqttsn = require('mqttsn-packet'); var MQTTSN_SerialGW = function(serialPath, rate, brokerHost, brokerPort, id){ if(rate == undefined) rate = 115200; if(brokerHost == undefined) brokerHos...
function $onDomLoad(callback) { if (document.readyState !== "loading") callback(); else window.addEventListener("DOMContentLoaded", callback); } function $onDocumentReady(callback) { if (document.readyState === "complete") callback(); else { document.addEventListener("readystatechange", function () { ...
/*********************************************************************** * _ * _____ _ ____ _ |_| * | _ |/ \ ____ ____ __ ___ / ___\/ \ __ _ ____ _ * | |_| || | / __ \/ __ \\...
const grpc = require('grpc'); const Log = require('./log'); const Timer = require('./timer'); const State = require('./state'); const services = require('./services'); const Follower = require('./follower'); const RPCController = require('./utils').RPCController; class Node { static modes = { follower: 'FOLLOWER...
var moving = false; var FILM_GAP = 1000; var hei = 1136; $(function() { hei = $('.wrapper').height(); //var hei = 1136; imageLoader({ selector: '#imageLoader', progress: function(percent) { $('#progress').text(percent); }, callback: function() { TweenMax.to('.loading',0.6, {css: {marginTop: -hei}, o...
/* eslint-disable */ import defaults from './defaults'; import { getEl, createElement, insertAfter, deepCopy, getLeadingZeroNum, getParsedDate, getDecade, isDateBigger, isSameDate, isDateSmaller } from './utils'; import DatepickerBody from './datepickerBody'; import DatepickerNav fro...
// Whole-script strict mode syntax "use strict"; /** MIT License Copyright (c) 2020 Openlaw 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 ...
var var_tree; var Array_box = []; var ibox = 0; // array idbox, lasted id //var Array_ibox = [[], []]; var Array_ibox = new Array(20) for (i = 0; i < 20; i++) Array_ibox[i] = new Array(5) var abox = 0; function showaray() { var str="" for (var i = 0; i < (abox) ; i++) { str += ",(" + i + ")" ...
import React, { Component } from 'react'; import { Image, Flex, Box, Heading, Button, Link, Text } from 'rimble-ui' import BigNumber from 'bignumber.js'; import styles from './Landing.module.scss'; import LandingForm from '../LandingForm/LandingForm'; import IconFlexRow from '../IconFlexRow/IconFlexRow'; import Faq fro...
import { promisifyLoader } from '/js/utils.js'; // we use to set a valid width / height for a display // the display's tab may not be visible yet if its not the // first tab and so its clientWidth / clientHeight will be 0 // When that's the case, we can use these. let uwidth = -1; let uheight = -1; const textureLoade...
#!/usr/bin/env node /*jshint esversion:8*/ // // curl.js - a simple wrapper for puppeteer supporting many curl options // // npm install puppeteer // usage: node curl.js URL // // (c) 2020 gnadelwartz <EMAIL> // released to the public domain where applicable. Otherwise, it is released under the terms of the WTFPLv2 //...
'use strict'; var Oauth3Consumer = module.exports = function () {}; /** * Module dependencies. */ var PromiseA = require('bluebird').Promise; var crypto = require('crypto'); Oauth3Consumer.stripLeadingProtocolAndTrailingSlash = function (uri) { return uri.replace(/^(https?:\/\/)?(www\.)?/, '').replace(/\/$/, '')...
/** * globalHelpers.js * * This file is the helpers around the actual pages, and should only * contain code that should be of help on all pages. (e.g. checking if response is "SUCCESS") */ import Cookies from 'js-cookie'; import * as FileSaver from 'file-saver'; import * as XLSX from 'xlsx'; import html2canvas fro...
/* Copyright (c) 2018-present evan GmbH. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
var game; var debug = false; var debugResult = 'Drag a sprite'; function Grid(){}; Grid.prototype = { array: [], size: 10, pixelSize: 48, toArrayIndex: function(x, y) { var xGrid = this.toColumn(x); var yGrid = this.toColumn(y); if (xGrid > 9 || xGrid < 0) return -1; if (yGrid > 9 || y...
import React, {Component, Fragment} from 'react'; import {Form, Input, Icon, Modal, notification, Select, Spin, Tooltip } from 'antd'; import debounce from 'lodash/debounce'; import {getUserBrief, getBarBrief, getEquipmentBrief, getRecipeBrief, search, getAllEquipmentTypes} from './APIUtils'; import {Link} from 'react...
/* * layout */ var paramString; var mParam; var cacheName;//新闻列表缓存参数 var slideCacheName; //轮播图缓存数据 var slideDatas = []; var dailyUrl = ""; var dailyText = ""; var dailyId = ""; var dailyAd = ""; var dailyNewsId = ""; var loadMoreLock = true; var user; var server; var i18n; var firstNewsId; var open = false; ...
var angular = require('angular'); var _ = require('lodash'); angular.module('ngFiltersProperties', []).directive('ngFiltersProps', ['$filter','$compile',function ($filter,$compile) { return{ restrict: 'EA', //template: '<div ng-bind-html="compoentHtml"></div>', scope:{ config:"="...
/*global Ammo*/ import { math } from './math.js'; import { root, map } from './root.js'; /** _ _____ _ _ * | | |_ _| |_| | * | |_ _| | | _ | * |___|_|_| |_| |_| * @author lo.th / https://github.com/lo-th * * GUN - CONSTRAINT JOINT */ function Constraint() { this.ID = 0; this.joints = []; ...
/* eslint-disable no-undef */ /** * c2m_CompletedView.js * Handles the completed view state. i.e. user has clicked to create a new module * from a converted Word doc. This view will create the new view and display the * result */ /* jshint: esversion: 6 */ import { c2m_View } from './c2m_View.js'; const COMPLE...
"use strict"; $(document).ready(function () { //loading setting a timeout setTimeout(function () { $("#loader").fadeOut("slow"); }, 5000); }); //check for browser os var isMobile = false; var isiPhoneiPad = false; if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.te...
import { checkParamOrThrow } from 'apify-client/build/utils'; import { checkParamPrototypeOrThrow } from 'apify-shared/utilities'; import * as _ from 'underscore'; import PuppeteerPool from '../puppeteer_pool'; // eslint-disable-line import/no-duplicates import { BASIC_CRAWLER_TIMEOUT_MULTIPLIER } from '../constants'; ...
const fs = require('fs'); const path = require('path'); const findUp = require('find-up'); const { gzip } = require('node-gzip'); const { promisify } = require('util'); const glob = promisify(require('glob')); const replace = require('buffer-replace'); const imageminMozjpeg = require('imagemin-mozjpeg'); const imagemin...
(function(window) { var document = window.document, alert = window.alert, confirm = window.confirm $ = window.jQuery; var SF = { Config: {}, Widget: {}, App: {}, Static: {} }; var hostUrl = document.location.host; var urlArr = hostUrl.split('.'); var domain = urlArr[1]+'.'+urlArr[2]; var PASSPORT_URL ...
var online= new Array(); var urlroot = "/kefu/images/"; var tOut = -1; var drag = false; var g_safeNode = null; lastScrollY = 0; var kfguin; var ws; var companyname; var welcomeword; var type; if(kfguin) { rightDivHtml = '<div id="rightDiv" style="position:absolute; top:160px; right:1px;">'; right...
'use strict'; const EQQ = /\s|=/; const FLAG = /^-{1,2}/; const PREFIX = /^--no-/i; function isBool(any) { return typeof any === 'boolean'; } function toArr(any) { return Array.isArray(any) ? any : any == null ? [] : [any]; } function toString(any) { return any == null || any === true ? '' : String(any); } func...
var enyo = enyo; var enigma = enigma; enyo.kind({ name: "enigma.sha512", kind: enyo.Component, statics: (function() { /* * Calculate the HMAC-SHA-512 of a key and some data (raw strings) */ function rstr_hmac_sha512(key, data) { var bkey = enigma.encode.toBigE...
/* eslint-disable object-curly-newline */ /* eslint-disable class-methods-use-this */ /* eslint-disable no-multi-spaces */ /* eslint-disable array-bracket-spacing */ /* eslint-disable camelcase */ 'use strict'; const fetch = require('node-fetch'); const { StorageArea } = require('node-kv-storage'); const { name: pkg...
/** * @file Fuel moisture estimates based on Fosberg and used by National Wildfire Coordinmating Group * @copyright 2021 Systems for Environmental Management * @author <NAME>, <<EMAIL>> * @license MIT */ // Fosberg's Table A - Reference Fuel Moisture export const FosbergA = [ // 4 9 14 19 24 29 34 39 44 49 54 59 ...
/* * Rapid Interface Builder (RIB) - A simple WYSIWYG HTML5 app creator * Copyright (c) 2011-2012, Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 * * Port...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _ApiClient = _interopRequireDefault(require("../ApiClient")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _classCallCheck(instance, Construct...
var svgNS = "http://www.w3.org/2000/svg"; var PrimalNode = function(parent_group, name, node_info) { this.parent_group = parent_group; this.name = name; this.node_info = node_info; this.child_groups = []; this.child_nodes = []; this.collapsed = true; this.hidden = true; this.display_node...
const fs = require('fs'); const Promise = require('bluebird'); //const db = require('./db.js'); const db = require('./index.js').db; const Crews = require('./crews.js'); const Voyages = require('./voyages'); const Animals = require('./animals'); const Allanimals = require('./allanimals'); const Places = require('./pla...
import React, { Suspense, useEffect, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { connect } from "react-redux"; import { FORM_ROWS } from "../../actions/formRowsAction"; import axios from 'axios'; import { CForm, CCardBody, CCardFooter, CButton, CAlert } from '@coreui/react'...
var kursauswahl; var kurssuche; var activeFilters = {}; //ul menüleiste, die wählbare suchfilter enthält function addSuchfilter(table, key, uiname, column_names, callback) { suchfilter.append('<li><input id="suchfilter_' + key + '" type="checkbox" value="value"><label for="suchfilter_' + key + '" style="padding-ri...
/* global L Tabletop */ /* * Script to display two tables from Google Sheets as point and polygon layers using Leaflet * The Sheets are then imported using Tabletop.js and overwrite the initially laded layers */ // init() is called as soon as the page loads /*function init() { // PASTE YOUR URLs HERE // these ...
'use strict'; // Author: <NAME> var request = require('request'); const Entities = require('html-entities').XmlEntities; const entities = new Entities(); /* Handles a trivia gamemode Uses player and db-sequelize to update rating */ const f = require('./f'); const player_js = require('./player'); const bot = requ...
let logging = false; // imgur album https://imgur.com/a/PEYw7f0 function print(...a) { if (logging) { console.log(...a); } } let drawingArea; let prizeImg; let areas; let startButton; let pauseButton; let resetButton; let ticketWidth; let paused = false; function findTicketWidth() { let testTic...