text stringlengths 2 1.04M |
|---|
{
"translatorID": "dac476e4-401d-430a-8571-a97c31c3b65e",
"label": "Taylor and Francis+NEJM",
"creator": "Sebastian Karcher",
"target": "^https?://(www\\.)?(tandfonline\\.com|nejm\\.org)",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs... |
import React from 'react';
import { connect } from 'react-redux';
import {EnhanceLoading} from '../../../../components/Enhance';
import {createCommonTabPage} from '../../../../standard-business/createTabPage';
import {getPathValue} from '../../../../action-reducer/helper';
import {Action} from '../../../../action-reduc... |
var config = {
apiKey: "AIzaSyDQoN-9i2AJc8Uih0hkazoFbLqZTpOd8jI",
authDomain: "webchatdata-dc598-default-rtdb.firebaseio.com",
databaseURL: "https://webchatdata-dc598-default-rtdb.firebaseio.com",
storageBucket: "",
messagingSenderId: "275692971177"
};
firebase.initializeApp(config);
const msg = do... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=payment_stream.js.map |
import { miqFetch } from './fetch';
import { base64encode } from './compat';
const miqDeferred = window.miqDeferred;
/*
* API.get(url, options) - use API.get('/api'), returns a Promise
* API.delete - (the same)
* API.post(url, data, options) - returns Promise
* API.put - (the same)
* API.patch - (the same)
* API... |
module.exports = ({
classname,
filename,
}) => {
return `
import builder from "@daybrush/builder";
export default builder([
{
name: "${classname}",
input: "src/index.umd.ts",
output: "./dist/${filename}.js",
resolve: true,
},
{
name: "${classname}",
i... |
const chai = require('chai');
const expect = chai.expect;
const {
BrowserSystem,
CanvasBasedSystem,
SystemEvents,
SystemState,
} = require('./../../lib/core/System.js');
describe('System Module', function () {
describe('System States', function () {
it('should have a stopped state', function () {
expect(Sys... |
'use strict';
var log = require('../log.js');
var stringify = require('../stringify/stringify.js');
var Node = require('./Node.js');
var Scalar = require('./Scalar.js');
var toJS = require('./toJS.js');
const MERGE_KEY = '<<';
function addPairToJSMap(ctx, map, { key, value }) {
if (ctx && ctx.doc.schema.merge && ... |
(function () {
'use strict';
angular
.module('app.modules.evaluations.prototypes')
.controller('HealthRecordsDoctorsScheduleCtrl', HealthRecordsDoctorsScheduleCtrl)
HealthRecordsDoctorsScheduleCtrl.$inject = ['$rootScope', '$scope', '$timeout', '$http'];
function HealthRecordsDoctorsS... |
import { WINDOW } from './constants';
/**
* Check if the given value is not a number.
*/
export const isNaN = Number.isNaN || WINDOW.isNaN;
/**
* Check if the given value is a number.
* @param {*} value - The value to check.
* @returns {boolean} Returns `true` if the given value is a number, else `false`.
*/
ex... |
const prs = require('./');
const resolver = resolve => {
setTimeout(() => {
resolve('foo');
}, 1000);
};
prs(resolver).then(val => {
console.log(val);
});
async function comp() {
const func = value => value;
const promise = prs.compose(func);
const value = await promise('check');
console.log('value... |
/**
* 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 === '... |
import {css} from './style';
import {attr} from './attr';
import {isVisible} from './filter';
import {clamp, each, endsWith, includes, intersectRect, isDocument, isNumeric, isUndefined, isWindow, pointInRect, toFloat, toNode, ucfirst} from './lang';
const dirs = {
width: ['x', 'left', 'right'],
height: ['y', '... |
/*!
* jQuery JavaScript Library v2.1.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-12-18T15:11Z
*/
(function( global, factory ) {
if (... |
import VCouponPicker from './VCouponPicker'
VCouponPicker.install = function (Vue) {
Vue.component(VCouponPicker.name, VCouponPicker)
}
export default VCouponPicker |
/*global cordova, module*/
module.exports = {
getNetworkServices: function (service, successCallback, errorCallback) {
var processResponse = function (data) {
successCallback(data);
};
cordova.exec(processResponse, errorCallback, "serviceDiscovery", "getNetworkServices", [service]);
}
}; |
"use strict";
const clientReorder = require("./client-reorder");
module.exports = function(input, out) {
// We cannot call beginSync() when using renderSync(). In this case we will
// ignore the await-reorderer tag.
if (out.isSync()) {
return;
}
var global = out.global;
// We have already invoked an... |
import React from 'react';
import ReactDOM from 'react-dom';
import ReactTestUtils from 'react-dom/test-utils';
import { getDOMNode } from '@test/testUtils';
import MonthDropdownItem from '../MonthDropdownItem';
import { format } from '../../utils/dateUtils';
import { CalendarContext } from '../Calendar';
import { crea... |
'use strict';
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actua... |
// Copyright 2014 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.
/**
* @constructor
* @extends {WebInspector.View}
*/
WebInspector.InspectedPagePlaceholder = function()
{
WebInspector.View.call(this);
this.el... |
'use strict';
var cybersourceRestApi = require('cybersource-rest-client');
var path = require('path');
var filePath = path.resolve('Data/Configuration.js');
var configuration = require(filePath);
function verbose_request_with_all_fields(callback) {
try {
var configObject = new configuration();
var apiClient = ne... |
import * as core from '../../../src/api/core'
import * as APIswitch from '../../../src/api/switch'
import { CONTRACTS, NEO_NETWORK } from '../../../src/consts'
import { ContractParam } from '../../../src/sc'
import { Account } from '../../../src/wallet'
import testKeys from '../../unit/testKeys.json'
describe('Integra... |
const glob = require('glob');
const fs = require('fs');
const path = require('path');
function countFolders(path) {
return (path.match(/\//g) || []).length;
}
const content = glob
.sync('**/.gitignore')
.sort((a, b) => countFolders(a) - countFolders(b))
.map(gitignore => {
const dir = path.dirname(gitigno... |
/**
*
* Hall Pod for Bip.IO
*
* Copyright (c) 2017 InterDigital, 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/LICENS... |
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Creator_CreateEvent_svelte"],{
/***/ "./resources/js/Pages/Creator/CreateEvent.svelte":
/*!*******************************************************!*\
!*** ./resources/js/Pages/Creator/CreateEvent.svelte ***!
\*************... |
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
// Give the user something pretty to look at first
window.navigator.geolocation.getCurrentPosition(function(position) {
new google.maps.Map(document.getElementById('map'), {
zoom: 10,
center: new google.maps.LatLng(position.coords.latitude, position.coords.longitude),
mapTypeId: google.maps.MapTypeId.ROADMAP
})... |
/**
* @const {Function} fileListener
* @description listen events of file emitter
*/
const fileListener = require('./file-listener') ;
/**
* @exports Function
* @param {object} reloadEmitter file event emitter
* @return {Function} socket emitter/listener
*/
module.exports = function() {
return socket => {
... |
/* eslint-disable func-names, prefer-rest-params, consistent-return, no-shadow, no-self-compare, no-unused-expressions, yoda, prefer-spread, babel/camelcase, no-param-reassign */
/* global Issuable */
/* global emitSidebarEvent */
import $ from 'jquery';
import { escape, template, uniqBy } from 'lodash';
import axios ... |
import React from 'react'
import {theme as chakraTheme} from '@chakra-ui/core'
import {rem as remp, rgb, margin} from 'polished'
const colors = {
primary: 'rgb(87, 143, 255)',
primary2: 'rgb(83, 86, 92)',
text: 'rgb(83, 86, 92)',
muted: 'rgb(150, 153, 158)',
gray: 'rgb(245, 246, 247)',
gray2: 'rgb(232, 234... |
let show = true;
const menu = document.querySelector(".menu");
const btnMenu = document.querySelector(".btn_menu");
const menuItem = document.querySelectorAll("nav li");
const submenu = document.querySelector("nav li ul.submenu");
function ativar_menu() {
if (window.matchMedia("(max-width: 780px)").matches) {
... |
require('./console')();
var express = require('express'),
app = express(),
argv = require('yargs').argv,
os = require('os'),
port = parseInt(argv.port, 10) || 8085,
logger = require('morgan'),
moment = require('moment'),
bytes = require('bytes');
if (port < 1) {
console.error('invalid port');
return;
}
app.se... |
const BaseJoi = require('joi');
const sanitizeHtml = require('sanitize-html');
const extension = (joi) => ({
type: 'string',
base: joi.string(),
messages: {
'string.escapeHTML': '{{#label}} must not include HTML!'
},
rules: {
escapeHTML: {
validate(value, helpers) {
... |
import React from 'react';
import {TouchableWithoutFeedback,Keyboard} from 'react-native';
const DismissKeyboard = ({children}) =>{
return(
<TouchableWithoutFeedback on Press={()=>Keyboard.dismiss()}>
{children}
</TouchableWithoutFeedback>
);
}
export default DismissKeyboard; |
/**
* Layout component that queries for data
* with Gatsby's useStaticQuery component
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react"
import PropTypes from "prop-types"
import { useStaticQuery, graphql } from "gatsby"
import Header from "./Header/Header"
import "./layout.css"... |
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
class Game {
constructor() {
this.resetTitle = createElement("h2");
this.resetButton = createButton("");
this.leadeboardTitle = createElement("h2");
this.leader1 = createElement("h2");
this.leader2 = createElement("h2");
this.playerMoving = false;
this.leftKeyActive = false;
this.bla... |
var packager = require("electron-packager");
var options = {
arch: "x64",
platform: process.platform,
dir: "./",
"app-copyright": "Super Simple",
"app-version": "0.0.1",
asar: true,
icon: "./logo.ico",
name: "SuperSimpleBrowser",
ignore: [
"releases",
".git",
"yarn-error.log",
"yarn.lo... |
/*
* Copyright 2020 Google LLC
*
* 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 by applicable law or agreed to ... |
'use strict';
var IDENTIFIER = /^[a-z_$][a-z0-9_$]*$/i;
var customRuleCode = require('./dotjs/custom');
/**
* Define custom keyword
* @this Ajv
* @param {String} keyword custom keyword, should be a valid identifier, should be different from all standard, custom and macro keywords.
* @param {Object} definition ke... |
/*!
Copyright 2008-2021 SpryMedia Ltd.
This source file is free software, available under the following license:
MIT license - http://datatables.net/license
This source file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or F... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Retired", "CONTRIBUTION AMOUNT (F3L Bundled)": "10.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "n/a", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "8791 Silverberry Ave", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDI... |
/**
* Copyright 2017 The AMP HTML Authors. 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 require... |
const {DRIVE_MANIFEST_FILENAME} = require('./const')
const {maybe} = require('./common')
const {readFile} = require('./read')
const {writeFile} = require('./write')
// helper to read the manifest into an object
function readManifest (archive, cb) {
return maybe(cb, async function () {
var data = await readFile(a... |
Vue.use(VeeValidate)
const store = new Vuex.Store({
state: {
count: 8,
title: 'halo',
placeholder: '',
autocomplete: '',
readonly: '',
},
mutations: {
updatePlaceholder (state, placeholder) {
state.placeholder = placeholder
},
updateAutocomplete (state, autocomplete) {
... |
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_enterprise/store/index"],{291:
/*!*********************************************************************************************!*\
!*** /Users/xuxu/Documents/Github/VOAC/main.js?{"page":"pages_enterprise%2Fstore%2Findex"} ***!
\**********************... |
var addressInit = function(_cmbProvince, _cmbCity, _cmbArea, _cmbStreet, defaultProvince, defaultCity, defaultArea,defaultStreet)
{
var cmbProvince = document.getElementById(_cmbProvince);
var cmbCity = document.getElementById(_cmbCity);
var cmbArea = document.getElementById(_cmbArea);
var cmbStreet = d... |
// eslint-disable
// this is an auto generated file. This will be overwritten
export const onCreateUser = `subscription OnCreateUser {
onCreateUser {
id
userName
value
}
}
`;
export const onUpdateUser = `subscription OnUpdateUser {
onUpdateUser {
id
userName
value
}
}
`;
export const on... |
(function(){
var app = angular.module("emailPrototype", []);
app.filter("replaceDashes", function(){
return function(input){
input = input || '';
return input.replace(/-/g, function(character){ return character.replace("-", " ")});
}
})
app.filter("replacePluses", function(){
return f... |
import Options from './Options'
import Utils from './Utils'
class K_Aajax {
getJSON(url, data = {}, callback, errorCallback, async = true) {
let request = this._setRequest(url,callback,errorCallback)
request.open('GET',Utils.urlAppendData(url,data), async)
//request.setRequest... |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 22.1.3.23
esid: sec-array.prototype.slice
description: The value `-0` is converted to `0`
info: |
[...]
3. Let relativeStart be ? ToInteger(start).
4. If rel... |
/* global AFRAME */
if (typeof AFRAME === "undefined") {
throw new Error(
"Component attempted to register before AFRAME was available."
);
}
/**
* Example component for A-Frame.
*/
AFRAME.registerComponent("example", {
schema: {},
/**
* Set if component needs multiple instancing.
*/
multiple: ... |
(function(n){n.extend({bb_filter:function(t,i,r){n(t).data("bb_filter",{obj:i,method:r})}});n(function(){n(document).on("click",function(t){var i=n(t.target),r=i.closest(".popover-datetime"),u,f,e;r.length==1&&(u=r.attr("id"),f=n('[aria-describedby="'+u+'"]'),f.closest(".datetime-picker").hasClass("is-filter"))||(e=i.c... |
const name = 'ViewportGridService';
const publicAPI = {
name,
getState: _getState,
setActiveViewportIndex: _setActiveViewportIndex,
setDisplaysetForViewport: _setDisplaysetForViewport,
setLayout: _setLayout,
setCachedLayout: _setCachedLayout,
setServiceImplementation,
reset: _reset,
set: _set,
};
co... |
(function() {
{%- include scripts/lib/swiper.js -%}
var SOURCES = window.TEXT_VARIABLES.sources;
window.Lazyload.js(SOURCES.jquery, function() {
var template =
'<div class="swiper gallery__swiper">' +
'<div class="swiper__wrapper">' +
'</div>' +
'<div class="swiper__button swiper... |
BFinance = {};
BFinance.Stock = {
'AfterHoursChangeRealtime':null,
'AnnualizedGain':null,
'Ask':null,
'AskRealtime':null,
'AverageDailyVolume':null,
'Bid':null,
'BidRealtime':null,
'BookValue':null,
'Change':null,
'ChangeFromFiftydayMovingAverage':null,
'ChangeFromTwoHundredd... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.sl');
goog.require('Blockly.Msg');
Blockly.Msg["ADD_COMMENT"] = "Dodaj komentar";
Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Ni mogoče izbrisati spremenljivke %1, ker je uporabljena v definiciji funkcije %2";
B... |
/**
* @license
* Lo-Dash 1.3.1 (Custom Build) <http://lodash.com/>
* Build: `lodash backbone exports="amd,commonjs,global,node" -o ./dist/lodash.backbone.js`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.4.4 <http://underscorejs.org/>
* Copyright 2009-2013 Jerem... |
/* =============================================================
* bootstrap-typeahead.js v2.3.2
* http://twitter.github.com/bootstrap/javascript.html#typeahead
* =============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "L... |
/*
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, software
distributed under the License is di... |
module.exports = {
purge: {
content: ["./src/**/*.svelte"],
},
theme: {
extend: {
colors: {
orange: {
500: "#ff3e00",
},
},
},
},
variants: {},
plugins: [
require('@tailwindcss/typography')
],
}; |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ISerializer.js.map |
/*global define*/
define({
"root": true,
"es": true,
"fr": true,
"zh": true,
"ru": true,
"ar": true
}); |
/*
* angular-ui-bootstrap
* http://angular-ui.github.io/bootstrap/
* Version: 0.14.3 - 2015-10-23
* License: MIT
*/
angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","u... |
import React from 'react';
import FlashMessage from './FlashMessage';
import { connect } from 'react-redux';
import {
ADD_FLASH_MESSAGE,
MESSAGE_LOG_IN_SUCCESSFULY,
DELETE_BY_VALUE_FLASH_MESSAGES
} from '../../../api/flash/flashActions'
import './FlashMessageListLayout.scss'
import { EMPTY_STRING } from '../../..... |
/**
* Created by Martin on 2017/9/19.
*/
class MXRSocketUserModel{
constructor(){
this.userKeyValues = {};
}
setData(data) {
if (typeof data === 'string')
{
Object.assign(this.userKeyValues, JSON.parse(data));
}
else
Object.assign(this.use... |
import Vue from 'vue'
import Vuex from 'vuex'
import user from './module/user'
import app from './module/app'
import gis from './module/gismanage'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
//
},
mutations: {
//
},
actions: {
//
},
modules: {
user,
app,
gis
}
}) |
(function() {
var BrowserService, LRWebSocketServer, Path, fs, soa, urloverride,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.pro... |
angular.module('App').controller(
'EmailMXPlanDeleteRedirectionCtrl',
class EmailMXPlanDeleteRedirectionCtrl {
/**
* Constructor
* @param $scope
* @param $stateParams
* @param $translate
* @param Alerter
* @param WucEmails
*/
constructor($scope, $stateParams, $translate, A... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon( /*#__PURE__*/React.createElement("path", {
d: "M19.8 10.7L5.15 5.35c-.52-.19-1.1.08-1.3.6-.19.53.08 1.11.6 1.3L17.6 12H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5.5c0-.8-.5-1.6-1.2-1.8zM7 17H5v-... |
// This base model was auto-generated by export_app
// PLEASE DO NOT EDIT
// you can make changes in app/models/to_do_list/day.js
// or regenerate this file by running
// `./manage.py export to-do-list/days`
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import { hasMany } from 'ember-dat... |
import styled from "@emotion/styled"
const ResponsiveMiniChart = styled.span`
& iframe,
& div {
width: 100% !important;
}
@media (max-width: 769px) {
& iframe,
& div {
border-radius: 8px !important;
height: 111px !important;
}
}
@media (min-width: 769px) {
& iframe,
& div... |
(function($) {
$.BookView = function(options) {
jQuery.extend(this, {
currentImg: null,
windowId: null,
currentImgIndex: 0,
stitchList: [],
canvasID: null,
imagesList: [],
imagesListRtl: [],
element: null,
f... |
/*!
* Qoopido.js library v3.2.8, 2014-5-23
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(t){window.qoopido.register("support/css/transform/2d",t,["../../../support","../transform"])}(function(t,o,r,s,e,n){"use strict";var p=t.support;return p.addTest("/css/t... |
/*!
* Bootstrap Table of Contents v1.0.0 (http://afeld.github.io/bootstrap-toc/)
* Copyright 2015 Aidan Feldman
* Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */
!function(e){"use strict";window.Toc={helpers:{findOrFilter:function(e,t){var n=e.find(t);return e.filter(t).add(n)... |
function arrayMaximalAdjacentDifference(inputArray) {
let max = 0;
for (let i = 0; i < inputArray.length - 1; i++) {
let t = Math.abs(inputArray[i] - inputArray[i + 1]);
if (t > max) max = t;
}
return max;
} |
// Note on a11y: https://css-tricks.com/can-make-icon-system-accessible/
const reactIconTemplate = ({componentName, svg}) => `
/**
* This file was automatically generated with @twilio-labs/svg-to-react
*/
import * as React from 'react';
import {UID} from 'react-uid';
import {IconWrapper, IconWrapperProps} from './hel... |
import { computed } from 'vue';
export default {
name: 'v-test-input',
template: `
<div class="p-6">
<label :for="inputID">
<slot>Test label</slot>
</label>
<input type="text" :id="inputID" v-model="message"/>
</div>
`,
props: {
modelValue: String,
stringLength: Number... |
const bcrypt = require('bcrypt')
const promisify = require('util').promisify
const jwt = require('jsonwebtoken')
const AppError = require('../../error')
const config = require('../../config')
const User = require('../../db').User
module.exports = (req, res) => {
let user = null
if (!req.body.password || !req.body... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const passport = require("passport");
const jwt = require("jsonwebtoken");
const passport_github2_1 = require("passport-github2");
const handleUser = function (user, done) {
done(null, user);
};
const createToken = function (data) {
re... |
require(['alerty'], function(alerty) {
document.getElementById('test1').onclick = function () {
alerty.alert('123', {title: 'Info', time:2222}, function(){alert('callback')})
}
document.getElementById('test2').onclick = function () {
alerty.toasts('123', {bgColor: '#ccc', fontColor: '#000'}, function(){al... |
(window.webpackJsonpreact_ads=window.webpackJsonpreact_ads||[]).push([[239],{219:function(e,r,t){"use strict";t.r(r),t.d(r,"spec",(function(){return d}));var n=t(277),a=t(278),i=t(281),d={code:"slimcut",aliases:["scm"],supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var r=!1;return void 0!==e.param... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import { NativeBaseProvider, extendTheme } from "native-base";
const theme = extendTheme({
config: {
initialColorMode: "dark",
},
});
ReactDOM.render(
<React.StrictMode>
<NativeBaseProvider theme={theme}>
<App />... |
import { createElement, Component } from 'react'
import getDisplayName from 'react-display-name'
import debounce from 'just-debounce-it'
const debounceHandler = (handlerName, delay, leadingCall) => (Target) => {
class DebounceHandler extends Component {
constructor (props, context) {
super(props, context)
... |
import { computed } from '@ember/object';
import EditFormController from 'ember-flexberry/controllers/edit-form';
import FdFormUnsavedData from '../mixins/fd-form-unsaved-data';
export default EditFormController.extend(FdFormUnsavedData, {
parentRoute: 'fd-class-list-form',
header: computed.readOnly('model.name')
... |
import { System } from "./generic";
import HeatMixin from "./generic/heatMixin";
// It's easier to manage power if there is just one phaser system with multiple beams than
// If there are multiple phaser systems
export default class Phasers extends HeatMixin(System) {
constructor(params = {}) {
super(params);
... |
import styled, { css } from 'styled-components'
export const StyledContainer = styled.div`
${({ theme }) => theme.mixins.flexBetween};
opacity: 0;
visibility: hidden;
padding: 1.5rem;
position: fixed;
bottom: -90px;
left: 0;
right: 0;
margin: 0 20%;
min-height: 100px;
border-radius: ${({ theme })... |
import React from "react"
import { SvgIcon } from "@material-ui/core"
function AirplaneIcon(props) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<SvgIcon {...props}>
<path d="M3.4 20.4L20.85 12.92C21.66 12.57 21.66 11.43 20.85 11.08L3.4 3.6C2.74 3.31 2.01 3.8 2.01 4.51L2 9.12C2 9.... |
/**
* 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.
*
* @provides... |
const jsonServer = require('json-server')
const server = jsonServer.create()
const router = jsonServer.router('db.json')
const middlewares = jsonServer.defaults()
const port = process.env.PORT || 8080;
server.use(middlewares);
server.use(router);
server.listen(port, () => {
console.log(`JSON Server is running in ${... |
(function() {
'use strict';
angular.module('myApp').controller('UsuarioCtrl', UsuarioCtrl);
UsuarioCtrl.$inject = ['config', 'usuarioService', '$rootScope', '$scope', '$state', '$mdDialog'];
function UsuarioCtrl(config, usuarioService, $rootScope, $scope, $state, $mdDialog) {
var vm = this;
... |
import styled from 'styled-components';
export const Container = styled.div`
width: 100%;
div{
display: flex;
align-items: center;
justify-content: space-between;
h2{
flex: 1;
font-family: 'Mulish', sans-serif;
font-weight: 800;
font-size: 48px;
letter-spacing: -0.48... |
/**
* @author sunag / http://www.sunag.com.br/
*/
import {
LinearFilter,
Mesh,
OrthographicCamera,
PlaneBufferGeometry,
RGBAFormat,
Scene,
Vector2,
WebGLRenderTarget
} from '../../../../build/v3d.module.js';
import { NodeMaterial } from '../materials/NodeMaterial.js';
import { Screen... |
const { authenticate } = require('feathers-authentication').hooks;
const commonHooks = require('feathers-hooks-common');
const { restrictToOwner } = require('feathers-authentication-hooks');
const { hashPassword } = require('feathers-authentication-local').hooks;
const restrict = [
authenticate('jwt'),
restrictToO... |
var xorshift = require('xorshift');
/**
* @type {string[]} list of phrases
*/
const phraselist = [
"ah shit! here we go again",
"I swear! the coffee jar was filled c[_]",
"technically it was all copy and paste",
"if no error occured then you are the lucky one (;´・`)>`)",
"Wow! that worked ヽ( ★ω★)ノ",
"Fee... |
import Helper, { states } from './_helper';
import { module, test } from 'qunit';
module('Integration | ORM | Belongs To | One To One | accessor', function(hooks) {
hooks.beforeEach(function() {
this.helper = new Helper();
});
/*
The reference to a belongs-to association is correct, for all states
*/
... |
apishore.config(function($provide){
$provide.decorator('taOptions', ['taRegisterTool', '$delegate', function(taRegisterTool, taOptions){
// $delegate is the taOptions we are decorating
// register the tool with textAngular
taRegisterTool('variables', {
iconclass: "fa fa-tag",
... |
import { notification } from 'antd';
import moment from 'moment';
import {
reqGetConfig,
reqGetOrderList,
reqUpdateSupplier,
reqGetSupplierList,
reqUpdatePurchaser,
reqProducedPurchaserOrder,
reqGetSupplierInfo,
reqRejectList,
reqPurchaseRemark,
} from '../services/awaitSalePurchaseOrderList';
export... |
define([], function() {
var strings = {
"_+tvmKa3YEOqWGKKXzwjtaw": {
"additionalCredentialsWarning": "São necessárias credenciais adicionais para mostrar esta página corretamente.",
"servicePrincipalNotAvaliableError": "O Principal de Serviço de Aplicação Web do SharePoint Online ainda não foi aprovis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.