text
stringlengths
5.97k
41.2k
// Copyright 2014 DeNA Co., Ltd. // // 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 ...
import React, { PureComponent } from 'react'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; import { connect } from 'dva'; import { Table, Input, Icon, message, Button, Tooltip, Spin } from 'antd'; import Ellipsis from '../Ellipsis'; import { makerFilters } from '../../utils/utils'; import Tr...
const ThreeDToCraftPattern_mesh_defaults = { textureSize : 512 }; class ThreeDToCraftPattern_mesh{ constructor( name, positions, indices, scene, options = {} ){ let opts = Object.assign( ThreeDToCraftPattern_mesh_defaults, options ); this.BABYLON = {}; this.name = name; this.BABYLON.textureSize = o...
//#region globals var WIDTH_PER_WORDLE = 200; var WORDLE_UI_MARGIN = 10; var WIDTH_PER_WORDLE_ERROR = 20; var WORDLE_CONTAINER_PADDING_TOP = 5; var CHAR_BOX_WIDTH = 28; var CHAR_FONT_SIZE = 20; var CHAR_BOX_MARGIN = 1; var CHAR_BOX_BORDER = 1; //#endregion //#region dataset manager var WordleDatasetManager = /** @class...
import { ReactRpg } from 'react-rpg'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import Pagination from 'react-js-pagination'; import { Link, browserHistory } from 'react-router'; import NotFound from '../common/NotFound'; import ImageGallery from 'react-image-gallery'; import Gall...
var http = require('http'); var url = require('url'); var zlib = require('zlib'); /* jshint unused:true */ ;;var resolve = 0, reject = 1, progress = 2, chain = function(a, b) { /* jshint expr:true */ if(a && a.then) { a.then(function() { b[resolve].apply(null, arguments); }, functio...
'use strict'; var Config = { decimal: { prefix: '', centsSeparator: ',', centsLimit: 2, thousandsSeparator: '.' }, decimal3: { prefix: '', centsSeparator: ',', centsLimit: 3, thousandsSeparator: '.' }, angka: { pr...
import React, { Component } from 'react'; import API from '../../utils/API'; import './Globe.css'; import * as THREE from 'three'; import { Object3D } from 'three'; var OrbitControls = require('three-orbit-controls')(THREE); // init empty array to hold all line objects in // needs to be outside of react class so i...
const mapjs = document.getElementById('mapjs'); // pegasus for loading json data in parallel with other scripts. // For testing, you may want to create a testdata.json file, and // use that instead. Beware of aggressive caching by chrome. //const geojson = pegasus('https://s3.amazonaws.com/ragtag-marchon/' + mapjs.get...
import React, {Component} from "react" import PropTypes from "prop-types" import {connect} from "react-redux" import {Link} from "redux-little-router" import { translate } from "react-i18next" // import { KnowledgeSingleCreators as Creators } from "./redux" import { ManageBookmarksCreators as MBCreators } from "../Man...
import React from 'react'; import PropTypes from 'prop-types'; import {bindActionCreators} from 'redux'; import { Link, NavLink } from 'react-router-dom'; import { connect } from 'react-redux'; import { confirmAlert } from '../../../components/confirmdialog'; import '../../../styles/assets/plugins/bootstrap-select/cs...
/* Copyright 2008 Google Inc. 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 in writing,...
/*variabili locali che contengono le informazioni della scheda visualizzata*/ var prezzoricetta; var nomericetta; var descrizionericetta; var ingredientim = []; var cambiato = 0; var lunghezzaoriginale; /*funzione che mostra la scheda della ricetta che si è appena cliccata*/ function mostrascheda(indice){ ...
//var $newLinkLi = $('<li></li>').append($addelementLink); let elementId; let elementArray = []; let elementIdArray = []; $(function () { $collectionHolder = $('ul.elements'); $('.dropdown-button').dropdown({ inDuration: 300, outDuration: 225, click: true, // Activate on hover closeOnClic...
(function(window,$,undefined){ "use strict"; //常量命名start===================== var MAX_NUMBER_OF_SPACESHIP = 4; var SIGNAL_SUCCEE_RATE = 0.7; var CHARGE_INTERVAL = 5000; var TOTAL_ENERGY = 100; var CHARGE_RATE = 15; var DESTROY = 'destroy'; var STOP = 'stop'; var RUN = 'run'; //常量命名end======================= ...
/*! * Heatmap v1.0.3 * (c) 2019 <NAME> (<EMAIL>) * @license BSD-3-Clause */ function getPixlRatio (ctx) { const dpr = window.devicePixelRatio || 1; const bsr = ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBack...
/** * This is a serious game which drills the conversion between binary * and base 8 (octal), base 10 (decimal) and base 16 (hexadecimal) numbers. * * The game play is loosely based on Tetris. Conversions challenges are * appearing and the player has to solve them to make them disappear. When * the playground is...
// <NAME> // <EMAIL> /*jshint latedef:false*/ //=include "../bower_components/jquery/dist/jquery.js" //=include "../bower_components/jquery.fitvids/jquery.fitvids.js" //=include "../bower_components/imagesloaded/imagesloaded.pkgd.min.js" //=include "../bower_components/jquery.easing/js/jquery.easing.min.js" //=include...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
"not_a_module"; "no_type_logging"; //this file is loaded before the type system. //as such, cannot use ES6 class syntax let handler = { getProperty(target, key, r) { if (key === "count") { throw new Error("what?") } return target[key]; }, setProperty(target, key, val, r) { if (key === "c...
/* eslint-disable indent */ /* eslint-disable no-nested-ternary */ /* eslint-disable react/prop-types */ /* eslint-disable camelcase */ /** * * BookListItem * */ import React, { useState } from 'react'; // import PropTypes from 'prop-types'; // import styled from 'styled-components'; // import { FormattedMessage ...
// Setting up the graphs const graph = document.getElementById('graph'); const drawing = document.getElementById('drawing'); const background = document.getElementById('background'); // Setting up the form itself const shapeForm = document.getElementById('shapeForm'); const listForm = document.getElementById('listForm...
/** * PRIVATE GLOBALS: * **************** */ /** * This object is a dictionnary that maps "[object Something]" strings to the * typology form "something": */ const __class2type = {}; /** * This array is the list of every types considered native by typology: */ const __nativeTypes = { "*": true }; (function()...
var express = require('express'); var app = express(); // create our app w/ express var morgan = require('morgan'); // log requests to the console (express4) var url = require('url'); var http = require('http'); var passport = require('passport'); var LocalStrategy = require('passport-local').Strategy var stormpath =...
$(function(){ //ajax get请求 $('.ajax-get').click(function(){ var target; var that = this; if ( $(this).hasClass('confirm') ) { if(!confirm('确认要执行该操作吗?')){ return false; } } if ( (target = $(this).attr('href')) || (target = $(t...
/* eslint-disable no-undef */ /** * @author <NAME> * @fileoverview The main file. Entry point. */ /** * @module Index */ 'use strict'; /* eslint-disable no-unused-vars */ console.time('full'); console.time('init'); console.time('require'); require('dotenv').config({path: `${__dirname}/../.env`}); console.time('ele...
/* eslint-disable func-names */ /* ************************************************************************************* * copyright: Copyright (c) 2021 <NAME>, all rights reserved * license: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause) * ******************************************************...
const cityName = document.getElementById('city'); const getCityButton = document.getElementById('getcity'); const weatherDiv = document.getElementById('weather'); const forecastDiv = document.getElementById('forecast'); let lang = document.getElementById('language'); let units = document.getElementById('units'); let da...
"use strict"; /** * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ####...
//Create the renderer let keyboard = function (keyCode) { var key = {}; key.code = keyCode; key.isDown = false; key.isUp = true; key.press = undefined; key.release = undefined; //The `downHandler` key.downHandler = function (event) { if (event.keyCode === key.code) { if (key.isUp && key.press...
// ********************************************************************************* // File: fsAtomUpdate.js // Notes: You must run this file with cscript.exe (i.e. not wscript.exe) // // Copyright (c) Microsoft Corporation. All Rights Reserved. // ***********************************************************...
///////////Creación variable mapa/////////// var map = L.map('map', { zoomControl: false, center: [40, -3], zoom: 6, minZoom: 3, maxZoom: 20, maxBounds: [ [20, -50], [50, 50] ], }); ///////////Funcionalidades estructura del visor/////////// //Layers on top map.createPane('límites'); // This p...
export const countries = [ "Afghanistan", "Angola", "Argentina", "Austria", "Bahrain", "Bangladesh", "Barbados", "Belgium", "Belize", "Benin", "Bolivia", "Botswana", "Brazil", "Bulgaria", "Burkina Faso", "Cameroon", "Chile", "Colombia", "Costa ...
"use strict"; var Widget = require('./widget').Widget, util = require('../util'); var $ = util.$; var _t = util.gettext; var Promise = util.Promise; var NS = "annotator-editor"; // id returns an identifier unique within this session var id = (function () { var counter; counter = -1; return function...
'use strict'; class Element { /* Do not define an events static member, because the static variable would be inhereted and shared by the subclasses. Instead, we define a events variable on each subclass. */ static states = { NONE: 0, SELECTED: 1, HOUSE: 2, EXTENDED: 3 } constr...
/* --------------------------------------------------------------------------- |Disclaimer: | |This selfbot is created by motasim#4036 for Discord. | |Please do NOT change the code unless you know what...
const ScrollOffsetAnimationCurve = (function () { // Wrapping the component like this so that it gets properly tree-shaken. // Without this wrapping, things like the license could leak even when not used in the bundle. /** * Code based off the scroll_offset_animation_curve.cc from Chromium proj...
function startGame() { const GAME = { board: newBoard(), listLegalMoves: listLegalMoves, listLegalBuilds: listLegalBuilds, playPosition: playPosition, legal: { playerOneFirstWorker: { builds: [], moves: [] }, playerOneSecondWorker: { builds: [], moves: [] }, playerTwoFirstWorke...
import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import { inject, observer } from 'mobx-react'; import { Observable } from 'rxjs'; import _ from 'lodash'; import { Button, Col, Form, Input, Modal, Row, Select, Table, Tooltip } from 'choerodon-ui'; import { injectIntl, FormattedMe...
"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...
//****************************************************************************** // Heroic Robotics Pixel Pusher Nodejs Library // <NAME> <<EMAIL>> //****************************************************************************** var buffertools = require('buffertools'), dgram = require('dgram'), Emitter ...
// ---------------------------------------------------------- Scatter plot ----------------------------------------------------------------------- // // #region scatter var modalParent; var normalParent; var svgParent; var xSScale ; var rSScale ; var ySScale ; var helpMap = [{name:'Earth',description:'Ou...
var type = 0; var events_today = []; var events_today_marked = []; var events_ToDo_List = []; var events_ToDo_marked = []; var to_do_complete = []; var favourite_links = []; var date_today; var date_To_Do_list; var curTask = ""; var curLink = ""; var uid; var name; var priority = 2; var search_by_priority = 2; funct...
// DataStore.js // JavaScript Document // Data storage and retrieval functions function storeAllToMem(currStratum, maxAtLeft, maxAtTop, expLeft ) { if (!storeStratumDataToMem(currStratum, maxAtLeft, maxAtTop, expLeft )) {return false} else { storeMetaToMem(maxAtLeft, maxAtTop, expLeft) // noalert(j...
const { AsyncNedb } = require('nedb-async') const {MessageTypes} = require("@open-wa/wa-automate") const path = require('path') const fs = require('fs-extra') const moment = require("moment-timezone") var db = {} db.usuarios = new AsyncNedb({filename : './database/db/usuarios.db', autoload: true}) db.grupos = new Asyn...
import { Qnaire, QuestionType } from '/imports/api/qnaire/qnaire.js'; import './qnaire_build.html'; import '../qnaire/slider.js'; import '../qnaire/slider.js'; const BLANK_Q = { _id: '', label: '', text: '', qtype: 0 }; function changeLabel(event, instance) { // let oldLabel = $(event.target).closest("[data...
const inherits = require('util').inherits const Component = require('react').Component const connect = require('react-redux').connect const h = require('react-hyperscript') const actions = require('./actions') const classnames = require('classnames') const t = require('../i18n') // mascara const MascaraFirstTime = req...
import { __decorate, __rest } from 'tslib'; import { FocusTrapFactory } from '@angular/cdk/a11y'; import { Directionality, BidiModule } from '@angular/cdk/bidi'; import { ESCAPE } from '@angular/cdk/keycodes'; import * as i1 from '@angular/cdk/overlay'; import { OverlayConfig, Overlay, OverlayKeyboardDispatcher, Overla...
const {MessageEmbed} = require('discord.js'); const logging = require('../../util/logging.js'); const {timeoptions} = require('../../util/default.json'); const {got, htmlToPlain, htmlToDiscord, escapeFormatting} = require('../../util/functions.js'); const diffParser = require('../../util/edit_diff.js'); /** * Process...
/** * @file 组件类 * @author errorrik(<EMAIL>) */ var inherits = require('../util/inherits'); var bind = require('../util/bind'); var each = require('../util/each'); var extend = require('../util/extend'); var nextTick = require('../util/next-tick'); var emitDevtool = require('../util/emit-devtool'); var empty = requi...
// subroutine to make a gameboard spinner in D3 javascript. // Inputs: // category labels and relative probabilities // TODO: Clarify options. Allow repeated of the process // TODO: change color on text labels of each spin // TODO: colors 3 and 4 are too similar. Use color brewer? /*eslint quotes: [2, 'single'...
const { OAuth2 } = require('oauth'); const querystring = require('querystring'); const { promisify } = require('es6-promisify'); const validate = require('validate.js'); const R = require('./ramda.js'); const { LOG_LEVELS, getLogger } = require('./logger.js'); const { splitwisifyParameters, getSplitwiseErrors } = requ...
import React, { useState, useEffect, useCallback } from "react"; import { MapContainer, GeoJSON, ZoomControl, Marker, useMap, } from "react-leaflet"; import "leaflet/dist/leaflet.css"; import L from "leaflet"; import AnimatedNumber from "react-animated-numbers"; import Select from "react-select"; import { S...
String.prototype.indexPart = function (index, separ) { index = index || 0; separ = separ || ','; var pt = this.split(separ); return pt[index]; } var querys = {}; var failed = { 'register': function (j) { m = ''; for (t in j.errors) m += `&#9679; ${j.errors[t]}<br>` toastr....
"use strict"; let Block = require('./block.js'); let Client = require('./client.js'); let Transaction = require('./transaction.js'); const NUM_ROUNDS_MINING = 2000; const PROOF_FOUND = "PROOF_FOUND"; const START_MINING = "START_MINING"; const POST_TRANSACTION = "POST_TRANSACTION"; /*** START PROJECT MODIFICATION: A...
'use strict' const ABORT = Symbol(), CookieJar = require('tough-cookie').CookieJar, EventEmitter = require('events'), fs = require('fs'), debug = require('debug')('hangup:client'), promisify = require('tiny-promisify'), syspath = require('path'), fetch ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Entry = exports.ZipFile = exports.openZip = undefined; var _bluebirdLst; function _load_bluebirdLst() { return _bluebirdLst = require("bluebird-lst"); } let openZip = exports.openZip = (() => { var _ref = (0, (_bluebird...
/** * Created by cy on 23/12/15. */ "use strict"; var isApplySuccess = false; var projectApplications = new ReactiveVar(null); var readyForDelete = false; var isSubscribed = new ReactiveVar(false); var isANewUser = new ReactiveVar(false); Template.projectHomepage.onCreated(function () { var template = this; te...
/* TODO * Documentation * React? * Login w/ SQL? * Calorie Counter? */ /// DOCUMENT ELEMENTS // File Input const recipeBookInput = document.querySelector("#recipe_book_input"); // Recipe List const recipeList = document.querySelector('#recipes'); // Buttons const addIngredientButton = document.querySelector("...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var lottie = _interopDefault(require('lottie-web')); var React = require('react'); var React__default = _interopDefault(React...
/* jshint node:true */ /** * fsLocal.js -- Ares FileSystem (fs) provider, using local files. * * This FileSystemProvider is both the simplest possible one * and a working sample for other implementations. */ // nodejs version checking is done in parent process ide.js var fs = require("graceful-fs"), path = r...
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage, defineMessages } from 'react-intl'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import { get } from 'lodash'; import { Box, Flex } from '@rebass/grid'; import styled from 'styled-components'; im...
// Use of console permitted here because we sometimes need to // print something before the utils module exists. -Tom /* eslint no-console: 0 */ var path = require('path'); var _ = require('@sailshq/lodash'); var argv = require('yargs').argv; var fs = require('fs'); var async = require('async'); var npmResolve = requ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _three = require('three'); var Three = _interopRequireWildcard(_three); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; }...
import VirtualScroll from 'virtual-scroll'; import prefix from 'prefix'; import utils from './utils'; import Scene from './Scene'; import ScrollBar from './ScrollBar'; /* ** Private methods */ const privated = { /** * Gets all functions that needs to be bound with the rolly's scope */ getBoundFns() { ...
#!/usr/bin/env node const Path = require('path'); const fs = require('fs'); const commandExistsSync = require('command-exists').sync; const which = require('which'); const version = JSON.parse(fs.readFileSync(Path.join(__dirname, 'package.json'), 'utf-8')).version; const childProcess = require('child_process'); const ...
function init() { loadUserConfigs(function () { if (configs.cmgEnabled) { document.documentElement.style.setProperty('--cmg-link-prevew-anim-duration', `300ms`); document.documentElement.style.setProperty('--cmg-ghost-mouse-pointer-size', `${ghostMousePointerRadius * 2}px`); ...
import extend from '../utils/context.js'; import models from '../models/index.js'; import checkForUser from '../utils/checkForUser.js'; import docModifier from '../utils/idGenerator.js'; import validations from '../utils/validations.js' export default { get: { dashboard(context) { checkForUser...
/* ! * Tencent is pleased to support the open source community by making Tencent Server Web available. * Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy...
'use strict'; var gulp = require('gulp'); var sass = require('gulp-sass'); var sassGlob = require('gulp-sass-glob'); var rewrite = require('gulp-rewrite-css'); var concat = require('gulp-concat'); var lazypipe = require('lazypipe'); var gulpif = require('gulp-if'); var uglify = require('gulp-uglify'); var cleancss = r...
/* * Copyright (c) 2016, Two Sigma Open Source * 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...
'use strict'; exports.__esModule = true; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _typeof = type...
/** * @author <NAME> <<EMAIL>> **/ import { BoxBufferGeometry, Clock, Color, Euler, FileLoader, InstancedMesh, LoadingManager, Matrix4, Mesh, MeshBasicMaterial, MeshNormalMaterial, Object3D, PerspectiveCamera, PlaneGeometry, RepeatWrapping, Quaternion...
var cards = {}; var totalcolumns = 0; var columns = []; var currentTheme = "bigcards"; var boardInitialized = false; var keyTrap = null; var baseurl = location.pathname.substring(0, location.pathname.lastIndexOf('/')); var socket = io.connect({path: baseurl + "/socket.io"}); //an action has happened, send it to the /...
function carga_archivo(div_contenedor,ruta,parametros){ $('body').addClass('m-page--loading-non-block'); $('#'+div_contenedor).load(ruta,parametros, function(){ $('body').removeClass('m-page--loading-non-block'); }); } function alerta(header,body){ var modal = '<div class="modal fade" id="myModal" tabindex="-1"...
/* eslint-disable consistent-return */ /* eslint-disable default-case */ import React, { Component, Fragment } from "react"; import PropTypes from "prop-types"; import { isoDateToLocalLong, capitalizedText, sassClassNames, renderImage, renderVoid, renderNUSTitle, renderNUSLogo, renderNUSSeal } from ".";...
"use strict"; const EventParser = require('./modules/eventParser.js'); const LiveParser = require('./modules/liveParser.js'); const express = require('express'); const helmet = require('helmet'); const app = express(); const fs = require('fs'); const Redis = require('ioredis'); const ContractLoader = require('./modules...
// Element.prototype.matchesSelector (function (x) { let i; if (!x.matchesSelector) { for (i in x) { if (/^\S+MatchesSelector$/.test(i)) { x.matchesSelector = x[i]; break; } } } }(Element.prototype)); Document.prototype.on = Elemen...
(function($){ $.fn.markdown.messages.de = { 'Bold': "Fett", 'Italic': "Kursiv", 'Heading': "Überschrift", 'URL/Link': "Ein Link einfügen", 'Image': "Ein Bild einfügen", 'List': "Aufzählungszeichen", 'Ordered List': "Nummerierung", 'Unordered List': "Aufzählungszeichen", 'Code': "Qu...
/// FORMAT MENU /// menuStyle = "3d" // Menu Style (flat, 3d) cellPadding = "3" // Cell Padding cellBorder = 1 // Border width (for no border, enter 0) THIS VALUE APPLIES TO ALL MENUS verticalOffset = "0" ...
var uploader, uploaderEdit; var pics = []; var ms, ms_del, ms_edit; var cropper; var picCount=0; $(function(){ uploader = new plupload.Uploader({ browse_button:$("#pickFiles")[0], container:$("#containerUploader")[0], drop_element:$("#containerUploader")[0], max_retries:0, s...
/**************** FINDING FUNCTIONS ****************/ // Find rear wheel centre using wheelbase and the view centre point function findRearWheel(b) { return new Point(view.center + new Point(0 - b.wheelbase / 2, 0)); } // Find front wheel centre using wheelbase and the view centre point function findFrontWheel(b)...
/** * Creates an instance of Game. This handles the buttons on screen and handling turns outside of the AI and board objects, but still hosts them. * * @constructor * @this {Game} */ function Game() { this.status = 0; // 0: running, 1: won, 2: lost, 3: tie this.depth = 4; // Search depth this.score...
"use strict"; exports.__esModule = true; exports.textAlignStyle = exports.kindPartStyles = exports.plainInputStyle = exports.sizeStyle = exports.disabledStyle = exports.genericStyles = exports.overflowStyle = exports.inputStyle = exports.getInputPadBySide = exports.unfocusStyle = exports.focusStyle = exports.fillStyle...
$(function(){ setTimeout("push_ansible_server_chooice()",500) get_group(); get_user(); setTimeout("push_group_chooice()",500); setTimeout("push_user_chooice()",500); setTimeout("force_show_mail()",500) $("[data-toggle='popover']").popover(); $(document).on('keyup', '.searchValue', function () { se...
const assert = require("assert"); const dates = require("ringo/utils/dates"); const strings = require("ringo/utils/strings"); const http = require("ringo/utils/http"); exports.testGetMimeParameter = function() { // [test, expectedResult] const testCases = [ ["Content-Type: text/plain; charset=UTF-8", "...
import { Chart } from './Chart.js' class MultiLineChart extends Chart { constructor (obj) { super(obj) this.drawChart() } drawChart () { const c = this super.nestData() super.init() super.addAxis() super.getKeys() super.drawTooltip() c.createScales() // parent once I setup ...
function show(showLayerID) { if(gbi(showLayerID).style.display=='none') {gbi(showLayerID).style.display='block';} else {gbi(showLayerID).style.display='none';} } function chgContent(content1, content2, layerid) { if(gbi(layerid).innerHTML==content1) {gbi(layerid).innerHTML=content2;} else {gbi(layerid).innerHTM...
/* * Copyright (c) 2021 Atheropids, all rights reserved. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYR...
/************************************************************************************************************<br> <br> @fileoverview Rounded corners class<br> (C) www.dhtmlgoodies.com, September 2006<br> <br> This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website. ...
const sbTemplate = require('../../assets/2018statsbook.json') const rowcol = require('../helpers/rowcol') const teamNames = ['home', 'away'] const periods = [1, 2] class XlsxWriter { constructor(workbook, newBook) { this.workbook = workbook this.newBook = newBook } loadGameData(crgData, sk...
const CSS_INTEGER = '[-\\+]?\\d+%?'; // <http://www.w3.org/TR/css3-values/#number-value> const CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?'; // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome. const CSS_UNIT = `(?:${CSS_NUMBER})|(?:${CSS_INTEGER})`; // Actual matching. // Parenth...
/* Auteurs: <NAME> <NAME> - 1009543 */ var imgURL, nb_col, nb_lignes, height, width, /* Variable de fin de partie. Si true, alors les déplacements sont interdits. Si false, cela signifie que les déplacements ont été autorisés, car les cartes ont été brassées (ce qui signifie le début d'une partie). */ ...
// handsontable/src/editors/Autocomplete2Editor.js 참고 // select2-editer.js 참고 import Handsontable from 'handsontable'; import Handlebars from 'handlebars'; // Handsontable //["Core", "DefaultSettings", "EventManager", "_getListenersCounter", "buildDate", "packageName", "version", "hooks", "__GhostTable", "helper", "do...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var map_view_1 = require("./map-view"); exports.StyleBase = map_view_1.Style; var view_1 = require("tns-core-modules/ui/core/view"); var image_1 = require("tns-core-modules/ui/image"); var layout_base_1 = require("tns-core-modules/ui/layouts/l...
// Exchange handler module const frostybot_module = require('./mod.base'); const fs = require('fs'); var context = require('express-http-context'); module.exports = class frostybot_exchange_module extends frostybot_module { // Constructor constructor() { super() this.description = 'Exchange...
var exec = require('child_process').exec; var fs = require('fs'); var Mustache = require('mustache'); var async = require('async'); var os = require('os'); var path = require('path'); var packing = require('./packing/'); var sorter = require('./sorter/sorter.js'); /** * Generate temporary trimmed image files * @par...
import { Heading, } from '@airtable/blocks/ui'; import React, {useState} from 'react'; import {session} from '@airtable/blocks'; import ErrorBoundary from "./ErrorBoundary"; import { Button, Dialog, Text } from "@airtable/blocks/ui"; import { Select } from "@airtable/blocks/ui"; import { Input } from "@airtable/blo...
var qs = require('querystring'), request = require('request'), crypto = require('crypto'), url = require('url'), waitress = require('waitress'), util = require('util'), config; // define constants var PLACES_RANKBY_DEFAULT = 'prominence' var PLACES_RANKBY_DISTANCE = 'distance'; // this is depr...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WorkerRunner = void 0; var _fs = _interopRequireDefault(require("fs")); var _path = _interopRequireDefault(require("path")); var _rimraf = _interopRequireDefault(require("rimraf")); var _util = _interopRequireDefault(require("ut...