text
stringlengths
2
1.05M
import fp from 'fastify-plugin' import { Readable } from 'readable-stream' // In some cases you might need a custom plugin only in a specific // part of yoru application. As we saw before, every plugin that needs // or could be shared with the entire application should live inside // the top level `/plugins` directory...
import axios from 'axios'; export const axiosWithAuth = () => { const token = localStorage.getItem('token') return axios.create({ baseURL: 'https://realwillbrooks-bookr.herokuapp.com/', headers: { Authorization: `Bearer ${token}` } }) }
/** * Created by danie on 12/01/2017. */ angular .module('myApp.directives') .directive('modal', function(){ return { template: '<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" ' + 'aria-labelledby="myLargeModalLabel" aria-hidden...
import { FrontPanel } from "./front-panel" // // Some constants for locations of knobs and connectors, etc. // const CANVAS_WIDTH = 1697; const CANVAS_HEIGHT = 730; const CABLE_WIDTH = 6; const CELL_RADIUS = 12; const CONNECTORS = [ {idx: 0, col: 0, row: 0, x: 1457, y: 97, name: "TRIGGER", input: true}, {idx: 1, c...
/* eslint-disable no-console */ import webpack from 'webpack' import webpackConfig from '../webpack.config.prod' import chalk from 'chalk' process.env.NODE_ENV = 'production' console.log(chalk.blue('Generating minified bundle for production This will be a moment...')) webpack(webpackConfig).run( (err, stats) => { i...
'use strict' class TelegramRoute { /** * @param {BaseCommand|BaseCommand[]} commands * @param {TelegramBaseController} controller */ constructor(commands, controller) { this._commands = Array.isArray(commands) ? commands : [commands] this._controller = controller } /** ...
'use strict' // modules var express = require('express') var json = require('express-json') var bodyParser = require('body-parser') var multer = require('multer') // files var conf = require('../config/gulp.config') var routes = require('./routes') var config = require('./routes/config') var contents = require('./ro...
import React from 'react' import { Link } from 'gatsby' import Layout from '../components/Layout' import SEO from '../components/SEO' import skiLiftChairs from '../images/ski-lift-chairs.jpeg' import mountainRange from '../images/mountain-range.jpeg' import forrestAerialShot from '../images/forrest-aerial-shot.jpeg' ...
import React from 'react'; import {ScrollView} from 'react-native'; import {useDispatch, useSelector} from 'react-redux'; import {Appbar} from '../../components/Appbar'; import {List} from '../../components/List'; import {ScreenContainer} from '../../components/Common'; import SwitchSetting from '../../components/Swi...
/* * This file is part of the nivo project. * * Copyright 2016-present, Raphaël Benitte. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import PropTypes from 'prop-types' export const axisPropTypes = { ticksPosition: PropType...
function checkToken(token, data, dataOffset) { if (dataOffset + token.length > data.length) { return false; } let endIndex = dataOffset; for (let i = 0; i < token.length; i++) { if (token[i] !== data[endIndex++]) { return false; } } return true; } function stringToUint8Array(str) { c...
const isRelative = (path) => path.startsWith('./') const normalizeRelativePath = (path) => [process.env.PUBLIC_URL, path.replace(/^\.\//, '')].join('/') const isScriptLoaded = (src) => document.querySelector('script[src="' + src + '"]') ? true : false export const loadExternalScript = (src) => { if (isRel...
(function() { 'use strict'; angular .module('kueJobs') .controller('KueJobsController', KueJobsController); KueJobsController.$inject = []; function KueJobsController() { var vm = this; vm.selectedJobIds = []; vm.onclose = onclose; vm.ontoggle = ontoggle; activate(); functio...
describe('Permissioned (superuser) user tests', { retries: { runMode: 2, openMode: 0 } }, () => { before(() => { cy.login('bfranklin', 'test') }) after(() => { cy.logout() }) beforeEach(() => { Cypress.Cookies.preserveOnce('sessionid', 'csrftoken') }) it('Logs in successfully', () => { ...
const { hostname } = require("os"); const url = require("url"); const myUrl = new URL("http://mywebsite.com/hello.html?id=100&status=active"); // Serialized URL console.log(myUrl.href); console.log(myUrl.toString()); // Host (root domain) console.log(myUrl.host); // Hostname (does not get port) console.log(myUrl.ho...
module.exports = { singleQuote: true, semi: true }
/* * @title Styles * @description A task to compile Sass to CSS. */ // Dependencies import { src, dest, series } from 'gulp'; import gulpif from 'gulp-if'; import plumber from 'gulp-plumber'; import sass from 'gulp-sass'; import sassGlob from 'gulp-sass-glob'; import sourcemaps from 'gulp-sourcemaps'; import postcs...
jstestdriver.console.warn("widgets/media.js untested!");
var margin = {top: 50, right: 200, bottom: 100, left: 50}, margin2 = { top: 430, right: 20, bottom: 20, left: 40 }, width = 1160 - margin.left - margin.right, height = 500 - margin.top - margin.bottom, height2 = 500 - margin2.top - margin2.bottom; function resize() { /* Find the new window dimensions */ ...
import React from 'react' import ReactDOM from 'react-dom' import { App } from './components/App' ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') )
import api from "@/api/index.js"; //delete请求接口 export function deleteData(url, params) { return new Promise(function(resolve, reject) { api.delete( url, null, params, (successRes) => { resolve(successRes); }, (failureRes) => { reject(failureRes); } );...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'format', 'fr', { label: 'Format', panelTitle: 'Format de paragraphe', tag_address: 'Adresse', tag_div: 'Normal (DIV)', tag_h1: 'Titre 1...
function init() { SXE.initElementDialog('abbr'); if (SXE.currentAction == "update") { SXE.showRemoveButton(); } } function insertAbbr() { SXE.insertElement('abbr'); tinyMCEPopup.close(); } function removeAbbr() { SXE.removeElement('abbr'); tinyMCEPopup.close(); } tinyMCEPopup.onInit.add(init);
const { THEMENAME } = require("../env.config"); const fs = require("fs-extra"); const readline = require("readline"); const fileHound = require("filehound"); module.exports = { addMainCss, getEnv, getFilesByExtension, getScreenshot }; async function addMainCss() { const ENV = getEnv(); const rl = readlin...
/** * 系统路由配置 * * @author wengwh */ (function () { 'use strict'; angular.module('adminApp').config( function ($stateProvider, $urlRouterProvider) { $stateProvider.state('login', { url: '/login', templateUrl: 'views/login.html', controller : 'LoginController' }).sta...
/* quick.js test durability this file should always run quickly other tests can be slow */ testname = "a_quick"; load("jstests/_tst.js"); function checkNoJournalFiles(path, pass) { var files = listFiles(path); if (files.some(function (f) { return f.name.indexOf("prealloc") < 0; })) { if ...
// Copyright (c) 2016, Sione Taumoepeau and contributors // For license information, please see license.txt /* eslint-disable */ frappe.query_reports["Cargo Warehouse Movement"] = { "filters": [ { "fieldname":"from_date", "label": __("From Date"), "fieldtype": "Date", "default": frappe.datetime.get_toda...
require("source-map-support").install(); exports.id = 7; exports.modules = { /***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1,\"sourceMap\":true,\"modules\":true,\"localIdentName\":\"[name]-[local]-[hash:base64:5]\",\"minimize\":false,\"discardComments\":{\"removeAll\":true}}!./node_modules/postcss-loade...
/** * jQuery * @author jQuery Foundation and other contributors * @see https://code.jquery.com/jquery/ * @license MIT (jquery.org/license) * @version 3.2.1 */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):func...
import { colors } from '@material-ui/core'; const white = '#FFFFFF'; const black = '#000000'; export default { black, white, primary: { contrastText: white, dark: colors.indigo[900], main: colors.indigo[500], light: colors.indigo[100] }, secondary: { contrastText: white, dark: colors...
import Vue from 'vue' import VueRouter from 'vue-router' const Home = () => import('views/home/Home') const Cart = () => import('views/cart/Cart') const Category = () => import('views/category/Category') const Profile = () => import('views/profile/Profile') const Detail = () => import('views/detail/Detail') //安装插件 Vu...
var cartData; $(function(){ $.getContent(apiBaseUrl+'/cart/list',{"token":token,"check":1},'cartList'); var data = {"flag":0,'perpage':4,'limit':0}; $.getContent(apiBaseUrl+'/product/list',data,'productlist'); $(".finish_a").click(function(){ if (token.length == 0) { // return false; }; var pids = isbuy...
NOVAHawk.angular.app.controller('cloudVolumeFormController', ['$http', '$scope', 'cloudVolumeFormId', 'miqService', function($http, $scope, cloudVolumeFormId, miqService) { $scope.cloudVolumeModel = { name: '', cloud_tenant_id: '' }; $scope.formId = cloudVolumeFormId; $scope.afterGet = false; $scope.modelCopy =...
/*! * vue-router v3.0.4 * (c) 2019 Evan You * @license MIT */ /* */ function assert (condition, message) { if (!condition) { throw new Error(("[vue-router] " + message)) } } function warn (condition, message) { if (process.env.NODE_ENV !== 'production' && !condition) { typeof console !== 'undef...
/* * ExtensionStats * http://github.com/ingorichter/BracketsExtensionTweetBot * * Copyright (c) 2014 Ingo Richter * Licensed under the MIT license. */ // jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50 'use strict'; var BRACKETS_REGISTRY_JSON, DEFAULT_NUMBER_OF_DAYS,...
import React, { useEffect, useCallback } from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import { itemChange, removeFromShop, addToShop, setTargetItem } from "../actions/index"; import ItemCardList from "../components/ItemCardList"; import InventoryForms from "../compone...
import {render} from '../..'; // Fake process.stdout class Stream { constructor({columns}) { this.output = ''; this.columns = columns || 100; } write(str) { this.output = str; } get() { return this.output; } } export default (node, {columns} = {}) => { const stream = new Stream({columns}); render(n...
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@angular/material/button"),require("@angular/material/icon"),require("@angular/material/input"),require("@angular/material/stepper"),require("@angular/material/form-field"),require("...
import { toRadians } from '../../../math' // https://math.stackexchange.com/questions/22064/calculating-a-point-that-lies-on-an-ellipse-given-an-angle?newreg const getPointOnLabelEllipse = ({ angle, radialWidth, radialHeight, pieCenter }) => { const labelAngleRads = toRadians(angle) const slope = Math.tan(labelAng...
/** * Swiper Vue 6.8.3 * Most modern mobile touch slider and framework with hardware accelerated transitions * https://swiperjs.com * * Copyright 2014-2021 Vladimir Kharlampidi * * Released under the MIT License * * Released on: August 20, 2021 */ import { Swiper } from './esm/vue/swiper'; import { SwiperSli...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
mycallback( {"CONTRIBUTOR OCCUPATION": "", "CONTRIBUTION AMOUNT (F3L Bundled)": "3.90", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "86 Sterling Place, Apt. 1", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDIDATE M...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ 'use strict'; const AssetResolutionCache = require('./AssetResolutionCache'); const DependencyGraphHelpers...
/* * jsPlumb * * Title:jsPlumb 1.4.0 * * Provides a way to visually connect elements on an HTML page, using either SVG, Canvas * elements, or VML. * * This file contains the SVG renderers. * * Copyright (c) 2010 - 2012 Simon Porritt (http://jsplumb.org) * * http://jsplumb.org * http://github.com/spor...
function diff_algorithm(raw_input, split_eng_word = true) { let input = raw_input.sort((a,b) => b.length - a.length);; if (input.length == 0 || input[0].length == 0) return []; let rtn = []; let buf_eng = /[A-Za-z]/.test(input[0][0]); let index = new Array(input.length).fill(0); let batch_match_count = 0...
load("bf4b12814bc95f34eeb130127d8438ab.js"); load("93fae755edd261212639eed30afa2ca4.js"); // This file was procedurally generated from the following sources: // - src/dstr-binding/ary-ptrn-elem-obj-val-null.case // - src/dstr-binding/error/for-of-var.template /*--- description: Nested object destructuring with a null v...
'use strict' module.exports = process.atomBinding('native_image')
import React, { PureComponent } from 'react'; import Link from 'umi/link'; import RightContent from '../GlobalHeader/RightContent'; import BaseMenu from '../SiderMenu/BaseMenu'; import { getFlatMenuKeys } from '../SiderMenu/SiderMenuUtils'; import styles from './index.less'; import { title } from '../../defaultSettings...
/** * Created by jboy on 20.12.2014. */ //$(document).ready(function() { $("#submitRegister").on('click', function() { $('#registerForm').validator(); }) if($("#authError").val() != null) { $("#loginError").on("show", function() { // wire up the OK button to dismiss the modal when shown...
import {Meteor} from 'meteor/meteor'; import {check} from 'meteor/check'; import {Tones} from "/imports/api/Tones.js"; import {PersonalInfo} from "/imports/api/PersonalInfo.js"; import {MusicRecommendations} from "../imports/api/musicRecommendations"; import {Email} from 'meteor/email' import {PlaylistLikes} from "../i...
// Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain // Code for: https://youtu.be/GZ2nwxhQUTU function setup() { createCanvas(300, 200); console.log('running'); var button = select('#submit'); button.mousePressed(submitWord); var buttonA = select('#analyze'); buttonA.mousePressed(...
"use-strict"; let Instagram = require('./instagram'); Instagram = new Instagram(); Instagram.getCsrfToken().then((csrf) => { Instagram.csrfToken = csrf; }).then(() => { return Instagram.auth('login', 'password').then(sessionId => { Instagram.sessionId = sessionId console.log('sessionId', ses...
#!/usr/bin/env node "use strict"; const Debug = require('debug'); const cli = require('commander'); const order = require('../../common/modules/order'); const { NULL_ADDRESS } = require('../../common/utils/utils'); const { finalizeCli, addGlobalOptions, addWalletLoadOptions, computeWalletLoadOptions, c...
import React, { Component } from 'react'; import { Col, Row, Container } from '../../components/Grid'; import { HomePageJumbo } from '../../components/HomePageJumbo'; import { StickyFooter } from '../../components/Footer/'; import Button from '@material-ui/core/Button'; import { Link } from "react-router-dom"; // Redu...
import passport from 'passport'; import { googleStrategy } from './google'; import { vkStrategy } from './vk'; import { localStrategy, registerUser } from './local'; passport.use(googleStrategy); passport.use(vkStrategy); passport.use(localStrategy); passport.serializeUser((user, done) => done(null, user)); passport....
const { isEmpty } = require('lodash'); const contracts = require('../utils/contracts'); const fsHandler = require('../utils/fsHandler'); const web3 = require('../utils/web3'); const http = require('http'); const fs = require('fs'); const execSync = require('child_process').execSync; const FormData = require('for...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
// ========================================================================== // Fullscreen wrapper // https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API#prefixing // https://webkit.org/blog/7929/designing-websites-for-iphone-x/ // ========================================================================== ...
import React from "react"; import { Table, Row, Container, Button } from "react-bootstrap"; import { PersonX, Trash, CheckCircle } from "react-bootstrap-icons"; import AdminModal from "./AdminModal.js"; import "../styles/AdminTable.css"; export default function AdminCommentTable({ usersToComments, commentIdToTempl...
/** * Insight search plugin * @author PPOffice { @link https://github.com/ppoffice } */ (function ($, CONFIG) { var $main = $('.ins-search'); var $input = $main.find('.ins-search-input'); var $wrapper = $main.find('.ins-section-wrapper'); var $container = $main.find('.ins-section-container'); $ma...
/* Name: UI Elements / Lightbox - Examples Written by: Okler Themes - (http://dadebaran.ir) Theme Version: 1.4.1 */ (function( $ ) { 'use strict'; /* Single Image */ $('.image-popup-vertical-fit').magnificPopup({ type: 'image', closeOnContentClick: true, mainClass: 'mfp-img-mobile',...
#!/bin/sh ':' //# https://sambal.org/?p=1014 ; exec `dirname $0`/../../node_modules/.bin/babel-node "$0" "$@" console.log('Hello, world !') //import { Random } from 'random-js' import { Random } from '@offirmo/random' console.log(Random) const mersenne_twister_engine = Random.engines.mt19937() //mersenne_twister_en...
import {CalendarCreator} from "./CalendarCreator.js"; (function (){ let calendar = new CalendarCreator(); calendar.createCalendars(20, -12); console.log(calendar); })();
import { stringify } from 'qs'; import request from '@/utils/request'; import { getAuthority } from '@/utils/authority'; export async function getProducts(params) { return request(`/api/product/list?${stringify(params)}`); } export async function saveProduct(params) { return request(`/api/product/save?ref=${new Da...
(function() { var app = angular.module("krerum"); app.controller("AddItemController", ['$scope', '$http','growl', function($scope, $http, growl) { console.log("AddItemController"); $scope.obj = { categories: [], category_id: '', sub_categories: [], ...
const mongoose = require('mongoose') const { Schema } = mongoose const AccountSchema = new Schema({ userId: { type: Schema.Types.ObjectId, ref: 'User' }, accessToken: { type: String, required: true }, itemId: { type: String, required: true }, institutionId: { type: String, ...
 module.exports = { devtool:"eval-source-map", entry: { DateTimeSelector:'./js src/DateTimeSelector.js', }, output: { path: __dirname+"/js src", filename: '[name].bundle.js', //publicPath:"/....." 如果设置了,那么index.html里边引用的js就需要到这个文件夹下引用,如果没设,那...
import database from '../../database/database'; import Endpoint from '../endpoint'; /** * api list_address */ class _72dlrjquBORj0rhx extends Endpoint { constructor() { super('72dlrjquBORj0rhx'); } /** * returns records from table address. it returns the newest records by * default ...
tinyMCE.addI18n('en.table_dlg',{rules_border:"border",rules_box:"box",rules_vsides:"vsides",rules_rhs:"rhs",rules_lhs:"lhs",rules_hsides:"hsides",rules_below:"below",rules_above:"above",rules_void:"void",rules:"Rules",frame_all:"all",frame_cols:"cols",frame_rows:"rows",frame_groups:"groups",frame_none:"none",frame:"Fra...
/** * Copyright (C) 2006-2019 Talend Inc. - www.talend.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 required...
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+ZDr":function(t,e,n){"use strict";n("2Spj"),n("0l/t"),n("8+KV"),n("pIFo");var r=n("TqRt");e.__esModule=!0,e.withPrefix=h,e.withAssetPrefix=function(t){return["/portfolio"].concat([t.replace(/^\//,"")]).join("/")},e.navigateTo=e.replace=e.push=e.navigate=e.defau...
/** @jsx jsx */ import { jsx } from '@emotion/core' import '@testing-library/jest-dom/extend-expect' import { render, cleanup } from '@testing-library/react' import { css, cx } from '.' afterEach(cleanup) describe('#cx', () => { it('throws with string value', () => { expect(() => render(<div css={cx(`margin: 2p...
import { createAppContainer, createStackNavigator } from 'react-navigation' import Login from 'App/Containers/Login/Login' import TabNavigator from 'App/Containers/TabNavigator/TabNavigator' import Profile from 'App/Containers/Profile/Profile' import ForgetPassword from 'App/Containers/ForgetPassword/ForgetPassword' i...
import formatPrice from '../../modules/format-price'; import './index.css'; function ValueCell({value, highlightProfit, children, noValue = '-'}) { let className = 'center-content'; if(highlightProfit){ className = `${className} ${value > 0 ? 'craft-profit' : 'craft-loss'}`; } return <di...
import React from 'react'; import { render } from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import { AppContainer } from 'react-hot-loader'; import { Provider } from 'react-redux'; import store from './store'; import App from './App'; import './app.global.css'; import './scss/index.global.scss'; r...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'de', { bulletedTitle: 'Aufzählungslisteneigenschaften', circle: 'Ring', decimal: 'Dezimal (1, 2, 3, etc.)', disc:...
import { Paragraph } from './paragraph'; import { adjustSize } from '../../../util'; var defaultFontMetrics = { lineHeight: 0, descent: 0, }; // Each text model stored in the core has a corresponding typeset. // When a model is changed, the core calls 'update()'. // // Paragraphs are separated with the characte...
/** * @author: @AngularClass */ module.exports = function(config) { var testWebpackConfig = require('./webpack.test.js')({env: 'test'}); var configuration = { // base path that will be used to resolve all patterns (e.g. files, exclude) basePath: '', /* * Frameworks to use * * availa...
import React, { Component } from 'react'; class Resume extends Component { render() { if (this.props.data) { var skillmessage = this.props.data.skillmessage; var education = this.props.data.education.map(function (education) { return <div key={education.school}><h3>{education.school}</h3> ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var path = require("path"); var webpack = require("webpack"); const merge = require("webpack-merge").merge; const paths = require("./p...
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function e(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),i=0;r>i;i++)n[i]=arguments[i+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:retur...
/* Translators (2009 onwards): * - Fulup */ /** * @requires OpenLayers/Lang.js */ /** * Namespace: OpenLayers.Lang["br"] * Dictionary for Brezhoneg. Keys for entries are used in calls to * <OpenLayers.Lang.translate>. Entry bodies are normal strings or * strings formatted for use with <OpenLayers.S...
import { Annotation, AnnotationView } from "./annotation"; import { OpenHead } from "./arrow_head"; import { ColumnDataSource } from "../sources/column_data_source"; import * as p from "../../core/properties"; import { atan2 } from "../../core/util/math"; export class ArrowView extends AnnotationView { initialize()...
Gordon.JSScriptWriter = function(abcfile, jsNamespace) { this.abcfile = abcfile; this.jsNamespace = jsNamespace; this.reset(); }; Gordon.JSScriptWriter.prototype = { reset: function() { this.script = ""; this.indentAmount = 0; }, writeClass: function(classObj) { }, ...
webpackHotUpdate('static/development/pages/blog.js', { /***/ './node_modules/css-loader/dist/cjs.js?!./node_modules/next/dist/compiled/postcss-loader/index.js?!./src/styles/header.module.css': /*!**********************************************************************************************************************...
'use strict'; /* Converts media from a Soundcloud playlist into items. input: none output: none */ ns('Washers.SoundCloud', global); Washers.SoundCloud.Playlist = function(config, job) { Washers.SoundCloud.call(this, config, job); this.name = 'SoundCloud/Playlist'; this.className = Helpers.buildClassName(...
var Vue = require('vue'); var Icon = require('../../../src/components/icons/icon.vue'); describe('Button Spec', function() { var vm; beforeEach(function () { vm = new Vue({ template: '<icon value="edit">', replace: false, components: { 'icon': Icon ...
/* esr version 0.9.3 */ var esr = (function () { 'use strict'; var VERSION = "0.9.3"; var isarray = Array.isArray || function (arr) { return Object.prototype.toString.call(arr) == '[object Array]'; }; /** * Expose `pathToRegexp`. */ var pathToRegexp_1 = pathToRegexp; var parse_1 = parse; va...
'use strict'; const { Segments, Joi } = require('celebrate'), validation = require('../models/validation'); module.exports = { getAll: { [Segments.QUERY]: Joi.object().keys({ limit: validation.queryParam.limit, offset: validation.queryParam.offset, userID: validation.user.id, type: validation.activity...
import dateUtils from '../../../../core/utils/date'; import { getViewStartByOptions, setOptionHour } from './base'; import { getValidStartDate } from './week'; const SATURDAY_INDEX = 6; const SUNDAY_INDEX = 0; export const isDataOnWeekend = (date) => { const day = date.getDay(); return day === SATURDAY_INDEX...
import { Ingredient } from "../../alchemy/ingredients.js"; import { ING_OBJ_STORE } from "../config.js"; import {equals, equalsAnyOf, startsWith} from './query.js' import { logger } from "../logger.js"; /** * @typedef IngredientEntry * @property {string} dlc the downloadable content the ingredient belongs to. * @pro...
/** 入驻小区 **/ (function (vc) { var DEFAULT_PAGE = 1; var DEFAULT_ROWS = 100; vc.extends({ data: { newOaWorkflowFormInfo: { formJson: {}, conditions: { }, flowId: '' } }, _initMethod: function (...
//ConfigurableFirmData var five = require("johnny-five"); var board = new five.Board({ port: "COM5" }); var Stream = require('stream'); var flow_stream = new Stream(); var plotly = require('plotly')('workshop','v6w5xlbx9j'); var data = [{ x : [], y : [], stream : { token : '25tm9197rz', maxpoints : 500...
import React, { useEffect, useState } from "react"; import Slide from "react-reveal/Slide"; import moment from "moment"; import Commits from "./GraphComponents/ChartCommits.js"; import Languages from "./GraphComponents/ChartLanguages.js"; import Time from "./GraphComponents/ChartTime.js"; import { colours } from "../A...
!function(r){function n(r){function n(r,n,e){var i=null;if(t(n)&&(l(n),a(r),o(r),s(n),p>=2)){var u=d(n),v=0,W=f();"undefined"==typeof D[n.bars.order]&&(h(u)?D[n.bars.order]=-1*b(g,u-1,Math.floor(p/2)-1)-W:D[n.bars.order]=b(g,Math.ceil(p/2),u-2)+W+2*y),v=D[n.bars.order],i=c(e,n,v),e.points=i}return i}function t(r){retur...
import React, {Component} from 'react'; import { DataStore } from '@aws-amplify/datastore'; import { UserInformation } from '../models'; import "survey-react/survey.css"; import * as Survey from "survey-react"; import { render, ReactDOM } from 'react-dom'; class Profile extends Component { constructor(props){ super...
class Execute { constructor() { this.execFunction = null; } execute(options) { return this.execFunction('execute', options); } } module.exports = Execute;
import React from 'react'; import fetch from 'isomorphic-fetch'; import StoryCard from '../StoryCard/StoryCard'; import '../StoryCard/StoryCard.css'; import '../StoryCard/StoryFooter.css'; import '../StoryCard/StoryLink.css'; import Budget101 from '../Budget101'; import StackedArea from '../StackedAreaChart'; import Bu...
import { Upload, Button, Icon } from 'antd'; const props = { action: '//jsonplaceholder.typicode.com/posts/', onChange({ file, fileList }) { if (file.status !== 'uploading') { console.log(file, fileList); } }, defaultFileList: [{ uid: 1, name: 'xxx.png', status: 'done', reponse: '...
import Backbone from 'backbone'; import { bindAll } from 'underscore'; import { on, off, getElement, getKeyChar, isTextNode, getElRect, getUiClass } from 'utils/mixins'; import FramesView from './FramesView'; const $ = Backbone.$; let timerZoom; export default Backbone.View.extend({ events: { whee...