text
stringlengths
3.22k
29.5k
const myWorkflowUIController = (function($){ let imageSysId = 0; const noImageMsg = $("#noImageMsg"); const sectionAppraisal = $("#sectionAppraisal"); const myCount = $("#myCount"); const outstandingAppraisalDropDown = $("#OutstandingAppraisal"); const claimantDropDown = $("#ClaimantSysId"); ...
process.env["NTBA_FIX_319"] = 1; const config = require("./config.json"); const TelegramBot = require ('node-telegram-bot-api'); const token = config.telegramToken; const teleBot = new TelegramBot(token, {polling: true}); const fs = require('fs'); const jsonfile = require('jsonfile'); const kapitalize = require(...
import './styles/App.css'; import twitterLogo from './assets/twitter-logo.svg'; import React from "react"; import { useEffect, useState } from 'react'; import { ethers } from "ethers" import myEpicNft from './utils/MyEpicNFT.json'; import ClipLoader from "react-spinners/ClipLoader"; // Constants const MY_TWITTER_HANDL...
var downKey; var leftKey; var rightKey; var enterKey; var escKey; var selection = 0; var respondido = null; var quienSoy = null; var scene; var WSconnection = new WebSocket('ws://'+ location.host +'/online'); var obj={ typePetition:0 } WSconnection.onopen = () => WSconnection.send(JSON.stringify(obj)); expo...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _util = require('./util'); var _im = require('./im'); var _im2 = _interopRequireDefault(_im); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } //数据源本体 //将所有的rawObejct都转化成Cell对象 //还需要么,...
/* eslint-disable no-console */ /* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable no-restricted-imports */ import React, { useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import { Modal, Button, Form, List, Tag, Tooltip, Spin, // Select, // message, } from 'ant...
import "./styles" import React, { Component, PropTypes } from "react" import mapActionsToKeys from "react-keybindings" import Grid from "Grid" import Shape from "Shape" import * as KeyActionTypes from "../../src/constants/KeyActionTypes" import * as ObjectTypes from "../../src/constants/ObjectTypes" import ZOOM_SCALE ...
/** * Fontsampler.js * * A configurable standalone webfont type tester for displaying and manipulating sample text. * * @author <NAME> <<EMAIL>> * @copyright 2019 <NAME> * @license GNU GPLv3 */ var extend = require("../node_modules/extend") var Fontloader = require("./fontloader") var Interface = require("./...
/* --------------------------------------------------- JavaScript/jQuery Controls for kodi control panel --------------------------------------------------- */ // Get value of volume slider function getVolume() { var x = parseInt(document.getElementById("volslider").value); console.log("Volume: ".concat...
const fs = require('fs'); const faker = require('faker'); const crypto = require('crypto'); const Company = require('./models/company'); const Location = require('./models/location'); const User = require('./models/user'); const Form = require('./models/form'); const Question = require('./models/question'); const Respo...
import { getCommonCard, getCommonContainer, getCommonHeader, getCommonTitle } from "egov-ui-framework/ui-config/screens/specs/utils"; import { getQueryArg } from "egov-ui-framework/ui-utils/commons"; import get from "lodash/get"; import { getCurrentFinancialYear, generateBill, getBusinessServiceMdmsData...
/* global Module, MMM-ChartDisplay */ /* Magic Mirror * Module: MMM-ChartDisplay * * By <NAME> * MIT Licensed. */ //todo merge multiple feeds based on keys (i.e. a linq join - omg - data will be provided from a data provider picking up a local data feed) // #1 change the WHO coes from UK to GB etc / DONE // #2 ...
const AbilityAdapter = require('./AbilityAdapter'); const AceCard = require('./AceCard'); const AddBounty = require('./AddBounty'); const AddToHand = require('./AddToHand'); const BootCard = require('./BootCard'); const CallOut = require('./CallOut'); const CancelEffects = require('./CancelEffects'); const ChooseGameAc...
/* eslint-disable eqeqeq */ /* eslint-disable react/jsx-no-bind */ /* eslint-disable react/no-access-state-in-setstate */ /* eslint-disable react/sort-comp */ /* eslint-disable react/no-unused-state */ /* eslint-disable no-unused-vars */ /* eslint-disable import/no-extraneous-dependencies */ import React, { PureCompone...
'use strict'; const Readable = require('stream').Readable; const Writable = require('stream').Writable; const MessageStream = require('../../../src/cmap/message_stream'); const { Msg } = require('../../../src/cmap/commands'); const expect = require('chai').expect; function bufferToStream(buffer) { const stream = new...
/* eslint-disable import/no-extraneous-dependencies */ /** * Defines a JSDoc plugin that adds custom properties to doclets and provides a new category tag. * @module * @category JSDocPlugin */ const path = require('path'); const fs = require('fs'); const lineColumn = require('line-column'); // eslint-disable-next-...
import { Component } from './component' import { Panel, PanelHeader, PanelBody } from './panels' import { TextEditor, Dragger } from './miscellaneous' import { Disposables } from './Disposables' let exampleData = { example1: ` new Panel("example1:.BGExample", [ new PanelHeader(" Example 1"), "Woo hoo!!!" ...
var new_hint_visible = false; var map; var next_clue; function initMap() { $('.pac-container').remove(); // Specify features and elements to define styles. // Create a map object and specify the DOM element for display. map = new google.maps.Map(document.getElementById('map'), { center:new google.maps.LatL...
const MINIMAL_NODE_SIZE = 8; const MAX_NODE_SIZE = 24; const ACTIVE_RADIUS_FACTOR = 1.5; const STROKE = 1; const FONT_SIZE = 20; const TICKS = 5000; const FONT_BASELINE = 15; let nodesData = []; let linksData = []; const nodeSize = {}; const vscode = acquireVsCodeApi(); const updateNodeSize = () => { nodesData.for...
import * as boilerplate from '/src/lib/boilerplate.js'; import * as imageUtils from '/src/lib/image-utils.js'; import assert from '/src/lib/assert.js'; import backgroundImageFilter from '/src/lib/dom-filters/css-background-image-filter.js'; import coerceElement from '/src/lib/coerce-element.js'; import colorContrastFil...
const createRenderer = require('../') const createContext = require('pex-context') const createGUI = require('pex-gui') const quat = require('pex-math/quat') const vec3 = require('pex-math/vec3') const remap = require('pex-math/utils').map const random = require('pex-random') const createCube = require('primitive-cube'...
/* The MIT License (MIT) Copyright (c) 2014 <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 without limitation the rights to use, copy, modify, merge, publ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (filePaths, opts, next) { _util2.default.banner('资源检查' + (opts.min ? '(并压缩)' : '')); _file2.default.refs = {}; // 先将引用清空 var inspectedFiles = []; try { var getFile = function getFile(filePath) { ...
import React, { Component } from 'react'; import { FormGroup, FormControl, Form, Col, Alert } from 'react-bootstrap'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import Select from 'react-select'; import TagsInput from '../../../TagsInput'; impor...
"use strict"; const fs = require("fs"); const path = require("path"); const parser = require("@browselang/parser"); const getSTD = require("./std"); const { stringify } = require("./utils"); const { resolveRule, resolveVar } = require("./scope"); const { BrowseError, stringifyError } = require("./error"); // TODO: ...
#!/usr/bin/env node // TODO: remove when upgrading to ESM // eslint-disable-next-line strict, lines-around-directive 'use strict'; const btcValue = require('btc-value'); const meow = require('meow'); const fs = require('fs'); const chalk = require('chalk'); const Ora = require('ora'); const logSymbols = require('log-...
import DOM from './dom'; import View from './view'; Math.easeInOutQuad = function (t, b, c, d) { t /= d/2; if (t < 1) { return c/2*t*t + b } t--; return -c/2 * (t*(t-2) - 1) + b; }; Math.easeInCubic = function(t, b, c, d) { var tc = (t/=d)*t*t; return b+c*(tc); }; Math.inOutQuintic = function(t, b, c...
/** * 单条说说的HTML模板 */ const ITEM_TPL = ` <div class="card w-70 mt-3 border border-warning"> <div class="card-body"> <%/* 说说内容 */%> <%/* 说说全文 */%> <%if(message.has_more_con){%> <details> <summary>查看全文</summary> <div class="container"> <%:=API.Common.formatCont...
// Copyright (c) 2020 <NAME> // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php const Rate = require("./rate.js").Rate; const FIAT = require("./fiat.js").FIAT; const CRYPTOCURRENCY = require("./cryptocurrency.js").CRYPTOCURRENCY; ...
import React from 'react'; import { View, Text, TouchableOpacity, Platform } from 'react-native'; import { useSelector, useDispatch } from 'react-redux'; import Svg, { SvgXml, Path } from 'react-native-svg'; import { updatePopup } from '../actions'; import { ADD_POPUP, MY_LIST, TRASH, ARCHIVE } from '../types/const'; ...
const Bree = require('bree'); const models = require('./models'); var path = require('path'); const Job = models.job; const JobExecution = models.job_execution; const DependentJobs = models.dependent_jobs; const MessageBasedJobs = models.message_based_jobs; const hpccUtil = require('./utils/hpcc-util'); const assetUtil...
//Program: Discord Bot //Author: <NAME> //Version: 1.5.2 //TODO: Refactor code, possibly split into various files? const Booru = require("booru"); const Discord = require("discord.js"); const ytdl = require("ytdl-core"); const config = require("./config.json"); const client = new Discord.Client(); //login using toke...
//Ex 1 //input: un parametru //output: N/A //log-sa afiseze in consola "ceva" //log2- sa afiseze la consola nr 2. function log(ceva) { console.log(ceva); //console.log("2") } log("ceva"); //Ex 2 //input un parametru //outout acel parametru function identity(a) { return a; } //ex 3 //fara a crea nici o...
import React from 'react' import { format } from 'date-fns' import { states } from './constants/states' import { districts } from './constants/districts' import { makeStyles } from '@material-ui/core/styles' import CssBaseline from '@material-ui/core/CssBaseline' import Paper from '@material-ui/core/Paper' import Butto...
/** * Resource actions defines the internal redux actions dispatched to the * resources reducer. This includes synchronous actions which update the state * immediately and asynchrous which attempt to fetch (update, create, etc.) * resources through REST-ful API calls. * * These actions are wrapped by the public '...
const luxWrapper = lux.luxWrapper; function storeFactory( options ) { options = Object.assign( { namespace: "storeOne", handlers: { one() {} } }, options || {} ); return new lux.Store( options ); } function getMockReactComponent( options ) { return createReactClass( _.extend( { displayName: "MOCKT", ge...
/* eslint-env browser */ // ==UserScript== // @name [HV]Trainer // @author dodying // @namespace https://github.com/dodying/Dodying-UserJs // @supportURL https://github.com/dodying/Dodying-UserJs/issues // @icon https://cdn.jsdelivr.net/gh/dodying/UserJs@master/Logo.png // @include http*://hen...
var path = require('path') , EventDispatcher = require('./EventDispatcher') , racer = require('racer') , Promise = racer.util.Promise , isProduction = racer.util.isProduction , merge = racer.util.merge , finishAfter = racer.util.async.finishAfter , Model = racer["protected"].Model , uglify = require('ra...
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { ext...
const builder = require('botbuilder'); const emoji = require('node-emoji'); const express = require('express'); const firebase = require('firebase'); const config = require('./config'); const connector = new builder.ChatConnector({ appId: config.appId, appPassword: config.appPassword, }); firebase.initializeApp(c...
var transparent = true; var transparentDemo = true; var fixedTop = false; var navbar_initialized = false; $(document).ready(function(){ // setup so that csrf token in passed on $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); /...
"use strict"; const Context = require('./webgl/context'); const matcapProcess = require('./jobs/matcap-process'); const Viewer = require('./viewer'); function init () { const body = document.body; const viewerElement = document.querySelector('.viewer'); const matcapElement = document.querySelector('.matca...
// Import React import React from "react"; // Import Spectacle Core tags import { Appear, BlockQuote, Cite, CodePane, Deck, Fill, Heading, Image, Layout, Link, ListItem, List, Markdown, Quote, Slide, Spectacle, Text } from "spectacle"; // Import image preloader util import preloader ...
import React, { Suspense, useCallback, useState } from "react"; import { Divider, List, ListItem, ListItemIcon, ListItemText, makeStyles, withStyles, } from "@material-ui/core"; import { Clear, KeyboardArrowRight } from "@material-ui/icons"; import classNames from "classnames"; import Folder...
//_ => ~ => - { /* <script src="jspsych-6.3.0/plugins/jspsych-html-button-response.js"></script> <script src="jspsych-6.3.0/plugins/jspsych-html-keyboard-response.js"></script> */ } const generateRandomInt = (min, max, outOf) => { const getNum = () => { while (true) { const num = Math.floor(Math.random() * (max ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof2 = require('babel-runtime/helpers/typeof'); var _typeof3 = _interopRequireDefault(_typeof2); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _interopRequireDefault(_classCallChe...
#!/usr/bin/env node /*! * __NAME__@__VERSION__ install * Bundled by bpkg on __TIME__ */ /* eslint "no-var": "off" */ /* eslint "no-buffer-constructor": "off" */ /* eslint "prefer-arrow-callback": "off" */ /* global __LINKS__ */ 'use strict'; var fs = require('fs'); var path = require('path'); var dirname = path...
// # Demo Canvas 030 // Polyline entity functionality // + Note that the Polyline entity remains experimental technology and may be subject to breaking changes in future minor updates // [Run code](../../demo/canvas-030.html) import scrawl from '../source/scrawl.js' import { reportSpeed, killPolylineArtefact } from ...
"use strict"; exports.__esModule = true; exports.resolveWallet = resolveWallet; var _sdkConstants = require("@paypal/sdk-constants"); var _typedGraphqlify = require("typed-graphqlify"); var _belter = require("belter"); var _config = require("../config"); function buildVaultQuery() { const InputTypes = { $cl...
var initGisDataTable = function() { var tableId = 'gis-config-data-dictionary'; Table.createParamsTable(tableId); var rowContent = "<tr>" + "<td><input name='filedName' class='form-control input-sm'></td>" + "<td><select name='filedType' class='form-control'>" + "<option value='Fl...
import React, { useContext, useEffect, useState, useCallback } from 'react'; import PropTypes from 'prop-types'; import blockies from 'ethereum-blockies'; import { ethers } from 'ethers'; import { GiftIcon } from '@heroicons/react/solid'; import CryptopunkAbi from '../../contract/Cryptopunks.json'; // TODO: bad, read ...
/* feature extraction utils */ const fs = require('fs'); const os = require('os'); const uuid = require('uuid'); const logger = require('../logging'); /** * * @param {*} str */ function capitalize(str) { return str[0].toUpperCase() + str.substr(1); } /** * determine mode (most common) element in a series. *...
/* * Kuzzle, a backend software, self-hostable and ready to use * to power modern apps * * Copyright 2015-2020 Kuzzle * mailto: support AT kuzzle.io * website: http://kuzzle.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
// DOM element variables var intro = document.getElementById('intro'); var quizzer = document.getElementById('quizzer'); var questionEl = document.getElementById('question'); var choicesEl = document.getElementById('choices'); var outro = document.getElementById('outro'); var startBtn = document.getElementById('start-b...
const Path = require('path'); const Exec = require('child_process').exec; exports.install = function() { F.route('/api/apps/', json_query, ['authorize', '*Application']); F.route('/api/apps/', json_apps_save, ['authorize', 'post', '*Application', 50000]); F.route('/api/ap...
import React,{ useState, useEffect } from "react"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; // core components import GridItem from "components/Grid/GridItem.js"; import GridContainer from "components/Grid/GridContainer.js"; import Card from "components/Card/Card.js"; impo...
/* Robot methods available when board is ready: getAngles() - returns current angles setAngles(t1,t2,t3) - Sets angles getPosition() - returns current position resetPosition() - sets position to restpoint getPositionForAngles(t1,t2,t3) - returns calculated position for given angles getAnglesForPosition(x,y,z) - return ...
'use strict'; // Service names var IPA_DIALOG_NAME = "traveldialog1"; // REPLACE with your own name var IPA_CLASSIFIER_NAME = "demo_ipa"; // NO NEED TO RENAME THIS ONE unless you want to // Intent Types var INTENT_TYPE_DIALOG_LOCATION = "location"; // var INTENT_TYPE_DIALOG_SCHEDULE = "schedule"; // var INT...
// 表单初始化 FromInit('form.form-validation-store-accounts'); /** * 商品参数数据创建 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 * @date 2020-09-02 * @desc description * @param {[int]} type [展示类型(0,1,2)] * @param {[string]} name [参数名称] * @param {[string]} value [参数值]...
let scrollDelay function pageScroll() { window.scrollBy(0, -50) scrollDelay = setTimeout(pageScroll, 10) if ($(window).scrollTop() <= 10) { clearTimeout(scrollDelay) } } $(document).ready(function () { $('#totop').click(pageScroll) }) function VtException(message) { this.me...
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"]...
"use strict"; const TsBase = require("./base"); const TsBuffer = require("./buffer"); const tsSectionList = require("./section"); class TsSectionParser extends TsBase { constructor() { super(); this._info = {}; } _process(tsPacket, callback) { // Check transport_error_indicator ...
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4 Version: 4.1.0 Author: <NAME> Website: http://www.seantheme.com/color-admin-v4.1/admin/ */ var handleLineChart = function() { "use strict"; nv.addGraph(function() { var sin = [], cos = [...
import { v4 } from 'uuid'; import debounce from 'lodash.debounce'; // const generateGuid = () => v4(); var script = { name: 'VueIframe', props: { src: { type: String, required: true }, crossorigin: { type: String, default: 'anonymous' }, target: { type: String, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _size2 = _interopRequireDefault(require("lodash/size")); var _sortBy2 = _interopRequireDefault(require("lodash/sortBy")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default...
"use strict"; 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)...
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 () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array...
import React, { useState, useEffect } from 'react' import { Typography, Descriptions, Tooltip, Tabs } from 'antd' import Client from '@helium/http' import AppLayout, { Content } from '../../components/AppLayout' import ActivityList from '../../components/ActivityList' import HotspotsList from '../../components/Hotspots...
/// <reference path="../../typings/node/node.d.ts"/> "use strict"; process.on('uncaughtException', function (err) { console.error(JSON.stringify(err)); }); function print() { var args = Array.prototype.slice.call(arguments, 0); process.stdout.write(args.join("")); } function whitespace() { print(...
myNull = null; /** * Displays the Intermediate Values modal of the current Config for the user */ var IntermediateValuesTable = Backbone.View.extend({ model: joint.dia.BloomingGraph, template: ['<script type="text/template" id="item-template">', '<div id="intermediateTable" class="intermT">', '...
/* Various debugging utilities and convenience functions */ function dir(o){var a=[],p;for(p in o){a.push(p)}return a.sort().join('\n')} function test_pp(){ var a=[],f=function(x){a.push(x)},circular=[],o circular[0]=circular f(pp(['foo','bar',42])) o=[{str:'foo',x:'bar\n"baz"\nquux'},{str:'baz',y:['xyzzy','quux...
const { MessageEmbed } = require("discord.js"); const Command = require('../../Utils/Classes').Command; module.exports = class Comando extends Command { constructor() { super() this.name = "ahorcado" this.category = 'diversion' } async run({ message, embedResponse }) { let m...
function pm_clearTaskForm() { util_clearErrors(); $('#lead-mgmt-task-due-date').val(''); $('#lead-mgmt-task-name').val(''); $('#lead-mgmt-task-notes').val(''); } function pm_completeSalesLeadTask() { var dueDate = $.trim($('#lead-mgmt-task-due-date').val()); if ($("#lead-mgmt-task-due-time").is('[read...
var $ = require('jQuery'); KEYS = { 'a': 'qaz', 's': 'wsx', 'd': 'edc', 'f': 'rfvtgb', 'j': 'yhnujm', 'k': 'ik,', 'l': 'ol.', ';': 'p;/?', } KEYS_TO_NUMBER = { 'a': 0, '\xa0': 0, ' ': 0, 's': 1, 'd': 2, 'f': 3, 'j': 4, 'k': 5, 'l': 6, ';': 7, } S...
/* global document, Audio */ const ytsr = require("ytsr"); const ytdl = require("ytdl-core"); const { Base64Encode } = require("base64-stream"); //const { remote } = require("electron"); //const win = remote.getCurrentWindow(); const audio = new Audio(); const cover = document.getElementById("currentCover"), title...
const selectn = require('selectn'); const { CronJob } = require('cron'); const EventsHaNode = require('./EventsHaNode'); const { isValidDate, getTimeInMilliseconds, parseTime, getEntitiesFromJsonata, } = require('../helpers/utils'); const { STATUS_COLOR_GREEN } = require('../helpers/status'); const { T...
// This file is part of charto-loader, copyright (c) 2018- BusFaster Ltd. // Released under the MIT license, see LICENSE. 'use strict'; /** SystemJS API. */ var System; /** Loader API. */ var charto = charto || {}; /** Initialize SystemJS. * * @param { Object | string | string[] } config - SystemJS configuratio...
//Packages const cors = require('cors') const path = require('path'); const express = require("express"); const config = require('config'); const jwt = require('jsonwebtoken'); const cookieParser = require('cookie-parser'); const mongoose = require('mongoose'); const flash = require('connect-flash'); const session = re...
/* * Copyright (c) 2016, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, t...
/* MIT License Copyright (c) 2018 <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, distrib...
'use strict' let parallel = require('run-parallel-limit') let Json2csvParser = require('json2csv').Parser let fs = require('fs') let moment = require('moment') // eslint-disable-next-line no-unused-vars let colors = require('colors') let Backtester = require('../../../lib/backtester') let argv = require('yargs').argv ...
/* eslint-disable no-loop-func */ /* eslint-disable no-console */ /* eslint-disable nonblock-statement-body-position */ $(document).ready(function() { if (typeof ($('body').tooltip) != 'undefined') { $('body').tooltip({ items: ':not([data-toggle])' }); } function getParam(parameterName) { var ...
import React, { Component } from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import Helmet from 'react-helmet' import { branch, compose, mapProps } from 'recompose' import { connect } from 'react-redux' import Modal from 'react-modal' import moment from 'moment' import Icon from 'r...
var async = require('async'); var Schema = require('./schema.js'); var ValidationSet = require('./validationset.js'); var ValidationRule = require('./validationrule.js'); var ValidationException = require('./exceptions/validation'); /** * SchemaField constructor * * @params {String} path * @params {Mixed} type *...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v3.3.3 * @link http://www.ag-grid.com/ * @license MIT */ var utils_1 = require('../utils'); var textFilter_1 = require("./textFilter"); var numberFilter_1 = require("./numberFilter"); var setFilter...
let parejasAcertadas = []; let numImgVisibles = 0; let puntos = 0; let maxPuntos = 0; let partidaIniciada = false; window.onload = grid; function grid() { cargarImagenes(); getMaxPuntos(); //<NAME> let modal = document.getElementById("dificultadBtn"); let buttons = modal.childNodes; buttons.f...
require('module-alias/register') const path = require('path') const { git } = require('KegGitCli') const { Logger } = require('KegLog') const homeDir = require('os').homedir() const { encrypt } = require('KegCrypto') const { ask } = require('KegRepos/ask-it') const packageJson = require('KegRoot/package.json') const {...
var timer; //Declares setInterval variable var seconds = 80; //Total amount of time/score for quiz var subtractScore = 9; //Reduces score by 9 + 1 var qNum = 0; //Variable to cycle through questions //Links to initial button and starts game when clicked var quizButton = document.getElementById('startButton'); qui...
$(document).ready(function(){ //기타 $(".boardListType02 > li:nth-child(1n)").css({"margin-right":"25px"}); $(".planEvent li:nth-child(4n), .prdList li:nth-child(4n), .boardListType02 li:nth-child(2n), .bbarutaPrdList li:nth-child(5n)").css({"margin-right":"0"}); //전체 브랜드 및 전체 카테고리 $('.firstMenu strong a').bind('cl...
/* null */ /* auto generated constructor */ function org_shaolin_bmdp_workflow_form_ChatWindow2(json) { var prefix = (typeof(json) == "string") ? json : json.prefix; var taskIdUI = new UIMaster.ui.hidden ({ ui: elementList[prefix + "taskIdUI"] }); var orgIdUI = new UIMaster.ui.hidden (...
import React, { useMemo, useRef, useState } from "react"; import styled from "styled-components"; import useExport from "hooks/useExport"; import { useLineupData } from "containers/LineupDataProvider"; import { useLanguage } from "containers/LanguageProvider"; import Head from "components/Head"; import Header from "com...
import React, { useState, useEffect } from "react"; import styled from "styled-components"; function BasicInformation({ sellerDetail, register, setProfile }) { const [imgBase64, setImgBase64] = useState(""); // 미리보기를 위한 base64 인코딩 할 값 const handleChangeFile = (event) => { let reader = new FileReader(); i...
"use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "sym...
if (typeof addEvent != "function") { var addEvent = function (a, b, c, d) { var e = "on" + b; if (a.addEventListener && !d) return a.addEventListener(b, c, false); if (!a._evts) a._evts = {}; if (!a._evts[b]) { a._evts[b] = a[e] ? {b: a[e]} : {}; a[e] = new Function("e", 'var r = true, o =...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _bcrypt = _interopRequireDefault(require("bcrypt")); var _DB = _interopRequireDefault(require("../DB")); var _Handlers = require("../Handlers"); function _interopRequireDefault(obj) { return obj && obj._...
import React, { Component } from 'react'; import { observer } from 'mobx-react'; import { injectIntl, FormattedMessage } from 'react-intl'; import { Page, Header, Content, stores } from 'choerodon-front-boot'; import { Select, Button, Tooltip, Spin } from 'choerodon-ui'; import ReactEcharts from 'echarts-for-react'; im...
var HistoryModel = Backbone.Model.extend({ idAttribute: "id", urlRoot: '/actions', defaults:{ id : '', tenantId : '', content : '', actionCode : '', result : '', createdAt : '', updatedAt : '', resultDetail : '', userId : '', t...
function supportsTouch(argument) { return navigator.maxTouchPoints || navigator.msMaxTouchPoints || 'ontouchstart' in window; } function GetDPI() { //Element properties for getting DPI var dpistyle = 'data-dpi-test { height: 1in; left: -100%; position: absolute; top: -100%; width: 1in; }'; var dpi...
"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 (b.hasOwn...