text stringlengths 5.97k 41.2k |
|---|
var ui = require('ui'),
utils = require('utils'),
lib = require('lib'),
// Stack of parsers
parsers = [],
slice = Array.prototype.slice,
isArray = Array.isArray,
globalCapture = {},
lastParsedContols = null,
type2class = utils.type2class,
utilsAttr = utils.attr,
camel2css = utils.camel2css,
cont... |
climaconMappings = {
"a few clouds": ["Cloud-Sun", "Cloud-Moon"],
"a few showers": ["Cloud-Drizzle-Sun", "Cloud-Drizzle-Moon"],
"a few showers or drizzle": ["Cloud-Drizzle-Sun", "Cloud-Drizzle-Moon"],
"a few showers or thunderstorms": ["Cloud-Lightning-Sun", "Cloud-Lightning-Moon"],
"a few th... |
/******************************************************************************
Timeflies.js
Copyright (c) 2015-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, i... |
const arrayProblems = ['-5+6+3=x-2',
'7x * 2 - 4 * 3 =',
'(-2x-3)(4x-6)',
'(130+150)/4=x',
'(2*a*b)/4+3-2',
'(2*a*b*2)/(a*6)',
'(2*x^(2)*y)/(4*x*y)',
'(2*x^(2)*y^(2))/(4*x*y)',
'(2*x^(3)*y^(2))/(2*x)',
'(2*y^(5))/(4*x*y)',
'(2a-2b)^2',
'(2a-b)^2',
'(2a^2+b)^2',
'(2a+2b)^2',
'(2a+2b^2)^2',
'(2a+b)^2',
'(2a+b^2)^2',
'(2... |
/*
Copyright (C) Cortic Technology Corp. - All Rights Reserved
Written by <NAME> <<EMAIL>>, 2021
*/
'use strict';
var locale = "en/CA";
var localizedStrings = {
login: {
'en/CA': "User Login",
'fr/CA': "Utilisateur en ligne",
'chs/CN': "用户登录"
},
username: {
'en/CA': ... |
class PropAddr {
constructor(node, number, args) {
this.node = node;
this.number = number;
this.args = args;
}
}
class PropInfo {
constructor(rawText, formText, address) {
this.rawText = rawText;
this.formText = formText;
this.addresses = [];
this.addresses.push(address);
}
}
var pageTranslations =... |
const os = require('os');
// const fs = require('fs');
const userRoles = require('../userRoles');
const {
BYPASS_ROOM_LOCK,
BYPASS_LOBBY
} = require('../access');
const {
CHANGE_ROOM_LOCK,
PROMOTE_PEER,
MODIFY_ROLE,
SEND_CHAT,
MODERATE_CHAT,
SHARE_AUDIO,
SHARE_VIDEO,
SHARE_SCREEN,
EXTRA_VIDEO,
SHARE_FILE... |
import React, { Component } from "react"
import Layout from "../layouts/index"
import { graphql } from "gatsby"
import {Helmet} from "react-helmet";
import "./css/index.css"
import "./css/home.css"
import Slider from "react-slick";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
... |
/*
Copyright 2017 Vector Creations 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 to in writing, sof... |
$(document).ready(function(){
order_type = "name"
//checkbox all
$("#th_chall").click(function() {
if ($("#th_chall").prop("checked")) {
$("input[name=chk]").prop("checked", true);
} else {
$("input[name=chk]").prop("checked", false);
}
})
//table... |
// abc_animation.js: handles animating the music in real time.
// Copyright (C) 2014 <NAME> (paul at paulrosen dot net)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, eithe... |
import React from 'react'
import {useRef, useEffect} from 'react'
import get from 'lodash/get'
import Layout from '../components/layout'
import { useStaticQuery, graphql } from 'gatsby'
import { createMuiTheme, responsiveFontSizes } from '@material-ui/core/styles'
import { ThemeProvider, Typography } from '@material-u... |
import {loadExternalScript} from '../src/adloader.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import {config} from '../src/config.js';
import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js';
import * as utils from '../src/utils.js';
import find from 'core-js-pure/features/array/find.js';
i... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _jquery = _interopRequireDefault(require("jquery"));
var _popper = _interopRequireDefault(require("popper.js"));
var _util = _interopRequireDefault(require("./util"));
function _interopRequireDefault(obj... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EJSON = exports.isBSONType = void 0;
var binary_1 = require("./binary");
var code_1 = require("./code");
var db_ref_1 = require("./db_ref");
var decimal128_1 = require("./decimal128");
var double_1 = require("./double");
var int_32_1 =... |
// Copyright 2019 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.
import {assert} from 'chrome://resources/js/assert.m.js';
import {NativeEventTarget as EventTarget} from 'chrome://resources/js/cr/event_target.m.js';
imp... |
//========================================================================
// Name: saveRemark ()
//========================================================================
function saveRemark(title, text_content, textarea_hint, img) {
// Ti.API.info( " .... [i] snapShotImage.image :: " +" [" + $.mapContainer.snap... |
import React, { lazy } from 'react'
import {
CAvatar,
CButton,
CButtonGroup,
CCard,
CCardBody,
CCardFooter,
CCardHeader,
CCol,
CProgress,
CRow,
CTable,
CTableBody,
CTableDataCell,
CTableHead,
CTableHeaderCell,
CTableRow,
} from '@coreui/react'
import { CChartLine } from '@coreui/react-c... |
/*eslint-disable no-console */
const path = require('path');
const webpack = require('webpack');
const { format } = require('date-fns');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const HtmlPlugin = require('h... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.create = create;
exports.isInstanceOf = isInstanceOf;
exports["default"] = exports.RxQuery = void 0;
var _typeof2 = _interopRequireDefault(requi... |
"use strict";
const key = Symbol("ext");
class Color {
constructor (arg) {
let r, g, b, a; // These are not used, but they need to be declared in order for the cool&compact one liner on line 11 to work
if (arg === key) return; // This means that the necessary vars will be set by an external function
if ... |
import React, { useContext, useEffect, useState } from "react";
import Button from "../components/Button";
import DealCard from "../components/DealCard";
import Modal from "../components/Modal";
import customAxios, {
createDealURL,
dealsURL,
editDealURL,
prospectsURL,
} from "../axios";
import FilterDeal from "../c... |
"use strict";
//module for using the google api to get anayltics data in an object
require("colors");
var request = require("request");
var _ = require("lodash");
var auth = require("./auth");
var util = require("./util");
var Metadata = require('./metadata');
var async = require('async');
var xmlutil = require('xml2j... |
var myvar =
'<link rel="stylesheet" type="text/css" href="css/misc.css">' +
'<div class=\'main-misc\'>' +
' <div class="switch-imgs-show image-show-misc">' +
' <div class="img-arrow-wrap">' +
' <div class="img-arrow-wrap-2">' +
' <img class="img-arrow-prev" id="img-prev-0" src="/img... |
/*
* 广州丰石科技有限公司拥有本软件版权2017并保留所有权利。
* Copyright 2017, Guangzhou Rich Stone Data Technologies Company Limited,
* All rights reserved.
*/
$(function () {
/** 初始化应用列表 */
$("#jqGrid").jqGrid({
url: baseURL + 'applications?userId=' + userId,
datatype: "json",
postData:{
'mode... |
/* Author:
<NAME> - <NAME>.. fabz.tv
*/
///// DOWNLOAD
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like ... |
import Launchpad, { Events, Layout, FaderType} from './launchpad';
import OBSWebSocket from 'exports-loader?OBSWebSocket!obs-websocket-js/dist/obs-websocket.js'
import { positionToIndex, indexToPosition, getFileFromSandbox } from './helpers'
import { EventEmitter } from 'events';
import Nanoleaf from './nanoleaf';
f... |
import { setting_image, setting_audio } from './settings.js'
import { log_msg as log } from './util.js'
/**
* Register settings used by the opening crawl.
*/
export function init() {
log('opening-crawl', 'Initializing');
game.settings.registerMenu("ffg-star-wars-enhancements", "opening-crawl_UISettin... |
/* -*- mode: C++; tab-width: 4 -*-
*
* Functionality and regression tests -- Function objects
*
* Copyright (C) 2002 Opera Software AS. All rights reserved.
*
* This file is part of the Opera web browser. It may not be distributed
* under any circumstances.
*/
var cvs = "$Id: function.js 12970 2007-03-27 21:... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import * as d3 from 'd3'
import moment from 'moment'
import isEmpty from 'lodash/isEmpty'
import isNil from 'lodash/isNil'
import OperationDrawer from '../../containers/OperationDrawer'
import MenuHeader from '../../containers/MenuHeader'
imp... |
function fetchitcal(id){
// var fired_button = $("button").val();
var fired_button = id ;
// alert(fired_button);
console.log(fired_button);
var script = document.createElement('script');
script.src = "{https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js}";
document.getElementsByTagName('head')[0].a... |
/**
* @license
* Copyright 2018 Salesforce, Inc
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fol... |
"use strict";
const _ = require("underscore");
const CONFIG = require("app/common/config");
const Logger = require("app/common/logger");
const Factions = require("app/sdk/cards/factionsLookup");
const SDK = require("app/sdk.coffee");
const UsableCards = require('./../cards/usable_cards');
const F1 = require('./faction... |
import React, { Component } from 'react';
import { Form, Menu, Dropdown, Icon, Badge, Button, Modal } from 'antd';
import { connect } from 'dva';
import { routerRedux, Link } from 'dva/router';
import logo from '../../assets/img/logo.svg';
import styles from './Detail.less';
import productDetail from '../../assets/img/... |
//
// entityCameraTool.js
// examples
//
// Created by <NAME> on 10/14/14.
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
Script.include("overlayUtils.js");
var MOUSE_SENSIT... |
/**
* Copyright 2016 Google Inc. 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 by appli... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... |
const express = require('express');
const router = express.Router();
const path = require('path');
const uuidv1 = require('uuid/v1'); // required to generate user Ids
const fetch = require('node-fetch'); // make call for broadcast
require('dotenv').config(); // needs keys from .env
// need to generate a JWS token to m... |
import { EventHandler, closest, isNullOrUndefined, KeyboardEvents } from '@syncfusion/ej2-base';
import { getValue, addClass, removeClass, remove, createElement } from '@syncfusion/ej2-base';
import { TextBox } from '@syncfusion/ej2-inputs';
import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
import { read }... |
import React from 'react';
//import AddEtudiant from './project/Donnees/Etudiant/AddEtudiant';
//import { updateEtudiant_URL } from './project/services/constant';
const Toaster = React.lazy(() => import('./views/notifications/toaster/Toaster'));
const Tables = React.lazy(() => import('./views/base/tables/Tables'));
... |
/*
* Copyright (c) 2021 MarkLogic Corporation
*
* 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... |
/**
* track model
* - maintained by post model: updateByEid()
* - read by hot tracks controller: fetchPostsByGenre(), fetchPostsBySubscription()
* - read by genre page controller: fetchPostsByGenre()
* - read by notif template: fetchPostsByGenre()
* @author adrienjoly, whyd
**/
/*
- - - structure of a track r... |
var assert = require('assert'),
math = require('../../index'),
index = math.index,
Matrix = require('../../lib/type/Matrix');
describe('matrix', function() {
describe('constructor', function() {
it('should build an empty if called with no argument', function() {
var m = new Matrix();
as... |
// Detects webgl
if ( ! Detector.webgl ) {
Detector.addGetWebGLMessage();
document.getElementById( 'container' ).innerHTML = "";
}
// - Global variables -
// Graphics variables
var container, stats;
var camera, controls, scene, renderer;
var textureLoader;
var clock = new THREE.Clock();
var mouseCoords = new THREE... |
'use strict';
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... |
import {
extractEntries,
loadImage,
makePassFBO,
makeDoubleBuffer,
makePass
} from "./utils.js";
const rippleTypes = {
box: 0,
circle: 1
};
const cycleStyles = {
cycleFasterWhenDimmed: 0,
cycleRandomly: 1
};
const numVerticesPerQuad = 2 * 3;
export default (regl, config) => {
const volumetric ... |
"use strict";
/// A helper method to trigger later in the event queue.
function delay(f, duration = 0) {
setTimeout(f, duration);
}
/// A helper method to cancel the default behaviour of an event.
function cancel(event) {
event.preventDefault();
event.stopPropagation();
event.stopImmediatePropagation(... |
const _ = require('lodash');
const Entities = require('html-entities').AllHtmlEntities;
const entities = new Entities();
const debug = require('debug')('pingid-postman-api');
const FP = require('lodash/fp');
const fs = require('fs');
const Collection = require('postman-collection').Collection;
const handlebars = requir... |
/**
* Copyright 2019-present, Facebook, Inc. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Messenger For Original Coast Clothing
* https://developers.facebook.com/docs/messenger-platform/getting-started... |
//core features
var alphabetizeOn = true;
var instantEntry = true;
//secondary features
var activeEntry = false;
var multiEntry = false;
var deleteOnClick = false;
var shuffleData = false;
var clearData = false;
//User Interface
var showOptions = true;
var forceHideOptions = false;
var forceShowOptions = false;
var... |
/**
* JavaScript BitArray - v0.2.0
*
* Licensed under the revised BSD License.
* Copyright 2010-2012 <NAME>
* All rights reserved.
*/
/**
* Creates a new empty BitArray with the given length or initialises the BitArray with the given hex representation.
*/
var BitArray = function (size, hex) {
this.values ... |
/*
* Copyright 2014 <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 to in wr... |
const tran = require('./translate');
const utils = require('./utils');
const cycleState = require('./dict/CycleState.json');
const timeout = 24 * 60 * 60 * 1000;
const warframe = {
getInfo:function (type = 'alerts',orginInfo) {
switch (type) {
case "timestamp":
return utils.api... |
$("#encrypt-btn-main").on("click", function () {
//$("#encrypt-btn-clicked").trigger("click");
window.location.replace("./encrypt.html");
});
$("#encrypt-btn-clicked").change(function () {
window.location.replace("./encrypt.html");
});
$("#decrypt-btn-main").on("click", function () {
//$("#decrypt-btn-clicked")... |
const Alexa = require('ask-sdk-core');
const i18n = require('i18next');
const LaunchRequestHandler = {
canHandle(handlerInput) {
return handlerInput.requestEnvelope.request.type === "LaunchRequest";
},
handle(handlerInput) {
console.log("Launch Request Handler Called");
let speechText =
"Hell... |
//1. 计算控制器
const CalController = (function () {
let data = {
curResult: 0, //当前结果
operand: 0, //操作数
curOperate: 'n', //当前操作
equaled: false, //刚按过等于号
formula: [0] //当前公式
}
//伽马函数
const gamma = function (n) { // 精确到大约15位小数
//一些魔法常数
var g = 7, // g表示所需的精度,p是插入Lanczos公式的p[i]值
p = ... |
var ebates = ebates || {};
ebates.src = {
overlays: {skinny: '/dist/static/rev/overlays/skinny/skinny-d91d74ee2d.js'},
store: {
overlay: './js/storeDetail/validate.1.1.5.min.js',
btn_overlay: '/dist/static/rev/button/store_landing_overlay-7d2822834c.js',
},
suggest: {
stores: '/d... |
// =========================================================================
// ie7-css.js
// =========================================================================
var NEXT_SIBLING = "(e.nextSibling&&IE7._getElementSibling(e,'next'))",
PREVIOUS_SIBLING = NEXT_SIBLING.replace(/next/g, "previous"),
... |
// board types, set in opts.boardtype
var OOTRANDO_BOARDTYPE_ROWCOL = 0;
var OOTRANDO_BOARDTYPE_BLACKOUT = 1;
var OOTRANDO_BOARDTYPE_RANDOM = 2;
// any bigger than this breaks the randomization
var OOTRANDO_MAX_SEED_SIZE = 2147483646;
// list based on v9, https://pastebin.com/raw/RGVA7RwU
var bingoList = [
"VISI... |
// System Objects
var cp = require('child_process');
var path = require('path');
var StringDecoder = require('string_decoder').StringDecoder;
var zlib = require('zlib');
// Third Party Dependencies
var acorn = require('acorn');
var bindings = require('bindings');
var fs = require('fs-extra');
var fsTemp = require('fs-... |
'use strict';
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefault(_typeof2);
var _keys = require('babel-runtime/core-js/object/keys');
var _keys2 = _interopRequireDefault(_keys);
var _getIterator2 = require('babel-runtime/core-js/get-iterator');
var _getIterator3 = _inter... |
'use strict'
const userStubs = require('../../stubs/user-stubs')
const gatewayAccountStubs = require('../../stubs/gateway-account-stubs')
const stripeAccountSetupStubs = require('../../stubs/stripe-account-setup-stub')
const transactionStubs = require('../../stubs/transaction-stubs')
const capitalise = string => stri... |
"use strict";
// Class definition
var start,end;
toastr.options = {
"closeButton": false,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-top-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTim... |
/* Render the board to the DOM using SVG -- this is the view component of the
* client
*/
"use strict";
/// requires
var Player = require("./players"),
SVG = require("svg.js"),
settings = require("./settings");
/// object
function Display(board) {
/// public variables
// get references to the DOM elements that... |
import React,{Component} from 'react';
import "../css/self.css";
import 'materialize-css';
import "../css/kg.css";
import { Toast } from 'react-materialize';
import * as d3 from 'd3';
import {history} from '../utils/history';
class Gragh2 extends Component {
constructor(props){
super(props);
this.... |
import assert from "assert";
import ES from "es-abstract";
import SLOT from "internal-slot";
import { GetOption } from "./402.js";
import { RequireInternalSlot } from "./262.js";
import GetIntrinsic from "es-abstract/GetIntrinsic.js";
let CanonicalizeLocaleList = Intl.getCanonicalLocales;
function ResolveLocale(
a... |
var searchName='';
var searchNameinput='';
var searchNameopeon=false;
var pageIndex=1;
var nTotalNum=10;
var searchassociatedtime=null;
var searchvariables=1;
var searchstarted=true;
var clearstartedtime=null;
var ntimeout=10000;
var oHotBook=[];
var nHotnum = 0;
$(function(){
//返回上一页
$('.new_search_return').click(f... |
import store from '../story/'
import MegaPixImage from '../assets/js/megapix-image'
/**
* 存储localSession
*/
export const setSession = (name, content) => {
if (!name) return;
if (typeof content !== 'string') {
content = JSON.stringify(content);
}
window.sessionStorage.setItem(name, content);
}
/**
* 获... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.UNUSED_EXPORT = exports.defaultResolveOptions = exports.defaultParserOptions = exports.defaultParser = undefined;
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var... |
const _ = require('lodash')
const moment = require('moment')
const { ObjectID } = require('mongodb')
const Promise = require('bluebird')
const { formatDate, duration } = require('@vimesh/utils')
const { toObjectID, getObjectID } = require('./utils')
function attachMethodToDao(dao, name, func) {
if (!dao[name]) {
... |
import filter from 'lodash/filter';
import find from 'lodash/find';
import identity from 'lodash/identity';
import kebabCase from 'lodash/kebabCase';
import orderBy from 'lodash/orderBy';
import { normalize } from 'normalizr';
import { stringify } from 'querystring';
import { batchActions } from 'redux-batched-actions'... |
/*!
* Logintoo Sample App (https://sample.logintoo.com)
* Copyright (c) 2020, <NAME>
* BSD 3-Clause License (https://raw.githubusercontent.com/logintoo/logintoo-sample-app/main/LICENSE)
*/
'use strict';
$(async function() {
// Initialize UI elements.
initUI();
// Check if this is a redirected response from the... |
var $ = document.querySelectorAll.bind(document);
/**
* @description core part
* @author hustskyking
*/
var faces = $(".inBox"),
bloodA = $(".bloodA div")[0],
bloodB = $(".bloodB div")[0],
box = $(".box")[0],
upF = $(".box-top")[0],
downF = $(".box-bottom")[0],
leftF = $(".box-left")[0],
r... |
const fs = require('fs');
const { EventEmitter } = require('events');
const { Readable, Writable } = require('stream');
const crypto = require('crypto');
const mqtt = require('mqtt');
const ipc = require('node-ipc');
const uuid = require('uuid/v4');
const chalk = require('chalk');
const helpers = require('../helpers.js... |
// (function () {
var _sweetDatePickers = [];
var _sweetDatePickerBackdrop;
function SweetDatePicker (input, config) {
var self = this,
formatParts,
part,
evt,
evtSettingName,
settings,
initialisedWithDate = true;
th... |
import $ from 'jquery'
import 'jquery.cookie';
import 'bootstrap'
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
#!/usr/bin/env node
"use strict";
const child_process = require("child_process");
const events = require("events");
const fs = require("fs-extra");
const inquirer = require("inquirer");
const os = require("os");
const path = require("path");
const phin = require("phin");
const stream = require("stream");
const util = ... |
/* global miew */
import webdriver from 'selenium-webdriver';
import ieDriver from 'selenium-webdriver/ie';
import chromeDriver from 'selenium-webdriver/chrome';
import chai, { expect } from 'chai';
import dirtyChai from 'dirty-chai';
import _ from 'lodash';
import EmptyPage from './pages/empty.page';
import golden ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefault(_typeof2);
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _stringify = re... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import marked from 'marked';
import { updateStorage, editLabel } from '../actions/background';
import { playSound } from '../actions/mails';
import * as languages from '../config/i18n'
import _license from '../../LICENSE.md'
class Optio... |
/**
*
* mhcclient adapter
*
*
* file io-package.json comments:
*
* {
* "common": {
* "name": "mhcclient", // name has to be set and has to be equal to adapters folder name and main file name excluding extension
* "version": "0.0.0", // ... |
/**
* @file Research debug.log file to find unknown errors
*
* @author Krutoy242
* @link https://github.com/Krutoy242
*/
// @ts-check
/* =============================================
= Variables =
============================================= */
import { writeFileSync } from 'fs... |
/**
*
* epochChangeCoordination.js
* ==========================
*
* © 2014, TNG Technology Consulting GmbH
* Licensed under the Apache License, Version 2.0
*
* This file implements the epoch chang operation.
*
*/
'use strict';
var util = require( '../utility.js' );
var node = require( '../logic/node.js' )... |
const clickValueProfile = document.querySelector(".clickValueProfile");
const cardProfileDown = document.querySelector(".slideDown-Profile");
clickValueProfile.addEventListener("click", function () {
if (cardProfileDown.style.top == "120%") {
cardProfileDown.style.opacity = "0";
cardProfileDown.style.top = "... |
import React from 'react';
import { Container, Row, Col } from 'reactstrap';
import Image from 'react-bootstrap/Image'
import {
withRouter
} from 'react-router-dom'
import { Map, GoogleApiWrapper, Marker } from 'google-maps-react';
import ReactAudioPlayer from 'react-audio-player';
class ResultPag... |
/*global CoCreate, CustomEvent*/
import {
elStore,
setStyleIfDif,
setAttributeIfDif,
setStyleClassIfDif,
getCoCreateStyle,
toCamelCase,
parseUnit
}
from './common.js';
import observer from '@cocreate/observer';
import crdt from '@cocreate/crdt';
import uuid from '@cocreate/uuid';
import action from '@cocreate/... |
import createLogger from 'logging';
import debugLogger from 'debug';
import { isBrowser } from 'browser-or-node';
import uuid from 'uuid/v4';
import io from 'socket.io-client';
import SimplePeer from 'simple-peer';
import MewConnectCommon from './MewConnectCommon';
import MewConnectCrypto from './MewConnectCrypto';
co... |
import * as React from 'react';
import { Link } from 'gatsby';
import styled, { css } from "styled-components";
import '../base.css';
const HomeNavRaise = css`
position: inherit;
color: unset;
@media (min-width: 900px) {
position: relative;
// top: -70px;
}
`;
const SiteNavStyles = css`
color: unse... |
const babel = require('@babel/core');
const babelTraverse = require('@babel/traverse').default;
const fs = require('fs');
const path = require('path');
const isRelative = require('is-relative');
const getDependencyTree = ({
entry = '',
searchRoot = '',
autoCompleteExtentions = null,
babelConfig = null... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebpackStringReplacer = exports.ReplacementPlusCompilationMeta = exports.RulePlusCompilationMeta = exports.ReplacementMeta = exports.RuleMeta = exports.CompilationRun = void 0;
// @ts-check_disabled
const path = require("path");
const ... |
import React, { PureComponent, Fragment } from 'react';
import { FormattedMessage } from 'umi/locale';
import {
Card,
Form,
Input,
Icon,
Button,
// Tree,
Tabs,
Skeleton,
Upload,
// Progress,
message,
Radio,
Avatar,
Dropdown,
Menu,
List,
// Timeline,
Spin,
// Result,
Steps,
Col,... |
import * as React from 'react';
import {
Text,
View,
StyleSheet,
Image,
Dimensions,
StatusBar,
Alert,
TouchableHighlight,
ImageBackground,
TextInput,
ScrollView,
TouchableOpacity,
FlatList,
Keyboard,
TouchableWithoutFeedback,
Linking
} from 'react-native';... |
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Exports an element: terminal-settings-theme.
*
* @suppress {moduleLoad}
*/
import {LitElement, css, html, unsafeCSS} from './li... |
'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]; } } }... |
var React = require('react'),
ReactDOM = require('react-dom'),
scroll = require('scroll'),
Beacon = require('./Beacon'),
Tooltip = require('./Tooltip');
var defaultState = {
index: 0,
play: false,
showTooltip: false,
xPos: -1000,
... |
var dgraph = networkcube.getDynamicGraph();
networkcube.setDefaultEventListener(updateEventHandler);
networkcube.addEventListener('timeRange', timeRangeHandler);
var nodes = dgraph.nodes().toArray();
var links = dgraph.links().toArray();
var times = dgraph.times().toArray();
var linkTypes = dgraph.links().linkTypes();
... |
'use strict';
const _ = require('lodash');
const autodate = require('./metalsmith-autodate');
const beautify = require('js-beautify');
const beautifyHtml = beautify.html;
const clog = require('clog');
const collector = require('./metalsmith-collector');
const debug = require('debug')('tnris-site');
const del = require... |
'use strict';
/**
* Created by pkd on 2019/10/26.
* 平台相关的功能
*
*/
var utils = require('./_main_utils.js');
var PartitionMng = require('./_main_partitions.js');
var electron = require('electron');
var BrowserWindow = electron.BrowserWindow;
var app = electron.app;
var path = require('path');
var fs = require('fs');
... |
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 ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, de... |
/*!
* cash32.js - cashaddr for bcrypto
* Copyright (c) 2017-2019, <NAME> (MIT License).
* https://github.com/bcoin-org/bcrypto
*
* Parts of this software are based on Bitcoin-ABC/bitcoin-abc:
* Copyright (c) 2009-2019, The Bitcoin Developers (MIT License).
* Copyright (c) 2009-2017, The Bitcoin Core Develope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.