text stringlengths 2 1.04M |
|---|
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.10-master-82d51e3b6
*/
!function(e,u,t){"use strict";u.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$mdUtil","$animate","$rootElement","$window","$log","$$rAF","$document",f... |
"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.NetworkWifi = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "curre... |
function Days(){
var _daysArr = ["Sunday", "Monday", "Tuesday", "Wednesday","Thursday", "Friday", "Saturday"];
var that = this;
return function(dayNum){
return _daysArr[dayNum-1];
}
}
day = Days();
console.log(day(1));
setTimeout(function(){
day(1);
},1000);
console.log(day(10)); |
'use strict'
const homebridgeLib = require('homebridge-lib')
const OmnikInverterAccessory = require('./OmnikInverterAccessory')
const OmnikInverterClient = require('./OmnikInverterClient')
const OmnikInverterWsServer = require('./OmnikInverterWsServer')
class OmnikInverterPlatform extends homebridgeLib.Platform {
c... |
import Console from '../components/Console'
import { graphql, compose } from 'react-apollo'
import gql from "graphql-tag"
// GraphQL
const graphqlQuery = gql(`
query {
state,
logs { createdAt, message }
}
`)
export default compose(
graphql(graphqlQuery, {
options: {
pol... |
function kitodarTheMiner(input) {
let silver=0;
let gold =0;
let diamonds = 0;
for(let line of input){
let tokens = line.split(" - ");
let isValidMine = tokens[0].trim().split(" ")[0] == "mine";
if(tokens.length == 2) {
if (isValidMine) {
let subTok... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this f... |
/* global artifacts */
var TokenSwap = artifacts.require('TokenSwap.sol')
module.exports = function(deployer) {
deployer.deploy(TokenSwap)
} |
import { Meteor } from 'meteor/meteor';
import { Email } from 'meteor/email';
Meteor.methods({
sendMail: function(id, type) {
var typeBeginUpperCase = type.charAt(0).toUpperCase() + type.slice(1);
var emailMessage = 'GeoDropIn dataset with user ' + Meteor.user().username + ' and id ' + id + ' has been ' + type + ... |
const Airtable = require('airtable')
Airtable.configure({
endpointUrl: process.env.AIRTABLE_URL,
apiKey: process.env.AIRTABLE_API_KEY
})
const base = Airtable.base(process.env.AIRTABLE_BASE)
exports.handler = function(event, context, callback) {
const allRecords = []
base('Team')
.select({
maxRecords: 1... |
/*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// jQuery to collapse the navbar on scroll
$(window).scroll(function() {
if ($(".navbar").offset().top > 50) {
$... |
var searchData=
[
['depthstencilimage',['DepthStencilImage',['../classvku_1_1_depth_stencil_image.html',1,'vku']]],
['depthstencilstate',['depthStencilState',['../classvku_1_1_pipeline_maker.html#a25539d7f6a8da453c574a4d7dc5dfc3d',1,'vku::PipelineMaker']]],
['descriptorpool',['descriptorPool',['../classvku_1_1_fr... |
var table;
var id=0;
var title_modal_data = "Auspicios";
$(document).ready(function(){
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
ListDatatable();
catch_parameters();
});
// datatable catalogos
function ListDatatable()
{
t... |
var path = require('path');
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel',
query: {
presets: ['react', 'es2015', 'stag... |
var searchData=
[
['dbconnector',['DbConnector',['../class_database_manager_1_1_db_connector.html',1,'DatabaseManager']]],
['dbexception',['DbException',['../class_data_manager_1_1_db_exception.html',1,'DataManager']]]
]; |
var searchData=
[
['zonefile',['ZoneFile',['../classcom_1_1example_1_1demo_1_1modular_1_1_zone_file.html',1,'com.example.demo.modular.ZoneFile'],['../classcom_1_1example_1_1demo_1_1modular_1_1_zone_file.html#aa054f694df08bab5a7a10b7dac389061',1,'com.example.demo.modular.ZoneFile.ZoneFile()']]],
['zonefile_2ejava',[... |
var vendors = ['ms', 'moz', 'webkit', 'o'];
for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];
window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationF... |
import React from 'react';
import Paper from '@material-ui/core/Paper';
import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography';
import { makeStyles } from '@material-ui/core/styles';
import LoginForm from './LoginForm';
const useStyles = makeStyles(theme => ({
root: {
... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './application/App';
import * as serviceWorker from './serviceWorker';
import store from './store';
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root... |
// Update with your config settings.
module.exports = {
development: {
client: 'postgresql',
connection: {
database: 'blog'
}
},
test: {
client: 'postgresql',
connection: {
database: 'blog-test'
},
seeds: {
directory: `${__dirname }/seeds/test`
}
}
}; |
const cachios = require('./../src');
const axios = require('axios');
const moxios = require('moxios');
const datalessMethods = [
'delete',
'get',
'head',
'options',
];
const dataMethods = [
'post',
'put',
'patch',
];
describe('cachios', () => {
beforeEach(() => {
moxios.install(axios);
});
... |
const _ = require('lodash')
const md = require('./template')
const { generateGitHubCompareURL } = require('../utils/utils')
const notDevDependency = ({dependency}) => md`
${dependency} is a direct dependency of this project, and **it is very likely causing it to break**. If other packages depend on yours, this update ... |
import { combineReducers } from 'redux';
import student from './student';
import checkins from './checkins';
import orders from './orders';
import modals from './modals';
export default combineReducers({
enrollment: student,
checkins,
orders,
modals,
}); |
require('@babel/register');
({
ignore: /node_modules/
});
require('@babel/polyfill');
const HDWalletProvider = require('@truffle/hdwallet-provider');
let mnemonic = 'inflict drum off uphold drift rebel stereo provide install only flat gasp';
let testAccounts = [
"0xb619f822608b70d0c5d73f4aa81c398ec7e59538e3e30d7... |
var searchData=
[
['kabsolutegaplimitfieldnumber_0',['kAbsoluteGapLimitFieldNumber',['../classoperations__research_1_1sat_1_1_sat_parameters.html#abee2ace14c74c32f06291b677d6e97f9a578e537fc247e14837a4a27bc630eddf',1,'operations_research::sat::SatParameters']]],
['kactivesfieldnumber_1',['kActivesFieldNumber',['../c... |
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.plaintime.prototype.since
description: RangeError thrown when largestUnit option not one of the allowed string values
features: [Temporal]
---*/
const earlier = new T... |
import React from "react"
import Header from "../components/Header"
import Layout from "../components/layout"
import SEO from "../components/seo"
const NotFoundPage = () => (
<Layout>
<Header/>
<SEO title="404: Not found" />
<h1>404: Not Found</h1>
<p>You just hit a route that doesn't exist... th... |
module.exports = {
client: {
addTypename: true,
excludes: [],
includes: [
"./src/**/*.tsx",
"./src/**/*.ts",
"./plugins/**/*.js",
"./node_modules/gatsby-source-contentful/src/fragments.js",
"./node_modules/gatsby-source-datocms/fragments/*.js",
"./node_modules/gatsby-so... |
import passport from 'passport';
import { Strategy as LocalStrategy } from 'passport-local';
import FacebookTokenStrategy from 'passport-facebook-token';
import GooglePlusTokenStrategy from 'passport-google-plus-token';
import User from '../models/user';
/**
* @LocalStrategy : Local authentication strategy authentic... |
var searchData=
[
['tar0',['TAr0',['../namespacemax14819.html#a1d2da40329b71821bfc260007b82feaa',1,'max14819']]],
['tar1',['TAr1',['../namespacemax14819.html#ae5e36a0a383113eb730529341893c0d1',1,'max14819']]],
['tchksmer',['TChksmEr',['../namespacemax14819.html#aaa68cd797348a43c8ca472db7b21e339',1,'max14819']]],
... |
// @flow
import React, { PureComponent as Component } from 'react'
import getValidProps from '@helpscout/react-utils/dist/getValidProps'
import hljs from 'highlight.js/lib/highlight'
import { classNames } from '../../utilities/classNames'
import { namespaceComponent } from '../../utilities/component'
import { COMPONENT... |
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientW... |
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faCoffee, faHeart, faCode } from "@fortawesome/free-solid-svg-icons";
function Footer() {
return (
<div className="bg-background-tertiary text-copy-primary flex flex-row sm:flex-col sm:text-center sm:justi... |
"use strict";
const { equal, deepEqual } = require("assert");
const object = require("../../../app/utils/object");
describe("object utils", () => {
describe("getByPath", () => {
let obj;
beforeEach(() => {
obj = { a: { b: { c: 47 } } };
});
it("finds nested keys", () => {
equal(object.... |
'use strict';
const app = new Vue({
el: '#app',
data: {
domain: '',
cluster: '',
profile: '',
clusters: {},
},
created: async function () {
this.listClusters().then(map => this.clusters = map);
},
methods: {
resetForm: function () {
this.domain = '';
this.cluster = '';
... |
const colors = ["green", "red", "rgba(133,122,200)", "#f15025"];
const btn = document.getElementById("btn");
const color = document.querySelector(".color");
btn.addEventListener("click", function () {
const randomNumber = getRandomNumber();
document.body.style.backgroundColor = colors[randomNumber];
color.textC... |
import Color from "color";
import { rgba_to_lab, diff } from "color-diff";
import {
matcherHint,
EXPECTED_COLOR,
RECEIVED_COLOR,
} from "jest-matcher-utils";
function expectedColor(expected) {
return Color(expected.length === 1 ? expected[0] : expected);
}
function predicate(received, expected) {
const colo... |
// @flow
import { extractFiles } from 'extract-files';
import type { ErrorValues } from './Errors';
import Errors from './Errors';
import type { Method } from './flow';
import http from './http';
import { arrayToObject, clone, containsFile, emptyValue, hasOwn, isArr, isFile, isNil, isObj, isStr, isFunc } from './utils'... |
/*!
* plays 0.7.0+201311081914
* https://github.com/ryanve/plays
* MIT License 2013 Ryan Van Etten
*/
(function(root, name, make) {
if (typeof module != 'undefined' && module['exports']) module['exports'] = make();
else name ? root[name] = make() : make();
}(this, 'plays', function() {
var doc = docum... |
import React from 'react';
export default class Header extends React.Component {
render() {
return (
<div className="page-header">
<h1>{this.props.title}</h1>
</div>
);
}
}; |
import firebase from "firebase/app"
import "firebase/firestore"
var firebaseConfig = {
apiKey: "AIzaSyApmH7JiLc_4yj9VVADydk3VzqvupxYaoo",
authDomain: "website-comments-7d10c.firebaseapp.com",
databaseURL: "https://website-comments-7d10c.firebaseio.com",
projectId: "website-comments-7d10c",
storageBucket: "we... |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/play/play"],{
/***/ 33:
/*!*************************************************************************!*\
!*** F:/project/gitProject/M云音乐/main.js?{"page":"pages%2Fplay%2Fplay"} ***!
\****************************************************************... |
const mongoose = require('mongoose');
const contentSchema = mongoose.Schema({
content: {
type: String,
required: true,
},
contentType: {
type: String,
required: true,
},
createdBy: {
type: String,
required: true,
},
created: {
type: Da... |
import * as storage from "./storage";
import * as locale from "./localization";
import * as server from "./server";
import * as output from "./output";
import { onInit } from "./init";
const STORAGE_NAME = `terminal-config`;
const boolean = ["true", "false"],
temps = {},
boolTransform = (a) => a === `true`... |
$(document).ready(function() {
$('#support-form').bootstrapValidator({
container: '#messages',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[174],{
/***/ "./frontend/src/views/settings/create_categories.vue":
/*!***********************************************************!*\
!*** ./frontend/src/views/settings/create_categories.vue ***!
\*******************************************************... |
$(document).ready(function(){let builderSortableItems=document.getElementsByClassName("form-json-group-core");let builderSortableItemsLength=builderSortableItems.length;for(let i=0;i<builderSortableItemsLength;i++){Sortable.create(builderSortableItems[i],{animation:250})}}); |
import React from "react";
import "./search.scss";
const Search = ({ handleChange }) => {
return (
<div className="search">
<div>
<input
type="text"
placeholder="Search"
name="coffee"
onChange={handleChange}
className="search-bar"
/>
<... |
/*
* FancyBox - jQuery Plugin
* Simple and fancy lightbox alternative
*
* Examples and documentation at: http://fancybox.net
*
* Copyright (c) 2008 - 2010 Janis Skarnelis
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is grea... |
/**
* Auto-generated action file for "Gitlab" API.
*
* Generated at: 2019-05-07T14:41:02.351Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / gitlab-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the A... |
"use strict";
const gulp = require('gulp'),
watch = require('gulp-watch'),
imagemin = require('gulp-imagemin');
/* ==============================
image resizer
============================== */
gulp.task('img-resize', () =>
gulp.src('./src/assets/src/*')
.pipe(imagemin())
.pipe(gulp.dest('./sr... |
import sha256 from "crypto-js/sha256";
import md5 from "crypto-js/md5";
export default ({}, inject) => {
inject("sha256", {
obj: (obj) => {
let hash = sha256(JSON.stringify(obj));
return hash.toString();
},
str: (str) => {
let hash = sha256(str);
... |
/* eslint-disable */
/* tslint:disable */
import PropTypes from 'prop-types';
import React from 'react';
const CloseSmall = ({size, ...props}) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}>
<path d="M6.53033 5.46967C6.23744 5.17678 5.76256 5.17678 5.46... |
// Formulaire
function formulaire(nomForm){
var prixAn = 50;
var NombAdults = nomForm.Adults.value ;
var NomEnfants = nomForm.enfants.value;
var NomAdos = nomForm.Ados.value;
var NomJeunes = nomForm.jeunes.value;
var AnJeunes = 50 - (50*0.10);
var AnAdos = 50 - (50*0... |
import { useState } from 'react';
import { Link } from 'react-router-dom';
import Navbar from '@material-tailwind/react/Navbar';
import NavbarContainer from '@material-tailwind/react/NavbarContainer';
import NavbarWrapper from '@material-tailwind/react/NavbarWrapper';
import NavbarBrand from '@material-tailwind/react/N... |
import Express from 'express';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import favicon from 'serve-favicon';
import compression from 'compression';
import http from 'http';
import proxy from 'express-http-proxy';
import path from 'path';
import url from 'url';
import { match, createMemo... |
/**
* @swagger
*
* /host-groups/:
* post:
* tags:
* - Host Groups
* operationId: CreateHostGroup
* summary: Create
* security:
* - ApiKeyAuth: []
* requestBody:
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/HostGro... |
import styled from 'styled-components';
const Title = styled.h3`
margin: 0 0 20px 0;
font-size: 28px;
color: #353535;
`;
export default Title; |
const presetPostcss = require('./dist/angular/preset-postcss');
const { webpackFinal } = presetPostcss;
module.exports = { webpackFinal }; |
/*!
* stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
* Copyright 2018 PIXINVENT
* Licensed under the Themeforest Standard Licenses
*/
$(window).on("load",function(){var options={series:{pie:{innerRadius:.5,show:!0}},colors:["#FFC400","#FF7D4D","#FF4558","#626E82","#28D094","#00A5A8"]},data... |
import gql from 'graphql-tag';
export const buildFilterClause = (filters, dbFilters) => {
if (Object.keys(filters).length > 0) {
let value = '';
Object.keys(filters).forEach(f => {
const filterName = f.replace('filter_', '');
if (filters[f] && filters[f].value !== '*') {
const filterValue... |
(function() {
let explorerConfig = {
theme: 'white',
tokenName: 'ENQ',
tokenHash: '0000000000000000000000000000000000000000000000000000000000000000',
favicon: 'assets/images/favicon_en.ico',
tokenLogoFileLink: 'logo-white.png',
logoLinkTarget: 'https://enecuum.com', ... |
export const required = value => (value || typeof value === 'number' ? undefined : 'Required field') // moved to dynamicValidator
export const alphaNumeric = value =>
value && /[^a-zA-Z0-9 ]/i.test(value)
? 'Only alphanumeric characters allowed'
: undefined
export const numericCost = value =>
value && /[^... |
var Pool = require('./Pool');
var PoolConfig = require('./PoolConfig');
var Util = require('util');
var EventEmitter = require('events').EventEmitter;
module.exports = PoolCluster;
/**
* PoolCluster
*/
function PoolCluster(config) {
EventEmitter.call(this);
config = config || {};
this._canR... |
// This file was procedurally generated from the following sources:
// - src/declarations/let.case
// - src/declarations/redeclare/switch-attempt-to-redeclare-generator-declaration.template
/*---
description: redeclaration with let-LexicalDeclaration (GeneratorDeclaration in SwitchStatement)
esid: sec-switch-statement-... |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define([],
function() {
"use strict";
/**
* MonthPicker renderer.
* @namespace
*/
var MonthPickerRenderer = {
};
... |
/*
*
* Crm constants
*
*/
export const GET_SCHEDULES = 'app/Crm/GET_SCHEDULES';
export const GET_SCHEDULES_SUCCESS = 'app/Crm/GET_SCHEDULE_SUCCESS';
export const GET_SCHEDULES_ERROR = 'app/Crm/GET_SCHEDULE_ERROR';
export const OPEN_NEW_CONTACT_DIALOG = 'app/Crm/OPEN_NEW_CONTACT_DIALOG';
export const CLOSE_NEW_CON... |
import angular from 'angular';
import uiRouter from '@uirouter/angularjs';
import ConfigBlock from './app.config';
import RunBlock from './app.run';
import { CommonModuleName } from './common/common.module';
const moduleName = 'app';
// dependencies should be always module
const dependencies = [
uiRouter
];
co... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{eYjR:function(a,e,n){var r,y,t;!function(o){if("object"==typeof a.exports){var s=o(0,e);void 0!==s&&(a.exports=s)}else y=[n,e],void 0===(t="function"==typeof(r=o)?r.apply(e,y):r)||(a.exports=t)}(function(a,e){"use strict";Object.defineProperty(e,"__esModule",{va... |
'use strict';
/**
* @ngdoc function
* @name sparkleApp.controller:LoginCtrl
* @description
* # LoginCtrl
*/
angular.module('sparkleApp')
.controller('LogoutCtrl', ['$cookieStore', '$http', '$window', '$rootScope', 'Backend', function ($cookieStore, $http, $window, $rootScope, b) {
$http.get(b.host + '/logout... |
import React, { useEffect } from 'react';
import { useQuery } from '@apollo/client';
import NoteFeed from '../components/NoteFeed';
import { GET_MY_NOTES } from '../gql/query';
function MyNotes() {
const { loading, error, data } = useQuery(GET_MY_NOTES);
useEffect(() => {
document.title = 'My Notes — Notedly... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
'use strict';
(function() {
var _ = require('underscore')
, parseString = require('xml2js').parseString
, parseNumbers = require('xml2js').processors.parseNumbers
, qtmrt = require('./qtmrt')
, readUInt32 = require('./helpers').readUInt32
, toCamelCase = require('./helpers').toCam... |
/*jshint -W097, -W033, node: true, esversion: 6 */
'use strict'
const db = require('@arangodb').db
const _ = require('lodash')
const createRouter = require('@arangodb/foxx/router')
const router = createRouter()
module.context.use(router)
// ----------------------------------------------------------------------------... |
/****************************************************************
* *
* 代码库 *
* www.dmaku.com *
* 努力创建完善、持续更新插件以及模板 *
* *
****************************************************************/
/*!
* Thumbnail helper for fancyB... |
/*
TimelineJS - ver. 2.34.1 - 2014-10-29
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.... |
'use strict';
var notes = {
list: [],
settings: {
width: 1024,
height: 1024,
ambientColor: 0xffffff,
diffuseColor: 0xf5f5f5,
distance: 3000,
},
active: undefined,
geometry: undefined,
material: undefined,
init: function () {
notes.getGeometry();
notes.getMaterial();
... |
// Copyright (c) 2015-present Xenia, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {ViewTypes} from 'app/constants';
import {UserTypes} from 'mattermost-redux/action_types';
export default function search(state = '', action) {
switch (action.type) {
case ViewTypes.SEARCH_DRAFT_C... |
/* React */
import React, {useEffect} from 'react';
import { BackHandler, StyleSheet, Text, View } from 'react-native';
import 'react-native-gesture-handler'
import { NavigationContainer } from '@react-navigation/native';
/* Screens */
/* Expo */
import { useFonts } from 'expo-font';
import StackNavigator from './... |
/* eslint-disable complexity,prefer-reflect,max-len,newline-after-var */
/* eslint no-multi-str:0 */
'use strict';
const { ucs2 } = require('punycode');
const { Transform } = require('stream');
const Sax = require('sax');
const { SVGPathData } = require('svg-pathdata');
const svgShapesToPath = require('./svgshapes2sv... |
/*jslint browser:true */
var jQuery;
var wssh = {};
(function() {
// For FormData without getter and setter
var proto = FormData.prototype,
data = {};
if (!proto.get) {
proto.get = function (name) {
if (data[name] === undefined) {
var input = document.querySelector('input[name="' + nam... |
const cheerio = require('cheerio');
const got = require('@/utils/got');
module.exports = async (ctx) => {
// 发起 HTTP GET 请求
const host = 'http://xxhb.cug.edu.cn/zqxt/zqjsjg.jsp?wbtreeid=1283&selectType=1&searchScope=0';
const response = await got({
method: 'get',
url: host,
});
c... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/**
* @license Apache-2.0
*
* Copyright (c) 2022 The Stdlib Authors.
*
* 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 a... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
// Copyright 2017-2020 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// order important in structs... :)
/* eslint-disable sort-keys */
var _default = {
rpc: {},
types: {
Un... |
//when page is loading:
$(document).ready(function(){
$('div.vsacontent').hide();
});
//show log's page
$(function () {
$('button#vsa').bind('click', function () {
$.getJSON('/mach/vsa/log', {
}, function (data) {
$('div.instrlog#vsa').empty();
$('div.instrlog#vsa').appe... |
'use strict';
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProp... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.24/esri/copyright.txt for details.
//>>built
define("esri/nls/jsapi_el",{"dijit/nls/loading":{loadingState:"\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7...",errorState:"\u03a3\u03b1\u03c2 \u03b6\u03b7\u03c4\u03b... |
/*! django BMF */
(function($){
if(!$.bmf){
$.bmf = new Object();
};
// Keys
$.bmf.KEYS = {
ESC: 27,
TAB: 9,
RETURN: 13,
UP: 38,
DOWN: 40
};
$.bmf.AJAX = {
beforeSend: function(xhr, settings) {
xhr.setRequestHeader("X-CSRFTok... |
// 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 in writing, software
// distributed... |
import React,{Component} from 'react'
//import Header from '../../components/Header'
import MovieHeader from '../../components/MovieHeader'
import Navdrawer from '../../components/Navdrawer'
import './CoreLayout.scss'
import '../../styles/core.scss'
export class CoreLayout extends Component {
render() {
const tog... |
//# sourceMappingURL=8.378c3a6d.chunk.js.map |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[665],{Hxx7:function(e,o,t){var n,p,i;!function(s){if("object"==typeof e.exports){var c=s(0,o);void 0!==c&&(e.exports=c)}else p=[t,o],void 0===(i="function"==typeof(n=s)?n.apply(o,p):n)||(e.exports=i)}((function(e,o){"use strict";Object.defineProperty(o,"__esModule",{... |
var help = require('./help')
, path = require('path')
, childProcess = require('child_process');
module.exports = function CreateNodeManagerCommand(args, commands) {
this.execute = function execute() {
// Show the help overview in case something is missing or not correct
if (!args.hasArgs() || args.has... |
import nodent from "rollup-plugin-nodent";
import babel from "@rollup/plugin-babel";
import cleanup from "rollup-plugin-cleanup";
import { terser } from "rollup-plugin-terser";
import pkg from "./package.json";
import gzipPlugin from "rollup-plugin-gzip";
import analyze from "rollup-plugin-analyzer";
import sizes from ... |
module.exports = require('mathjax-full/js/adaptors/browserAdaptor').browserAdaptor |
document.dispatchEvent(new CustomEvent("generateFuncReady", { detail: { generateFunc: $gwx('./pages/home.wxml') } })); |
import Loader from 'loader/Loader.js';
let loader = new Loader();
loader.path = 'assets/';
loader.xml('octopus');
loader.start().then(
(files) => loaderComplete(files)
);
function loaderComplete (files) {
for (let file of files)
{
console.log(file);
}
} |
const {
tendermint: {
abci: {
ResponseQuery,
},
},
} = require('@hthcoin/abci/types');
const {
v0: {
GetDataContractResponse,
Proof,
},
} = require('@hthcoin/dapi-grpc');
const getDataContractFixture = require('@hthcoin/dpp/lib/test/fixtures/getDataContractFixture');
const GrpcErrorCode... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.