text
stringlengths
2
1.04M
import React from "react"; import { Route } from "react-router-dom"; import { ApolloProvider } from "react-apollo"; import styled from "styled-components"; import auth from "../auth/auth"; import { getClient } from "../graphql/graphql"; import Loading from "../loading/loading"; import NavBar from "../navbar/navbar"; ...
const loginBtn = document.getElementById('loginbtn'); const successLogin = document.getElementById('success-msg-login'); const errorLogin = document.getElementById('error-msg-login'); const loggedProfile = document.getElementById('loggedProfile'); const url_login = 'http://localhost:9000/api/v1/'; const baseUrlLogin =...
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict'; const name = "hint"; const pathData = "M256 1c141 0 256 115 256 256S397 512 256 512C116 512 1 398 1 257S116 1 256 1zm0 460c113 0 205-92 205-204S369 53 256 53C144 53 52 145 52 257s92 204 204 204zm0-345c22 0 3...
import * as mutations from "../../mutation-types"; import * as actions from "../../action-types"; export default { [actions.SELECT_POKEMON_FOR_MODAL]({ commit }, pokemon) { commit(mutations.SET_SELECTED_POKEMON, pokemon); commit(mutations.OPEN_MODAL); }, [actions.UNSELECT_POKEMON_FOR_MODAL]({ commit }) {...
"use strict"; exports.__esModule = true; exports.path = path; exports.query = query; exports.header = header; exports.cookie = cookie; var _pick = _interopRequireDefault(require("lodash/pick")); var _styleSerializer = _interopRequireWildcard(require("./style-serializer")); var _contentSerializer = _interopRequireDe...
import React, { Component } from 'react'; import * as PropTypes from 'prop-types'; import { createPaginationContainer } from 'react-relay'; import { map, filter, head, compose, pathOr, } from 'ramda'; import { withStyles } from '@material-ui/core/styles'; import List from '@material-ui/core/List'; import ListItem fro...
const router = require("express").Router(); const { Product, Category, Tag, ProductTag } = require("../../models"); // The `/api/products` endpoint // get all products router.get("/", async (req, res) => { // find all products try { const productsData = await Product.findAll({ include: [{ model: Tag }, ...
import Ember from "ember"; import config from '../../config/environment'; export default Ember.Controller.extend( { store: Ember.inject.service(), session: Ember.inject.service(), needs:[ 'admin/users' ], queryParams: [ 'sel_users', 'achievement' ], achievement: undefined, sel_users: [], s...
const express = require("express"); const server = express(); const helmet = require("helmet"); const cors = require("cors"); const userRouter = require("./user/userRouter") const orgRouter = require("./organization/organizationRouter") const funnelRouter = require("./funnel/funnelRouter") const eventRouter = require(...
/** * @author Mat Groves http://matgroves.com/ @Doormat23 */ /** * A set of functions used by the webGL renderer to draw the primitive graphics data * * @class WebGLGraphics * @private * @static */ PIXI.WebGLGraphics = function() { }; /** * Renders the graphics object * * @static * @private * @method re...
const router = require('express').Router(); const { Product, Category, Tag, ProductTag } = require('../../models'); // The `/api/products` endpoint // get all products router.get('/', (req, res) => { // find all products // be sure to include its associated Category and Tag data Product.findAll({ attribute...
$(function() { $('.tree-toggle').click(function() { $(this).parent().children('ul.tree').toggle(200); }); renderRegistryCenterForDashboardNav(); bindConnectLink(); renderJobsForDashboardNav(); renderJServersForDashboardNav(); }); function renderRegistryCenterForDashboardNav() { $.ge...
/*! lightgallery - v1.2.14 - 2016-01-20 * http://sachinchoolur.github.io/lightGallery/ * Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */
import CSS_CLASS from '../constants/cssClass'; import generateId from '../utils/generateId'; export default function (type, title, previewUrl, categories, content, extraAttrs) { let self = this; let options = self.options; let snippetId = generateId(); let snippetPreviewHtml = ` <section ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tokenABI = void 0; exports.tokenABI = [ { 'constant': true, 'inputs': [], 'name': 'MULTIPLIER', 'outputs': [ { 'name': '', 'type': 'uint256' } ...
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments)); this.__controllerPath = "navbar"; thi...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The Function prototype object is itself a Function object (its [[Class]] is "Function") * * @path ch15/15.3/15.3.4/S15.3.4_A1.js * @description Object.prototype.toString returns...
import type { ChatBot, ChatBotAction } from './types'; import { SET_CHATBOTS } from './types'; type ChatBotState = { bots: Array<ChatBot>, }; const chatbotState = { bots: [ { id: 1, name: 'R-Chatbot', }, { id: 2, name: 'M-Chatbot', }, { id: 3, name: 'K-Chatb...
macDetailCallback("0090ab000000/24",[{"d":"2000-09-08","t":"add","a":"170 W. TASMAN DRIVE SJA-2\nSAN JOSE CA 95134-1706\n\n","c":"UNITED STATES","o":"CISCO SYSTEMS, INC."},{"d":"2001-10-24","t":"change","a":"170 W. TASMAN DRIVE SJA-2\nSAN JOSE CA 95134-1706\n\n","c":"UNITED STATES","o":"CISCO SYSTEMS, INC."},{"d"...
/** * @license 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 applicable law or a...
// Copyright IBM Corp. 2017,2018. All Rights Reserved. // Node module: @loopback/cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT 'use strict'; const _ = require('lodash'); const ArtifactGenerator = require('../../lib/artifact-generator'); const fs = ...
/*eslint-disable*/ module.exports = { messages: { 'APP/账户注册': 'APP/Account Registration', 'Antd Front 遵循 Ant Design 设计规范': 'Antd Front follows Ant Design design specifications', vue2测试: 'vue2-test', 其他登陆方式: 'Other login', '剩余%s秒': '%s seconds remaining', 功能: 'function', '密码需6位以上,区分大小...
/** * Copyright (c) 2013-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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use stric...
/*! * html2canvas 1.0.0-alpha.12 <https://html2canvas.hertzen.com> * Copyright (c) 2018 Niklas von Hertzen <https://hertzen.com> * Released under MIT License */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); e...
/*! * ${copyright} */ sap.ui.require([ "jquery.sap.global", "sap/ui/core/Control", "sap/ui/core/format/NumberFormat", "sap/ui/model/FormatException", "sap/ui/model/ParseException", "sap/ui/model/ValidateException", "sap/ui/model/odata/type/Int", "sap/ui/model/odata/type/ODataType", ...
/** * @file willie-miouzik - Web Application */ // (C) Alexandre Morin 2016 /** * @ignore */ const extend = require('extend'); const fs = require('fs'); const path = require('path'); const Log = require('wg-log').Log; const Exception = require('wg-log').Exception; const miouzikdb = require('./database.js'); var...
$(document).ready(function () { $('#table_encargos').DataTable({ dom: 'fBlrtip', buttons: [ { extend: 'excel', className: 'btn bg-poupex text-white' }, { extend: 'csv', className: 'btn bg-poupex text-white' ...
const email = document.getElementById("email"); const asunto = document.getElementById("asunto"); const mensaje = document.getElementById("mensaje"); const enviarBTN = document.getElementById("enviar"); const formularioEnviar = document.getElementById("enviar-mail"); const resetBTN = document.getElementById("resetBtn")...
"use strict"; // 获取全局应用程序实例对象 // const app = getApp() // 创建页面实例对象 Page({ /** * 页面的初始数据 */ data: { disabled: false, plain: false, loading: false }, /** * 生命周期函数--监听页面加载 */ onLoad: function onLoad() { // TODO: onLoad }, /** * 生命周期函数--监听页面初次渲染完成 */ onReady: function o...
(function() { var fn = function() { (function(global) { function now() { return new Date(); } var force = false; if (typeof (window._bokeh_onload_callbacks) === "undefined" || force === true) { window._bokeh_onload_callbacks = []; window._bokeh_is_loa...
$(function() { "use strict"; $(document).ready(function() { $('#calendar1').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay,listWeek' }, defaultDate: '2018-03-12',...
#! /usr/bin/env node var yargs = require("yargs"); var path = require("path"); var argv = yargs .command("create-snowblind-app <name> [typescript] [webpack]", "Generates the project structure of a default Snowblind project.") .positional("name", { describe: "The name under which the project is being created...
/*! * ${copyright} */ // Provides class sap.ui.model.odata.ODataAnnotations sap.ui.define(['./AnnotationParser', 'jquery.sap.global', 'sap/ui/Device', 'sap/ui/base/EventProvider'], function(AnnotationParser, jQuery, Device, EventProvider) { "use strict"; /*global ActiveXObject */ /** * @param {string|strin...
const _ = require('underscore'); /** * Base class representing an ability that can be done by the player. This * includes card actions, reactions, interrupts, playing a card, marshaling a * card, or ambushing a card. * * Most of the methods take a context object. While the structure will vary from * inheriting c...
'use strict'; class MapSpec { constructor(config) { this.width = config.width; this.height = config.height; this.min_z = config.min_z; this.max_z = config.max_z; this.default_lat = config.default_lat; this.default_lon = config.default_lon; this.default_z = config.default_z; } } modul...
/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Op...
import ReactDOM from 'react-dom' import React from 'react' import App from 'App' ReactDOM.render(<App/>, document.getElementById('root'))
const Discord = require("discord.js"); const fs = require("fs"); cache = require("../BotData/varcache"); usercache = require("../BotData/usercache"); var userCache = usercache.memoryCache.users; const Functions = require("../DiscordFunctions"); const Papa = require("papaparse"); const path = require("path"); const flat...
'use strict'; const _ = require('lodash'); const features = new Map([ ['plebiscite', new Map([ ['required', ['MONGO_URL']], ['optional', [['MONGO_COLLECTION', 'plebiscite']]] ])] ]); class Features { constructor(featureSet) { this._activeFeatures = new Set(); this._initia...
const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const cleanWebpackPlugin = require('clean-webpack-plugin'); const merge = require('webpack-merge'); co...
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
export default { stylePrefix: 'trt-', // Specify the element to use as a container, string (query) or HTMLElement // With the empty value, nothing will be rendered appendTo: '', // Default options for the target input optionsTarget: [{ value: false }, { value: '_blank' }], };
//对商店数据的控制 //道具列表dom let propsShopList = document.querySelector('.shop .frame .item ul'); //武器列表dom let weaponShopList = document.querySelector('.shop .frame .weapon ul'); //所选商品所需总价 let totalPrice = 0; //每个道具选择个数 let eachPropsSelectCount = []; //每个武器选择个数 let eachWeaponSelectedCount = []; //获取商店总价格指示文字 let totalDOM = s...
/* eslint-disable require-jsdoc */ const Errors = require('../Errors'); const { isStrArray, strToArray } = require('../utils/arrayTools'); module.exports = class Validation { validateOptions (options) { if (typeof options.cacheTime !== 'number') throw new Error(Errors.CACHE_TIME_MUST_BE_A_NUMBER); if (typeof ...
// require('./yue.css'); require('./syntax.css'); require('./site.css');
import { RoomSettingModal } from './RoomSettingModal'; export default RoomSettingModal;
import React from 'react' import { ThemeProvider } from 'react-fela' import Head from 'next/head' import { useRouter } from 'next/router' import Template from '../components/Template' import DocLayout from '../components/DocLayout' import FelaProvider from '../styling/FelaProvider' import theme from '../styling/theme'...
/// <reference path="WebUI/js/jquery-1.4.1.min.js" /> var t = "df"; $.extend(t,{ hello: function () { alert("Hello"); } }) $(function () { t; })
import { ConeGeometry } from "../../geom3d/ConeGeometry"; import { Geometry } from "../geometry/Geometry"; import { Mesh } from "../mesh/Mesh"; export class Cone extends Mesh { constructor(x = 0, y = 0, z = 0, radius = 1, height = 1, radialSegments = 8, heightSegments = 1, openEnded = false, thetaStart = 0, thetaLeng...
import LogoPython24 from "./LogoPython24.svelte"; export default LogoPython24;
(window.webpackJsonp=window.webpackJsonp||[]).push([[192],{673:function(module,exports,__webpack_require__){module.exports=__webpack_require__(2)("E2IJ")}}]);
import EditorDomRenderer from 'soul-editor-kit/renderers/editor-dom'; import RenderTree from 'soul-editor-kit/models/render-tree'; export default function renderBuiltAbstract(post, editor) { editor.post = post; let unknownCardHandler = () => {}; let unknownAtomHandler = () => {}; let renderer = new EditorDomRe...
import styled from "styled-components"; import { Link as LinkS } from 'react-scroll'; import { Link as LinkR } from 'react-router-dom'; import { FaTimes } from 'react-icons/fa'; export const SidebarContainer = styled.aside` position: fixed; z-index: 999; width: 100%; height: 100%; background: #0d0d0d; disp...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" /> , 'FullscreenSharp');
module.exports = { printWidth: 80, semi: true, singleQuote: false, trailingComma: "all", bracketSpacing: true, jsxBracketSameLine: true, arrowParens: "avoid", };
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; type Props = { size?: string | 'small' | 'medium' | 'large', color?: string, rtl?: boolean, title?: string }; /* eslint-disable prettier/prettier */ export default function IconSettingsBrightness(props: Props) { const iconProps = { ...
'use strict'; System.register(['aurelia-framework'], function (_export, _context) { "use strict"; var customElement, containerless, bindable, _dec, _dec2, _class, _desc, _value, _class2, _descriptor, _class3, _temp, BHorizontalContainer; function _initDefineProp(target, property, descriptor, context) { if ...
/* * Copyright 2014 the original author or 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 applica...
/** * 入职第二步所需要的表单(用户信息更新的表单) * @param {string} name * @param {string} JobId */ export function Update_UserInfo_Form(name, JobId) { return { name: `${name}--${JobId}--个人信息表`, input: { type: 'user', list: [ { name: 'email', label: '邮箱', rules: [ ...
//@flow //import AliasService from 'services/AliasService'; const extendParams = { relational: true, selected: false, hovered: false, getChildren() { return this.get(this.get('childrenAttribute')); }, getParent() { if (!this.collection) { return null; } ...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '@styled-icons/styled-icon'; export var Play = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createElement...
/* eslint-env jest, node */ const { cloneDeep } = require('lodash'); const label = require('../data-access/label'); const projectCard = require('../data-access/project-card'); const { mockContext } = require('./utils'); const projectCardMoved = require('./fixtures/github/events/project-card-moved.json'); describe('ad...
var Promise = require("montage/core/promise").Promise.Promise, QuizController = require("core/quiz-controller").QuizController; describe('test/quiz-controller-spec', function() { var done, quizProviderMock, answerProviderMock, statsProviderMock, timerProviderMock; beforeEach...
import React from 'react'; import { connectStats } from 'react-instantsearch-dom'; import { formatNumber } from './utils'; const SaveFiltersMobile = ({ nbHits, onClick }) => ( <button className="button button-primary" onClick={onClick}> See {formatNumber(nbHits)} results </button> ); export default connectSta...
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ */ // t: current time, b: begInnIng value, c: change In value, d: duration jQuery.easing['jswing'] = jQuery.easing['swing'] jQuery.extend(jQuery.easing, { def: 'easeOutQuad', swing: function (x, t, b, c, d) { //alert(jQuery.easing.default); ...
"use strict"; var LandingPageController = function ($scope, $http, $window, $sce, userService) { $scope.dictionaryName = "Spanish"; $scope.actualWord=""; $scope.Phrases = []; $scope.wordsInPhrases = []; $scope.actualPhraseIndex = 0; $scope.errorMessage = ['Undefined error. Could not conta...
/// <reference path="../node_modules/@types/p5/global.d.ts" /> function setup(){ createCanvas(window.innerWidth,window.innerHeight); background(255,0,0); } function draw(){ }
class UnknownError extends Error { constructor (message) { super(message) this.name = 'UnknownError' this.message = message } toJSON () { return { error: { name: this.name, message: this.message // stack: this.stack } } } } class CreateUserError extends ...
import AssignRoleForm from '@/pages/Admin/Users/AssignRoleForm.vue' import { createLocalVue, shallowMount } from '@vue/test-utils' import * as RolesApi from '@/api/admin/roles' import sinon from 'sinon' import { ToasterEvents } from '@unicorns/toaster' import Vue from 'vue' describe('AssignRoleForm', () => { it('emi...
var searchData= [ ['argus_2eh',['Argus.h',['../Argus_8h.html',1,'']]] ];
import React from "react"; import { BrowserRouter as Router, Route, withRouter } from "react-router-dom"; import { Heading, Tabs } from "@dnb/eufemia/components"; import "@dnb/eufemia/style/basis"; import "@dnb/eufemia/style/components"; import "@dnb/eufemia/style/themes/ui"; import { Home } from "./Components/Home";...
/* eslint-disable */ ynabToolKit.l10nData = { "app.done": "Concluído", "app.continue": "Continuar", "app.ok": "OK", "app.okay": "OK", "app.save": "Guardar", "app.send": "Enviar", "app.delete": "Apagar", "app.deleting": "A apagar...", "app.cancel": "Cancelar", "app.reset": "Repor", "app.back": "Vol...
import LabelingToolFilter from './LabelingToolFilter' export default LabelingToolFilter
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId])...
let consoleJs = new ConsoleJS(); function attemptLoomGetContext() { consoleJs .getContext() .then(e => loomContextSuccess(e)) .catch(e => loomContextFail(e)); } function loomContextSuccess(response){ $("#fission_main_logo").attr("src", "images/fission_logo_2.png"); // d...
import { h } from 'vue' export default { name: "Bullet", vendor: "Mdi", type: "", tags: ["bullet"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-bullet","innerHTML":"<p...
/** * flowground :- Telekom iPaaS / crosslinxx-api-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector are licensed under the Apache 2.0 License. For details * see the file LICENSE on the toplevel directory. */ const elasticio = require('elasticio-n...
module.exports = { "root": true, "extends": "airbnb", "plugins": [], "rules": { "arrow-body-style": "off", "func-names": "off", "global-require": "off", // Interfers with optional and eventual circular references "import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js",...
/** * @author windy * @version 2.0 * Created by windy on 2019/9/18 */ describe("multi_select_no_bar_series", function () { var _getItemsByTimes = function (items, times) { var res = []; for (var i = (times - 1) * 100; items[i] && i < times * 100; i++) { res.push(items[i]); ...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
/** * Copyright (c) 2015-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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @format ...
/*! * uiGlance v1.0.0 * http://uiglance.com * * @author Patrick Purcell * @copyright Copyright (c) 2016 WCP Digital * @license http://opensource.org/licenses/MIT * @link http://www.wcpdigital.com.au * @link http://patrickpurcell.bio * * Date: 2016-07-25 */ (function( $ ){ "use strict"; function uiGlance(...
/* eslint max-depth: "off" */ import test from 'ava'; import { getSourceURL } from '../src/get-source-url.js'; test('getSourceURL', t => { t.plan(2 + 1 * 2 * 2 * 2 * 3 * 2); t.is(getSourceURL(''), '<unknown>'); t.is(getSourceURL('//@sourceURL=path/file.js'), 'path/file.js'); for (const fileName of ['path/to/...
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */ /* Traducido por Vester (xvester@gmail.com). */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "../datepicker" ], factory ); } else { // Browser globals...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<cd107ffe013af2b650b8d5a3acc85139>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disabl...
'use.strict' var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; let express = require('express'); //let mongoose = require('mongoose'); let MongoClient = require('mongodb').MongoClient; let db = require('../config/db'); let passport...
var Event = require('../../../events/Event'); var KeyDownEvent = function (keyboardEvent) { Event.call(this, 'KEY_DOWN_EVENT'); this.data = keyboardEvent; }; KeyDownEvent.prototype = Object.create(Event.prototype); KeyDownEvent.prototype.constructor = KeyDownEvent; module.exports = KeyDownEvent;
import * as Yup from 'yup'; import Plan from '../models/Plan'; class PlanController { async index(req, res) { const plans = await Plan.findAll({ attributes: ['id', 'title', 'price', 'duration'], }); return res.json(plans); } async show(req, res) { const { id } = req.params; const pla...
// @flow export { default } from './CopyButton';
import{j as s,bt as a,b3 as l,aS as e,aR as n,K as o,o as t,m as i,Q as c,n as r,V as d,ah as p,X as f,Y as m,q as u}from"./vendor.686fd1d4.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_}from"./index.44a64fe8.js";import{applicationList as x}f...
const { createClient } = require("../../source/index.ts"); const { PASSWORD, PORT, USERNAME } = require("../server/credentials.js"); describe("getDirectoryContents", function() { function arrayBufferToString(buf) { return String.fromCharCode.apply(null, new Uint8Array(buf)); } beforeEach(function(...
import { snakeCase, camelCase } from 'voca'; import typeOf from 'common/utils/typeOf'; const cache = new WeakMap(); export function deepMapKeys(target, mapFn) { function map(value) { return typeOf(value) === 'array' ? mapArray(value) : typeOf(value) === 'object' ? mapObject(value) : value; } fu...
/* global describe, it, before */ import "babel-polyfill"; import chai from "chai"; import { Fluent } from "@goatlab/goat-fluent"; import loki from "./FluentConnector"; chai.expect(); const expect = chai.expect; let testModel; let testModel2; const DB = Fluent.model({ properties: { name: undefined, remoteCo...
var Promise = require('bluebird'); var zaif = require('..'); var api = zaif.PublicApi; Promise.all( [ api.lastPrice('btc_jpy').then(function(v){return ['btc_jpy', v.last_price]}), api.lastPrice('xem_jpy').then(function(v){return ['xem_jpy', v.last_price]}), api.lastPrice('mona_jpy').then(function(v){return...
var xvprocss__router_8c = [ [ "XVprocSs_BuildRoutingTable", "xvprocss__router_8c.html#gac6e004a449df139f4d5115f5add5604d", null ], [ "XVprocSs_ProgRouterMux", "xvprocss__router_8c.html#ga01bf97a1cd3199edccad43e56ca67c4c", null ], [ "XVprocSs_SetupRouterDataFlow", "xvprocss__router_8c.html#gac644ac3d0f02790c...
/* eslint-disable no-restricted-syntax */ import { expectSpecifierMap } from './helpers/parsing.js'; // import { BUILT_IN_MODULE_SCHEME } from '../src/utils.js'; describe('Relative node addresses', () => { it('should accept strings prefixed with ./, ../, or /', () => { expectSpecifierMap( `{ "dotSl...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderClear = (props) => ( <SvgIcon {...props}> <path d="M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v...
'use strict'; var util = require('util'); function getStackWithoutMessage() { var stack = new Error().stack.split('\n'); // split into lines var firstIndex = 1; // Throw away lines containing this file's filename - they are unnecessary. // This is based on an assumption that the errors contained in this modu...
import reduce from 'lodash/reduce'; function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } function isArray(arg) { return Object.prototype.toString.call( arg ) === '[object Array]'; } export default function cdf(arr) { if (!isArray(arr)) { return []; } const builder = function(acc, n) { ...
'use strict'; const radiansToDegrees = require('../../utils/radiansToDegrees'); const expect = require('expect'); describe('Radians To Degrees', function(){ it('should return the value of 180 degrees', function(){ var angle = radiansToDegrees(Math.PI); expect(angle).toEqual(180); }); it('should return...