text stringlengths 2 1.04M |
|---|
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
const createLintingRule = () => ({
test: /\.(js|vue)$/,
loader: 'eslint-loader',
... |
module.exports = {
mount: {
public: '/',
src: '/_dist_',
},
plugins: [
'@snowpack/plugin-react-refresh',
'@snowpack/plugin-dotenv',
'@snowpack/plugin-typescript',
['snowpack-plugin-svgr', { /* options */ }],
["@snowpack/plugin-webpack"]
],
devOptions: {
/* ... */
},
buildOp... |
//# sourceMappingURL=component---src-pages-code-index-js-6ef4486adbd0b72d427f.js.map |
var searchData=
[
['tensor_5fv8',['Tensor_v8',['../d6/da7/classcudnn__frontend_1_1Tensor__v8.html#a9df78edb662e32a63680281eb33a14a8',1,'cudnn_frontend::Tensor_v8::Tensor_v8(Tensor_v8 &&from)'],['../d6/da7/classcudnn__frontend_1_1Tensor__v8.html#ab48b1728d6978407f0bdbf0227de6f82',1,'cudnn_frontend::Tensor_v8::... |
"use strict";
exports.__esModule = true;
exports.TextCellType = exports.CELL_TYPE = void 0;
var _textEditor = require("../../editors/textEditor");
var _textRenderer = require("../../renderers/textRenderer");
var CELL_TYPE = 'text';
exports.CELL_TYPE = CELL_TYPE;
var TextCellType = {
CELL_TYPE: CELL_TYPE,
editor... |
export default (name, mock) => {
const actual = M[name];
M[name] = mock;
return () => {
M[name] = actual;
};
}; |
import Cart from './Cart/Cart';
import CartControls from './CartControls/CartControls';
export {
Cart,
CartControls,
}; |
// ==UserScript==
// @name Agent Stats Badge Progress Bars
// @namespace https://github.com/finntaur/monkey
// @version 0.1.201708091103
// @description Create progress bars for badges in the default view.
// @include *://www.agent-stats.com/
// @include *://www.agent-stats.com/index.php*
// @match ... |
/*
* GET VET page.
*/
// Import json
var userData = require("../data/user.json");
var logData = require("../data/log.json");
// Render home page and json data
exports.view = function(req, res){
res.render('vet', { userData: userData });
};
// Get today's date
var today = new Date();
var day = today.getDate();
va... |
const chai = require('chai');
const chaiHttp = require('chai-http');
chai.use(chaiHttp);
const server = require('../app');
let should = chai.should();
let RoomRent = require('../models/roomRent');
let data = {};
let room_data,propertyId;
describe('RoomRent', () => {
before(done => {
data = global.data;
data.... |
module.exports = {
plugins: [
require('tailwindcss'),
require('postcss-nesting'),
require('autoprefixer'),
require('cssnano')({ removeAll: true }),
],
}; |
"use strict";
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { ... |
head: {
defaults: {
title: 'default title',
useSocialMetaTags: true
}
} |
const router = require('express').Router();
const { Service } = require('../db/models');
module.exports = router;
router.get('/', async (req, res, next) => {
try {
const services = await Service.findAll();
res.json(services);
} catch (err) {
next(err);
}
});
router.get('/:id', async (req, res, next)... |
const express = require("express");
const router = express.Router();
const user = require("../models/user");
const jwt = require("jsonwebtoken");
const bcrypt = require("bcryptjs");
const nodemailer=require('nodemailer')
//login
router.post("/login", async (req, res) => {
const { body } = req;
var user2 = await... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Input, IterableDiffers, Output, } from '@angular/core';
import { FormBuilder, NG_VALUE_ACCESSOR, } from '@angular/forms';
import { Obse... |
import React from 'react';
import propTypes from 'prop-types';
import styled, { css } from 'styled-components';
import {
createDisabledTextStyles,
createFlatBoxStyles,
createScrollbars
} from '../common';
import { blockSizes } from '../common/system';
import { StyledCutout } from '../Cutout/Cutout';
const share... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])... |
import angular from "angular";
import template from "./createModelModal.html";
const app = angular.module("app.createModelModal", []);
const Controller = function ($rootScope) {
const $ctrl = this;
$ctrl.typeSelected = {};
$ctrl.submitted = false;
$ctrl.$onInit = () => {
$ctrl.typeSelected = { name: "Conceitua... |
YUI.add('cache-offline-tests', function(Y) {
// Set up the page
var ASSERT = Y.Assert,
ARRAYASSERT = Y.ArrayAssert,
tearDown = function() {
this.cache.flush();
};
var testClass = new Y.Test.Case({
name: "Class Tests",
... |
'use strict'
const path = require('path')
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlug... |
Clazz.declarePackage ("JU");
Clazz.declareInterface (JU, "SimpleNode"); |
import { OrgSequence, OrgType } from "@/const/index";
const deparments = [
{
name: "指挥员",
orgMajors: ["指挥员"]
},
{
name: "参谋部",
orgMajors: []
},
{
name: "政治工作部",
orgMajors: []
},
{
name: "保障部",
orgMajors: []
}
];
const deparments1 = [
{
name: "指挥员",
orgMajors: []... |
var indexSectionsWithContent =
{
0: "abcdefghikmnpqrstvwxy",
1: "defi",
2: "befs",
3: "befs",
4: "bdefirs",
5: "abcdefghikmnpqrstvwxy",
6: "f",
7: "f"
};
var indexSectionNames =
{
0: "all",
1: "classes",
2: "namespaces",
3: "files",
4: "functions",
5: "variables",
6: "enumvalues",
7: "p... |
const { get_suggestions, change_suggestion_state, remove_suggestion } = require('../suggestions')
exports.getList = async function(req, res, next) {
console.log(`Requesting list type ${req.query.suggestion_state}`)
return res.status(200).json(get_suggestions(req.query.suggestion_state))
}
exports.deleteSugges... |
/*global module,require*/
module.exports = function (grunt) {
'use strict';
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
// Define the configuration for all the tasks
grunt.initConfig({
proj: require('./package.json'),
license: grunt.file.read('LICENSE'),
... |
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
siteMetadata: {
title: 'Vuiko'
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'src',
path: `${__dirname}/src/`
},
}... |
import $ from 'jquery';
import AccessDropdown from '~/projects/settings/access_dropdown';
import axios from '~/lib/utils/axios_utils';
import { deprecatedCreateFlash as createFlash } from '~/flash';
import CreateItemDropdown from '~/create_item_dropdown';
import { s__, __ } from '~/locale';
import { ACCESS_LEVELS, LEVE... |
var echarts = require("../echarts");
require("./line/LineSeries");
require("./line/LineView");
var visualSymbol = require("../visual/symbol");
var layoutPoints = require("../layout/points");
var dataSample = require("../processor/dataSample");
require("../component/gridSimple");
// In case developer forget to in... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 University of California San Diego
* Author: Jim Robinson
*
* 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, incl... |
/// <reference path='jasmine.d.ts'/>
/// <reference path='../app/defs/angular.d.ts'/>
/// <reference path='angular-mocks.d.ts'/>
/// <reference path='../app/defs/jquery.d.ts'/>
/// <reference path='../app/app.ts'/>
/// <reference path='../app/globalConstants.ts'/>
/// <reference path='../app/services/displayService.ts'... |
var searchData=
[
['tpgid',['tpgid',['../structSWTPROC__STAT__INFO.html#a3f8b086fe86cd3aa6098c8b8870af0e1',1,'SWTPROC_STAT_INFO']]],
['tty_5fnr',['tty_nr',['../structSWTPROC__STAT__INFO.html#a5b08d0ac32ce5dc7875683b0757d13ee',1,'SWTPROC_STAT_INFO']]]
]; |
module.exports={A:{A:{"2":"H D G E A B nB"},B:{"1":"q","2":"C K f L N I J"},C:{"1":"0 1 2 3 4 5 6 8 e AB g h i j k l m n o p M r s t u v w x y z EB NB DB BB FB HB IB JB KB LB MB","2":"kB OB F O H D G E A B C K f L N I J P Q R S T eB dB","132":"U V W X Y Z a b c d"},D:{"1":"5 6 8 DB BB FB HB IB JB KB LB MB cB q XB TB RB... |
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { Icon, Tooltip } from 'antd';
const defaultTooltip = {
show: '',
hide: ''
};
const HoverIcon = styled(Icon)`
cursor: pointer;
&:hover {
color: #40a9ff
}
`
const Suffix = ({ tooltip = defaultT... |
var foo = function () {
return 4;
};
//# sourceMappingURL=input.js.map |
var classorg_1_1onosproject_1_1core_1_1UnavailableIdExceptionTest =
[
[ "getDefault", "classorg_1_1onosproject_1_1core_1_1UnavailableIdExceptionTest.html#abcb89a580ed0d6fd073b2fb4dfd44ab9", null ],
[ "getWithMessage", "classorg_1_1onosproject_1_1core_1_1UnavailableIdExceptionTest.html#a12c3ba8594c1b7f884248b6b2... |
import React from 'react';
import PropTypes from 'prop-types';
const Display = ({ value }) => (
<div className="calc-display">
{value}
</div>
);
Display.propTypes = {
value: PropTypes.string,
};
Display.defaultProps = {
value: '0',
};
export default Display; |
angular.module('managerApp').controller('TelecomTelephonyAliasConfigurationCallsFilteringCtrl', class TelecomTelephonyAliasConfigurationCallsFilteringCtrl {
constructor(
$filter, $q, $state, $stateParams, $translate, $uibModal,
tucTelephonyBulk, TucToast, tucVoipServiceAlias,
TELEPHONY_ALIAS_CONTACT_CENTE... |
export * from '@styled-icons/evil/Heart'; |
import styled from 'styled-components';
export default styled('img')`
display: inline-block;
width: 100%;
height: 25rem;
border-radius: 3px;
z-index: 7;
`; |
/**
* response 时间格式化
* @param { Date } date 时间
* @param { String } fmt 格式 'yy-MM-dd hh:mm:ss' 'yy/MM/dd hh:mm:ss' ...
* @returns { String } 格式化之后的时间
* @example formatDate(new Date('2018-06-04T11:28:45.000000+08:00'),'yy-MM-dd hh:mm:ss'); // -> 2018-06-04 11:28:45
* formatDate(new Date('2018-06-04T11:28:4... |
/**
* File customize-preview.js.
*
* Instantly live-update customizer settings in the preview for improved user experience.
*/
(function( $ ) {
var description_style_container = '.woocommerce-page.single-product div.product .woocommerce-product-details__short-description';
var description_style_container_paragr... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var function_registry_1 = __importDefault(require("./function-registry"));
var function_caller_1 = __imp... |
/*
*
* Issues constants
*
*/
export const DEFAULT_ACTION = 'app/Issues/DEFAULT_ACTION'; |
elation.require(['janusweb.janusbase'], function() {
elation.component.add('engine.things.janusparticle', function() {
this.postinit = function() {
elation.engine.things.janusparticle.extendclass.postinit.call(this);
this.defineProperties({
emitter_id: { type: 'string', set: this.updateGeomet... |
import 'babel-core/polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import Root from './containers/Root';
import configureStore from './store/configureStore';
import {loginUserSuccess} from './actions';
const target = document.getElementById('root');
const store = configureStore(window.__INITIAL... |
import React, { Component } from "react";
import AnimateHeight from 'react-animate-height';
import {AccordianRow,Accordian,AccordianTitleCol,AccordianTitle,AccordianContentCol,
AccordianContent,IconHolder,PlusIcon,MinusIcon
} from './neighbourhoods.style'
class AccordianCustom extends Component {
constructor(p... |
// Copyright 2019 Esri
// 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
//... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var StyledIconBase_1 = require("../../StyledIconBase");
exports.ToggleOn = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentC... |
'use strict';
//i18n initialize
const i18n = require('i18n');
i18n.configure({
// register language name into locales(indicates the JSON file name).
locales: ['ja', 'en'],
defaultLocale: 'ja',
// the directory of locale files
directory: __dirname + '/../locales',
// enables the JSON style.
objectNotatio... |
// 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.
/**
* Requests the database from the backend.
*/
function requestResourcePrefetchPredictorDb() {
chrome.send('requestResourcePrefetchPredictorDb');
}
... |
//# sourceMappingURL=component---src-pages-404-jsx-c7ab6fda8206259239e2.js.map |
const Discord = require('discord.js');
const config = require("../config.json");
const prefix = config.prefix
module.exports.run = async (client, message, args) => {
if (message.author.id != "465662909645848577") return message.channel.send("You are not the bot owner!")
if (args[0]) {
const game = args.join... |
const express = require('express')
const router = express.Router()
// Add your routes here - above the module.exports line
// Run this code after basicinfo to determine next page
router.post('/3COP-NOH', function (req, res) {
// Make a variable and give it the value from 'submitting' question page
const varoption ... |
(function() {
var fn = function() {
(function(global) {
function now() {
return new Date();
}
var force = false;
if (typeof (window._bokeh_onload_callbacks) === "undefined" || force === true) {
window._bokeh_onload_callbacks = [];
window._bokeh_is_loa... |
import React from 'react';
import PropTypes from 'prop-types';
import {injectIntl, Link} from "gatsby-plugin-intl";
import KnowMore from '../../../components/knowMore';
import './_corporate_en.scss';
import './_corporate_ar.scss';
class Corporate extends React.Component {
render() {
const {intl, whyDam... |
export NavHeader from './NavHeader';
export NavRight from './NavRight';
export SideBar from './SideBar'; |
const path = require(`path`)
const { createFilePath } = require(`gatsby-source-filesystem`)
exports.createPages = ({ graphql, actions }) => {
const { createPage } = actions
const blogPost = path.resolve(`./src/templates/blog-post.js`)
return graphql(
`
{
allMdx(filter: {fileAbsolutePath: {rege... |
//To add services to the
//roofing section, add to contentful section 1 service.
//to add tags, add a gallery in contentful.
import React from 'react'
import style from '../style/services.module.scss'
import { documentToReactComponents } from "@contentful/rich-text-react-renderer"
import { graphql, useStaticQuery } fr... |
//infrastructure for tests
var reason = document.getElementById("reason");
var body = document.body;
var verdict = document.getElementById("verdict");
/*Called if the test passed */
window.pass = function(msg)
{
document.body.style.backgroundColor = "green";
verdict.innerHTML = "PASS";
reason.innerHT... |
const CodeScalar = require('../scalars/code.scalar');
const {
GraphQLInputObjectType,
GraphQLNonNull,
GraphQLString,
GraphQLList,
} = require('graphql');
// Util for extending gql objects
const { extendSchema } = require('@asymmetrik/fhir-gql-schema-utils');
/**
* @name exports
* @summary OperationOutcome.issue... |
const urban = require('urban');
const Discord = require('discord.js');
exports.run = async (bot, message, args) => {
if (args.length < 1) {
return message.channel.send('Veuillez saisir un mot');
}
let word = args.join(' ');
urban(word).first(json => {
if (!json)... |
let ENV; // local, dev, qa, prod
export const API_ENV = process.env.API_ENV || 'prod';
if (typeof window !== 'undefined') {
const { host } = window.location;
if (host === 'localhost:4000') {
ENV = 'local';
} else if (host === 'dev.goodparty.org') {
ENV = 'dev';
} else if (host === 'goodparty.org') {
... |
/* eslint-disable no-console */
module.exports = function ( grunt ) {
grunt.registerTask( 'site', function () {
var from = 'site/',
// E.g. `DEST="../cssjanus.github.io" npm run site`
// Ensure 'to' path ends in a slash
to = ( process.env.DEST || 'dest/' ).replace( /\/?$/, '/' ),
paths = [
'/demo/',... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=eventHandlersMap.js.map |
/*
* Copyright 2004-2013 ICEsoft Technologies Canada Corp.
*
* 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 appli... |
import MainLayout from './MainLayout';
export default {
title: 'App/MainLayout',
component: MainLayout,
argTypes: {},
};
const Template = args => <MainLayout {...args} />;
export const Default = Template.bind({});
Default.args = {}; |
module.exports = {
development: {
client: "sqlite3",
useNullAsDefault: true,
connection: {
filename: "./database/auth.db3"
},
pool: {
afterCreate: (conn, done) => {
conn.run("PRAGMA foreign_keys = ON", done);
}
},
migrations: {
directory: "./database/migrati... |
import React from 'react';
import Clampy from '@clampy-js/react-clampy';
import { Typography, withStyles } from '@material-ui/core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faPrescriptionBottleAlt } from '@fortawesome/free-solid-svg-icons';
import Highlights from '../../components/Hi... |
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
import fn from '../../setHours/index.ts'
import convertToFP from '../_lib/convertToFP/index.js'
var setHours = convertToFP(fn, 2)
export default setHours |
/**
* 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.
*/
/*
* ADD YOUR SITE TO DOCUSAURUS SHOWCASE:
*
* Requirements for adding your site to our showcase:
* - It is a real site with r... |
/**
* * Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
module.exports = {
mySidebar: [... |
import React, { Component } from 'react';
class Modal extends Component {
static _id = '';
constructor(props) {
super(props);
Modal._id = this.props.id;
this.state = {
showModal: false
}
var className = document.getElementsByTagName('body')[0].className.replace('modal-open', '').repl... |
function initMap() {
// add your code here
L.mapquest.key = 'OpadhoGdG3NDcHO5NdNbrHzVVyehKsUh';
// 'map' refers to a <div> element with the ID map
var map = L.mapquest.map('map', {
center: [37.7749, -122.4194],
layers: L.mapquest.tileLayer('map'),
zoom: 12
});
L.marker([32.87892... |
import React from "react";
import { Route, Redirect } from "react-router-dom";
import { connect } from "react-redux";
import PropTypes from "prop-types";
const PrivateRoute = ({ component: Component, auth, ...rest }) => (
<Route
{...rest}
render={props =>
auth.isAuthenticated === true ? (
<Comp... |
function addSpaces(v) {
return v.split('\n').map(function(vv) { return ' ' + vv; }).join('\n');
}
function pad(str, value, filler) {
str = String(str)
var isRight = false;
if(value < 0) {
isRight = true;
value = -value;
}
if(str.length < value) {
var padding = new Array(value - str.length + ... |
let learn = 'learn more about DynamoDB table stream functions here: https://arc.codes/primitives/tables'
let nodejs = `// ${learn}
exports.handler = async function table (event) {
console.log(JSON.stringify(event, null, 2))
return
}`
let deno = `// ${learn}
export async function handler (event: object) {
consol... |
import React, { useState } from 'react';
import { connect } from 'react-redux';
import { postBoard } from '../actions';
import AddForm from '../styled/AddForm';
import Button from '../styled/Button';
const initialState = {
name: '',
description: '',
};
const NewBoard = (props) => {
const [inputValue, setInputV... |
define( [
'jquery',
'app/Game',
'app/Land',
'app/Player',
'app/Hud',
'app/Air',
'app/Cursors'
],
function (
jquery, Game, Land, Player, Hud, Air, Cursors
) {
jquery(document).ready( function () {
jquery('body').html('');
jquery(document.body).css({
overflo... |
/**
* Copyright (c) 2006-2020, JGraph Ltd
* Copyright (c) 2006-2020, draw.io AG
*/
(function()
{
// Adds scrollbars for menus that exceed the page height
var mxPopupMenuShowMenu = mxPopupMenu.prototype.showMenu;
mxPopupMenu.prototype.showMenu = function()
{
mxPopupMenuShowMenu.apply(this, arguments);
this... |
'use strict';
const util = require('util');
const UserError = require('..');
function MyError(id, message, properties) {
UserError.call(this, message, properties);
this.id = id;
}
util.inherits(MyError, UserError);
function fail() {
throw new MyError('test', 'something failed');
}
try {
fail();
} catch (er... |
import React from 'react';
import {Decorator as Cerebral} from 'cerebral-view-react';
import Module from 'components/Module';
import ToolbarButton from 'common/components/ToolbarButton';
import Toolbar from 'common/components/Toolbar';
import CodeEditor from 'components/CodeEditor';
import Preview from 'components/Prev... |
//# sourceMappingURL=6.f8364570.chunk.js.map |
const {Menu, Tray} = require('electron').remote
const {ipcRenderer} = require('electron')
path = require('path')
let tray = null
var soundButtons = document.querySelectorAll('.button-sound');
for (var i = 0; i < soundButtons.length; i++) {
var soundButton = soundButtons[i];
var soundName = soundButton.attrib... |
'use strict';
const dbInit = require('../../helpers/database-init');
const { setupApp } = require('../../helpers/test-helper');
const getLogger = require('../../../fixtures/no-logger');
let app;
let db;
beforeAll(async () => {
db = await dbInit('metrics_serial', getLogger);
app = await setupApp(db.stores);
}... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
import React from "react"
import Title from "./Title"
import { FaAngleDoubleRight } from "react-icons/fa"
import { graphql, useStaticQuery } from "gatsby"
import { Link } from "gatsby"
const query = graphql`
{
allStrapiJobs(sort: {fields: strapiId, order: DESC})
{
nodes {
strapiId
company
date
... |
//# ==++==
//#
//#
//# Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//#
//# The use and distribution terms for this software are contained in the file
//# named license.txt, which can be found in the root of this distribution.
//# By using this software in any fashion, you are agr... |
import ArangoDBConnector from 'loopback-connector-arangodb';
import {DataSource, ModelBuilder} from 'loopback-datasource-juggler';
import loopback from 'loopback';
import request from 'supertest';
import './should';
import edge from '../src/edge';
const modelBuilder = new ModelBuilder();
const mixins = modelBuilder.... |
"use strict";
const Prowler = require("prowler");
/**
* Loaded function
*
* @param {PluginAPI} api The api
*/
function loaded(api) {
api.init();
/**
* This class is extended by user form
*
* @class
*/
class ProwlForm extends api.exported.FormObject.class {
/**
* P... |
/**
*
* @license Guriddo jqGrid JS - v4.8.2 - 2015-03-24
* Copyright(c) 2008, Tony Tomov, tony@trirand.com
*
* License: http://guriddo.net/?page_id=103334
*/
(function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([
"jquery"
]... |
import Layout from '@/layout'
const systemRouter = {}
export default systemRouter |
import { Browser, EventHandler } from '@syncfusion/ej2-base';
import { addClass, removeClass } from '@syncfusion/ej2-base';
import { formatUnit, isNullOrUndefined } from '@syncfusion/ej2-base';
import { getScrollBarWidth, getUpdateUsingRaf } from '../base/util';
import { scroll, contentReady, uiUpdate, onEmpty, headerR... |
var callbackArguments = [];
var argument1 = function (a, b) {
callbackArguments.push(arguments)
if (a)
visited[a] = true;
if (b)
visited[b] = true;
return 0;
};
var argument2 = false;
var argument3 = false;
var argument4 = function (a, b) {
callbackArguments.push(arguments)
return ... |
Router.route('/createImage', function() {
this.render('imageEdit');
});
Router.route('/comics', function() {
this.render('comicsList', {
data: function() {
var comics = App.Comics.find();
return {
comics: comics
};
}
});
});
Router.route('/comics/new', function(){
var newId =... |
/* https://pdapps.org/kanbani/web | License: MIT */
"use strict"
document.body.classList.remove("js_no")
document.body.classList.add("js_yes")
document.body.addEventListener("click", function (e) {
if (e.target.classList.contains("info-hint__title")) {
// Explicit visibility toggle for touch screens.
... |
import test from 'ava'
import { normalizeSearch, prepareSearch, filterSearch } from './index.js'
test('normalize characters', t => {
t.is(normalizeSearch('text áéíóú AE ÁÉ foo--bar foo1'), 'TEXT AEIOU AE AE FOO--BAR FOO1')
})
test('normalize arrays', t => {
t.is(normalizeSearch(['fóo', `bár`, `báz`]), 'FOO BAR ... |
/**
* Square Connect API
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0... |
const { Router } = require('express');
const router = Router();
const passport = require('passport');
const authService = require('../../../api/components/auth/service');
const userModel = require('../../../models/users');
const apiKeysModel = require('../../../models/apiKey');
const AuthService = authService(userMod... |
const chainParams = {
SUPERNET: {
ac_supply: 816061,
},
REVS: {
ac_supply: 1300000,
},
WLC: {
ac_supply: 210000000,
},
PANGEA: {
ac_supply: 999999,
},
PGT: {
ac_supply: 10000000,
ac_end: 1,
},
DEX: {
ac_supply: 999999,
},
JUMBLR: {
ac_supply: 999999,
},
BET: {
ac_supply: 999999,
},
CR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.