text stringlengths 2 1.05M |
|---|
import request from './request'
// 获取品牌列表
export function _brand(page,pageSize){
return request({
url:`/brand/pageList/${page}/${pageSize}`,
method:'get',
params:{page:page,pageSize:pageSize}
})
}
//上传图片
export function _fileUpload(params){
return request({
url:'/fileUpload',
... |
/*
jQWidgets v13.2.0 (2022-Jan)
Copyright (c) 2011-2022 jQWidgets.
License: https://jqwidgets.com/license/
*/
/* eslint-disable */
(function(a){a.jqx.jqxWidget("jqxNavigationBar","",{});a.extend(a.jqx._jqxNavigationBar.prototype,{defineInstance:function(){var b={width:"auto",height:"auto",expandAnimationDuration:250,c... |
import MainLayout from './main';
const content = '<div><MainLayout><div slot="main"><slot></slot></div></MainLayout></div>';
const template = `<!DOCTYPE html>
<html lang="en">
<head>
<title>{{title}}</title>
<meta name="keywords" :content="keywords">
<meta name="description" :content="description">
<meta htt... |
const HDWalletProvider = require('@truffle/hdwallet-provider');
// Standalone Development Node Private Key
const privateKeyDev =
'cf92cec0a7809e0edd653979b5c3a9f475191e0d75d985ed0330be403ee8102e';
// Moonbase Alpha Private Key --> Please change this to your own Private Key with funds
// NOTE: Do not store your priva... |
'use strict';
const Point = require('@mapbox/point-geometry');
module.exports = clipLine;
/**
* Returns the part of a multiline that intersects with the provided rectangular box.
*
* @param lines
* @param x1 the left edge of the box
* @param y1 the top edge of the box
* @param x2 the right edge of the box
* @... |
const logger = require('../config/logger_config');
const dbConnect = require('../utils/db_connect');
const dbSelect = require('../utils/db_select');
async function connectedUsers(wss, clientId) {
try {
const vpnOnlineRows = await dbConnect.dashboard.query(dbSelect.vpnOnline);
if (clientId) {
clientId.s... |
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['2267',"Tlece.Recruitment.Models.RecruitmentPlanning Namespace","topic_0000000000000692.html"],['2630',"StageQuestionVideoDto Class","topic_00000000000008DE.html"],['2631',"Properties","topic_00000000000008DE_props--... |
(function () {
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var inf... |
import Backend from 'i18next-http-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
import i18n from 'i18next';
// don't want to use this?
// have a look at the Quick start guide
// for passing in lng and translations on init
i18n
// load t... |
const express = require("express");
const logger = require("morgan");
const mongoose = require("mongoose");
const compression = require("compression");
const PORT = process.env.PORT || 3000;
const app = express();
app.use(logger("dev"));
app.use(compression());
app.use(express.urlencoded({ extended: true }));
app.u... |
var dir_010cedcb28970a389d49ec91db8d23ba =
[
[ "exceptions", "dir_3d2c908eaae9536dde708d4d25d04dde.html", "dir_3d2c908eaae9536dde708d4d25d04dde" ],
[ "type", "dir_3000977773590f58004ab594fb97ad5c.html", "dir_3000977773590f58004ab594fb97ad5c" ],
[ "OperationFactory.java", "_operation_factory_8java.html", [
... |
var app = getApp();
Page({
data: {
searchValue: "",
showDelete: false,
result: {}
},
onLoad: function (options) {
// 页面初始化 options为页面跳转所带来的参数
},
onReady: function () {
// 页面渲染完成
},
onShow: function () {
// 页面显示
},
onHide: function () {... |
const routes = [{
path: '/',
component: () => import('layouts/initial.vue'),
children: [
{
path: 'web',
component: () => import('layouts/MainLayout.vue'),
children: [
{
path: '',
name: 'web_index',
component: () => import('pages/Index.vue')
},
... |
$(function () {
'use strict'
$('#checkAll').on('click', function () {
if ($(this).is(':checked')) {
$('.main-mail-list .ckbox input').each(function () {
$(this).closest('.main-mail-item').addClass('selected');
$(this).attr('checked', true);
});
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"0Zpr":function(n,e,l){"use strict";l.r(e);var t=l("CcnG"),r=function(){return function(){}}(),A=l("pMnS"),i=l("gIcY"),a=l("Ip0R"),o=l("Lk47"),u=l("WX0g"),s=l("EzFf"),c=l("Y9fb"),d=l("zgil"),_=function(){return function(){this.alcance_vinculacion="",this.area_tr... |
import { TestData } from "./models/test-model/test-data.js";
import {
getCommandName,
getCommandTarget,
getCommandValue,
getTdRealValueNode,
getTdShowValueNode
} from "./view/records-grid/record-utils.js";
import { makeTextFile } from "./services/helper-service/make-text-file.js";
import { modifyCas... |
/**
* Created by 39797 on 2017/2/21.
*/
|
import React, { Component } from "react";
class SearchBar extends Component {
constructor(props) {
super(props);
this.state = { term: "" };
}
render() {
return (
<div className="search-bar">
<input
value = {this.state.term}
... |
import React from 'react';
import Link from '@docusaurus/Link';
import useBaseUrl from '@docusaurus/useBaseUrl';
import './index.css';
import TechStack from '../TechStack';
import WizardCli from '../WizardCli';
const Wave = () => (
<div className="cantara__wave-container">
<svg xmlns="http://www.w3.org/2000/svg"... |
define("Core/ControlBatchUpdater",["Core/core-extend","Env/Env","Core/Deferred","Core/ParallelDeferred","Core/core-instance","Core/helpers/Object/isEmpty","Core/helpers/Function/runDelayed"],function(e,h,u,f,i,O,t){var a=new(e({},{$protected:{_applyUpdateInProcess:false,_batchUpdateSpanHint:null,_batchUpdateCount:0,_ba... |
const suffixOptions = [
'',
'Jr',
'Sr',
'II',
'III',
'IV',
'V',
'VI',
'VII',
'VIII',
'IX',
'X',
'Other'
]
export default class NameValidator {
constructor(data = {}) {
this.first = data.first
this.firstInitialOnly = data.firstInitialOnly
this.last = data.last
this.middleInit... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[285],{3762:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return i}));r(2),r(15),r(16),r(12);var n=r(0);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnPropert... |
const http = require('http');
const server = http.createServer((request, response) => {
response.writeHead(200, {"Content-Type": "text/plain"});
response.end("Welcome to Devops Azure!");
});
const port = process.env.PORT || 1337;
server.listen(port);
console.log("Server running at http://localhost:%d", port)... |
import React from 'react'
import styles from './styles.module.css'
import Link from 'next/link'
const Header = () => {
return (
<React.Fragment>
<div className={styles.wrapper}>
<div className='container mx-auto'>
<Link href='/'>
<a><img className='mx-auto' src='/logo_palpitebox.... |
// Daniel Shiffman
// http://youtube.com/thecodingtrain
// http://codingtra.in
// Coding Challenge #118: Mastodon Tree Bot
// 1: https://youtu.be/luxczHFn1rU
// 2: https://youtu.be/PUPWPjjkNqQ
require('dotenv').config();
const Mastodon = require('mastodon-api');
const util = require('util');
const fs = require('fs');... |
const mongoose = require('mongoose');
const KeywordLog = mongoose.Schema({
log_name: String,
keywords:[String],
date: {
type: Date,
default:Date.now()
},
});
module.exports = mongoose.model('Posts', KeywordLog);
|
import {
login,
logout,
getUserInfo,
getMessage,
getContentByMsgId,
hasRead,
removeReaded,
restoreTrash,
getUnreadCount
} from '@/api/user'
import {
setToken,
getToken,
setTagNavListInLocalstorage,
} from '@/libs/util'
import {
getUnion
} from '@/libs/tools'
import staticRouters from '@/router... |
import React, { useEffect, useState } from 'react';
import { observer } from 'mobx-react-lite';
import { useStore } from '../../../stores';
import { useHistory } from 'react-router-dom';
import PictureCardList from './PicutreCardList';
import ActionButton from '../../../components/elements/Button/ActionButton';
import ... |
export const SET_LOGIN_STATE = 'SET_LOGIN_STATE';// 设置登录状态
export const SET_ROUTER_MAP = 'SET_ROUTER_MAP';// 设置路由映射
export const SET_PREVIOUS_ROUTER = 'SET_PREVIOUS_ROUTER';// 设置前一个路由
export const SET_CUR_ROUTER = 'SET_CUR_ROUTER';// 设置当前路由
export const SET_DIRECTION = 'SET_DIRECTION'; // 设置路由方向
export const SET_ACCOU... |
const puppeteer = require('puppeteer');
const os = require('os');
const path = require('path');
const { v4: uuidv4 } = require('uuid');
const tmpdir = os.tmpdir();
const env = process.env.NODE_ENV || 'development';
const config = require(`../config/${env}.json`);
let backendUrl = config.backendUrl;
async function sho... |
"use strict";
/* eslint-env browser */
////////////////////
//// Polyfills /////
////////////////////
//------------//
//// ES2015 ////
//------------//
// Drops anything after the decimal. Similar to Math.floor but doesn't matter for negatives
if(!Math.trunc)
{
Math.trunc = function trunc(x)
{
x = +x; // eslint... |
import React from 'react'
import { mount } from 'enzyme'
import Avatar from '../Avatar'
import AvatarEntry from '../index'
import PropProvider from '../../PropProvider'
describe('AvatarV2', () => {
test('Can render Avatar V2', () => {
const wrapper = mount(<Avatar />)
const o = wrapper.find('div.c-Avatar')
... |
/*!
* Quasar Framework v2.4.2
* (c) 2015-present Razvan Stoenescu
* Released under the MIT License.
*/
(function(e,i){"object"===typeof exports&&"undefined"!==typeof module?module.exports=i():"function"===typeof define&&define.amd?define(i):(e="undefined"!==typeof globalThis?globalThis:e||self,e.Quasar=e.Quasar||{}... |
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@polymer/polymer/polymer-element.js"),require("@lrnwebcomponents/hax-body-behaviors/lib/HAXWiring.js"),require("@polymer/polymer/lib/utils/flattened-nodes-observer.js")):"function"==typeof define&&define.amd?define(["exports","@polym... |
import React, { PureComponent } from "react";
import { Layout } from "antd";
import { urlToList, getMenuMatches } from "../../utils";
import BaseMenu from "./base-menu";
const { Sider } = Layout;
/**
* 获得菜单子节点
* @memberof SiderMenu
*/
const getDefaultCollapsedSubMenus = (props, flatMenuKeys) => {
const {
loca... |
/* istanbul instrument in package npmdoc_generator_zf5 */
/*jslint
bitwise: true,
browser: true,
maxerr: 8,
maxlen: 96,
node: true,
nomen: true,
regexp: true,
stupid: true
*/
(function () {
'use strict';
var local;
// run shared js-env code - pre-init
(function () {
... |
import React from 'react';
import { Icon } from 'antd-mobile';
export default () => (
<div style={{textAlign:'center',padding:'15px 0 10px 0'}}>
<Icon type={"loading"} size={'lg'} />
<p>努力加载中...</p>
</div>
);
|
declare module "utif" {
declare export type TiffTag = string[] | number[];
/**
* Each IFD is an object, keys are "tXYZ" (XYZ is a TIFF tag number), values are values of these tags.
* You can get the the dimension (and other properties, "metadata") of the image without decompressing pixel data.
* For more ... |
const execa = require('execa')
const run = (...args) => {
const p = execa(...args)
p.stdout.pipe(process.stdout)
p.stderr.pipe(process.stderr)
return p
}
module.exports = run; |
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{va... |
"use strict";
const path = require("path");
const AutoLoad = require("fastify-autoload");
const pointOfView = require("point-of-view");
const handlebars = require("handlebars");
module.exports = async function (fastify, opts) {
fastify.register(pointOfView, {
engine: { handlebars },
root: path.j... |
console.clear();
const p = 8;
const n = 5;
const pixels = Array.from({ length: p * 4 * n }, () =>
Array.from({ length: p })
).flat();
console.log('-'.repeat(60));
const width = pixels.length / 4 / p;
/*
p1 = 0-3, 20-23, 40-43, 60-63
p2 = 4-7
*/
for (let i = 0; i < pixels.length; i += 4) {
const row = ((i / 4 ... |
"use strict";
const Locator = {};
const fs = require('fs');
const Path = require('path');
/**
* Returns path to the .git directory.
*
* @returns {string}
*/
Locator.gitPath = () => {
let dirname;
let gitpath;
dirname = __dirname;
do {
if (fs.existsSync(dirname + '/.git')) {
gitpath = dirname... |
// Here we are seeing multiple requests concepts
// request
function request(order) {
console.log("customer order", order);
response(function () {
console.log("data delivered", order);
})
}
// response
function response(callback) { // This function collects all the requests within first 5 seconds... |
import React from 'react'
import { Radio } from 'antd'
import { Page } from 'components'
import HighChartsComponent from './HighChartsComponent'
import styles from './index.less'
const RadioGroup = Radio.Group
const chartList = [
{
label: 'Highstock',
value: 'Highstock',
},
{
label: 'Highmaps',
... |
/*
Copyright 2020 NEC Solution Innovators, Ltd.
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 writin... |
export default routesConfig;
/** @ngInject */
function routesConfig($stateProvider, $urlRouterProvider, $locationProvider) {
$urlRouterProvider.otherwise('/');
$stateProvider
.state('home', {
url: '/',
template: '<home flex layout="column" />'
})
.state('pendu', {
url: '/pendu',
... |
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(require("../moment")):"function"==typeof define&&define.amd?define(["moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),month... |
'use strict';
var gulp = require('gulp'),
$ = require('gulp-load-plugins')(),
del = require('del'),
webpack = require('webpack-stream'),
named = require('vinyl-named'),
path = require('path'),
browserSync = require('browser-sync');
require('dotenv').config({silent: true});
var paths = {
webpack: 'src/... |
(function () {
'use strict';
angular
.module('<%= prompts.prefix %>.common.directives', []);
})();
|
module.exports = function(app){
app.post('/correios/calculo-prazo', function(req,res){
var dadosEntrega = req.body;
var correiosSOAPClient = new app.servicos.correiosSOAPClient();
correiosSOAPClient.calculaPrazo(dadosEntrega, function(erro, resultado){
if (erro){
... |
/*! DateTime picker for DataTables.net v1.0.3
*
* ©2020 SpryMedia Ltd, all rights reserved.
* License: MIT datatables.net/license/mit
*/
/**
* @summary DateTime picker for DataTables.net
* @version 1.0.3
* @file dataTables.dateTime.js
* @author SpryMedia Ltd
* @contact www.datatables.n... |
function debounce(fn, delay){
var timer, context, args;
return function(){
context = this;
args = arguments;
clearTimeout(timer);
timer = setTimeout( function(){
fn.apply(context, args);
}, delay);
}
}
// declare youtube api
var tag = document.createElement('script');
tag.src = "https:... |
import { useState, useEffect } from "react";
import { GraphQLClient } from "graphql-request";
export const BASE_URL =
process.env.NODE_ENV === "production"
? "production-url"
: "http://localhost:4000/graphql";
export const useClient = () => {
const [idToken, setIdToken] = useState("");
useEffect(() => ... |
OLCS.ready(function() {
"use strict";
const BILATERAL_ID = 4;
const MOROCCO_ID = 'MA';
var form = "form[name=IrhpPermitPrint]";
var F = OLCS.formHelper;
function getCountryValue() {
return F.findInput("fields", "country").val();
}
function isBilateral() {
return (parseInt(F.findInput("fields... |
import firebase from 'firebase';
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyC92oRuTJpiG0LvxqClwuJUzNG5lEx00fQ",
authDomain: "login-d7375.firebaseapp.com",
projectId: "login-d7375",
storageBucket: "login-d7375.appspot.com",
messagingSenderId: "388304060443",
... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, "cypher");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT("unb... |
"use strict";
const backToTopBtn = document.getElementById('btn-back-to-top');
window.onscroll = () => {
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50)
backToTopBtn.style.display = 'block';
else
backToTopBtn.style.display = 'none';
};
backToTopBtn.addEventListener('... |
"use strict";
const AWS = require('aws-sdk');
const chalk = require('chalk');
const fsx = require('../lib/helpers/fs-additions');
const path = require('path');
const parseEnvironment = require('../lib/helpers/environment-parser');
const program = require('commander');
const prompt = require('readline-sync');
const Pro... |
const discord = require('discord.js')
const fs = require('fs')
const util = require('util')
const db = require('./modules/database.js')
const config = require('./config.json')
const client = new discord.Client()
client.config = config
client.db = db
client.commands = new Map()
client.on('ready', async () => {
let a... |
define(['fast', 'moment'], function (Fast, Moment) {
var Backend = {
api: {
sidebar: function (params) {
colorArr = ['red', 'green', 'yellow', 'blue', 'teal', 'orange', 'purple'];
$colorNums = colorArr.length;
badgeList = {};
$.each... |
define(['exports', 'metal/src/metal'], function (exports, _metal) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
fun... |
function twitterWidget(tweets, target) {
var statusHTML = [];
for (var i = 0; i < tweets.length; i++) {
var template = '<li>\
<p class="tweet-text">%text%</p>\
<p class="tweet-meta">\
<a href="https://twitter.com/%screen_name%/statuses/%tweet_id%">%relative_time%... |
/**
* @author v.lugovsky
* created on 16.12.2015
* modified on 14.10.2017 by @xergio
*/
(function () {
'use strict';
angular.module('BlurAdmin.pages', [
'ui.router',
'BlurAdmin.pages.home',
'BlurAdmin.pages.favorite'
])
.config(InterceptorConfig)
.config(Others)... |
import React from 'react';
import { storiesOf, action } from '@storybook/react';
import RadioListComponent from './index.js';
let value = 3;
let name = 'test-radio';
storiesOf('Form', module)
.addWithChapters(
'RadioList',
{
info: `
Usage
~~~
import React from 'react';
import { Radi... |
"use strict";
exports.__esModule = true;
var SLA = /** @class */ (function () {
function SLA(sla) {
this.totalTime = 24 * 60 * 365;
this.sla = sla;
this.init();
}
SLA.prototype.init = function () {
if (!this.sla) {
this.echo();
}
};
SLA.prototype.e... |
'use strict';
const slugify = require('slugify');
/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks)
* to customize this model
*/
module.exports = {
lifecycles: {
beforeCreate: async (data) => {
if (data... |
import * as React from "react";
import Svg, { Path } from "react-native-svg";
function SvgMessage2Line(props) {
return (
<Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
<Path fill="none" d="M0 0h24v24H0z" />
<Path d="M6.455 19L2 22.5V4a1 1 0 011-1h18a1 1 0 011 1v14a1 1 0 01-1 ... |
module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"prettier/@typescript-eslint",
// Ignored for n... |
// @ts-nocheck
'use strict';
const DataManager = require('./DataManager');
const { _cleanupSymbol } = require('../util/Constants');
/**
* Manages the API methods of a data model with a mutable cache of instances.
* @extends {DataManager}
* @abstract
*/
class CachedManager extends DataManager {
constructor(clien... |
// Requires `brew install imagemagick`
const child_process = require('child_process');
const fs = require('fs');
const d3 = Object.assign(
{},
require('d3-array'),
require('d3-collection'),
require('d3-scale'),
);
import { themes } from './src/helpers/themes';
function generateArrows(prefix, scaleTheme) {
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LargeText = exports.SubtitleText = exports.SecondaryText = exports.PrimaryText = undefined;
var _PrimaryText = require('./PrimaryText');
var _PrimaryText2 = _interopRequireDefault(_PrimaryText);
var _SecondaryText = require('./Se... |
/*
* #%L
* GraphWalker Dashboard
* %%
* Copyright (C) 2005 - 2014 GraphWalker
* %%
* 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 th... |
"use strict";
/**
* The effect composer is used to organize multiple post-processing passes.
*
* It is used by camera objects to organize the rendering pipeline.
*
* @class EffectComposer
* @module Postprocessing
*/
function EffectComposer()
{
if(THREE.CopyShader === undefined)
{
console.error("EffectCompo... |
$(function() {
$.ajaxSetup({
cache : false,
});
updateSequence();
updateLog();
var forceUpdateLog = false;
$('#addOperationButton').click(function() {
var val = $('#addOperationTypeSelection').val();
if (val) {
$.getJSON('./addOperation', {'type' : val}, function(json) {
if (json) {
if (json.er... |
MWF.xDesktop.requireApp("process.ProcessManager", "Explorer", null, false);
MWF.xApplication.query.QueryManager.ViewExplorer = new Class({
Extends: MWF.xApplication.process.ProcessManager.Explorer,
Implements: [Options, Events],
options: {
"style": "default",
"tooltip": {
"create": MW... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _classnames = require('classnames');
var _classnames2 = _in... |
/*! `subunit` grammar compiled for Highlight.js 11.5.0 */
(()=>{var s=(()=>{"use strict";return s=>({name:"SubUnit",case_insensitive:!0,
contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{
className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"
},{className:"string",begin:"(\\... |
import firebase from '../../firebase';
import TestSuite from '../../../lib/TestSuite';
import linksTests from './linksTests';
const suite = new TestSuite('Links', 'firebase.links()', firebase);
suite.addTests(linksTests);
export default suite;
|
import React from "react"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faGithub } from "@fortawesome/free-brands-svg-icons"
import LanguageFilter from "./languageFilter"
const Footer = () => {
return (
<footer className="fixed bg-base-02 bottom-0 w-full mx-auto max-w-2xl">
<d... |
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
$(document).on('turbolinks:load', function() {
// Create new Language Family
$('#add-language-family-modal-submit-button').on('click', function (event) {
e... |
import ipc from '../../../node-ipc.js';
/***************************************\
*
* You should start both hello and world
* then you will see them communicating.
*
* *************************************/
ipc.config.id = 'hello';
ipc.config.retry= 1500;
ipc.config.tls={
rejectUnauthorized:false
};
ipc.con... |
'use strict'
import EL from '../constant/elements'
/**
* タッチサポート判定を行います
*/
export default () => {
const isTouchSupport = (window.ontouchstart === null)
EL.HTML.dataset.touchsupport = isTouchSupport
}
|
var breadcrumbs=[['-1',"",""],['2',"VitNX3 Documentation","topic_00000000000016E1.html"],['789',"VitNX3.Functions.Win32 Namespace","topic_00000000000000C6.html"],['790',"Constants Class","topic_00000000000001C1.html"],['1979',"ResultWin32 Class","topic_00000000000001F4.html"],['1982',"Fields","topic_00000000000001F4_va... |
module.exports = function(hljs) {
var COMMENT_MODE = hljs.COMMENT('--', '$');
var UNQUOTED_IDENT = '[a-zA-Z_][a-zA-Z_0-9$]*';
var DOLLAR_STRING = '\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$';
var LABEL = '<<\\s*' + UNQUOTED_IDENT + '\\s*>>';
var SQL_KW =
// https://www.postgresql.org/docs/11/static/sql-ke... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _createSvgIcon = _interopRequireDefault(require("./utils/c... |
/**
* @author sunag / http://www.sunag.com.br/
*/
import { Node } from './Node.js';
function AttributeNode( name, type ) {
Node.call( this, type );
this.name = name;
}
AttributeNode.prototype = Object.create( Node.prototype );
AttributeNode.prototype.constructor = AttributeNode;
AttributeNode.prototype.nodeTy... |
;
(function() {
"use strict";
var
/**
* The parsed output string, in HTML format.
* @type {String}
*/
output = "",
BLOCK = "block",
INLINE = "inline",
/**
* Used to attach MarkdownToHtml object to `window` in browser
* context, or as an AMD... |
import { mount } from '@vue/test-utils'
import { waitNT, waitRAF } from '../../../tests/utils'
import { BFormSpinbutton } from './form-spinbutton'
describe('form-spinbutton', () => {
it('has expected default structure', async () => {
const wrapper = mount(BFormSpinbutton)
expect(wrapper.isVueInstance()).toBe... |
/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'ko', {
options: '특수문자 옵션',
title: '특수문자 선택',
toolbar: '특수문자 삽입'
} );
|
import React from 'react'
import {screen, render, fireEvent, waitFor} from '@testing-library/react'
import {rest} from 'msw'
import {setupServer} from 'msw/node'
import {Form} from './Form'
import {
CREATED_STATUS,
ERROR_SERVER_STATUS,
INVALID_REQUEST_STATUS,
} from '../const/htttpStatus'
// create ... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
require('angular');
var app = angular.module('LaravelCRUD', []
, ['... |
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import moxios from 'moxios';
import Immutable from 'immutable';
import chaiAsPromised from 'chai-as-promised';
import {
CLEAR_SEARCH_RESULTS,
CLEAR_SELECTED,
CREATE_EMPTY_SEARCH_RESULT,
DESELECT_RESULT_ITEM,
SET_MOST_RECENT_S... |
/**
* Request
* @see https://datatracker.ietf.org/doc/html/rfc6749#section-4.3.2
*
* grant_type
* REQUIRED. Value MUST be set to "password".
* username
* REQUIRED. The resource owner username.
* password
* REQUIRED. The resource owner password.
* scope
* OPTIONAL. The scope of the acc... |
import {createStore, applyMiddleware} from 'redux';
import thunk from 'redux-thunk';
import {persistStore, persistReducer, purgeStoredState} from 'redux-persist';
import AsyncStorage from '@react-native-community/async-storage';
import reducer from './Reducer';
import {addContact} from './Actions';
const persistConfi... |
import React, {
Component,
} from 'react';
import PropTypes from 'prop-types';
import {
Dimensions,
} from 'react-native';
import Navigator from 'native-navigation';
import LoremImage from '../components/LoremImage';
import Screen from '../components/Screen';
import Row from '../components/Row';
const propTypes ... |
var breadcrumbs=[['-1',"",""],['2',"VitNX3 Documentation","topic_00000000000016E1.html"],['789',"VitNX3.Functions.Win32 Namespace","topic_00000000000000C6.html"],['790',"Constants Class","topic_00000000000001C1.html"],['1979',"ResultWin32 Class","topic_00000000000001F4.html"],['1982',"Fields","topic_00000000000001F4_va... |
import React from "react";
import ReactDOM from "react-dom";
import App from './components/App';
ReactDOM.render(<App/>, document.getElementById('app')); |
const dotenv = require('dotenv');
dotenv.config();
const NatualLanguageUnderstandingV1 = require('ibm-watson/natural-language-understanding/v1');
const {IamAuthenticator} = require('ibm-watson/auth');
const axios = require('axios'); // used to get content from html
function getNLUInstance(){
let api_key = proce... |
function justLoaded() {
var appConfig = new cast.receiver.CastReceiverManager.Config();
appConfig.statusText = 'Bitcast';
appConfig.maxInactivity = 2600000; // 30 days
window.castReceiverManager = cast.receiver.CastReceiverManager.getInstance();
window.castReceiverManager.start(appConfig);
sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.