text
stringlengths
8.5k
48.7k
import {LitElement, html, css} from 'lit-element'; class VaadinDevmodeGizmo extends LitElement { static get styles() { return css` :host { --gizmo-border-radius: 1rem; --gizmo-green-color: hsl(145, 80%, 42%); --gizmo-grey-color: hsl(0, 0%, 50%); --gizmo-...
////////////////////////////////////////////////////////////////////////////// // Color ////////////////////////////////////////////////////////////////////////////// import utils from './Utils'; /** * The Color class is meant to represent a color and opacity in a consistant manner * Colors are stored internally as...
/* eslint-disable no-console */ /* global $, PouchDB, fetch */ /* global CONFIG_DB, COUCHURL, logWarning, logError, hhmmssToDate, millisecondsToHHMMSS, initDate, defaultRaceConfig */ /* global FatalError, BoatClass, htmlEscape */ var ResultsObj = function (remoteURL) { 'use strict'; var that = this; // eslint...
/*jslint browser:true */ 'use strict'; var jQuery; var wbs = {}; var vue_explorer; var wbs_connect; var schema = 'v1'; Vue.config.keyCodes = { backspace: 8, slash: 191, f1: 112 } const MONTH_NAMES = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ]; function getForm...
/*! * Copyright 2013 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
(function ($) { "use strict"; var primarycolor = getComputedStyle(document.body).getPropertyValue( "--primarycolor" ); //////////////////////// Window On Load ////////////////// $(window).on("load", function () { // Animate loader off screen $(".se-pre-con").fadeOut("slow"); }); $(".sidebar ul") .find("...
function NoteEditor(options) { return this.init(options); } (function (window, document) { NoteEditor.prototype = { init: function (options) { var self = this; this.options = options || {} this.options.displayTextField = options.displayTextField || false; this.options = {...
'use strict'; const fs = require('fs'); const ObjectID = require('mongodb').ObjectID exports.modelObj = function newsCreate(piezas) { var parteParametros = ""; var parteEcuaciones = ""; for (var i = 0; i < piezas.length; i++) { var pieza = piezas[i]; // Posibilidad Constitutive if (pieza.type == "C...
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; import { bindActionCreators, dispatch } from 'redux'; import { Link } from 'react-router'; import { Tab, Tabs } from 'react-bootstrap'; import _ from 'lodash'; import { actionExportXlsx, actionExportRu...
#!/usr/bin/env node /* * Copyright (c) 2021 Light Source Software, LLC. 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/LICENS...
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(generator.throw(va...
/* This file specifies most of the syntax of WebBS. I say "most" of the syntax is specified here because some of that work is arguably shared by the lexification rules, the parser algorithm itself (in the form of special cases) and perhaps some of the semantic validation rules in /compiler/validation.js. Th...
// Расширенная сортировка статей в DSL файле. function onstart () { if (process.argv.length === 6 && o.utils.fileExists(process.argv[4])) { //node nodereplacer.js -sort -(b|o|bi|bie|oi|oie|bd|od|bdc|odc) input.txt output.txt o.inputfile = process.argv[4] o.outputfile = process.argv[5] if (o.output...
export const AlphabetsList = [ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", ]; export const CategoryList = [ "Colors", "Shapes", "Movies", "S...
/** * Created by xaipo on 1/17/2018. */ var process = require('./ExecuteProcess'); var document = require('./GenerateXml'); var log = require('./Log'); var wtiteXml = require('./SaveDocument'); var moveFile = require('./RunCommand'); var date = require('./datesFormater'); var Factura = require('../Models/Factura'); v...
"use strict";var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");var _parseInt2 = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/parse-int"));var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator"));var _asyncToGenerator2 = _intero...
//initialize the map on the map div with center and zoom on ABQ const map = L.map('map'); //store access token, MapBox Url, and attribution in variables for later us const accessToken = '<KEY>'; const mbUrl = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=' + accessToken; const mbAttr = 'Map data &...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var E2BIG = exports.E2BIG = 7; var EACCES = exports.EACCES = 13; var EADDRINUSE = exports.EADDRINUSE = 48; var EADDRNOTAVAIL = exports.EADDRNOTAVAIL = 49; var EAFNOSUPPORT = exports.EAFNOSUPPORT = 47; var EAGAIN = exports.EAGAIN = 35; var E...
var RetroBuffer = function(width, height, atlas, pages){ this.WIDTH = width; this.HEIGHT = height; this.PAGESIZE = this.WIDTH * this.HEIGHT; this.PAGES = pages; this.atlas = atlas; this.SCREEN = 0; this.PAGE_1= this.PAGESIZE; this.PAGE_2= this.PAGESIZE*2; this.PAGE_3= th...
// // hydraGrab.js // examples // // Created by <NAME> on 4/24/14. // Copyright 2014 High Fidelity, Inc. // // This script allows you to edit models either with the razor hydras or with your mouse // // Using the hydras : // grab models with the triggers, you can then move the models around or scale them with bo...
const clone = require("clone"); const { log } = require("@node-red/util"); const { Logger } = require("@dojot/microservice-sdk"); const { events } = require("@node-red/util"); const redUtil = require("@node-red/util").util; const typeRegistry = require("../../../registry"); const Flow = require("./Flow"); const ...
// Copyright 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. // Include test fixture. GEN_INCLUDE(['../testing/chromevox_webui_test_base.js']); GEN_INCLUDE(['../testing/fake_objects.js']); GEN('#include "content/pu...
var opened_menu = false; var black_moon = '<i class="fas fa-moon"></i>'; var white_moon = '<i class="far fa-moon"></i>'; var menu_item_open = false; var v_hide_menu = false; var user_option_item = false; var loading = $('.loader-wrap'); loading.css('display', 'block'); $(function () { loading.css('display', 'non...
var sessionKey; var sessionId; var chatMessageTemplate; var channelTabTemplate; var myNickName; var CHANNEL_NAME_PREFIX = "AIRC_CHANNEL_"; var joinedChannels = new Array(); var minMessageIdArray = new Array(); var maxMessageIdArray = new Array(); var maxMessageId = 0; var notificationKeywordArray = new Array(); functio...
'use strict'; const Exchange = require ('./base/Exchange'); const { ROUND } = require ('./base/functions/number'); const { ExchangeError, ArgumentsRequired, AuthenticationError, InsufficientFunds, InvalidOrder, OrderNotFound } = require ('./base/errors'); module.exports = class rightbtc extends Exchange { describ...
// define horizontal and vertical refrence systems available within the // application. // followinf definitions were taken from QA4UAV listing export const HORIZONTAL_REFERENCE_SYSTEMS = [ { 'value': 28349, 'label': 'GDA94 MGA Zone 49', 'sublabel': 'Australia; EPSG: 28349' }, { 'value': 28350, 'label': 'GDA94 MG...
const electron = require('electron'); const path = require('path'); const fs = require('fs'); const url = require('url'); let perfTimestamps = global.perfTimestamps; perfTimestamps?.push({ name: 'loading app requires', ts: process.hrtime() }); const app = electron.app; let mainWindow = null; let appIcon = null; let...
const dbconnection = require('./dbconnection'); const regex_email= /(?:[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-...
"use strict"; const _ = require("lodash"); const fs = require("fs"); const JSZip = require('jszip'); const externals = require("./externals"); const regexify = require("./regexify"); const blank = require("./blank")(); const xmlq = require("./xmlq"); const Sheet = require("./Sheet"); const ContentTypes = require("./C...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _xeUtils = _interopRequireDefault(require("xe-utils/methods/xe-utils")); var _conf = _interopRequireDefault(require("../../conf")); var _vXETable = _interopRequireDefault(require("../../v-x-e-table")); var ...
import React, {Component} from 'react'; import axios from 'src/common/myAxios'; import DropArea from './DropArea'; import { Redirect } from 'react-router-dom' import Sign from './Sign'; import SignerFields from './SignerFields'; import './Signature.css'; var html2canvas = require('html2canvas'); import jsPDF from 'jsp...
var app, app_elementos; var $avisoError500 = true; (function ($) { 'use strict'; app = function($form, op){ var $this = this; $this.id = 0; $this.form = $('#' + $form), $this.op = $.extend({ 'url' : '', 'botones' : true, 'limpiarInicio' : true, 'limpiaDespuesGuardar' : true, 'teclado' :...
/** * 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...
const dataStyles = require('../data_styles') const describe = require('mocha').describe const it = require('mocha').it const assert = require('chai').assert describe('dataStyles.import_and_check', () => { it('checks reaction data', () => { const reactionData = { R1: 0, R2: 4, R3: -12.3 } const expecte...
/* jshint browser: true */ /* globals console */ // Module core/utils // As the name implies, this contains a ragtag gang of methods that just don't fit // anywhere else. import { lang as docLang } from "./l10n.js"; import { pub } from "./pubsubhub.js"; export const name = "core/utils"; const spaceOrTab = /^[ |\t]*/; ...
const tlcfg = { token: process.env.BOT_TOKEN, prefix : "-t", ownner : process.env.OWNERS, playingStatus : "/help Translating...", tsChannelsEnabled : true }; const ALLOWED_ROLES = process.env.ALLOWED_ROLES; const DEBUG = process.env.DEBUG; const fs = require("fs") const Eris = require("eris") const OS = requ...
var bData = null; var bookToChapter = {}; var bookToChapterCount = {}; var maxLength = 250; var contra = null; var contraFilters = { source: window._contraSource ? window._contraSource : 'sab', /* Source of data, default SAB */ book: null, /* Specific book name */ chapter: null, /* Specific ab...
const trapTypes = [ "Arcane", "Draconic", "Forgotten", "Hydro", "Parental", "Physical", "Shadow", "Tactical", "Law", "Rift" ]; const subcategories = { "Indigenous Mice": ["Misc.", "Great Gnawnian Games", "Rare Rodents"], "Dock Dwellers": ["Misc."], "Mountain Mice": ["Misc."], "Forest Guild"...
import Widget from "common-micro-libs/src/jsutils/Widget" import EventEmitter from "common-micro-libs/src/jsutils/EventEmitter" import dataStore from "common-micro-libs/src/jsutils/dataStore" import objectExtend from "common-micro-libs/src/jsutils/objectExtend" i...
import fs from 'fs' import klawSync from 'klaw-sync' import glob from 'glob' import child from 'child_process' import FindKey from 'find-key' import md5File from 'md5-file/promise' import YAML from 'js-yaml' import axios from 'axios' import mkdirp from 'mkdirp' import path from 'path' import FormData from 'form-data' i...
import MicroModal from 'micromodal'; import { base64_json_parse, base64_json_stringify } from '../base64'; import Audio from './audio'; import DriveLights from './drive_lights'; import { DISK_FORMATS } from '../types'; import { gamepad, configGamepad, initGamepad } from './gamepad'; import KeyBoard from './keyboard'; ...
"use strict"; require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.symbol.iterator"); require("core-js/modules/es.array.concat"); require("core-js/modules/es.array.for-each"); require("core-js/modules/es.array.iterator"); require("core-js/modules/es....
/* * @file * ------------------------------------------------------------------------------------ * Created by SAN Business Consultants for RAPTOR phase 2 * Open Source VA Innovation Project 2011-2015 * VA Innovator: Dr. <NAME> * SAN Implementation: <NAME>, <NAME>, et al * Contacts: <EMAIL>, <EMAIL> * ---------...
"use strict"; var _ = require('lodash'), $ = require('jquery'), moment = require('moment'), Marionette = require('../../shim/backbone.marionette'), App = require('../app'), coreModels = require('../core/models'), coreUtils = require('../core/utils'), coreViews = require('../core/views'), ...
import {isNotNull} from "@@/utils/util"; import {genVue2JS} from "@@/utils/vue2js-generator"; import {beautifierOpts} from "@@/utils/beautifierLoader"; import {genVue3JS} from "@@/utils/vue3js-generator"; export function buildClassAttr(ctn, defaultClass) { const cop = ctn.options let gridClassArray = [] !!defaul...
// TODO (NEAR TERM AND FUTURE) // 1. All functions in this file should be within a namespace // 2. The server/graphml service should generate json instead of XML thus avoiding the need to use xmlToGraph // 3. The server should perform all of the force directed graph layouts and send back the final graph node positions...
import tools from './tools' import Data from './data' import code from '@/components/echarts/src/codeMap/code' // import store from '@/store' const departId = '34' // const departId = store.getters.user.departId || '34' const codeMap = code[departId] const color_bar = ['#1890FF', '#13C2C2', '#2FC25B', '#FACC14', '#F04...
var gStartPoint = { "x": -1, "y": -1 }, g_OffsetX, g_OffsetY, g_FFTImageArray, g_FFTImageArray; self.addEventListener('message', function (e) { switch (e.data.cmd) { case 'FFT': var dim = e.data.drawingImage; var im = e.data.realImage; //self.po...
{ "translatorID": "11645bd1-0420-45c1-badb-53fb41eeb753", "translatorType": 8, "label": "Crossref", "creator": "<NAME>", "target": "^https?://partneraccess\\.oclc\\.org/", "minVersion": "2.1.9", "maxVersion": null, "priority": 90, "inRepository": true, "browserSupport": "gcsv", "lastUpdated": "2018-08-13 12:...
/* * * This program is licensed under the MIT License. * Copyright 2015, aike (@aike1000) * */ var ThreePiece = function(id, w, h, useDirtyFlag) { this.width = this.set(w, 768); this.height = this.set(h, 576); this.id = id; this.hooks = []; this.objs = {}; this.texture = {}; this.textureLoaded = 0; this.d...
const EventEmitter = require('events'); const util = require('util'); const stateChanged = "stateChanged"; var updatedState = false; //private state, engine will emmit a event at the end of execCommand method if this value is true module.exports = initEngine(); //build engine and return its ctor fnc. function initEng...
import { ɵɵdefineInjectable, ɵɵinject, Injectable, Optional, EventEmitter, Component, ViewEncapsulation, ElementRef, Input, Output, ViewChild, Directive, ComponentFactoryResolver, ViewContainerRef, Host, SkipSelf, NgModule } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { map } from 'r...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.array.filte...
var number = 0 var processes = [] var disableSpin = false window.gameFunctions.gameSrocessGameUpdate = function () { } window.gameFunctions.gameUpdate = function () { var game = this; if(!game){ console.log(this) } if (!window.gameVars) return; var state = window.gameVars.Game; ...
/** * @author <NAME> * * The user interface for the drink tracking screen. Can add new drinks here. * We wrap all code in a self-calling function to protect the * global namespace. * * Copyright yourbrainondrugs.net 2011 */ //include all the necessary objects var analysisBloodAlcohol = require('/analysis/bl...
//Array to hold voices //a boolean flag that's used for stopping playback var stopped; var paused = true; var playing = false; // probably need to delete the above, at least voiceArray.... /** *a basic data structure used for playback and creating midi download * * @param pitchArray {Array} The array of pitches...
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import { createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue"; var __rest = this && this.__rest || function (s, e) { var t = {}; for (var p in s) ...
const fs = require('fs-extra'); const { EOL } = require('os'); const { resolve, basename, extname, dirname, relative } = require('path'); const { red, bold, underline, dim } = require('kleur'); const camelCase = require('camelcase'); const glob = require('tiny-glob/sync'); const { map, series } = require('asyncro'); co...
//Ning+ 20181007新增 function AnimateZooms(ele, target) { let startzoom = ele.zoom; let endzoom = target; let zooms = startzoom; clearInterval(ele.timer); ele.timer = setInterval(function() { // ele.zoom = zooms; zooms = lerp(zooms, endzoom, 0.03); if (endzoom > startzoom...
'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 ("...
var http = require('http'); var rtg = require("url").parse(process.env.REDISTOGO_URL); var client = require("redis").createClient(rtg.port, rtg.hostname); var requestHelper = require('request'); var express = require('express'); var async = require("async"); var app = e...
// V22.09.2018 // dataio var befehllist=[ {g:[ {b:'LEDON',n:"LED On"},{b:'LEDOFF',n:"LED Off"} ] } , {g:[ {b:0x230C,n:"1"}, {b:0x208C,n:"2"}, {b:0x228C,n:"3<span>tuner</span>"}, ] } , {g:[ {b:0x231C,n:"4"}, {b:0x224C,n:"5"}, {b:0x22cc,n:"6<span>PC</span>"}, ] } , {g:[ {b:0x2...
/* * Copyright (c) 2008, Gennady & <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, this * list of c...
let countries =[ {exrate:"1",cname:"USD",ccode:"US",value:"1",name:"USA",mcode:"+1"}, {exrate:"1",cname:"USD",ccode:"GB",value:"44",name:"UK",mcode:"+44"}, {exrate:"1",cname:"USD",ccode:"DZ",value:"213",name:"Algeria",mcode:"+213"}, {exrate:"1",cname:"USD",ccode:"AD",value:"376",name:"Andorra",mcode:"...
"use strict"; exports.ViewDataGenerator = void 0; var _date = _interopRequireDefault(require("../../../../core/utils/date")); var _constants = require("../../constants"); var _utils = require("../../resources/utils"); var _base = require("../../../../renovation/ui/scheduler/view_model/to_test/views/utils/base"); ...
function Piece2() { this.x; this.y; this.pos = 0; this.tetro; this.index; this.kickData; this.lockDelay = 0; this.lockLimit = 0 this.shiftDelay = 0; this.shiftDir; this.shiftReleased; this.arrDelay = 0; this.held = false; this.finesse = 0; this.dirty = false; ...
verb = "verb" direction = "direction" inverse_direction = "inv" item = "item" nil = "nil" person = "person" obj = "object" objj = "object" abstract = "abstract" here = "here" words = {} words.food = {type: abstract} words.container = {type: abstract} words.sittable = {type: abstract} words.readable = {type: abstract} ...
const constants = require('/lib/enonic/static/constants'); const ioMock = require('/lib/enonic/static/ioMock'); const __getPathError__ = require('./index').__getPathError__; const t = require('/lib/xp/testing'); const mockedRunmodeFuncs = {}; const mockRunmode = () => { t.mock('/lib/enonic/static/runMode.js'...
{ "translatorID": "bf6b49e3-9198-4fbc-a559-a81fcfcce908", "label": "World Shakespeare Bibliography Online", "creator": "<NAME>", "target": "^https?://(www\\.)?worldshakesbib\\.org", "minVersion": "1.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcs", "la...
$(document).ready(function() { // Initialize Firebase var config = { apiKey: "<KEY>", authDomain: "project1-burger.firebaseapp.com", databaseURL: "https://project1-burger.firebaseio.com", projectId: "project1-burger", storageBucket: "", messagingSenderId: "297665083434" }; firebase.initializeApp(config); var...
/* Copyright 2017 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, ...
var Plotly = require('../lib/plotly-latest.min.js') var jpickle = require('jpickle') var getUpsampled = require('../lib/getUpsampled') var getParams = require('../lib/getParams') var getTverts = require('../lib/getTverts') var jquery = require('jquery') var dat = require('dat-gui') var pack = require('ndarray-pack') v...
var regular = function (code) { var pattern = /^1[3456789]\d{9}$/; if (pattern.test(code)) return true; return false; } var lay = function (html) { $('.loginTipsPop').html(html).show(); setTimeout(function () { $('.loginTipsPop').hide(); }, 2000) } $(function () { var opt = { 'de...
/** @license Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
'use strict'; const FS_ENDPOINT = 'https://api.foursquare.com/v2/venues/search'; const FS_VERSION = '20180323'; const FS_INTENT = 'match'; // default 'checkin' if searching for more than 1 //const FS_LIMIT = '1'; const FS_GROUP = 'venue'; const FS_PHOTO_LIMIT = '1'; const FS_PHOTO_SIZE = '150x150'; const FS_CLIENT_ID =...
function ptsMatch() { var match_data; var options = { id: 0, class: 'ptsMatch', resize: true, width: window.innerWidth, height: 80, max_height: 100, margins: { top: 0, right: 0, bottom: 0, left: 0 }, set: { ave...
/* Copyright 2013-2016, <NAME> & <NAME> 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...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateTearsheet = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtim...
import { SpelExpressionEvaluator } from "spel2js"; import uuid from "../utils/uuid"; import {getFieldConfig, extendConfig, normalizeField} from "../utils/configUtils"; import {getWidgetForFieldOp} from "../utils/ruleUtils"; import {loadTree} from "./tree"; import {defaultConjunction, defaultGroupConjunction} from "../u...
//====================================================================== // 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 ...
// ------------------------------------------------------------------------ // Interactive fractal generation using JavaScript and the // HTML5 Canvas element. // // Dependencies: // complexlite.js - basic complex maths library. // colorutils.js - utility library for color rendering routines. // fractalutils.js - util...
/** * @name SpellcheckManager * @version 1.0.0 * @author Qb * @description A simple plugin that allows you to remove words from the spellchecker's dictionary. * @source https://github.com/QbDesu/BetterDiscordAddons/tree/potato/Plugins/SpellcheckManager * @updateUrl https://raw.githubusercontent.com/QbDesu/BetterD...
/* * Copyright (c) 2017 Cornell University * * 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 o...
/** * -------------------------------------------------------------------------- * Button visually impaired (v1.0.0): bvi.js * Licensed under MIT (https://github.com/veks/button-visually-impaired-javascript/blob/master/LICENSE.md) * -------------------------------------------------------------------------- */ imp...
var SEPARATOR_MULTIPLE_PARAMETERS = "==="; //used to separate multiple attribute VALUES var SEPARATOR_MULTIPLE_VALUES = ";"; var DATE_FORMAT = 'MM/DD/YYYY'; var TIME_FORMAT = 'HH:ss'; var ACTIVELY_SAVED_FIELD_ID = "collect_boolean_actively_saved"; var NESTED_ATTRIBUTE_ID_PATTERN = /\w+\[\w+\]\.\w+/; var $form =...
// REQUIREMENTS const fs = require('fs'); const yaml = require('js-yaml'); const path = require('path'); const javaParser = require("java-parser"); const config = require('./config'); console.debug('config : ', config); var clazzNames = null; var author = require("os").userInfo().username; var programPackageJSON =...
// load csv file to d3 function bubbleChart(){ pathcsv = csvFolder + stockTickr + ".csv"; d3.select('#chartB1').on('click', d3.select("svg").remove()); // resets svg console.log(pathcsv) d3.csv(pathcsv, function(data) { // for (var key in data){ // priceMovement.push(+Object.values(data[key...
import React from 'react' import { connect } from 'react-redux' import { withRouter } from 'react-router' import axios from 'axios' import Cookies from 'universal-cookie' import $ from 'jquery' import { saveJob, removeJob } from '../../store/actions/jobs' import './ApplyForJob.scss' import { error, warning } from 'reac...
function base64_encode (stringToEncode) { // eslint-disable-line camelcase // discuss at: https://locutus.io/php/base64_encode/ // original by: <NAME> (https://rumkin.com) // improved by: <NAME> // improved by: Thunder.m // improved by: <NAME> (https://kvz.io) // improved by: Kevin van Zonneveld (https://k...
"use strict"; const LETTER_PLACEHOLDER = '?'; //const LETTER_BLOCKED = '#'; const DIR_ACROSS = 'ACROSS'; const DIR_DOWN = 'DOWN'; const DIR_BOTH = 'BOTH'; const TRY_MAX = 5; const BOARD_SIZE_ROWS = 7; const BOARD_SIZE_COLS = 13; const BOARD_PATTERNS = [ [ [0,4], [0,8], [1,4], [1,8], [2,4], [2,8], [3,0], [3,...
var G_API_KEY = '<KEY>'; var ADSENSE_PUBLISHER_ID = 'pub-1528594420112252'; var GMAPS_VISUAL_REFRESH = true; // var DISTANCE_FROM_RT = 3; // km var ROUTE_DISTANCE_DIVISOR = 13000; // route distane in m / this == distance from route to search var boxes = null; var placemarkers = {}; var selectedplaceinfo; var ginfowindo...
const { data } = require('jquery'); require('./bootstrap'); window.$ = window.jQuery = require('jquery'); function declOfNum(number, titles) { cases = [2, 0, 1, 1, 1, 2]; return titles[(number % 100 > 4 && number % 100 < 20) ? 2 : cases[(number % 10 < 5) ? number % 10 : 5]]; } // меню группы $('.group-btn').on('c...
//변수 선언 및 초기화 var nImageInfoCnt = 0; var htImageInfo = []; //image file정보 저장 var aResult = []; var rFilter = /^(image\/bmp|image\/gif|image\/jpg|image\/jpeg|image\/png)$/i; var rFilter2 = /^(bmp|gif|jpg|jpeg|png)$/i; var nTotalSize = 0; var nMaxImageSize = 10*1024*1024; var nMaxTotalImageSize = 50*1024*1...
/** * Module dependencies. */ const express = require('express'), os = require('os'), fs = require('fs'), http = require('http'), https = require('https'), path = require('path'), extend ...
import { Tygh } from "../.."; import $ from "jquery"; const _ = Tygh; var UploadedFilesContainer = function () {}; UploadedFilesContainer.prototype = Object.create(Array.prototype, { orderFilesByPosition: { value: function () { this.sort(function (a, b) { if (a.tygh.position <...
/** * iobroker MyAdapter class V1.2.1 from systeminfo * (c) 2016- <<EMAIL>> * MIT License */ // jshint node: true, esversion: 6, strict: true, undef: true, unused: true "use strict"; const util = require('util'), http = require('http'), https = require('https'), url = require('...
/*! * brontide.js - peer-to-peer communication encryption. * Copyright (c) 2018, <NAME> (MIT License). * * Resources: * https://github.com/lightningnetwork/lightning-rfc/blob/master/08-transport.md * * Parts of this software are based on LND: * Copyright (C) 2015-2017 The Lightning Network Developers * h...
// Partie Vue ----------------------------------------------------------------- // Les composants sont définis dans des fichiers séparés // On crée l'application Vue (on lui dit de se relier à l'élément HTML app) var vue = new Vue({ el: '#app', data: { fold_left: true, section: false, parcelle: null...
/* eslint-disable complexity,max-statements */ /** * file.js: Transport for outputting to a local log file. * * (C) 2010 <NAME> * MIT LICENCE */ 'use strict'; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; };...
/* Input Mask plugin extensions http://github.com/RobinHerbots/jquery.inputmask Copyright (c) <NAME> Licensed under the MIT license */ var Inputmask = require("../inputmask"), $ = Inputmask.dependencyLib, keyCode = require("../keycode"); function autoEscape(txt, opts) { var escapedTxt = ""; for (var i...