text stringlengths 2 1.04M |
|---|
(function ($) {
'use strict';
var $window = $(window);
// :: Preloader Active Code
$window.on('load', function () {
$('#preloader').fadeOut('slow', function () {
$(this).remove();
});
});
// :: Nav Active Code
if ($.fn.classyNav) {
$('#originalNav').cla... |
import React from "react";
import Axios from "../../../server/node_modules/axios";
import {Redirect} from "react-router-dom"
export default class Modal extends React.Component {
state = {
apparelOptions: [],
colorOptions: [],
redirect: false
}
handleChange = (e) => {
const item = e.target.name;
... |
var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = Object.assign({}, {
plugins: [
new webpack.DefinePlugin(Object.assign({}, {
'process.env.NODE_ENV': '"development"'
})),
new HtmlWebpackPlugin({
inject: 'body... |
"use strict";
class AbstractPager{
constructor(isLogined){
this.isLogined = isLogined;
}
/*子类必须实现*/
_render(){
throw new Exception('子类必须实现');
}
render(){
return `
<!DOCTYPE html>
<html>
<head>
<meta charset=... |
export const DISMISS_MESSAGE = 'DISMISS_MESSAGE';
export const CREATE_REQUEST = 'CREATE_REQUEST';
export const REQUEST_SUCCESS = 'REQUEST_SUCCESS';
export const REQUEST_FAILURE = 'REQUEST_FAILURE';
export const CREATE_TOPIC_REQUEST = 'CREATE_TOPIC_REQUEST';
export const CREATE_TOPIC_FAILURE = 'CREATE_TOPIC_FAILURE';
... |
import{D as e}from"./index.0333ca6a.js";import{P as a}from"./index.19a7a7bf.js";import{u as t}from"./useDescription.651180c7.js";import{y as s,Z as r,B as i,F as n,a2 as o,v as l}from"./vendor.880b4c6c.js";import"./index.63ccfb82.js";/* empty css *//* empty css *//* empty css */im... |
/* */
"format cjs";
(function(process) {
(function(f) {
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = f();
} else if (typeof define === "function" && define.amd) {
define([], f);
} else {
var g;
if (typeof window !== "undefined") {
g ... |
/* eslint-disable no-console */
require('dotenv').config();
// 1) Obtenemos app y PORT mediante "destructuring"
// 2) app y PORT vienen del archivo index de la carpeta server
// NOTA: No es necesario agregar "index" cuando se solicita mediante
const { server, PORT } = require('./server');
require('./database');
// Enc... |
module.exports = function(grunt) {
'use strict';
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-exec');
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.initConfig({
pkg: grunt.file.readJSON... |
import React from 'react';
import { Pressable as ReactPressable, View } from 'react-native';
import { Switch } from './Switch';
import { Text } from '../Text';
import { Component } from '../Component';
import { Layout } from '../../styles/Layout';
export class SwitchInput extends Component {
static defaultProps = {... |
const assert = require('assert');
const { lexer, definitionSyntax: { parse } } = require('./helpers/lib');
describe('definitionSyntax.parse()', () => {
describe('combinator precedence', () => {
const combinators = [' ', '&&', '||', '|']; // higher goes first
const print = node => {
retu... |
export default {
secret: 'dbc31c52b5c483d1471d139f646a0438',
expiresIn: '7d',
}; |
import { createStore, compose, applyMiddleware, combineReducers } from 'redux';
import thunk from 'redux-thunk';
import createHistory from 'history/createBrowserHistory';
import { routerReducer, routerMiddleware } from 'react-router-redux';
import { persistStore, persistReducer } from 'redux-persist';
import storage fr... |
/*
* Write an arrow function that returns the string ‘Hello World’
* */
const greet = () => "Hello World";
console.log(greet()); |
/**
* Created by Marcus on 1/18/17.
*/
'use strict'
// Prevents multiple babel-polyfill imports
if (!global._babelPolyfill) {
require('babel-polyfill')
}
const fs = require('fs')
const path = require('path')
module.exports = {
requireStaticFile(fileName) {
if (process.env.LAMBDA_TASK_ROOT) {
return JS... |
import React, { useContext, useState } from 'react';
import { connect, useDispatch } from 'react-redux';
import { updateClient, updateClients } from '../actions/actions';
import { useSnackbar } from 'notistack';
import AccountCircle from '@material-ui/icons/AccountCircle';
import Box from '@material-ui/core/Box';
impo... |
(function () {
var parent = window.parent;
//dialog對象
dialog = parent.$EDITORUI[window.frameElement.id.replace( /_iframe$/, '' )];
//當前打開dialog的編輯器實例
editor = dialog.editor;
UE = parent.UE;
domUtils = UE.dom.domUtils;
utils = UE.utils;
browser = UE.browser;
ajax = UE.ajax;
... |
'use strict';
/**
* The 'run' method is called on seed.
*
* @param {Database} database The MongoClient database instance
* @returns {Promise}
*/
export const run = async function(database) {
let collection = database.collection('users');
return collection.insertOne({ username: 'kieron' });
}; |
const Discord = require('discord.js');
const db = require('quick.db');
module.exports.run = async (client, message, args) => {
db.startsWith(`level_${message.guild.id}`, { sort:'.data' }).then(resp => {
resp.length = 10;
let rsp = '';
for (var i in resp) {
rsp += `[${parseInt(i)+1}] ${client.us... |
import React, { useState } from 'react';
import { Link, useHistory } from 'react-router-dom';
import api from '../../../services/api';
import { storeAuth } from '../../../store/ducks/auth';
import { useForm } from 'react-hook-form';
import IndexFooter from './IndexFooter/IndexFooter';
import ErrorDialog from '../../a... |
(()=>(e,o)=>{const n={include:["//www.bilibili.com/video/","//www.bilibili.com/bangumi/"]};const t="showCoverBeforePlayStyle";let i;const r=()=>{if(n.include.every((e=>!document.URL.includes(e)))){return}o.applyStyle(t);const e=()=>document.body.style.removeProperty("--cover-url");const r=unsafeWindow.__ENABLE_WASM_PLA... |
"use strict";
const domsForLoginform = {
email : document.querySelector("#inputEmail"),
password : document.querySelector("#inputPassword"),
checkBoxRemememberMe : document.querySelector("#inputRemember"),
submitBtn : document.querySelector("#submitBtn"),
showUserDataBtn : document.querySelector("... |
/*!
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/
//# sourceMappingURL=ckeditor.js.map |
function loadCanvas(player){
let canvas = document.getElementById("canvas");
let ctx = canvas.getContext("2d");
let background = new Image();
let target = new Image();
let sight = new Image();
ctx.font = "24px serif";
ctx.fillStyle="yellow";
let targetObj= { speed: 50, x: 0, y:100, wi... |
import React from 'react';
import { Router } from 'react-router-dom';
import { Chart } from 'react-chartjs-2';
import { ThemeProvider } from '@material-ui/styles';
import validate from 'validate.js';
import { chartjs } from './helpers';
import theme from './theme';
import 'react-perfect-scrollbar/dist/css/styles.css';
... |
import React, { Component, PropTypes } from "react";
import { getStyles } from "../utils/base";
import Radium from "radium";
@Radium
export default class TableItem extends Component {
render() {
const typefaceStyle = this.context.typeface || {};
return (
<td className={this.props.className} style={[thi... |
/*
Copyright (C) 2019 Google Inc.
Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
*/
import * as QueryAPI from '../../plugins/utils/query-api-utils';
import {
REFRESH_COMMENTS,
REFRESH_MAPPED_COUNTER,
} from '../../events/eventTypes';
import Relationship from '../../models/service-m... |
function adjustIframeHeight() {
var $body = $('body'),
$iframe = $body.data('iframe.fv');
if ($iframe) {
// Adjust the height of iframe
$iframe.height($body.height());
}
}
$("#multiphase").steps({
headerTag: "h2",
bodyTag: "section",
... |
import React from 'react'
import './default.scss'
export default class Sene extends React.Component {
constructor(props) {
super(props)
}
componentDidMount() {
document.querySelector(".loading").style.visibility = 'hidden'
}
render() {
return <article className="cases row... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
// This icon file is generated by build/generate.ts
// tslint:disable
/** @type {?} */
export var CrownTwoTone = {
name: 'crown',
theme: 'twotone',
i... |
const help = (prefix,pushname2, user, limitt) => {
return `
❉──────────❉
「 *CARLOS BOT* 」
❉──────────❉
╔════════════════════
║╭──❉ *INFORMAÇÕES DO USUARIO* ❉──
║│➸NOME DO USUARIO : *${pushname2}*
║│➸REGISTRADO : *${user.length}* Se n use *${prefix}rg nome|idade*
║│➸LIMITE DE COMANDOS : *${limitt}*
║╰───────────... |
import React from 'react';
import './InfoBarRight.css';
const InfoBarRight = ({ room }) => (
<div className="infoBarRight">
<div className="leftInnerContainer">
<h3>Members online</h3>
</div>
</div>
);
export default InfoBarRight; |
/**
* Copyright (c) 2018, HouseRater LLC.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule react-native-ui-native
*/
import React from "react";
import { NativeModules } from "react-native";
c... |
import arraySome from './_arraySome.js';
import createOver from './_createOver.js';
/**
* Creates a function that checks if **any** of the `predicates` return
* truthy when invoked with the arguments it receives.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Util
* @param {...(Array|Array[]|Function|Fun... |
var express = require('express');
var router = express.Router();
var title = 'FeatureQuest';
var Firebase = require('firebase');
var Products = new Firebase('https://featurequest.firebaseio.com/products');
router.get('/', function(req, res, next) {
res.render('quest_companies', { title: title, pageJs: 'quest_compani... |
'use strict';
const _ = require('lodash');
module.exports = ({ configuration, options }) =>
Boolean(_.get(configuration, 'org') || options.org) &&
Boolean(_.get(configuration, 'app') || options.app) &&
!_.get(configuration, 'dashboard.disableMonitoring'); |
import React from 'react';
import PropTypes from 'prop-types';
import Symbol from './RatingSymbol';
class Rating extends React.PureComponent {
constructor(props) {
super(props);
this.state = {
// Indicates the value that is displayed to the user in the form of symbols.
// It can be either 0 (for ... |
const { parse } = require('url');
module.exports = function (req, res) {
const { query } = parse(req.url, true);
res.end('id=' + query.id);
} |
var callbackArguments = [];
var argument1 = function() {
callbackArguments.push(arguments)
return false; };
var argument2 = 2.0641459414986366e+307;
var argument3 = function() {
callbackArguments.push(arguments)
return false; };
var argument4 = null;
var argument5 = {"1.3556234451406543e+308":"","N":"","":"4"};
v... |
/*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
"use strict";
var _storybook = require("part:@sanity/storybook");
var _knobs = require("part:@sanity/storybook/addons/knobs");
var _customStyle = require("./stories/customStyle");
var _default = require("./stories/default");
var _defaultTest = require("./stories/defaultTest");
(0, _storybook.storiesOf)('@sanity/c... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.star = void 0;
var star = {
"viewBox": "0 0 14 16",
"children": [{
"name": "title",
"attribs": {},
"children": []
}, {
"name": "desc",
"attribs": {},
"children": []
}, {
"name": "defs",
"attri... |
//>>built
define(["dijit","dojo","dojox","dojo/require!dijit/_Widget,dijit/_Container,dojox/wire/ml/util"],function(_1,_2,_3){
_2.provide("dojox.wire.ml.Data");
_2.require("dijit._Widget");
_2.require("dijit._Container");
_2.require("dojox.wire.ml.util");
_2.declare("dojox.wire.ml.Data",[_1._Widget,_1._Container],{star... |
var book = {
"name": "Mica",
"numChapters": 7,
"chapters": {
"1": {
"1": "<span>1</span> \tDies ist das Wort des HERRN, welches geschah zu Micha aus Morescheth zur Zeit des Jotham, Ahas und Hiskia, der Könige von Juda, das er geschaut hat über Samaria und Jerusalem.",
"2": "<span> 2 </span> \tHöret, alle Völ... |
const TAG = 'amp-viewer-messaging';
const CHANNEL_OPEN_MSG = 'channelOpen';
const HANDSHAKE_POLL_MSG = 'handshake-poll';
const APP = '__AMPHTML__';
/**
* @enum {string}
*/
const MessageType_Enum = {
REQUEST: 'q',
RESPONSE: 's',
};
/**
* @typedef {function(string, *, boolean):(!Promise<*>|undefined)}
*/
let Re... |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
ReactDOM.render(
<React.StrictMode>
<App color = 'green' size = '20'/>
</React.StrictMode>,
document.getElementById('root')
); |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.34/esri/copyright.txt for details.
//>>built
define("esri/TimeExtent",["dojo/_base/declare","dojo/_base/lang","dojo/has","./kernel"],function(h,k,l,m){var g=h(null,{declaredClass:"esri.TimeExtent",constructor:... |
/**
* 生成MPA微应用
*/
const path = require('path');
const fse = require('fs-extra');
const ejs = require('ejs');
module.exports = async (ucfApps, ucfParam) => {
// let IntlDirPath = path.resolve(ucfApps, ucfParam.name, 'src', 'components', 'Intl');
// #package.json
let pkg_path = path.resolve(ucfApps, ucfPa... |
module.exports = {
displayName: 'ngx-store',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
},
},
coverageDirectory: '../../coverage/libs/n... |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : app_bundler.js
* Created at : 2020-12-28
* Updated at : 2021-02-20
* Author : jeefo
* Purpose :
* Description :
* Reference :
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
// ig... |
import PropTypes from 'prop-types'
export const metadata = PropTypes.shape({
country_calling_codes : PropTypes.object.isRequired,
countries : PropTypes.object.isRequired
})
export const labels = PropTypes.objectOf(PropTypes.string) |
describe('Core.getSelectedRange', () => {
beforeEach(function() {
this.$container = $('<div id="testContainer"></div>').appendTo('body');
});
afterEach(function() {
if (this.$container) {
destroy();
this.$container.remove();
}
});
it('should return valid coordinates', () => {
han... |
const auth = require('../middleware/authentication')
const {writeComment,viewComment,editComment,deleteComment} = require('../controllers/comment')
const express = require('express')
const router = express.Router()
router.route('/').post(auth,writeComment)
router.route('/:id').delete(auth,deleteComment).patch(auth,edi... |
/* eslint-disable import/default */
import React from 'react';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import configureStore, { history } from './store/configureStore';
import Root from './components/Root';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'normalize.cs... |
import store from '@/store';
const {
body
} = document;
const WIDTH = 1024;
const RATIO = 3;
export default {
watch: {
$route(route) {
if (this.device === 'mobile' && this.sidebar.opened) {
store.dispatch('CloseSideBar', {
withoutAnimation: false
});
}
}
},
before... |
/* eslint-disable react/display-name */
import { useMemo } from 'react'
import { getMDXComponent } from 'mdx-bundler/client'
import Image from './Image'
import CustomLink from './Link'
import TOCInline from './TOCInline'
import Pre from './Pre'
import Canva from './Canva'
import { BlogNewsletterForm } from './Newslette... |
var searchData=
[
['maintain_0',['Maintain',['../classoperations__research_1_1_search_log.html#aa776d47ceec0ae7dceb9723a0fc82fb3',1,'operations_research::SearchLog']]],
['maintainer_1',['maintainer',['../structoperations__research_1_1_solver_1_1_integer_cast_info.html#ae1de17a3d4162dd6fef92daccf0741f6',1,'operation... |
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot c... |
const path = require('path')
const _ = require('lodash')
const webpack = require('webpack')
const ExtractTextPlugin = require("extract-text-webpack-plugin")
const merge = require('webpack-merge')
const allConfig = require('../config/index.js')
const baseWebpackConfig = require('./webpack.base.js')
const postcssPlugins... |
/**
* View Engine Configuration
* (sails.config.views)
*
* Server-sent views are a classic and effective way to get your app up
* and running. Views are normally served from controllers. Below, you can
* configure your templating language/framework of choice and configure
* Sails' layout support.
*
* For more... |
import React, { Component } from 'react';
import logo from './logo.png';
import './App.css';
import 'semantic-ui-css/semantic.min.css'
//AppSync and Apollo libraries
import AWSAppSyncClient from "aws-appsync";
import { Rehydrated } from 'aws-appsync-react';
import { ApolloProvider } from 'react-apollo';
//Amplify
imp... |
const request = require("request");
const express = require("express");
const app = express();
const bodyParser = require("body-parser");
const APIKEY = process.env.APIKEY || "YOUR_API_KEY";
const APIRequests = require("./controllers/firstRequest.js");
const port = process.env.PORT || 3000;
app.s... |
var $ = require('jquery');
var io = require('socket.io-client');
var Header = require('./header');
var Login = require('./login');
var Lobby = require('./lobby');
var Room = require('./room');
var socket = io();
$(function() {
new Header('.header');
new Login('.login.page');
new Lobby('.lobby.page');
new Room(... |
const query = require("./fetch/basicFetchQuery");
const addr =
"addr_test1qr8px8xy5acc7mm40s5vckn5unssvx0wxkw8vnlwyl9gexgc8u0yys6k9ajrqje5nwj8pec34f8qkrk797zkmva83g5qafyhn6";
const queryAddrUrl = `http://167.86.98.239:8000/dbsync/cardano-explorer-queryAddr?addr=${addr}&isBank=no`;
const getFundedUTxO = async () =>... |
import React from 'react';
import PropTypes from 'prop-types';
import { isPro, gettext } from '../../utils/constants';
import Search from '../search/search';
import Notification from '../common/notification';
import Account from '../common/account';
const propTypes = {
repoID: PropTypes.string,
onSearchedClick: Pr... |
'use strict';
const assert = require('assert');
const isStream = require('is-stream');
const logsLevels = require('../settings/logs-levels');
function log(stdout, message, logLevel = logsLevels.LOG) {
assert(isStream.writable(stdout) || stdout === undefined, `stdout must be a writable stream or eventually undefine... |
/**
* 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.
*/
import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I... |
function addAuthorization(domainName) {
var userForm = document.getElementById('mgtuser');
var roleForm = document.getElementById('mgtrole');
userForm.value = '';
roleForm.value = 'admin';
showForm('Add Authorization');
}
function addHealthCheck(domainName) {
var actionForm = document.getElemen... |
/**
* Room Battle
* Pokemon Showdown - http://pokemonshowdown.com/
*
* This file wraps the simulator in an implementation of the RoomGame
* interface. It also abstracts away the multi-process nature of the
* simulator.
*
* For the actual battle simulation, see battle-engine.js
*
* @license MIT license
*/
'u... |
/**
* Auto-generated action file for "PI Web API 2017 Swagger Spec" API.
*
* Generated at: 2019-05-07T14:43:33.659Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / osisoft-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector a... |
import View from "../../Core/View";
class VanillaView extends View {
constructor(selector, model) {
super(selector, model);
this._rootEl = document.querySelector(this._selector);
}
init() {
this._modelChangeListener = this._render.bind(this);
this._model.on("change", this._modelChangeListener);... |
/*
* Remove the Jest preprocess cache directory.
*/
var path = require("path");
var os = require("os");
var rimraf = require("rimraf");
var jestPreprocessCacheDir = path.join(os.tmpdir(), "jest_preprocess_cache");
rimraf(jestPreprocessCacheDir, function (err) {
if (err) {
console.log("Error while deletin... |
module.exports = ResolveRelation
var TransformStream = require('stream').Transform
function ResolveRelation(readFn, propertyName, objectName) {
if (typeof readFn !== 'function') throw new TypeError('readFn is expected to be a function')
if (!propertyName) throw new TypeError('propertyName is expected')
this.rea... |
YUI.add("anim-scroll",function(e,t){var n=Number;e.Anim.behaviors.scroll={set:function(e,t,r,i,s,o,u){var a=e._node,f=[u(s,n(r[0]),n(i[0])-n(r[0]),o),u(s,n(r[1]),n(i[1])-n(r[1]),o)];f[0]&&a.set("scrollLeft",f[0]),f[1]&&a.set("scrollTop",f[1])},get:function(e){var t=e._node;return[t.get("scrollLeft"),t.get("scrollTop")]... |
/*
* Copyright 2018, GeoSolutions Sas.
* 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.
*/
/*
* Copyright 2018, GeoSolutions Sas.
* All rights reserved.
*
* This source code is licensed under the BSD-style lice... |
/* eslint-disable */
/*
This is a simple order form component. After a user fills out the form,
an email will be generated.
*/
import React from 'react'
import styled from 'styled-components'
//import BadgerButton from './badger-button'
import Captcha from './captcha'
import NOTIFICATION from '../lib/notification... |
class Sifo_SINGLETON_INSTANCE {//eslint-disable-line
constructor() {
this.container = {};
}
getContainer = namespace => this.container[namespace]
createContainer = namespace => {
const plugins = {
modelPlugin: null
};
Object.defineProperty(plugins, 'modelPlugin', {
writable: false, /... |
const { genericHandler } = require('../genericHandler');
/**
* used for fetching orders matching the given a keyword
*
* @param {object} event the AWS event object
* @returns {Promise<*|undefined>} the api gateway response object containing the statusCode, body, and headers
*/
exports.orderPublicSearchLambda = ev... |
/*
Copyright (c) 2004-2013, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojo._base.event"]){
dojo._hasResource["dojo._base.event"]=true;
dojo.provide("dojo._base.event");
d... |
const Sequelize = require("sequelize");
const sequelize = new Sequelize(); // pass your sequelize config here
const FirstModel = require("./first-model");
const SecondModel = require("./second-model");
const ThirdModel = require("./third-model");
const models = {
First: FirstModel.init(sequelize, Sequelize),
Seco... |
import { createLocalVue } from '@vue/test-utils';
import Vuex from 'vuex';
import axios from 'axios';
import authStore from '@/store/modules/auth';
import { cloneDeep } from 'lodash';
import MockAdapter from 'axios-mock-adapter';
import { AuthRoutes } from '@/utils/constants.js';
const flushPromises = require('flush-pr... |
var E, E, C = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, C);
};
(E = E || (E = {}))[E.A = 0] = "A"; |
function footballKit (input){
let tshirtPrice = Number (input[0]);
let targetAmount = Number (input[1]);
let shortsPrice = tshirtPrice * 0.75;
let socksPrice = shortsPrice * 0.2;
let shoesPrice = (tshirtPrice + shortsPrice) * 2;
let totalPriceAfterDiscount = (tshirtPrice + shortsPrice + socksPri... |
goog.declareModuleId('os.ui.datetime.DateControlUI');
import './wheeldate.js';
import {ROOT} from '../../os.js';
import Duration from '../../time/duration.js';
import * as time from '../../time/time.js';
import TimelineController from '../../time/timelinecontroller.js';
import TimelineEventType from '../../time/timeli... |
var data = {
"body": "<path d=\"M20.84 22.73l-3.56-3.56l-4.71 2.65c-.16.12-.36.18-.57.18s-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-9c0-.38.21-.71.53-.88l.77-.43L1.11 3l1.28-1.27l19.72 19.73l-1.27 1.27M12 4.15l5.96 3.35l-4.65 2.61l7.22 7.22c.29-.17.47-.48.47-.83v-9c0-.38-.21-.71-.53-.88l-7.9-4.44C12.41 2.06 12.... |
//# sourceMappingURL=ngl_viewer.js.map |
import express from 'express'
import path from 'path'
import bodyParser from 'body-parser'
import cookieParser from 'cookie-parser'
import compress from 'compression'
import cors from 'cors'
import helmet from 'helmet'
import Template from './../template'
import userRoutes from './routes/user.routes'
import authRoutes ... |
// @include lib.form.dragdrop.dragdrop
var repeatableSupport = {
// set by the inherited instance to the insertion point DIV
insertionPoint: null,
// HTML text of the repeated chunk
blockHTML: null,
// containing <div>.
container: null,
// block name for structured HTML
name : null,
... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { BingConversions } from '../../services/bing/bing-conversions';
import { Marker } from '../marker';
import { BingSpiderClusterMarker } from './bing-spider-cluster-marker';
import { BingMarker } from './bi... |
/**
* Openmoney API
* Openmoney API
*
* OpenAPI spec version: 2.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* yo... |
export { default as Spoon } from './Spoon.js'; |
import {
computed,
getCurrentInstance,
inject,
onUnmounted,
onUpdated,
ref,
watchEffect,
} from '../vendor/vue3/vue.esm-browser.js';
import {
CONTEXT_COMPONENT_REGISTRY,
CONTEXT_EDIT_MODE,
CONTEXT_ROUTER,
} from '../app/app.js';
import {
arrayMoveIndex,
loadEditor,
us... |
#!/usr/bin/env node
/* eslint-disable no-console, no-process-env, no-process-exit */
const path = require('path')
const fse = require('fs-extra')
const chalk = require('chalk')
const publish = require('in-publish')
const lyraCheck = require('./lyraCheck')
const pkg = require('../package.json')
const includes = (arr, v... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/ |
/*
* custom.js
*
* Place your code here that you need on all your pages.
*/
"use strict";
$(document).ready(function(){
//===== Sidebar Search (Demo Only) =====//
$('.sidebar-search').submit(function (e) {
//e.preventDefault(); // Prevent form submitting (browser redirect)
$('.sidebar-search-results').sli... |
var WindowManager = require('helper/WindowManager');
var Utils = require('helper/Utils');
var Cloud = require('ti.cloud');
exports['Geolocate Me'] = function (evt) {
var win = WindowManager.createWindow({
backgroundColor: 'white'
});
var content = Ti.UI.createScrollView({
top: 0,
con... |
let touchpointX;
let Y_touchpoints = new Array();
let ongoingTouches = new Array();
let jumpOnMobile = false;
let clickTimer = null;
let characterWidth = 10;
/**
* Script for detecting finger touch on mobile devices
*/
function startupMobileListeners() {
document.addEventListener("touchstart", handleStart, fal... |
const Discord = require('discord.js');
const os = require('os');
exports.run = (client, message) => {
let ms = client.uptime;
let cd = 24 * 60 * 60 * 1000; // Calc days
let ch = 60 * 60 * 1000; // Calc hours
let cm = 60 * 1000; // Calc minutes
let cs = 1000; // Calc seconds
let days = Math.floor... |
import { FLEX_CENTERED_CLASS_NAME, PREFIX } from "../../constants/classes-names";
export function renderSlideNumber({ componentsServices, props: { sources }, stageIndexes }, parent) {
const slideNumber = document.createElement('div');
slideNumber.className = `${ PREFIX }slide-number-container ${ FLEX_CENTERED_... |
const MockImplementation = () => {
return {
before: (handler, next) => { next() }
}
}
const SampleLogging = jest.fn()
// eslint-disable-next-line no-unused-vars
const MockSampleLogging = jest.mock(
'@dazn/lambda-powertools-middleware-sample-logging',
() => { return SampleLogging.mockImplementation(MockImpl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.