text stringlengths 2 1.04M |
|---|
/* global Ext, expect, spyOn, jasmine, xit, MockAjaxManager */
(Ext.isIE8 ? xtopSuite : topSuite)("grid-general-buffered-preserve-scroll",
[false, 'Ext.grid.Panel', 'Ext.data.ArrayStore'],
function() {
var grid, store,
synchronousLoad = true,
proxyStoreLoad = Ext.data.ProxyStore.prototype.load,... |
const OpencgaVariantBrowserConfig = {
}; |
import React, { Component, PropTypes } from 'react';
import {
ListGroupItem,
ListGroup,
Table,
Row,
Col,
} from 'react-bootstrap';
import {SendEmailModal} from '../';
import FormField from '../common/FormField';
import UserHistoryContainer from '../../containers/UserHistoryContainer';
require('react-datepick... |
console.dir(global, { depth: 0 }); |
function getPrefilter(config) {
let prefilter;
if (Array.isArray(config.prefilter))
prefilter = (path, key) =>
path.length === 0 && config.prefilter.includes(key);
else if (typeof config.prefilter === 'function') prefilter = config.prefilter;
return prefilter;
}
module.exports = getPrefilter; |
import React, { Fragment } from 'react'
const index = (props) => {
const { menu, NodeMenu, expand, typeMenu, offsetClass } = props
const cols = {
xl: props.cols.xl ? props.cols.xl : 9,
lg: props.cols.lg ? props.cols.lg : 9,
md: props.cols.md ? props.cols.md : 9,
sm: props.cols.sm ? props.cols.sm :... |
import { Router, Route, browserHistory } from "react-router";
import React, { Component } from "react";
import injectTapEventPlugin from "react-tap-event-plugin";
import MuiThemeProvider from "material-ui/styles/MuiThemeProvider";
import { Provider } from "react-redux";
import About from "./components/About";
import J... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("omi"));
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["fullscreen-exit-rounded... |
const fs = require('fs');
const { google } = require('googleapis');
const authorize = require('./googleAuthorize');
const env = require('node-env-file')('.env');
/**
* Prints the names and majors of students in a sample spreadsheet:
* @see https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74Ogv... |
// miniprogram/pages/home_center/device_manage/index.js.js
import { RemoveDevice,ChangeDeviceName ,RestDevice} from '../../../utils/api/device-api'
import wxMqtt from '../../../utils/mqtt/wxMqtt'
import request from '../../../utils/request';
Page({
/**
* 页面的初始数据
*/
data: {
dialogShow: false,
ID:''
... |
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
import BlogContent from "../components/Blog/blog-content"
const Blog = ({data}) => {
const posts = data[`blog_${"en"}`].edges
return (
<Layout>
<SEO title="Blog" />;
... |
"use strict";
/**
* Copyright 2018 IBM 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 required by... |
import {
observableArray,
observableObject
} from '../../src/util/'
const string = 'string'
describe('observableArray', () => {
it('should create observable array', () => {
const array = []
const result = observableArray(array)
expect(ko.isObservable(result)).toBe(true)
})
it('should creat... |
var mongoose = require('mongoose');
// Create a new schema for our tweet data
var schema = new mongoose.Schema({
id : Number
, name : String
, address : Boolean
, city : String
, state : String
, zip : String
});
// Create a static getTweets method to return twee... |
import {registerHTMLClass} from '../shared/register-html-class.js';
import {stringAttribute} from '../shared/attributes.js';
import {HTMLElement} from './element.js';
const tagName = 'source';
/**
* @implements globalThis.HTMLSourceElement
*/
class HTMLSourceElement extends HTMLElement {
constructor(ownerDocumen... |
var classproton_1_1acceptor =
[
[ "close", "classproton_1_1acceptor.html#a5ae591df94fc66ccb85cbb6565368bca", null ],
[ "connection_options", "classproton_1_1acceptor.html#ab963172f8e38b29e67d2b0f2081fbd12", null ]
]; |
import React from "react";
import { Icon } from "@blueprintjs/core";
const Transaction = ({ row }) => {
return (
<div className="Exchange-wrapper">
<Header row={row} />
<SwitchContent row={row} />
</div>
);
};
const Header = ({ row }) => {
return (
<div className="Exchange-header">
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
"use strict";
let fs = require("fs");
let path = require("path");
let del = require("del");
let gulp = require("gulp");
let nconf = require("nconf");
let format = req... |
import React, { PropTypes } from 'react';
import { Link } from 'react-router-dom';
class PlayerInput extends React.Component {
constructor(props) {
super(props);
this.state = {
username: ""
}
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this... |
import React from 'react'
const DataView = (props) => (
<div>
{props.rulesData.okay}
</div>
)
export default DataView |
import React from 'react'
import { View, Text, TouchableOpacity } from 'react-native'
const MenuCentral = ({
onMenuCentralPress,
onMenuCentralPress1,
onMenuCentralPress2,
categoria,
}) => {
return (
<View style={{
alignContent: 'center',
justifyContent: 'center',
... |
/**
* Kendo UI v2016.3.914 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved. ... |
const SERVER_STATES = require('../client/server_states');
const SERVER_VERSION = require('../../package.json').version;
const Shuffle = require('../client/shuffle');
const randombytes = require('randombytes');
const sha256 = require('js-sha256');
const Logger = require('./logger');
const path = require('path');
const C... |
describe('Transaction', function() {
it("constructs Transaction object from a TransactionEnvelope", function(done) {
let source = new StellarBase.Account("GBBM6BKZPEHWYO3E3YKREDPQXMS4VK35YLNU7NFBRI26RAN7GI5POFBB", "0");
let amount = "2000";
let sourceBalanceId = StellarBase.Keypair.random().bal... |
var searchData=
[
['worker',['Worker',['../classcrtc_1_1_worker.html',1,'crtc']]]
]; |
import _isPlainObject from 'lodash/isPlainObject';
import _merge from 'lodash/merge';
export default class State {
constructor() {
this.parameters = {};
}
init(parameters) {
if (_isPlainObject(parameters)) this.parameters = _merge(this.parameters, parameters);
}
} |
import React from 'react';
import { useParams } from 'react-router-dom';
import RecordDetail from '../components/RecordDetail';
export default function StockDetails() {
const { id } = useParams();
const getRecordLocal = JSON.parse(localStorage.getItem('recordsLocal'));
const selectedRecord = getRecordLocal.filte... |
module.exports = [];
//# sourceMappingURL=router.js.map |
module.exports = () => async (ctx) => {
// setTimeout(() => {
// ctx.deleteMessage()
// }, 300000)
} |
import { connect } from 'react-redux'
import { modalSelectors, modalActionCreators } from '../../state'
import ModalDummy from '../dummies/modalDummy'
const mapStateToProps = function(state) {
const modalType = modalSelectors.modalType(state)
return {
modalType,
modalOpen: modalSelectors.modalOpen(state),... |
"use strict";
// stash state variables so we don't have to pass from function to function
var contextArray;
var contextArrayObj;
var myErrors = [];
var rootObj;
var currentObj;
var validate = function(obj, schema) {
contextArray = [];
contextArrayObj = [];
myErrors = [];
rootObj = obj;
currentObj = obj;
var ne... |
const mongoose = require('mongoose')
const UserSchema = new mongoose.Schema({
name: {
type: String,
required: true
},
email: {
type: String,
required: true,
unique: true
},
password: {
type: String,
required: true
},
register_date: {
... |
// Copyright (c) 2021 Uber Technologies, Inc.
//
// 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, merge... |
"use strict";
var Aes = require("./aes");
var PrivateKey = require("./key_private");
var PublicKey = require("./key_public");
var Signature = require("./signature");
var key_utils = require("./key_utils");
var hash = require("./hash");
/**
[Wallet Import Format](https://en.bitcoin.it/wiki/Wallet_import_format)
... |
Tasks = new Mongo.Collection("tasks");
if (Meteor.isClient) {
// This code only runs on the client
Template.body.helpers({
tasks: function () {
// Show newest tasks first
return Tasks.find({}, {sort: {createdAt: -1}});
}
});
Template.body.events({
"submit .new-task": function (event) {... |
import Utils from "../Utils.js";
/**
* Checksum operations.
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*
* @namespace
*/
const Checksum = {
/**
* Fletcher-8 Checksum operation.
*
* @param {byteArray} input
* @param {Object[]} args... |
var buf = new Buffer([97, 98, 99, 100, 101, 102, 0]);
var binary = require('binary');
var vars = binary.parse(buf)
.word16ls('ab')
.word32bu('cf')
.word8('x')
.vars
;
console.dir(vars); |
import * as primitives from '@paladin-analytics/rpdf-primitives';
import renderToFile from './renderToFile';
import renderToStream from './renderToStream';
import renderToString from './renderToString';
import { pdf, version, Font, StyleSheet } from '../index';
const throwEnvironmentError = name => {
throw new Erro... |
/*
* Font transcoded from C-Source from Rinky-Dink Electronics
* Ubuntubold 24x32
* Link: http://www.rinkydinkelectronics.com/r_fonts.php
*/
module.exports = {
name:"ubuntu_bold_24x32",
monospace: true,
width: 24,
height: 32,
fontData: [
0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x0000000... |
'use strict';
/**
* Wsdisplay socket tests
*/
describe('Wsdisplay Socket Tests:', function () {
// TODO: Add wsdisplay socket tests
}); |
/**
* You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/canvas/config/config.js)
* ```js
* const editor = grapesjs.init({
* canvas: {
* // options
* }
* })
* ```
*
* Once the e... |
export var WorkoutType;
(function (WorkoutType) {
WorkoutType[WorkoutType["ForTime"] = 0] = "ForTime";
WorkoutType[WorkoutType["AMRAP"] = 1] = "AMRAP";
WorkoutType[WorkoutType["EMOM"] = 2] = "EMOM";
WorkoutType[WorkoutType["E2MOM"] = 3] = "E2MOM";
WorkoutType[WorkoutType["NotForTime"] = 4] = "NotFor... |
/**
* Auto-generated trigger file for "Mailchimp Marketing API" API.
*
* Generated at: 2022-01-05T12:34:40.158Z
* Mass generator version: 1.0.0
*
* : mailchimp-newcomp
* Copyright © 2020, AG
*
* All files of this connector are licensed under the Apache 2.0 License. For details
* see the file LICENSE on the t... |
/* live js
----------------------------------------------------------
@package: Zotonic 2014-2018
@Author: Marc Worrell <marc@worrell.nl>
Copyright 2014-2018 Marc Worrell
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... |
import React from "react"
import bulma from "../../../style/bulma.js"
const Heading = props => {
const {children, primary=false} = props
const size = primary ? 1 : (props.size || 5)
// Parse boolean strings for primary prop
const primaryBool =
typeof(primary) === "string" ? primary === "true" ... |
croc.Class.define('croc.ui.Render', {
type: 'static',
statics: {
/**
* @param config
* @returns {string}
*/
icon: function(config) {
if (config.html) {
return config.html.render({text: config.text || ''});
}
... |
import React from "react";
import ReactDOM from "react-dom";
import MUIDataTable from "../../src/";
class Example extends React.Component {
state = {
filterList: [
['Franky Miles'],
['Business Analyst'],
[],
[],
[]
],
filterOptions: ['this', 'test', 'is', 'working'],
di... |
'use strict';
import RepoManager from './RepoManager.js';
import Parser from './Parser.js';
import RegistryClient from './RegistryClient.js';
async function testProject({ projectPath, log, debugMode, privatePackagesList = [] }) {
const registryClient = new RegistryClient();
const repoManager = new RepoManager({ dir... |
/**
* @file koaError.js, error handler middleware for koa
* @author lavas
*/
/* istanbul ignore file */
/**
* generate error middleware
*
* @param {string} errPath errPath
* @return {Function} koa middleware
*/
export default function ({errorPath, defaultErrorMessage, showRealErrorMessage}) {
return async... |
// Copyright © 2019 The Things Network Foundation, The Things Industries B.V.
//
// 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
//
// Un... |
! function (e, n) {
"object" == typeof exports && "object" == typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define([], n) : "object" == typeof exports ? exports.feather = n() : e.feather = n()
}("undefined" != typeof self ? self : this, function () {
return function (e) {
va... |
// Copyright (c) 2014-2019, MyMonero.com
//
// 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
// cond... |
var RPG = RPG || {};
RPG.AttackMenuItem = function (game_state, name, position, properties) {
"use strict";
RPG.MenuItem.call(this, game_state, name, position, properties);
};
RPG.AttackMenuItem.prototype = Object.create(RPG.MenuItem.prototype);
RPG.AttackMenuItem.prototype.constructor = RPG.AttackMenuItem;
... |
// Last time updated: 2019-06-21 4:09:42 AM UTC
// ________________________
// MultiStreamsMixer v1.2.2
// Open-Sourced: https://github.com/muaz-khan/MultiStreamsMixer
// --------------------------------------------------
// Muaz Khan - www.MuazKhan.com
// MIT License - www.WebRTC-Experiment.com/licence
// ---... |
import React, { Component } from 'react';
import moment from 'moment';
import throttle from 'lodash.throttle';
import AddressPicker from './AddressPicker';
import Chart from './Chart';
import D3Wrapper from './D3Wrapper';
import DatePicker from './DatePicker';
import DirectionsLoader from './DirectionsLoader';
const ... |
import React from 'react'
import PropTypes from 'prop-types'
import createReactContext from 'create-react-context'
import { noop } from '../utility/generic'
const defaultContextState = {
markers: [],
subscribeMarker: () => {
// eslint-disable-next-line
console.warn('default subscribe marker used')
retu... |
new function(Rexjs, String){
this.SimpleTest = function(ECMAScriptParser, File, XMLHttpRequest, Error, INNER_CONTENT_REGEXP, index, console, toArray, e, catchErrors){
/**
* 解析器测试
*/
function SimpleTest(){};
SimpleTest = new Rexjs(SimpleTest);
SimpleTest.static({
/**
* 获取函数主体代码
* @param {Function} fun... |
/**
* A wrapper for a particular system belonging to a user
* Should not be constructed manually, retrieve using EnlightenAPI.getServers()
*/
export default class EnlightenSystem {
constructor(parent, props) {
for (var fld in props) {
this[fld] = props[fld];
}
this.enphaseAPI = parent;
this.c... |
const PAGES = require('../../ui/constants/pages');
// Uncomment as you add metadata
module.exports.CATEGORY_METADATA = {
[PAGES.BIG_HITS]: {
title: 'Big Hits',
description: 'Animation, pop culture, comedy, and all the other weird on Odysee',
image: '',
},
[PAGES.COMMUNITY]: {
title: 'The Univers... |
import {isExperimentOn} from '#experiments';
import {AmpPreactBaseElement, setSuperClass} from '#preact/amp-base-element';
import {userAssert} from '#utils/log';
import {BaseElement} from './base-element';
import {CSS} from '../../../build/amp-instagram-1.0.css';
/** @const {string} */
const TAG = 'amp-instagram';... |
/*
* Kendo UI Web v2014.1.318 (http://kendoui.com)
* Copyright 2014 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-web
* If you do not own a commercial license, this file shall be governed by the
* GNU General Public ... |
YUI.add('inputex-keyvalue', function (Y, NAME) {
/**
* @module inputex-keyvalue
*/
var inputEx = Y.inputEx;
/**
* Display a selectors for keys and auto-update the value field
* @class inputEx.KeyValueField
* @constructor
* @extends inputEx.CombineField
* @param {Object} options InputEx definition object with t... |
var api_noPagedList = contextPath + "/system/base/qxsj/getAllList";
var api_save = contextPath + "/system/base/menu/menuQxsjSave";
var api_delete = contextPath + "/system/base/menu/menuQxsjDelete";
/**
* 权限信息js
*/
$(function() {
// 表格初始化
$('#qxsjInfoTable').bootstrapTable({
cache : false,
striped : true,
pa... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
require.config({
baseUrl: "js/",
paths: {
'jquery': 'empty:',
'jquery-mobile': '../lib/jquery.mobile-1.3.0/jquery.mobile-1.3.0',
'jskit': '../components/jskit/jskit',
'jskit-jquery': '../components/jskit-jquery/jskit-jquery',
'underscore': '../components/underscore/under... |
self.addEventListener('message', function(e) {
const file = e.data.blob;
const percentage = e.data.percentage;
const simplify_name = e.data.simplify_name;
const agressiveness = e.data.agressiveness;
prepare_and_simplify(file, percentage, simplify_name, agressiveness);
}, false);
var Module = {
... |
const express = require('express');
const router = express.Router();
const customerTransactions = require("../Database/query/customerTransactions");
router.get('/', async (req, res) => {
const user = await customerTransactions.query()
res.json(user.recordsets[0]);
})
//kişisel bilgilerin listelenmesi
router.... |
print("Loading WaterPlane Volume Trigger script");
var rigidbody = me.rigidbody;
var volumetrigger = me.volumetrigger;
var entitiesInside = new Array();
if (server.IsRunning())
{
if(rigidbody && volumetrigger)
{
ConnectSignals();
}
else
{
print("Missing needed Components, Check that you have RigidBody an... |
import { MSG_START, MSG_IS_STARTED, MSG_STOP } from "utils/msgTypes";
import { delay } from "./../utils/helper.js";
let is_started = false;
const onRequest = (message, sender, reply) => {
switch (message.type) {
case MSG_START: {
is_started = true;
startCheckOut();
repl... |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'link', 'uk', {
acccessKey: 'Гаряча клавіша',
advanced: 'Додаткове',
advisoryContentType: 'Тип вмісту',
advisoryTitle: 'Заголовок',
anchor: {
... |
import $ from '../../core/renderer';
import registerComponent from '../../core/component_registrator';
import searchBoxMixin from '../widget/ui.search_box_mixin';
import { extend } from '../../core/utils/extend';
import TreeViewBase from './ui.tree_view.base';
// STYLE treeView
const WIDGET_CLASS = 'dx-treeview';
con... |
(function() {
var featherEditor = new Aviary.Feather({
apiKey: window.WorkshopConfig.apiKey,
onSave: function(imageID, newURL) {
var img = document.getElementById(imageID);
img.src = newURL;
}
});
function initApp() {
document.getElementById("edit... |
// I18N constants
// LANG: "pl", ENCODING: UTF-8
// Author: Krzysztof Kotowicz, http://www.eskot.krakow.pl/portfolio/, koto@webworkers.pl
// Updated for FCKeditor by: Paul Moers, http://www.saulmade.nl/FCKeditor/FCKPlugins.php
// FOR TRANSLATORS:
//
// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE
// (at l... |
/**
* 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.
*/
import React, { useState, useCallback, useEffect, useRef } from "react";
import clsx from "clsx";
import useDocusaurusContext from... |
'use strict';
var fs = require('fs');
var path = require('path');
var util = require('util');
var common = require('winston/lib/winston/common');
var Transport = require('winston').Transport;
var Stream = require('stream').Stream;
var os = require('os');
var winston = require('winston');
var zlib = require('zlib');
v... |
const mongoose = require('mongoose')
const Schema = mongoose.Schema
let ObjectId = Schema.Types.ObjectId
const bcrypt = require('bcrypt')
const SALT_WORK_FACTOR = 10
//创建UserShema
const userSchema = new Schema({
UserId :{type:ObjectId},
userName : {unique:true,type:String},
password : String,
createAt:... |
var async = require('../lib');
var expect = require('chai').expect;
describe('priorityQueue', function() {
it('priorityQueue', function (done) {
var call_order = [];
// order of completion: 2,1,4,3
var q = async.priorityQueue(function (task, callback) {
call_order.push('proce... |
let needle = require('needle');
let config = require('config');
let hasHashBotChannels = require('../helpers.js').hasHashBotChannels;
let inPrivate = require('../helpers.js').inPrivate;
let ChannelID = config.get('hashbot').mainchannel;
exports.commands = [
'hash' // command that is in this file, every command needs ... |
import React from 'react';
import classNames from 'classnames';
import styles from './index.less';
const GlobalFooter = ({ className, style, links, copyright }) => {
const clsString = classNames(styles.globalFooter, className);
return (
<footer className={clsString} style={style}>
{links && (
<di... |
/*eslint-env node*/
/*eslint no-var:0*/
var path = require('path'),
webpack = require('webpack');
var APPS = [
'hipchat-ac',
'jira'
];
var IS_PRODUCTION = process.env.NODE_ENV === 'production';
function getConfig(app) {
var pyName = app.replace('-', '_');
var staticPrefix = 'src/sentry_plugins/' + pyName... |
import _ from 'underscore';
import { get } from '../utils/fetch';
import { addNotification } from './notifications';
import { staticfilesAPIUrl, staticfileAPIUrl } from '../constants/api';
import {
getSuccessMessage,
getErrorMessage,
getUploadSuccessMessage,
getUploadErrorMessage,
} from '../translations';
// ... |
/*
*
* Wijmo Library 5.20171.293
* http://wijmo.com/
*
* Copyright(c) GrapeCity, Inc. All rights reserved.
*
* Licensed under the Wijmo Commercial License.
* sales@wijmo.com
* wijmo.com/products/wijmo-5/license/
*
*/
System.register(["wijmo/wijmo.vue2.base", "wijmo/wijmo.vi... |
"use strict";
import React from 'react';
import { Link } from 'react-router-dom'
import './styles/header.scss'
class Header extends React.Component {
render () {
const logoName = this.props.logo;
return (
<div className="valign-wrapper">
<nav>
<div className="nav-wrapper yel... |
const validStyleProps = [
'alignContent',
'alignItems',
'alignSelf',
'aspectRatio',
'backfaceVisibility',
'backgroundColor',
'borderBottomColor',
'borderBottomEndRadius',
'borderBottomLeftRadius',
'borderBottomRightRadius',
'borderBottomStartRadius',
'borderBottomWidth',
'borderColor',
'bord... |
new Crawler({
appId: "",
apiKey: "",
rateLimit: 8,
startUrls: ["https://ethermint.dev/"],
renderJavaScript: false,
sitemaps: [],
exclusionPatterns: [],
ignoreCanonicalTo: false,
discoveryPatterns: ["https://ethermint.dev/**"],
schedule: "at 20:40 on Tuesday",
actions: [
{
indexName: "eth... |
/*! jQuery Validation Plugin - v1.19.3 - 1/9/2021
* https://jqueryvalidation.org/
* Copyright (c) 2021 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}... |
const mongoose = require('mongoose');
const { toJSON } = require('./plugins');
const bidSchema = mongoose.Schema(
{
bidder: {
type: mongoose.SchemaTypes.ObjectId,
ref: 'User',
required: true,
},
artwork: {
type: mongoose.SchemaTypes.ObjectId,
ref: 'Artwork',
required:... |
"use strict";
//
// meQuery.ts
// echoppe
//
// Created by d-exclaimation on 21:56.
//
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = ... |
import React from "react";
import {connect} from 'dva'
import styles from './index.less'
import Hot from "./hot";
import NotFound from "./notfound";
import Result from "./result";
import bg from '../../public/Imgs/search/index/bg.jpg'
import search from '../../public/Imgs/search/index/search.png'
import line from '../... |
import React from 'react'
import { connect } from 'react-redux'
import { Line } from 'react-chartjs-2'
const Chart = props => {
let sleepFrom = props.data.map(item => {
return new Date(item.dateTimeFrom).getHours()
})
let sleepTo = props.data.map(item => {
return new Date(item.dateTimeTo... |
// SERVER-8814: Test that only the system.indexes namespace can be used to build indexes.
var otherDB = db.getSiblingDB("indexOtherNS");
otherDB.dropDatabase();
otherDB.foo.insert({a:1})
assert.eq(1, otherDB.foo.getIndexes().length);
assert.eq("BasicCursor", otherDB.foo.find({a:1}).explain().cursor);
assert.writeErr... |
const { Router } = require('express');
const { inject } = require('awilix-express');
const Status = require('http-status');
const loggerInjector = require('../utils/ControllerLoggerWrapper');
const UsersController = {
get router() {
const router = Router();
router.use(inject('userSerializer'));
/**
... |
const CONFIG_DESCRIPTOR = 'lighthouse-ci.json'
const CONFIG_THRESHOLD_DESCRIPTOR = 'thresholds'
const { resolve } = require('path')
const { statSync, readFileSync } = require('fs')
const { info, warn } = require('signale')
const configExists = (filePathAndName) => {
try {
statSync(filePathAndName)
} catch (e) ... |
import React from 'react';
import ReactDOM from 'react-dom';
import PauseIcon from '../PauseIcon';
describe('<PauseIcon />', () => {
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<PauseIcon />, div);
});
}); |
'use strict';
const chai = require('chai');
const expect = chai.expect;
const Support = require('../../support');
const Sequelize = Support.Sequelize;
const dialect = Support.getTestDialect();
if (dialect.match(/^mssql/)) {
describe('[MSSQL Specific] Connection Manager', () => {
describe('Errors', () => {
... |
/*
* papertrail-test.js: Tests for instances of the Papertrail transport
*
* (C) 2012 Ken Perkins
* MIT LICENSE
*
*/
// TODO still some work to get these working...
var path = require('path'),
vows = require('vows'),
assert = require('assert'),
winston = require('winston'),
helpers = require('wi... |
//# sourceMappingURL=webpack-runtime-a3e3d1d87006c2e70a9b.js.map |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/ |
ace.define("ace/snippets/applescript", ["require", "exports", "module"], function (require, exports, module) {
"use strict";
exports.snippetText = undefined;
exports.scope = "applescript";
});
(function () {
ace.require(["ace/snippets/applescript"], function (m) {
if (typeof module == "object"... |
allUsersData = {
color: '#FF9D00',
name: 'Active Users',
data: [
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
, zIndex: 20
, yAxis: 1
}; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.