text
stringlengths
2
1.05M
var config = require('./config.js'); switch (config.type){ case 'pixiv': switch (config.mode){ case 'auth': var auth = require('./pixiv/auth.js'); auth(); break; case 'tag': var tag = require('./pixiv/tag.js'); ...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { Manage...
"use strict"; require("../../lib/jasmine-promise"); var Q = require("q"); var FS = require("../../../fs"); var Mock = require("../../../fs-mock"); var normalize = FS.normal; describe("makeTree", function () { it("should make a branch of a tree", function () { var merged = FS.merge([ Mock({ ...
type = ['','info','success','warning','danger']; demo = { initPickColor: function(){ $('.pick-class-label').click(function(){ var new_class = $(this).attr('new-class'); var old_class = $('#display-buttons').attr('data-class'); var display_div = $('#display-buttons'); ...
import mainTittle from '../data/main.json'; import { getUser, userId } from '../components/appFirebase'; import { renderGallery } from '../layout/gallery'; let userListArrey; function getrefs() { const refs = { galleryTitle: document.querySelector('.gallery__tittle--hide'), }; return refs; } export functio...
/** * MIT License * * Copyright (c) 2017-present, Elasticsearch BV * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
const express = require('express') const router = express.Router() const { authControllers } = require('../controllers') router.post('/login', authControllers.login) module.exports = router
/** * The MIT License (MIT) * * Copyright (c) 2015 - 110001NP Development Team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
export const IDE_DATASET = { emptyStateSvgPath: '/test/empty_state.svg', noChangesStateSvgPath: '/test/no_changes_state.svg', committedStateSvgPath: '/test/committed_state.svg', pipelinesEmptyStateSvgPath: '/test/pipelines_empty_state.svg', promotionSvgPath: '/test/promotion.svg', ciHelpPagePath: '/test/ci_...
/** * =========================================================================== * File: ExperimentDB.js * Author: Antonio Faienza * This file manages the insertion, removal, updating of a Experiment's data * =========================================================================== */ // dependency var expre...
import Vue from "vue" import Router from "vue-router" import Home from "./components/Home.vue" import Status from "./components/Status.vue" import Create from "./components/Create.vue" Vue.use(Router) export default new Router({ routes: [ { path: "/", name: "home", component: Home, }, ...
const _ = require('lodash') const YAML = require('yamljs') module.exports = function cardscriptParser (raw) { // widgetsValid // errors // widgetIndex // property // message let parsed const errors = [] if (_.isString(raw)) { try { parsed = JSON.parse(raw) } catch (jsonError) { ...
jQuery(function () { /** * 低端浏览器给出提示 */ if (!WebUploader.Uploader.support()) { alert('Web Uploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器'); throw new Error('WebUploader does not support the browser you are using.'); } var $ = jQuery; var $wrap = $('#uploader'); /** ...
import { createStore, applyMiddleware } from 'redux' import { composeWithDevTools } from 'redux-devtools-extension' import thunkMiddleware from 'redux-thunk' import reducer from './rootReducer' const exampleInitialState = { count: 0 } export function initializeStore (initialState = exampleInitialState) { return ...
/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,function(t,e,n){"use strict";(function(t,n){var r=Object.freeze({});function o(t){return null==t}function c(t){return null!=t}function f(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t...
import GlideGapsComponent from '@glidejs/glide/src/components/gaps'; import { throttle } from '@glidejs/glide/src/utils/wait'; export default function (Glide, Components, Events) { const Gaps = GlideGapsComponent(Glide, Components, Events); /** * Apply calculated gaps: * - after building, so slides (including c...
/** * Auto-generated action file for "ResourceManagementClient" API. * * Generated at: 2019-05-07T14:38:48.060Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / azure-com-resources-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connect...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
const Discord = require('discord.js'); const axios = require('axios'); module.exports = { name: 'bored', aliases: ['activity', 'newactivity'], description: 'Find something to do', showInHelp: false, easteregg: true, execute: async (bot, message, args) => { try { const res = ...
import {combineReducers} from "redux"; import {tasks} from "./tasks"; import {teams} from "./teams"; import {phases} from "./phases"; import {statuses} from "./statuses"; import {WO} from "./WO"; export const entities = combineReducers({ WO, tasks, statuses, teams, phases, });
var callbackArguments = []; var argument1 = function() { callbackArguments.push(arguments) return 78; }; var argument2 = true; var argument3 = ""; var argument4 = function() { callbackArguments.push(arguments) return {"?ÃúÆc‡":false,"w nñä":[false,false],"\u0019ý1":-29.373224257004285}; }; var argument5 = f...
/** * ---------------------------------------------------------------------------------------------------- * Reverses Conversation Archival. [Run] * * @description - Reverses conversation archival. using the Slack API * * @author Buildable Technologies Inc. * @access open * @license MIT * @docs ht...
import request from '@/utils/request' export function add(data) { return request({ url: 'api/activityInformation', method: 'post', data }) } export function del(id) { return request({ url: 'api/activityInformation/' + id, method: 'delete' }) } export function edit(data) { return request...
/** * @constructor * @struct * @param {!ViewModelContext} context */ function FileUploadViewModel(context) { 'use strict'; /** * @type {FileUploadViewModel} */ var self = this; /** * @type {Object<string, {}>} */ var fileUploadItems = {}; /** * @type {function(Arr...
NDSearch.OnPrefixDataLoaded("equ",["Constant"],[["EQUAL",,[["ssGUI::Enums",,,,0,"File:ssGUI/Enums/SymbolKey.hpp:ssGUI.Enums.EQUAL","CClass:ssGUI.Enums:EQUAL"]]]]);
import initServer from './server' console.log('Initializing server.') initServer({ httpAuthMiddleware: false, socketAuthMiddleware: false })
// Backbone.js 1.1.0 // (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc. // (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(...
// Custom reveal.js integration (function(){ var isEnabled = true; document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) { var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key'; var zoomPadding = 20; var revealScale = Reveal.getScale(...
load("201224b0d1c296b45befd2285e95dd42.js"); // Check Debugger.Object.prototype.unwrap surfaces. load("19d7bc83becec11ee32c3a85fbc4d93d.js"); var dbg = new Debugger(); var g = newGlobal(); var gw = dbg.addDebuggee(g); assertEq(Object.getOwnPropertyDescriptor(gw, 'unwrap'), undefined); var d = Object.getOwnPropertyDe...
import test from 'ava' import { timeout } from 'promise-timeout' import request from 'request-promise' import sinon from 'sinon' import WebSocket from 'ws' import authorize from '../../authorize' import { bootstrap, createExpressApp, createDispatcher, createReadRoute, createWebSocket, use } from '../../express' cons...
// Based on https://github.com/remko/gulp-hashsum/blob/master/index.js 'use strict'; const crypto = require('crypto'); const gutil = require('gulp-util'); const _ = require('lodash'); const mkdirp = require('mkdirp'); const slash = require('slash'); const through = require('through'); const fs = require('fs'); const ...
/* @flow */ import { hasOwn } from 'shared/util' import { warn, hasSymbol } from '../util/index' import { defineReactive, toggleObserving } from '../observer/index' /** * 将 provide 属性赋值给 _provided * @param {*} vm */ export function initProvide (vm: Component) { const provide = vm.$options.provide if (provide) ...
var exec = require('cordova/exec'); module.exports = { sendPayReq: function(param,onSuccess,onError){ exec(onSuccess, onError, "Weixin", "sendPayReq", [param]); } };
'use strict'; // TODO: stun call for True Heart sprint ability? // TODO: can we figure out jails from the location of the tethering gobbie? // TODO: you can figure out who it is from who the bomb is on, but 8 blu <_< // Red jail can stay up forever. The same color can be in different spots. // Is it possible ...
(this["webpackJsonppipeline-reach"]=this["webpackJsonppipeline-reach"]||[]).push([[34],{500:function(e,n,s){"use strict";function i(e){e.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbe...
var test = require('tape') var { Readable, Transform } = require('readable-stream') var Query = require('../') var ram = require('random-access-memory') var hypercore = require('hypercore') test('pubsub', function (t) { var feed0 = hypercore(ram) var expected = [] var iv = setInterval(function () { var n = M...
const path = require('path'); const ENV_PRODUCTION = process.env.NODE_ENV === 'production'; const PORT = process.env.PORT || 3000; const NamedModulesPlugin = require('webpack/lib/NamedModulesPlugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); const CommonsChunkPlugin = require('webpack/lib/optimize/...
export function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } export function validateEmail(email) { var re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; retur...
'use strict'; var callBound = require('../helpers/callBound'); var $PromiseResolve = callBound('Promise.resolve', true); // https://ecma-international.org/ecma-262/9.0/#sec-promise-resolve module.exports = function PromiseResolve(C, x) { if (!$PromiseResolve) { throw new SyntaxError('This environment does not su...
/*! (C) Andrea Giammarchi, @WebReflection - Mit Style License */ /**@license (C) Andrea Giammarchi, @WebReflection - Mit Style License */ // revisited by Andrea Giammarchi, @WebReflection // compatible with both Rhino and Node // now it is possible to include this file in the server console without rhinoTimers dependen...
import React, { Component } from "react"; import styled from "styled-components"; export class DayCard extends Component { render() { const { backgroundColor, children } = this.props; return ( <CardContainer style={{ elevation: 5 }} backgroundColor={backgroundColor}> {children} </CardCont...
import { useState } from "react"; // import TodoElement from './TodoElement'; function TodoList() { let [todos, setTodos] = useState([ { id: 1, text: 'Hit the gym' }, { id: 2, text: 'Meet George' }, { id: 3, text: 'Buy eggs' }]); function deleteTodoElement(id) { console.log(`D...
/** * Created by necklace on 2017/1/12. */ import React from "react"; import BaseComponent from "../BaseComponent"; import connectToStores from 'alt-utils/lib/connectToStores'; import {PrivateKey} from "bitsharesjs"; //stores import WalletManagerStore from "../../stores/WalletManagerStore"; import BackupStore from "...
/*! * Module dependencies. */ var EventEmitter = require('events').EventEmitter , VirtualType = require('./virtualtype') , utils = require('./utils') , mquery = require('mquery') , Query , Types /** * Schema constructor. * * ####Example: * * var child = new Schema({ name: String }); * var sc...
/** * Created by LT on 2016/6/29. */ avalon.directive('imgbig', { update: function (value) { var element = this.element; var w1 = element.width; var h1 = element.height; var w2 = w1 + 40; var h2 = h1 + 40; $('.img_big').hover(function(){ $(this).stop().a...
console.log('[Application] Start push listening'); const messaging = firebase.messaging(); messaging.requestPermission().then(function () { console.log('Permission granted'); return messaging.getToken().then(function (currentToken) { if (currentToken) { console.log(currentToken); return currentTo...
import styled from 'styled-components' import MEDIA from 'helpers/mediaTemplates' export const Title = styled.span` display: block; font-size: 1.25rem; font-weight: 500; margin: 1.25rem 1.25rem 0.625rem; ` export const Copy = styled.p` color: #757575; margin: 0 1.25rem 1.25rem; ${MEDIA.TABLET` marg...
'use strict' class ProjectController { async index ({ request }) { const projects = request.team.projects().fetch() return projects } async store ({ request }) { const data = request.only(['title']) const project = request.team.projects().create(data) return project } async show ({ pa...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.styles = undefined; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _obje...
import React from 'react' const SvgComponent = props => ( <svg viewBox="0 0 512 512" {...props}> <path fill="#ffda44" d="M0 85.337h512v341.326H0z" /> <path fill="#d80027" d="M0 343.096h512v83.567H0z" /> <path fill="#0052b4" d="M0 256h512v87.096H0z" /> </svg> ) export default SvgComponent
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[17],{ /***/ "./node_modules/@ionic/core/dist/esm/es5/build/chunk-2f96b3d2.js": /*!***********************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm/es5/build/chunk-2f96b3d2.js ***! \********************...
// Machine: A machine in the game. Used to refine ore. // DO NOT MODIFY THIS FILE // Never try to directly create an instance of this class, or modify its member variables. // Instead, you should only be reading its variables and calling its functions. const client = require(`${__basedir}/joueur/client`); const GameO...
//! moment.js locale configuration //! locale : czech (cs) //! author : petrbela : https://github.com/petrbela ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && defi...
import React, { Component } from 'react' import { graphql } from 'gatsby' import Img from 'gatsby-image' import styled from 'styled-components' import { PropTypes } from 'prop-types' import Layout from '../components/Layout' import SEO from '../components/seo' import SlidingWords from '../components/SlidingWords/Slidi...
const customContextMenuState = { contextMenuSelector: '.ContextMenu', active: false, activeClass: 'ContextMenuActive' }; const toggleCustomContextMenuOn = (elem) => { if (!customContextMenuState.active) { customContextMenuState.active = true; const contextMenuElem = elem.querySelector(customContextMenuState.co...
export function FromNowAgo(timeString) { let time = new Date(timeString).getTime(); if(time <= 0) { return 'NaN'; } time = (new Date().getTime()) - time; time /= 1000; if (Math.abs(time) < 60) { return Math.round(time) + ' s'; } time /= 60; if (Math.abs(time) < 60) { return Math.round(time) + ' m'; ...
/* * Kendo UI Complete v2012.2.710 (http://kendoui.com) * Copyright 2012 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at http://kendoui.com/complete-license * If you do not own a commercial license, this file shall be governed by the trial license terms. */ ;(functi...
module.exports = { getTablets: function (req, res, next) { res.render('tablets/tablets'); } }
import axios from 'axios'; const SET_MOVIES = 'SET_MOVIES'; const setMovies = (movies) => ({ type: SET_MOVIES, movies, }); export const fetchMovies = () => { return async (dispatch) => { try { const { data } = await axios.get('/api/movies'); dispatch(setMovies(data)); } catch (err) { ...
import React, { useEffect } from 'react'; import PropTypes from 'prop-types'; import { IconGitHub, IconLinkedin, IconCodepen, IconXing, IconTwitter } from '@components/icons'; import { socialMedia } from '@config'; import styled from 'styled-components'; import { theme, mixins, media } from '@styles'; const { colors, f...
import server from '../index'; import request from 'supertest'; describe('Videos API request test',()=>{ let res; it('Requesting videos of the "Rain" query', async ()=>{ res = await request(server).get('/videos?q=rain'); expect(res.status).toBe(200); }); it('Requesting video by "id"', as...
var searchData= [ ['gui',['GUI',['../class_xbox_controller_runner_1_1_g_u_i.html',1,'XboxControllerRunner']]] ];
import { createStore, applyMiddleware, compose } from 'redux'; import { reduxReactRouter } from 'redux-router'; import thunk from 'redux-thunk'; import createHistory from 'history/lib/createBrowserHistory'; import routes from '../routes'; import rootReducer from '../reducers'; import DevTools from '../containers/DevToo...
import React from 'react' import PropTypes from 'prop-types' import styles from '../assets/css/line-spin-fade-rotating.min.css' const LineSpinFadeRotating = (props) => { let size = 'la-2x' switch (props.size) { case 'small': size = 'la-1x' break case 'big': size = 'la-3x' break ...
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7041,6602],{86602:function(L,e,t){"use strict";t.r(e);var i=t(24246),s=t(79892),a=t(27378),n=t(23615),r=t.n(n),o=(0,a.memo)((function(L){var e=L.duration,t=L.children;return(0,i.jsxs)("div",{className:s.default.dynamic([["1508221602",[2*e||10]]])+" slider-contain...
import { isUndefined, omitBy, intersection as overlap, } from 'lodash' export { get, set, unset, compose, union, } from 'lodash/fp' import baseDeprecate from 'util-deprecate' // Returns true when two arrays share common items export function hasOverlap (arr1, arr2) { const overlapItems = overlap(ar...
var data = { "body": "<path d=\"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 16.82h2V23h2v-4.18h2V14H9v4.82zm-8 0h2V23h2v-4.18h2V14H1v4.82zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 16.82h2V23h2v-4.18h2V14h-6v4.82z\" fill=\"currentColor\"/>", "width": 24, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildExplicitTypeScriptDependencies = void 0; const typescript_import_locator_1 = require("./typescript-import-locator"); const target_project_locator_1 = require("../../target-project-locator"); function buildExplicitTypeScriptDepende...
function timer(){ console.log('现在是%s',new Date()); setTimeout(function(){ timer(); },1000); } timer();
import assert from 'yeoman-assert'; import helpers from 'yeoman-test'; import path from 'path'; // const helpers = require('yeoman-test'); // const assert = require('yeoman-assert'); // const path = require('path'); const { describe, test } = global; describe('Eslint generator', () => { test('use generator with ...
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); const index_1 = require("./index"); const exprPath = process.argv[2]; if (!exprPath) { console.error(`Usage: certlogic-validate <path of JSON file containing CertLogic expression>`); proc...
export function sortObject ( object, sortWith = [] ) { const objectKeys = sortWith.concat(Object.keys(object).sort()).filter(( el, i, all ) => all.indexOf(el) == i) let nObj = {} objectKeys.forEach(( key ) => { if (key in object) nObj[key] = object[key] }) return nObj }
import React from "react" import { graphql } from "gatsby" import Header from "../components/header" import Footer from "../components/footer" import SEO from "../components/seo" import Usp from "../components/usp" import Hero from "../components/hero" import Card from "../components/card" import Reviews from "../comp...
import {css} from '../../vendor/lit-element/lit-element.js' const cssStr = css` :host { --toast-min-width: 350px; --toast-padding: 10px 15px; --toast-font-size: 16px; } .toast-wrapper { position: fixed; top: 20px; right: 20px; z-index: 20000; transition: opacity 0.1s ease; } .toast-wrapper.hidden { ...
const currentDate = () => new Date(); const xmasDay = () => new Date(2021, 12, 25); const newYear = () => new Date(2022, 01, 01); const valentinesDay = () => new Date(2022, 02, 14); const MILLISECONDSINDAY = () => 24 * 3600 * 1000; const calcDaysUntilXmas = () => { return parseInt((xmasDay() - currentDate()) / M...
var Utils = Origami['o-utils']; function init() { setChildrenDataAttributes(); formatChildElements(); } function formatChildElements() { setElementsHeight(); window.addEventListener('resize', Utils.debounce(setElementsHeight, 250)); } function setElementsHeight() { var textBody = document.getElementsByClassName...
import { connect } from 'react-redux'; import { initializeOrderState, getTransferOrders, getPaymentOrders, } from 'routes/root/routes/Banking/routes/Orders/modules/orders'; import OrdersLayout from '../components/OrdersLayout'; const mapStateToProps = (state) => ({ orderState: state.orders, }); const mapActio...
import { FETCH_ALL_USERS_SUCCESS, FETCH_SINGLE_USER_SUCCESS, FETCH_HOTEL_STAFF_SUCCESS, CHANGE_USER_TYPE_SUCCESS, CREATE_USER_SUCCESS, UPDATE_USER_SUCCESS, DELETE_USER_SUCCESS, } from '../actions/actionTypes'; const initialState = []; const users = (state = initialState, action) => { switch (action.ty...
$(function () { $('#example1').DataTable() $('#example2').DataTable({ 'paging' : true, 'lengthChange': false, 'searching' : false, 'ordering' : true, 'info' : true, 'autoWidth' : false }) });
!function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
const express = require("express"); const app = express(); const logger = require("morgan"); const ScoreBoardRouter = require("./routes/api/scoreboard"); const Scoreboard = require("./models/Scoreboard"); const port = process.env.PORT || 8080; //Connect with MongoDB const connectDB = require("./config/db"); connectDB(...
/* The MIT License (MIT) Copyright (c) 2015 Los Andes University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
/** * Kendo UI v2019.3.917 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
var Worker = require('./highlightJson.worker.js'); // Json-formatter worker module.exports = function (observable, code) { var animTime = 100; var worker = new Worker; worker.onmessage = function (event) { observable(event.data); $(document) .on('click touch', '.tm-code-container .expanded', function jsonC...
webpackJsonp([10],{FlhG:function(e,t){},LXN6:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("7+uW"),a=n("Dd8w"),o=n.n(a),s=n("p+dL"),i="/auth/register",u="/auth/login",c="/auth/logout",l="/auth",d={register:function(e){var t=e.username,n=e.password;return Obje...
/** * Created by 18680666@sun.ac.za on 2017/02/28. */ console.log("I am an async module")
angular.module('plotter.vis.som.circle-filter-control', [ 'services.dimensions', 'services.filter' ]) .directive('plCircleFilterControl', function plCircleFilterControl() { return { restrict: 'A', scope: {}, replace: false, controller: 'CircleFilterControlCtrl', templateUrl: 'vis/som/circle-f...
/** * Register a service inside a generic factory. * * @param String name * @param Function Service * @return Bottle */ var service = function service(name, Service) { var deps = arguments.length > 2 ? slice.call(arguments, 2) : null; var bottle = this; return factory.call(this, name, function Generic...
// @flow /* import config from 'lib/config'; import { catchErrorsWithContext } from 'lib/robust'; import { markTime } from 'lib/user-timing'; import reportError from 'lib/report-error'; */ // import { init as initCmpService } from 'commercial/modules/cmp/cmp'; // import { trackConsent as trackCmpConsent } from 'commerc...
// @loader module?indent=2 module.exports = ({ packagePrefix, name, description, scriptBin, _, useTs }) => { const scripts = { test: `${scriptBin}/run test`, build: `${scriptBin}/run build`, packlimit: `${scriptBin}/run packlimit`, dev: `npm run build -- --watch`, prepare: `npm run build`, pr...
export const delayedValue = (out = console.log) => { /** * Logs the delay and the value then waits before returning a promise that resolves to your value. * * @async * @param {*} [value] - The value to resolve. * @param {number} delay - Defaults to a random delay between 0 and 4000 ms, in steps of 500 ...
'use strict'; exports.up = function(db, cb) { db.runSql( ` ALTER TABLE features ALTER COLUMN archived DROP DEFAULT; ALTER TABLE features ALTER COLUMN archived TYPE bool USING case when archived = 0 then false else true end; ALTER TABLE features ALTER COLUMN archived SET DEFAULT false; `, ...
import React from 'react' const SvgXuc = props => ( <svg width={props.width || 64} height={props.height || 64} {...props}> <defs> <linearGradient id="xuc_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"> <stop offset="0%" stopColor="#FFF" stopOpacity={0.5} /> <stop offset="100%" stopOpacity={0.5...
ReactIntl.__addLocaleData({"locale":"mt","pluralRuleFunction":function (n) {n=Math.floor(n);if(n===1)return"one";if(n===0||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10)return"few";if(n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19)return"many";return"other";},"fields":{"second":{"displayName":"Sekonda","relative":{"0...
import gql from 'graphql-tag'; export default gql` mutation Signup($email: String, $password: String) { singup(email: $email, password: $password) { id email } } `;
module.exports = { purge: { enabled: true, content: [ "./src/**/*.html", "./src/**/*.js", "./src/**/*.ts" ] }, theme: { extend: { }, }, variants: { }, plugins: [] }
import React, { Component } from 'react'; import { FormControl, TextField } from '@material-ui/core'; export default class NumberControlComponent extends Component { onChange = (value) => { if (Number.isFinite(Number.parseFloat(value))) { const { onChange } = this.props; onChange(value); } ...
deepmacDetailCallback("0021a7000000/24",[{"d":"2008-06-18","t":"add","a":"481-10 Byucksan Digital Vally II, RM 1511\nGasan-Dong, Gumchon-Gu\nSeoul City Seoul 153-783\n","c":"KOREA, REPUBLIC OF","o":"Hantle System Co., Ltd.","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"481-10 Byucksan Digital Vally II, RM 15...
import React from 'react' import 'babel-polyfill'; import 'whatwg-fetch'; import ModalEncrypt from '../modal-encrypt/index.jsx'; function renderModalEncrypt(options, container, callback){ let modal = null; ReactDOM.render(<ModalEncrypt options={options} ref={ _modal => { modal = _modal; }} />, container, callback)...