text
stringlengths
3.22k
29.5k
'use babel'; const path = require('path'); const { CompositeDisposable } = require('atom'); const { FileListCache } = require('./file-list'); const { FileListView } = require('./file-list-view'); module.exports = class AtomCmdView { /** * @property {CompositeDisposable} disposables * @property {FileListCache} fi...
/// Menu import MetisMenu from "metismenujs"; import { Component } from "react"; /// Scroll import PerfectScrollbar from "react-perfect-scrollbar"; import { connect } from "react-redux"; /// Link import { Link } from "react-router-dom"; import { isAuthenticated } from "../../../store/selectors/AuthSelectors"; import D...
import DirectGraph from './direct-graph'; import LicenseEvent from '../contract-events/license/index.vue' import TransactionEvent from '../contract-events/transaction/index.vue' require('../../../../lib/d3.v3.min') var lastNodeId = -1; var componentMap = { signing: { name: 'license-event', title: '签约license...
import express from 'express'; import sql from 'mssql'; import {secret, dbconfig} from '../../secrets'; import jwt from 'jwt-simple'; import moment from 'moment'; let massageTypeRoutes = function () { const massageTypeRouter = express.Router(); function tryParseCurrency(str) { if (typeof (str) !== "u...
'use babel'; /* global OpenJsCad */ /*eslint no-console: 0*/ var fs = require('fs'), path = require('path'), crypto = require('crypto'), loophole = require('loophole'), async = require('async'); var exec = require('child_process').exec; var Emitter = require('event-kit').Emitter; var CompositeDisposable = req...
import {set} from './canvas.js'; import {addData, clearData} from './chart.js'; import {Element} from './particle.js'; import {variables,options} from './data.js'; import {MDCSlider} from '@material/slider'; import {MDCTabBar} from '@material/tab-bar'; import {MDCIconButtonToggle} from '@material/icon-button'; import ...
var config = require('./config.js'); var util = require('./utils/util.js') //app.js App({ onLaunch: function (options) { var self=this; wx.onNetworkStatusChange(function(res) { console.log(res.isConnected,'网络断开') console.log(res.networkType) }) wx.request({ ...
import React from 'react'; import { Redirect, Route, Switch } from 'react-router-dom'; import Activity from '../components/page/Activity'; import Associations from '../components/page/Associations'; import Billing from '../components/page/Billing'; import CustomerDetails from '../components/page/CustomerDetails'; impor...
// // game-update.js // ========= // Includes the necessary functions in order to calculate game-specific events. // function game_update_particle() { for (var i = 0; i < particles.length; i++) { particles[i].position.y -= particles[i].s; // If out of bounds (below camera), despawn and spawn ...
// Task ID counter is used to increment each time a task is added var taskIdCounter = 0; //access the element usng QuerySelector var formEl = document.querySelector("#task-form"); //access tasks using QuerySelector (TODO) var tasksToDoEl = document.querySelector("#tasks-to-do"); //access tasks in progress var tasksInPr...
import React, { Component } from 'react' import { withRouter } from 'react-router-dom' import { Formik, Form, Field } from 'formik' import '../../../utils/polyfills' import {customAlphabet} from 'nanoid' import { feedBackClassName, feedBackInvalid } from '../Shared/ValidationMessages' import { generateAlert } from '../...
const eventsModel = require('../models/events.model') //#region apis const axios = require('axios').default const moonApi = axios.create({ baseURL: 'https://api.farmsense.net/v1/moonphases/', timeout: 3000, }) const weatherApi = axios.create({ baseURL: 'https://api.openweathermap.org/data/2.5/', timeout: 3000,...
'use strict'; let fs = require('fs'); let chalk = require('chalk'); let shell = require('shelljs'); let parser = require('gettext-parser'); let AbstractCommand = require('./abstract'); let BaseCommand = Object.create(AbstractCommand); let { validate } = require('./utils/validate-json'); let { traverseJson } = require(...
// @ts-nocheck /* global SunCalc */ async function printAstronomy(lat, lon) { // eslint-disable-next-line no-console console.log('InitAstronomy', lat, lon); const div = document.getElementById('div-astronomy'); const dt = new Date(); const sun = SunCalc.getTimes(dt, lat || 0, lon || 0); const moon = SunCal...
import { ENCloud } from "./ENCloud"; import { ENMini } from "./ENMini"; import { getID } from "./ENUtils"; export { BASEURL_REST, BASEURL_WS } from "./ENCloud"; export class ENRuntime { constructor({ projectJSON, userData = {}, enBatteries = [], autoStartLoop = true, }) { if (!projectJSON) { ...
import React, { useState } from 'react' import ReactGA from 'react-ga' import PropTypes from 'prop-types' import Tabs from '../../components/Tabs' import Map from '../../components/Map' import Tile from '../../components/Tile/Tile' import styled from 'styled-components' import { MilestonesGraphContainer } from 'compone...
"use strict"; var _a; Object.defineProperty(exports, "__esModule", { value: true }); exports.PositioningContainer = exports.useHeightOffset = void 0; var tslib_1 = require("tslib"); var React = require("react"); var PositioningContainer_styles_1 = require("./PositioningContainer.styles"); var Styling_1 = require("../.....
 var _menus; $(function () { tabClose(); tabCloseEven(); $.ajax({ url: BaseUrl+'GetMenu', type: 'POST', cache: false, error: function () { alert('Error loading PHP document'); }, success: function (result) { // 导航菜单绑定初始化 $("#wnav").accordion({ animate: fals...
'use strict'; var util = require('util'); var EventEmitter = require('events').EventEmitter; var debug = require('debug')('meshblu-chromecast') var Client = require('castv2').Client; var mdns = require('mdns-js'); var getYouTubeId = require('get-youtube-id'); var _ = require('lodash'); var MESSAGE_SCHEMA = { type: '...
/** * Bootstrapping code for line chart */ import * as d3 from 'd3'; import * as gLegend from 'g-legend'; import gChartframe from 'g-chartframe'; import * as gAxis from 'g-axis'; import * as parseData from './parseData.js'; import * as cart from './drawChart.js'; const dataFile = 'carto.csv'; const dateFormat = '%...
var Backbone = require('backbone'); var _ = require('underscore'); var syncAbort = require('./backbone/sync-abort'); var StyleDefinitionModel = require('../editor/style/style-definition-model'); var StyleCartoCSSModel = require('../editor/style/style-cartocss-model'); var DataSQLModel = require('../editor/layers/layer-...
/* Theme builder and previewer. Minimize JavaScript. Convert SASS to CSS and minify. Start MkDocs server */ import yargs from "yargs" import gulp from "gulp" import gulpsync from "gulp-sync" import sass from "gulp-sass" import uglify from "gulp-uglify" import postcss from "gulp-postcss" import autoprefixer fr...
$.datetimepicker.setLocale('ch'); var _ueditorToolbars = ['fullscreen', 'source', '|', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertor...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
#!/usr/bin/env node /* eslint-disable no-undef */ /* eslint-disable no-console */ const { version } = require(`../package.json`) const readline = require(`readline`) const path = require(`path`) const fs = require(`fs`) const homeDir = require(`os`).homedir() const { Lits, normalExpressionKeys, specialExpressionKeys, r...
//窗体加载 $(function () { initRTDialog(); initRTTable(); initRTClick(); }); //验证输入-点击提交时 function checkRTClickSubmit(idList) { $(idList).each(function (index, element) { checkRTAttention($(this)); }); } //验证输入-更改提示信息 function checkRTAttention(element) { var id = $(element).attr('id'); ...
// audioengine.js // Simple utility wrapper around some Web Audio API features to be able to // quickly build applications which play sound using the Web Audio API. // To use this functions include audioengine.js and use the AudioManager "am" // variable like: // am = initAudioManager(); // am.playSoundFromURL("...
/*! * load-templates <https://github.com/jonschlinkert/load-templates> * * Copyright (c) 2014-2018, <NAME>. * Released under the MIT License. */ 'use strict'; const path = require('path'); const contents = require('file-contents'); const globParent = require('glob-parent'); const isGlob = require('is-glob'); con...
import * as helpers from '../utils/index'; import { renderLines } from './renderLines'; import { onClick } from './onClick'; import { iconLink } from './components/iconLink'; const CHART_NODE_CLASS = 'org-chart-node'; const ENTITY_LINK_CLASS = 'org-chart-entity-link'; const ENTITY_NAME_CLASS = 'org-chart-entity-name';...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" :...
import React, { useCallback, useContext, useEffect, useMemo, useState, } from 'react'; import { Box, Button, Card, CardBody, CardFooter, Footer, Grid, Header, Heading, Keyboard, Markdown, Menu, Paragraph, ResponsiveContext, Stack, Text, ThemeContext, } from 'grommet'; import ...
import { Box, Button, IconButton, Paper, Stack, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TablePagination, TableRow, Toolbar, Tooltip, Typography, } from "@mui/material"; import React, { useEffect, useState } from "react"; import { useDispatch, useSelector } fr...
/* eslint id-length: 0, no-confusing-arrow: 0, no-bitwise: 0 */ const {sqrt, pow, cos, atan2, sin, abs, exp, round, min, PI} = Math; const PIV_EPSILON = 216 / 24389; // Intent of CIE standard. More accurate than decimal approximation const PIV_INV_EPSILON = 24389 / 216; // As above const KAPPA = 24389 / 27; // As abov...
function BranchData() { this.position = -1; this.nodeLength = -1; this.src = null; this.evalFalse = 0; this.evalTrue = 0; this.init = function(position, nodeLength, src) { this.position = position; this.nodeLength = nodeLength; this.src = src; return this; } ...
'use strict'; const gulp = require('gulp'), del = require('del'), autoprefixer = require('gulp-autoprefixer'), gulpIf = require('gulp-if'), uglify = require('gulp-uglify'), useref = require('gulp-useref'), jshint = require('gulp-jshint'), cssmin = require('gulp-cssmin'), ...
import React, { Component } from 'react'; export class ResponseDisplay extends Component { constructor(props) { super(props) this.state = { waitForNewResponseBox: 5000, textHangTime: 15000, textFadeTime: 1500, responseBoundaryArray: [], editingBoundaryArray: false } this...
const BASE_URL = "https://mindful-journal.herokuapp.com"; document.addEventListener("DOMContentLoaded", getMoods); const promptDiv = document.getElementById("prompt-div"); const entriesDiv = document.getElementById("entries-div"); const journalEntriesDiv = document.getElementById("journal-entries"); const entriesTitl...
/** * Module dependencies. */ const express = require('express'); const compression = require('compression'); const session = require('express-session'); const bodyParser = require('body-parser'); const logger = require('morgan'); const chalk = require('chalk'); const errorHandler = require('errorhandler'); const lus...
import React, {useState, useEffect} from 'react'; import axios from 'axios'; import {makeStyles} from '@material-ui/core/styles'; import GridItem from 'components/Grid/GridItem.js'; import GridContainer from 'components/Grid/GridContainer.js'; import Card from 'components/Card/Card.js'; import CardHeader from 'compon...
const crypto = require("crypto"); const qs = require("qs"); const http = require("http"); const functions = require("../utilities/functions"); const dbManagement = require("../utilities/dbManagement"); const Transaction = require("../models/transactionModel"); const User = require("../models/userModel"); const Block ...
import React from 'react' import { ApolloClient, InMemoryCache, ApolloProvider, useQuery, gql } from "@apollo/client"; const client = new ApolloClient({ uri: `${process.env.NEXT_PUBLIC_API_URL}/graphql`, cache: new InMemoryCache() }); export const getBlogs = gql` query{ blogs{ ...
var io = require('socket.io-client'); var Canvas = require('./canvas'); var global = require('./global'); var $ = require("jquery"); var socket; var reason; var gameGrid = []; var players = []; var player = {}; var debug = function(args) { if (console && console.log) { console.log(args); } }; window...
import React, { useState, useCallback, useEffect, useMemo } from 'react'; import PropTypes from 'prop-types'; import { AppBar, Button, Dialog, Grid, IconButton, Slide, Toolbar, Typography, } from '@material-ui/core'; import { Block as BlockIcon, Close as CloseIcon, Done as Do...
/*! * templates <https://github.com/jonschlinkert/templates> * * Copyright (c) 2015, <NAME>. * Licensed under the MIT License. */ 'use strict'; var Base = require('base'); var debug = require('debug')('base:templates'); var helpers = require('./lib/helpers/'); var plugin = require('./lib/plugins/'); var utils = ...
/** * Created by highlander on 5/26/17. */ // modules const ss = require('./shapeshift.js') const Redis = require('then-redis') const config = require('../config') // redis const redBack = require('./redis.js') // internal modules const balances = require('./balances.js') const views = require('./views.js') // con...
/*! * Datatables */ /** Datatables Select All Function */ function updateDataTableSelectAllCtrl(table) { var $table = table.table().node(); var $chkbox_all = $('tbody input[type="checkbox"]', $table); var $chkbox_checked = $('tbody input[type="checkbox"]:checked', $table); var chkbox_select_all = $(...
// ----------------------------------------------------------------------------- // - - - - - - - - - - - - - - - I M P O R T S - - - - - - - - - - - - - - - - - // ----------------------------------------------------------------------------- // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
import * as PIXI from '../../libs/pixi.js'; import config from '../config.js'; import Tween from './tween.js'; import { createCircle } from '../common/ui.js'; import { none, convertRadian2Degree, convertDegree2Radian } from '../common/util.js'; const dpr = 2; // 组件所用到事件 const DOWN = "touchstart"; c...
// Copyright 2017 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 agre...
/* * 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 req...
/** * Post View Screen * - The individual post screen */ import moment from 'moment'; import React, {Component} from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, ViewPropTypes, TouchableWithoutFeedback, Animated, View, TouchableOpacity, Clipboard } from 'react-nativ...
import { INFO_BUBBLE_TYPE_RIGHT_BUILDING, INFO_BUBBLE_TYPE_LEFT_BUILDING, infoBubble } from '../info_bubble/info_bubble' import { saveStreetToServerIfNecessary } from '../streets/data_model' import { getElAbsolutePos } from '../util/helpers' import { RandomGenerator } from '../util/random' import { images } from ...
'use strict'; // Deps var util = require( 'util' ); var parseString = require('xml2js').parseString; var underscore = require('underscore'); var request = require('request'); //var twilio = require('twilio')('ACCOUNT_SID', 'AUTH_TOKEN'); var requestify = require('requestify'); var ET_Client = require( 'fuelsdk-node' )...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.createLoaderStack = undefined; var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _ge...
import logo from './logo.svg'; import questionnaire from "./questionnaire.json"; import { useReducer } from 'react'; import SyntaxHighlighter from 'react-syntax-highlighter'; import { atomOneLight } from 'react-syntax-highlighter/dist/esm/styles/hljs'; const initialState = { answers: questionnaire.item.reduce((prev,...
import _ from 'lodash'; import requireDir from 'require-dir'; import debuglog from 'debug-levels'; import Message from 'ss-message'; import processHelpers from './reply/common'; import connect from './db/connect'; import factSystem from './factSystem'; import chatSystem from './chatSystem'; import getReply from './get...
// Copyright 2016 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. /** * In the real (non-test) code, this data comes from the C++ handler. * Only used for tests. * @typedef {{defaults: !Object<settings.ContentSettings...
var quert_html_range_sql,queryType_sql=1; function js_bev_search_step(){ $("#panel_handle > h4").fadeOut(50); $("#panel_handle").css("background-image","url('./images/frameimages/search.png')"); $("#back").fadeIn(50); queryHtml = $("#jsBev_sample").html(); //$("#back").click(function(){searchB...
'use strict'; /*global window */ import $ from './../lib/jquery'; import _ from './../lib/lodash'; import Queue from './../lib/queue'; // tangram import tansInfo from './../app/view/tangram/models/tans-info'; import tangrams from './../app/data/tangrams'; var arrayProto = Array.prototype, win = window, //doc = win.d...
let errors=false; let indice=0; let jsonarr; let arrarchivos; let rescomp; let stringtab; let respzip; let agreebit; if (window.localStorage){ if (window.localStorage.getItem('imagenes') !== undefined && window.localStorage.getItem('imagenes')){ rescomp=localStorage.getItem("imagenes"); jsonarr=localS...
import React from 'react'; import { createSelector } from 'reselect'; import PropTypes from 'prop-types'; import loadData from '../../../containers/DataLoader'; import styles from './PkmListReddit.module.scss'; function genderString(gender) { switch (gender) { case 0: return '♂'; case 1: return '...
'use strict' const genfun = require('genfun') class Duck extends Function { // Duck.impl(Foo, [String, Array], { frob (str, arr) { ... }}) impl (target, types, impls) { if (!impls && !isArray(types)) { impls = types types = [] } if (!impls && this.isDerivable) { impls = t...
import * as React from "react"; import { DialogMessage, DialogOptions } from 'coalesce-components/lib/components/dialogs' import { Menu } from 'coalesce-components/lib/components' import { getRootKarafUrl } from 'coalesce-components/lib/js/common' import { MuiThemeProvider } from '@material-ui/core/styles' import { ...
var temporizador; addEvent(window, "load", load, false); function load() { $("#generationType").attr('value', ''); } function gerarCausaSolucao(generationFormat, generationType){ var dataInicio = document.getElementById("dataInicio").value; var dataFim = document.getElementById("dataFim").value; ...
window.d3 = window.d3 || require('d3/d3.min.js'); window.d3.chart = window.d3.chart || require('d3.chart/d3.chart.min.js'); var _ = require('lodash'); var d3 = window.d3; var EventEmitter = require('events').EventEmitter; var moment = require('moment-timezone'); var MS_IN_24 = 86400000; var MMM_FORMAT, MMM_D_FORMAT...
const util = require("./scripts/node/util"); const pangu = require("./scripts/node/pangu"); module.exports = (_, context) => { const { themeConfig, siteConfig, isProd, sourceDir } = context; const locales = siteConfig.locales; const panguOptions = util.getPangu(themeConfig); if (siteConfig.markdown) { i...
import vast from './vast'; import Promise from 'promise-polyfill'; class Ads { constructor (options) { this.options = options; this.container = this.options.container; //this.advideo = this.options.advideo; this.advideo = this.options.video; this.video = this.options.video; ...
import React from 'react' import {Card, CardBody, CardHeader, Table, Button, Row, Col, Input, Label, FormText, FormGroup} from 'reactstrap' import { queryAnalysisSet, copyAnalysisSet, deleteAnalysisSet } from '../../action/analysis-pool-action' import DeleteConfirmModal from '../Coommon/DeleteConfirmModal' import Confi...
import React, { Component } from "react"; import axios from "axios"; import { Card, CardImg, CardBody, CardSubtitle, CardTitle, CardImgOverlay, CardText, Button, CardFooter, Modal, ModalBody, ModalHeader, ModalFooter, Form, FormGroup, Label, Input, } f...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LambdaFunction = void 0; /** @module container */ /** @hidden */ let _ = require('lodash'); /** @hidden */ let process = require('process'); const pip_services3_commons_node_1 = require("pip-services3-commons-node"); const pip_services...
import React, { Component } from "react"; import styled from "styled-components"; import LoadingIndicator from "./LoadingIndicator"; import Profile from "./Profile"; import RepoCard from "./RepoCard"; import { Helmet } from "react-helmet"; import { getGithubRepos, getRepositories, getFollowing, isUserSignedIn, ...
try{ const gui = require('nw.gui'); const win = gui.Window.get(); let path = require('path'); var execPath = path.dirname( process.execPath ) + '/'; execPath.replace(/\\/g,"/"); } catch(ReferenceError) { console.log('This is browser!'); } // 初始化設定 async function init_setting(){ //$('#name').text(init['name...
/* tags: gpgpu, fbo <p>This example implements a parallell reduction algorithm on the GPU. </p> <p>Given some elements x0, x1, x2,..., and a binary operator 'op', the parallell reduction becomes 'op(x0, op(x1, op(x2,...) ))'. For example, given the elements 4, 2, 4, 1, and the operator '+', the parallell re...
"use strict"; var utils = require("./utils.js"); function Wheel(el, options) { this.container = typeof el === "string" ? document.querySelector(el) : el; this.data = []; this.items = []; this.y = 0; this.selectedIndex = 0; this.isTransition = false; this.isTouching = false; this.ea...
$(document).ready(function () { // Tooltips demo $('.tooltip-demo').tooltip({ selector: "[data-toggle=tooltip]", container: "body" }); $('.datajadwalpesawat').DataTable({ responsive: true, dom: '<"html5buttons"B>lTfgitp', paging: false, searching: fa...
const { MESURE_PROTECTION, MESURE_PROTECTION_STATUS } = require("@emjpm/core"); const excelParser = require("../../../../utils/file/excelParser"); const logger = require("../../../../utils/logger"); const { Service } = require("../../../../models/Service"); const actionsMesuresImporterGeoRepository = require("./reposi...
const THREE = require('three'); const { Object3D } = THREE; const nPoints = 68; function flipBits(n) { return parseInt(n.toString(2).split('').map(bit => 1 - bit).join(''), 2); } function readFloat(data) { let { buffer, offset=0} = data; let value = buffer.readFloatLE(offset); data.offset += 4; return value;...
'use strict'; const _ = require('lodash'); const moment = require('moment'); const FormioUtils = require('formiojs/utils').default; const Utils = { isAutoAddress(data, component, path) { if (component.type !== 'address') { return false; } var addressData = _.get(data, path || component.key); if...
/** * Created by haibo on 2016/10/25. */ $(function () { // 6 create an instance when the DOM is ready $.ajaxSetup({ cache : false }); $('#jstree').data('jstree', false).empty(); $('#jstree').jstree({ "checkbox": { "keep_selected_style": true }, 'plugins...
//------------------------------------------------------------------------------ // Third Party //------------------------------------------------------------------------------ import PropTypes from "prop-types"; import React from "react"; import { connect } from "react-redux"; import { withRouter } from "react-router"...
import * as d3 from "d3"; import gaviDataURL from "/data/gavi_explicit_rows.csv"; import GaviDataProvider from "./GaviDataProvider"; import { addSVGDownloadLinkBeneath } from '/components/renderHelpers'; import "/index.scss"; import "./index.scss"; const ROOT_COLOR = "#FFFFFF"; // Defines the GAVI status possible...
/* eslint-disable no-underscore-dangle */ /** * @Stake v4 * Developed by Engagement Lab, 2016-2017 * ============== * Common functionality game controller * * @class lib/games * @static * @author <NAME> * * ========== */ const coreModule = require('learning-games-core'); const TemplateLoader = require('./Te...
const fs = require('fs-extra'); const { remote } = require('electron'); const dialog = remote.dialog; const shell = remote.shell; var path_to_project = ""; var dist_folder = ""; var dist_folder_toc = ""; var dist_folder_fonts = ""; var dist_folder_styles = ""; var dist_folder_cover = ""; var dist_folder_script = ""; ...
/** * Dashboard.js * Dashboard component * @author <NAME> aka JK, https://github.com/the-AjK */ // @flow import React from "react"; import { observer, inject } from "mobx-react"; import PropTypes from "prop-types"; import { withStyles } from "@material-ui/core/styles"; import Drawer from "@material-ui/core/Drawer";...
// // Copyright (c) Microsoft and contributors. 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/LICENSE-2.0 // // Unless required...
/* eslint-disable no-nested-ternary */ import React, { Component } from 'react'; import { is } from 'immutable'; import PropTypes from 'prop-types'; import { View, Text, StyleSheet, ScrollView, } from 'react-native'; import { getLocale } from '../../../utils/locales'; import { LineChart } from '../../../common/...
import React,{useState,useEffect} from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleLeft, faEnvelope, faUnlockAlt } from "@fortawesome/free-solid-svg-icons"; import { faFacebookF, faGithub, faTwitter } from "@fortawesome/free-brands-svg-icons"; import { Col, Row, Form, Car...
require("express")().listen(1343); const db = require("quick.db"); const discord = require("discord.js"); const client = new discord.Client({ disableEveryone: true }); client.login("TOKEN"); const fetch = require("node-fetch"); const fs = require('fs') //Uptime const oynuyor = "Zyron Uptime BETA"; const express = re...
var table_fiducia_dpho = $('#tbl-fiducia-pv-ho').DataTable({ //"responsive" : true, //"bFilter" : true, //"bPaginate" : true, "bInfo" : false, "paging" : false //"scrollY": "360px", //"scrollCollapse": true }); var table_list_pv_fdc = $('#tbl-list-nopv').DataTable(); $("#inp-date-start-pv-...
(function(window){ "use strict"; var div255 = 1.0/255.0; function New(maxtris, color) { return new Mesh(maxtris, color); } function Mesh(maxtris, color) { this.color = new Uint8Array(color || [128,128,128,255]); this.next = null; this.ntris = 0; this.maxtris = maxtris; this.normalObject = null; th...
var stage; function init(){ canvas = document.getElementById("canvas"); stage = new createjs.Stage('canvas'); var startSeite = new createjs.Container(); var playSeite = new createjs.Container(); playSeite.visible = false; var bg = new createjs.Bitmap("/img/space.png"); bg.x = 0; bg.y ...
var elf; var createApp; $(function() { //initialize elfinder plugin //TODO: fix back button and remove this localStorage['elfinder-lastdirelfinder'] = ""; elf = $('#elfinder').elfinder({ url : 'apis/browser.jag?action=browse', // connector URL (REQUIRED) uiOptions : { // toolbar configuration /* too...
var didYouMean = require('didyoumean2'), request = require('request'); var symbols = { chanceflurries: "🌨", chancerain: "🌧", chancesleet: "🌨", chancesnow: "🌨", chancetstorms: "⛈", clear: "🌞", flurries: "🌨", fog: "🌫", hazy: "", mostlycloudy: "🌥", mostlysunny: "🌤", partlycloudy: "⛅", partlysunny: ...
const fetch = require('node-fetch'); const Lbry = { isConnected: false, connectPromise: null, daemonConnectionString: 'http://localhost:5279', alternateConnectionString: '', methodsUsingAlternateConnectionString: [], apiRequestHeaders: { 'Content-Type': 'application/json-rpc' }, // Allow o...
import Playback from './playback' import Core from '@/components/core' import PlayerError from '@/components/error' const getProperty = (obj, prop) => { return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(obj), prop) } const isGetterProperty = (obj, prop) => { return getProperty(obj, prop).get } const i...
/* eslint-disable no-unused-vars */ "use strict"; const S = require("fluent-json-schema"); const readable = require("readable-url"); const NodeCache = require("node-cache"); const classes = require("../../enums/classes"); const status = require("../../enums/statuses"); const strings = require("../../enums/st...
console.log('hello'); // alert('yo wa'); /* document.getElementById document.getElementsByClassName document.getElementsByName document.getElementsByTagName */ // e.t.c /* Manipulate DOM with Javascript ...... It's just a fancy wayof saying change HTML with Javascript how to get element(things) from html or other src...
import axios from './config'; // ********采购规划接口 Start******** // // "选择标签" 数据 export const getOtbCommonTag = params => { return axios.get(`/v1/api/otb/common/tag`, {params: params}) }; // 根据商品属性类型查找体系下所有该类型的商品属性 export const getCommonGoodsAttr = params => { return axios.get(`/v1/api/common-goods-attr`, {param...
function formatNodeLocations(topology, exitAnglesByNode) { _.each(topology.nodes, function (node) { let occupied = new Set() _.each(exitAnglesByNode[node.id], function (angle) { if (angle < 1 * Math.PI / 8 && angle > -1 * Math.PI / 8) { occupied.add("right") ...
var _this = this; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var node_1 = require("@sentry/node"); var utils_1 = require("@sentry/utils"); var SentryWebpackPlugin = require("@sentry/webpack-plugin"); var fs = require("fs"); var path = require("path"); var SENTRY_CLIEN...