text stringlengths 2 1.04M |
|---|
const chalk = require('chalk');
// -----配置模块------
const {questionList} = require('./utils/baseConf');
// ----- 方法 -----
const tools = require('./utils/tools');
const awaitWrap = tools.awaitWrap;
// 指令功能函数---init
async function initHandle(appName='') {
let rootPath = tools.getRootPath(appName);
if(!rootPath) {
... |
//**********************************************************************************************\
// main.js
//
// Author(s): lmout82
// Licence: MIT License
// Link: https://github.com/lmout82/Rush-JS-JQuery
// Creation date: March 2017
//****************************************... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const deepmerge = require("deepmerge");
const merlin = require("./merlin");
exports.merlin = merlin;
const remote = require("./remote");
exports.remote = remote;
const types = require("./types");
exports.types = types;
var ISettings;
(function... |
import React from 'react';
import { embedProps } from './tools';
import '../sigma/main';
/**
*
* Sigma - React.JS flow-typed interface for Sigma js library - fastest opensource rendering engine for network graphs.
* Sigma makes it easy to publish networks on Web pages, and allows developers to integrate network exp... |
describe('Window', function() {
describe('Basic Operation', function() {
beforeEach(function() {
this.eventEmitter = new Mirador.EventEmitter();
this.mockedEventEmitter = new MockEventEmitter(this.eventEmitter);
this.appendTo = jQuery('<div/>');
Mirador.viewer = {
// all of this gl... |
#!/usr/bin/env node
/*
* Copyright (c) 2021, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
const fs = require('fs')
const isEmail = require('validator/lib/isEmail... |
import crypto from 'crypto';
import auth0 from '../../../utils/auth0';
import { OSS } from '../../../utils/constant';
import { validUser } from '../../../utils/av';
const OSSAccessKeyId = process.env.OSS_AK;
const OSSAccessKeySecret = process.env.OSS_SK;
export default async (req, res) => {
const type = req.query[... |
var Accessory = require('../').Accessory;
var Service = require('../').Service;
var Characteristic = require('../').Characteristic;
var uuid = require('../').uuid;
var mqtt = require('mqtt');
var client = mqtt.connect('mqtt://{{MQTT_ADDRESS}}');
var Sensor = {
value: 0,
getValue: function() {
client.publish('{... |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e=e||self).Four=e.Four||{},e.Four.Clock={}))}(this,function(e){"use strict";var t=["getTime","date","performance"],n=function(){function e(e){var t=void 0===e?{}:e,n=t.type,i=vo... |
import styled from 'styled-components'
import media from 'styled-media-query'
import AniLink from "gatsby-plugin-transition-link/AniLink"
import transitions from './transitions'
export const PostHeader = styled.header`
color: var(--postColor);
margin: auto;
max-width: 70rem;
padding: 5rem 5rem 0;
${media.... |
module.exports = {
presets: ['@babel/preset-react', '@babel/preset-env'],
plugins: [
'@babel/transform-runtime',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-optional-chaining',
],
}; |
import { ANNOUNCEMENT_REQUEST,TODAY_REQUEST,VIDEOS_REQUEST,ASSIGNMENT_REQUEST,
FILE_REQUEST
} from '../constants'
const initialState = {
announcementData: []
}
// export default function getAnnouncement(state = [], action) {
// switch (action.type) {
// case ANNOUNCEMENT_REQUEST:
// // c... |
const is = require('unist-util-is');
const position = require('unist-util-position');
const { isEmpty } = require('lodash');
const getId = require('./get-id');
const keyToSection = {
head: 'before-user-code',
tail: 'after-user-code'
};
const supportedLanguages = ['js', 'css', 'html', 'jsx', 'py'];
function defau... |
import { storySettings } from './storySettings';
import Calendar from '../../../src/Calendar';
import playgroundStoryConfig from './CalendarPlaygroundConfig';
export default {
category: storySettings.category,
storyName: storySettings.storyName,
component: Calendar,
componentPath: '../../../src/Calendar',
.... |
const chalk = require('chalk');
let verbose = false;
const setVerbose = (newVerboseValue) => {
verbose = newVerboseValue;
};
const infoMessage = (message, verboseMessage) => {
console.log(chalk`{green v} ${message}`);
if (verbose && verboseMessage) {
console.log(` ${verboseMessage}`);
}
};
const errorM... |
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
document.getElementsByTagName('body')[0].innerHTML = '<div id="root"></div>'
ReactDOM.render(<App />, document.getElementById('root')) |
const flatten = require('../../utils/flatten')
const mat4 = require('../../maths/mat4')
const geom2 = require('../../geometries/geom2')
const geom3 = require('../../geometries/geom3')
const path2 = require('../../geometries/path2')
/**
* Scale the given objects using the given options.
* @param {Array} factors - X... |
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('stripe-connect-button', 'Integration | Component | stripe connect button', {
integration: true
});
test('it renders all required elements', function(assert) {
assert.expect(2);
let url = 'h... |
/*
This file is part of web3.js.
web3.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
web3.js is distribu... |
/**
* Created by marija on 22.02.18.
*/
var p1 = Promise.resolve(18);
var p2 = Promise.reject(17);
var callbackArguments = [];
var argument1 = p2;
var argument2 = function callback(){callbackArguments.push(arguments)};
var argument3 = true;
var argument4 = function callback(){callbackArguments.push(argumen... |
/**
* Collection of Reflect Types for easy maintenance
*/
export var DecoratorKeys;
(function (DecoratorKeys) {
/** Get the Typescript assigned Type at runtime */
DecoratorKeys["Type"] = "design:type";
/**
* "@prop" Cache
* -> Use only for a class
*/
DecoratorKeys["PropCache"] = "typego... |
/*
* author:lizhongdang
* 2015-11-24
*/
import Ember from 'ember';
var ajax = Ember.$.ajax;
export default Ember.Service.extend({
/*
* 新增
*/
create : function(form) {
var url = "/api/osinstall/v1/manageNetwork/add";
//生成发请求数据对象
var data = {};
data = form;
//发送ajax请求
return aja... |
import React from "react";
import { Text } from "react-native";
import useTheme from "../../hooks/useTheme";
export default ({ style, ...props }) => {
const theme = useTheme();
const myStyle = {
color: theme.colors.primary,
fontSize: theme.fonts.body,
...style,
};
return <Text {...props} style={myS... |
export const closeOverlay = {
name: 'close-overlay',
bind (el, binding, vnode) {
const handler = ev => {
let vm = vnode.componentInstance
while ((vm = vm.$parent)) {
const name = vm.$options.name
if (name === 'kuantic-popup' || name === 'QModal') {
vm.hide(ev)
bre... |
var cooking = require('cooking');
var gen = require('../../build/gen-single-config');
cooking.set(gen(__dirname, 'minLoading'));
module.exports = cooking.resolve(); |
const {toLineHeight, toPadding, toFont, resolve} = Chart.helpers; // from '../../src/helpers/helpers.options';
describe('Chart.helpers.options', function() {
describe('toLineHeight', function() {
it ('should support keyword values', function() {
expect(toLineHeight('normal', 16)).toBe(16 * 1.2);
});
it ('sho... |
import $ from 'jquery';
import { Solarage, isNotFutureDate } from './solarages';
import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.min.css';
import './styles.css';
$(document).ready(function(){
$('#userSubmit').on('click', function(e){
e.preventDefault();
$('output').empty();
let userPlanetOption... |
// store chunk is loss replica
// format -> [joinTime, repairTime]
/**
{"aabbccdd":[1599701518196,1603841772044],"eeffgghh":[1599701518196,0],"ooxxkkmm":[1603842910809,0]}
*/
const metadata = {
// "aabbccdd": [1599701518196, 1603841772044],
// "eeffgghh": [1603842899517, 0],
// "ooxxkkmm": [1603842910809, 0],
... |
var vows = require('vows');
var assert = require('assert');
var UrlsProcessor = require('../../lib/text/urls-processor');
function processorContext(context) {
var vowContext = {};
function escaped (targetCSS) {
return function (sourceCSS) {
var result = new UrlsProcessor().escape(sourceCSS);
asser... |
import React, { useState, useEffect } from 'react'
// A React renderer for Three-js: https://github.com/drcmda/react-three-fiber
import { Canvas } from 'react-three-fiber'
// A React x-platform animation library: https://github.com/react-spring/react-spring
import { useTransition, useSpring, a } from 'react-spring/thre... |
const Event = require('../Structures/Event.js')
const { MessageButton, MessageActionRow, Activity } = require('discord.js')
module.exports = class extends Event {
constructor(client) {
super("ready", client, true)
}
async execute(client) {
console.log('O bot iniciou!')
await client.loadInteractions(... |
/*
* Copyright (c) 2019 LNBIG.com
* All rights reserved.
*/
const PromisePool = require('es6-promise-pool')
const _ = require('lodash')
const nodeStorage = require('../global/nodeStorage');
const { myNodes } = require('../global/myNodes')
const { MAX_SATOSHIS_PER_TRANSACTION } = require('./constants')
const listCh... |
export * from './user.service';
export * from './application.service';
export * from './chart.service';
export * from './new.service';
export * from './project.service'; |
/* eslint-disable */
import React, { Fragment } from 'react'
import Helmet from 'react-helmet'
import { stringify } from 'qs'
import { serialize } from 'dom-form-serializer'
import './Form.css'
class Form extends React.Component {
static defaultProps = {
name: 'Kontakt',
subject: '', // optional subject of t... |
const assert = require('assert').strict;
const { promisify } = require('util');
const tough = require('tough-cookie');
const { makeCurlCommand } = require('../src/curl_command');
async function run() {
const cookieJar = new tough.CookieJar();
const setCookieFunc = promisify((cookie, url, callback) =>
... |
const router = require('express').Router();
const { Comment } = require('../../models');
const withAuth = require('../../utils/checkLogin');
router.post('/', withAuth, async (req, res) => {
try {
const commentData = await Comment.create({
content: req.body.content,
user_id: req.sess... |
module.exports = {
schema: 'my-schema',
table: 'my-table',
headers: ['zip', 'lat', 'lon', 'box'],
fields: {
zip: 'int',
bbox: {
type: 'bbox',
from: 'box'
},
location: {
type: 'location',
from: ['lon', 'lat']
}
}
}; |
import { useAllFeaturedGames } from './useAllFeaturedGames';
import { useAllPublishedGames } from './useAllPublishedGames';
import { useAllComingSoonGames } from './useAllComingSoonGames';
export { useAllPublishedGames, useAllFeaturedGames, useAllComingSoonGames }; |
App.namespace("views.management");
App.views.management.Recipients = (function($) {
"use strict";
var inst = {};
inst.init = function() {
App.views.common.Common.init();
};
return inst;
}(jQuery)); |
const ENV = process.env,
port = ENV.WEB_PORT || 80,
host = ENV.IP || '127.0.0.1',
mongo = ENV.MONGO_URL || '',
emailAddr = ENV.EMAIL_ADDR || '',
emailPass = ENV.EMAIL_PASS || '',
supportEmailAddr = ENV.SUPP_EMAIL_ADDR || '',
eventname = ENV.EVENT_NAME,
eventMediaLinks = {
website... |
const nVersionArr = process.version.slice(1).split(".").map((x) => +x);
if (nVersionArr[0] < 16 || nVersionArr[1] < 6) throw new Error("Node 16.6.0 or higher is required. Update Node on your system.");
const {
Client,
Collection
} = require("discord.js");
const {
promisify
} = require("util");
const readdi... |
import React,{Component} from 'react'
import PropTypes from 'prop-types'
import { Page } from 'components'
import { Row, Col,Form,Table,Modal,Button,message,Select,TreeSelect,Input } from 'antd'
/**
* @Title:维度新增模态框组件
* @Description:子组件
* @Author: chenshuai
* @Time: 2019/4/9
* @Version 1.0
* @Copyright: Copyrigh... |
const { Router } = require("express");
const LocationController = require("../../controllers/LocationController");
const { authToken, authUser } = require("../../middlewares/auth");
const router = Router();
router.post("/", authToken, authUser, LocationController.createLocation);
module.exports = router; |
// Icon: Feather.AlignRight
import React from 'react';
import defaultProps from 'reactium_modules/@atomic-reactor/reactium-ui/Icon/defaultProps';
export default props => (
<svg {...defaultProps} {...props}>
<g>
<path d='M896 384h-597.333c-25.6 0-42.667 17.067-42.667 42.667s17.067 42.667 42.667... |
/*
Version 3.0.0
=========================================================
bootstrap-datetimepicker.js
https://github.com/Eonasdan/bootstrap-datetimepicker
=========================================================
The MIT License (MIT)
Copyright (c) 2014 Jonathan Peterson
Permission is hereby granted, free of charge,... |
const jwt = require("jsonwebtoken");
const { sec } = require("../config/server").jwt;
const auth = require("../controllers/auth");
module.exports = (req, res, next) => {
const preCheckAuth = req.get("Authorization");
if (!preCheckAuth) {
res.status(401).json({ message: "token 404" });
return;
}
const t... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.11-.9-2-2-2H4c-1.11 0-2 .89-2 2v10c0 1.1.89 2 2 2H0v2h24v-2h-4zm-7-3.53v-2.19c-2.78 0-4.61.85-6 2.72.56-2.67 2.11-5.33 6-5.87V7l4 3.73-4 3.74z" />
, 'ScreenSh... |
require("setimmediate");
var events = require('events'),
path = require('path');
var vows = require('../vows');
var Context = require('../vows/context').Context;
this.Suite = function (subject) {
this.subject = subject;
this.matcher = /.*/;
this.reporter = require('./reporters/dot-matrix');
this.b... |
const config = require('./config');
const express = require('express');
const bodyParser = require('body-parser');
const pino = require('express-pino-logger')();
const { videoToken } = require('./tokens');
const app = express();
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
app.use(p... |
import React, { Component } from 'react'
import {NavLink,Link,Switch} from 'react-router-dom'
import { Button,WhiteSpace,InputItem,List,Toast} from 'antd-mobile'
export default class changepsw extends Component {
constructor(){
super();
this.state={
oldpwd:'',
inputoldpwd:''... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
import {
GET_FAMILY_SUCCESS
} from "../actions/family";
const initialState = {};
export default function reducer(state=initialState, action) {
if (action.type === GET_FAMILY_SUCCESS) {
/* action.family is the family document (object) returned from
the GET request to /family/:familyCode. */
return Obje... |
import { constantRoutes } from '@/router'
/**
* Use meta.role to determine if the current user has permission
* @param roles
* @param route
*/
function hasPermission(roles, route) {
if (route.meta && route.meta.roles) {
return roles.some(role => route.meta.roles.includes(role))
} else {
return true
}... |
// Copyright 2011 the Sputnik authors. All rights reserved.
/**
* @path ch15/15.3/15.3.4/15.3.4.2/S15.3.4.2_A14.js
* @description The toString function is not generic; it throws a TypeError exception if its this value is not a Function object.
* @negative TypeError
*/
Function.prototype.toString.call({}); |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _iterateJsdoc = _interopRequireDefault(require("../iterateJsdoc"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _iterateJsdoc.default)((... |
/**
* Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
* Edition) available.
* Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance wit... |
import PropTypes from "prop-types";
import React from "react";
import styled from "styled-components";
import { OverflowWrapper } from "../OverflowWrapper";
import { breakpoints, spacings } from "../theme";
export const GridContext = React.createContext({ columns: 4 });
export const Grid = ({ columns, ...props }) =>... |
r(553,550,Nh);_.Pc=function(){this.a.Rb&&sK(this.a.Rb);this.a.Rb=new zK(1,this.a)};y(KF)(4); |
// flow-typed signature: 1ff6a6907d4bd7ae43bf89dca36c3f72
// flow-typed version: <<STUB>>/babel-plugin-check-es2015-constants_v^6.8.0/flow_v0.36.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-check-es2015-constants'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled ... |
/*
* Tencent is pleased to support the open source community by making WeUI.js available.
*
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the Li... |
import GA from './GoogleAnalytics'
// import Plausible from './Plausible'
// import SimpleAnalytics from './SimpleAnalytics'
// import Umami from './Umami'
import siteMetadata from '@/data/siteMetadata'
const isProduction = process.env.NODE_ENV === 'production'
const Analytics = () => {
return (
<>
{/* {i... |
import _isEqual from "lodash/isEqual";
import _isPlainObject from "lodash/isPlainObject";
import _isFunction from "lodash/isFunction";
import _omit from "lodash/omit";
import _isString from "lodash/isString";
import _isNumber from "lodash/isNumber";
function _typeof(obj) { if (typeof Symbol === "function" && typeof Sy... |
import React, { useState, useContext } from "react";
import Axios from "axios";
import {
Row,
Container,
Col,
Input,
Button,
InputGroup,
InputGroupAddon
} from "reactstrap";
import UserCard from "../Layout/UserCard";
import Details from "../Layout/Details";
import { Navigate } from "react-ro... |
import React from 'react'
import useIpfsFactory from './hooks/use-ipfs-factory.js'
import useIpfs from './hooks/use-ipfs.js'
import logo from './ipfs-logo.svg'
const App = () => {
const { ipfs, ipfsInitError } = useIpfsFactory({ commands: ['id'] })
const id = useIpfs(ipfs, 'id')
return (
<div className='sans... |
import { push } from 'react-router-redux';
import {
CHANGE_INPUT,
SIGNUP_START,
SIGNUP_ERROR,
SIGNUP_SUCCESS
} from './constants';
import {fetchAPI} from '../../api';
/**
* action creators
*/
// when the input changes
export function changeInput(event, data) {
let field = data.name;
let ... |
//@Author William E. Velázquez Amarra - williamvelazquez.isc@gmail.com
import React from 'react';
import '../css/info-window-content.css';
function InfoWindowContent(props) {
return (
<div className="infoWindow">
<br />
<h4 className="title">{ props.title }</h4>
<div className="disponibilidadI... |
import React, { useState } from 'react';
import ButtonPanel from './btnPanel';
import calculate from '../logic/calculate';
import Display from './display';
function Calculator() {
const [opObj, setopObj] = useState({
total: null,
next: null,
operation: null,
point: false,
});
const updateState =... |
/*jshint expr: true*/
"use strict";
var chai = require("chai");
var expect = chai.expect;
chai.config.includeStack = true;
var request = require("supertest");
var alexaAppServer = require("../index");
describe("Alexa App Server with Examples & HTTPS fail checking", function() {
var testServer;
afterEach(function(... |
const express = require('express')
const app = express()
const http = require('http').Server(app)
const io = require('socket.io')(http)
const bodyParser = require('body-parser')
const api = require('./api')
const logger = require('./logger')
const discordBot = require('./bots/discordbot')
const path = require('path')
... |
//add color picker if supported
if (Modernizr.inputtypes.color) {
$(".picker").css("display", 'inline-block');
var c = document.getElementById('colorpicker');
c.addEventListener('change', function(e) {
//d.innerHTML = c.value;
var color = c.value;
// $("body").css("background", color);
... |
import React from 'react'
import SvgIcon from '../../SvgIcon'
export default function EmailIcon(props) {
return (
<SvgIcon viewBox="0 0 19 15" {...props}>
<path
d="M0 0h19v15H0V0zm1.5 13.5h16v-12h-16v12zm2-6.5h6v1.3h-6V7zm0 3h6v1.3h-6V10zm9-6.5h3v3h-3v-3z"
fillRule="evenodd"
/>
</... |
mycallback( {"ELECTION CODE": "G2010", "EXPENDITURE PURPOSE DESCRIP": "Political Contribution: Contribution", "BENEFICIARY CANDIDATE OFFICE": "H", "PAYEE ZIP": "722177526", "MEMO CODE": "", "PAYEE STATE": "AR", "PAYEE LAST NAME": "", "PAYEE CITY": "Little Rock", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STRE... |
const { Given, When, Then, Before } = require("@cucumber/cucumber")
const { assertThat, is, equalTo } = require("hamjest")
const { Network } = require("../../src/shouty")
const DEFAULT_RANGE = 100
Before(function () {
this.messagesShoutedBy = {}
this.network = new Network(DEFAULT_RANGE)
})
Given("the range is {... |
/*
* String.fromCodePoint()
*
*/
/*===
string 0
string 1 65
string 2 65 66
string 3 65 66 67
string 8 0 65535 55296 56320 56264 56883 56319 57343
RangeError
RangeError
RangeError
RangeError
RangeError
string 1 0
RangeError
RangeError
RangeError
RangeError
string 100 65 66 67 68 69 70 71 72 73 74 65 66 67 68 69 70 ... |
/**
* Given an array of positive integers. The task is to find inversion count of array.
Inversion Count : For an array, inversion count indicates how far (or close) the array is from being sorted. If array is already sorted then inversion count is 0. If array is sorted in reverse order that inversion count is the ma... |
let isPrime = function(n){
if(n % 2 === 0 || n < 2) { return false; }
if(n===2) { return true;}
for(let i = 3; i <= Math.sqrt(n); i+=2){
if(n % i === 0) { return false; }
}
return true;
}
let step = function(g, m, n){
for(let i = m, idx = 0; i <= n; i++){
if(isPrime(i) && isPrim... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
import QuillSnowStylesheet from './QuillSnowStylesheet';
export default {
'@global': Object.assign({}, QuillSnowStylesheet, {
'.ra-rich-text-input': {
'& .ql-editor': {
fontSize: '1rem',
fontFamily: 'Roboto, sans-serif',
padding: 0,
... |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e6c4a"],{"99c7":function(c,n,a){"use strict";a.r(n);var e=a("3547");n["default"]=e["default"]}}]); |
var classGoogle_1_1OrTools_1_1ConstraintSolver_1_1IntervalVarVector_1_1IntervalVarVectorEnumerator =
[
[ "IntervalVarVectorEnumerator", "classGoogle_1_1OrTools_1_1ConstraintSolver_1_1IntervalVarVector_1_1IntervalVarVectorEnumerator.html#ab39d4dda138c1d93061226ce60d140da", null ],
[ "Dispose", "classGoogle_1_1Or... |
module.exports={A:{A:{"2":"H D G E A B eB"},B:{"2":"1 C p J L N I"},C:{"1":"0 2 3 5 6 7 8 9 J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t u v w x y z BB CB","2":"1 cB EB F K H D G E A B C p aB UB"},D:{"2":"0 1 2 3 5 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k ... |
const { getNamedAccounts, deployments, network, run } = require("hardhat")
const {
networkConfig,
developmentChains,
VERIFICATION_BLOCK_CONFIRMATIONS,
} = require("../helper-hardhat-config")
const { verify } = require("../helper-functions")
const FUND_AMOUNT = "1000000000000000000000"
module.exports = asy... |
import { PropTypes } from 'react-view';
import { EuiCodeEditor } from '../../../../src/components/';
import {
propUtilityForPlayground,
dummyFunction,
} from '../../services/playground';
import 'brace/theme/github';
import 'brace/theme/cobalt';
import 'brace/theme/dawn';
import 'brace/theme/eclipse';
import 'brace... |
const models = require('../models');
const { Cat } = models;
const { Dog } = models;
const defaultData = {
name: 'unknown',
bedsOwned: 0,
};
const defaultDogData = {
name: 'unknown',
breed: 'unknown',
age: 0,
};
let lastAdded = new Cat(defaultData);
let lastAddedDog = new Dog(defaultDogData);
const hos... |
define(["dojo/_base/declare",
"dojo/_base/lang",
"./ISODocumentType",
"./DataRoot"],
function(declare, lang, DocumentType, RootDescriptor) {
var oThisClass = declare(DocumentType, {
caption: "ISO 19115-3",
description: "",
key: "iso-19115-3",
isService: false,
metadataSta... |
const GuildChannel = require('./GuildChannel');
const TextBasedChannel = require('./interfaces/TextBasedChannel');
const Collection = require('../util/Collection');
/**
* Represents a guild text channel on Discord.
* @extends {GuildChannel}
* @implements {TextBasedChannel}
*/
class TextChannel extends GuildChannel... |
import { LOG, INFO } from '../Logging'
import { TilesetSelectorWidget } from '../js/ui/TilesetSelectorPalette.js';
import { Map, verifyTileData, verifyMap, cleanEntities } from '../Map.js';
import { Palettes } from '../Palettes.js';
import { LayersWidget, selectNumberedLayer, visibilityFix, getSelectedLayer, MAGICAL_E... |
import test from 'ava';
import {isUrl} from '../../lib/utils.js';
test('Checks if given string is a valid URL', t => {
t.false(isUrl('foo.bar'));
t.true(isUrl('https://foo.bar'));
});
test('Throws error if given URL is not a string', t => {
t.throws(() => {
isUrl({url: 'https://foo.bar'});
}, {
instan... |
'use strict';
const {
types,
operator,
template,
} = require('putout');
const getProperty = require('../get-property');
const {replaceWithMultiple} = operator;
const {
ObjectProperty,
StringLiteral,
} = types;
const fixLintScript = template.ast(`
() => run('lint', '--fix')
`);
module.expor... |
/*
* /MathJax/jax/output/SVG/fonts/STIX-Web/Shapes/BoldItalic/Main.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* 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
*
* ... |
/*:
* @plugindesc This plugin allows you to indicate the damage digits using Korean language <RS_HangulDamages>
* @author biud436
*
* @param damageBitmapName
* @text Damage bitmap name
* @desc When you are deploying the game, we need to that doesn't remove the image that this plugin uses.
* @require 1
* @dir ... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
"use strict";
/**
* This is a modified version of the First Input Delay polyfill
* https://github.com/GoogleChromeLabs/first-input-delay
*
* It checks for a first input before and after hydration
*/
Object.defineProperty(exports, "__esModule", { value: true });
function fidPolyfill(addEventListener, removeEventLis... |
{
describe('The Home Page', () => {
it('successfully loads', () => {
cy.visit('/')
})
}),
describe('The Home Page Title', () => {
it('successfully loads', () => {
cy.visit('/')
cy.get('h2')
.should('contain', 'O... |
let chalk = require('chalk')
let notWin = !process.platform.startsWith('win')
/**
* Windows cmd.exe supports a partial UCS-2 charset
*/
let buzz = notWin
? chalk.grey('⌁')
: chalk.grey('~')
let start = notWin
? chalk.green.dim('⚬')
: chalk.green.dim('○')
let done = notWin
? chalk.green.dim('✓')
: chalk... |
import React from 'react'
import { useLocation } from 'react-router-dom'
import routes from '../routes'
import { CBreadcrumb, CBreadcrumbItem } from '@coreui/react'
const AppBreadcrumb = () => {
const currentLocation = useLocation().pathname
const getRouteName = (pathname, routes) => {
const currentRoute = ... |
// test SymbolNode
import assert from 'assert'
import math from '../../../../src/bundleAny'
const Node = math.Node
const ConstantNode = math.ConstantNode
const SymbolNode = math.SymbolNode
const OperatorNode = math.OperatorNode
describe('SymbolNode', function () {
it('should create a SymbolNode', function () {
... |
var Jimp = require('jimp');
function FloydSteinbergDithering(errorMultiplier, data, w, h) {
var filter = [
[0, 0, 0, 7 / 48, 5 / 48],
[3 / 48, 5 / 48, 7 / 48, 5 / 48, 3 / 48],
[1 / 48, 3 / 48, 5 / 48, 3 / 48, 1 / 48]
];
var error = [];
var x, y, xx, yy, r, g, b;
for (y = ... |
$(function () {
/******
* event
******/
//点击导航栏li时
$(".menu_li").click(function () {
var url = $(this).attr("data-toggle");
//如果已选择li则退出
if ($(this).hasClass("menu_li_select")) {
return;
} else {
//清除已选中的li样式
$(".menu_li_select").... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.