text
stringlengths
2
1.04M
import React, { useEffect } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { compose } from 'redux'; import { createStructuredSelector } from 'reselect'; import { Spin, Alert } from 'antd'; import Progress from 'fetcher/Progress'; import Message from 'fetcher/Message'; i...
var fs = require('fs'); var j; var list; var use; var toS = function(str) { //return str; return '";\n' + str + '\nstr += "'; }; var patterns = [ // use /{use\s'([^']*)'}\n/g, function(str, path) { // Переводим строку в массив path = path.split('/'); // Получаем имя файла ...
/* * Duplicate Safari Window in Google Chrome * * Opens a new Chrome window containing the same tabs that are open in * the frontmost Safari window (excluding Safari-specific tabs like * Bookmarks, Favorites, History, and Top Sites). * * Last updated 2018-10-18. * * Copyright 2018 Lawrence Andrew Velázquez * ...
module.exports = { siteMetadata: { title: `Gatsby Default Starter`, description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, author: `@emmzytech`, }, pathPrefix: "/Construct-Site", plugin...
import { parseUrl } from './parser'; export function modelToViewUrlAttributeConverter( registry, options, domain ) { return dispatcher => { dispatcher.on( 'attribute:url:preview', converter ); }; function converter( evt, data, conversionApi ) { if ( !conversionApi.consumable.consume( data.item, evt.name ) ) { ...
/*globals describe it expect */ import UriRecognizer from '../src/uri-recognizer' describe('uri-recognizer', () => { it('default', () => { const recognizer = new UriRecognizer() const handler = function () {} recognizer.add('localhost/products/:id', handler) recognizer.add('localhost/products/1', ha...
import Taro from "@tarojs/taro"; import { tokenValidate } from "@actions/api"; /** * 特殊转跳,用于检测token并跳转,token不存在时转跳login界面 * @param {callback} iteratee 当TOKEN验证正确时发起回调 * @return {callback} itreratee(token,arguments) */ let reLaunch = iteratee => { const token = Taro.getStorageSync("token"); if (!!token) { t...
const initialState = { fetched: false, fetching: false, data: [ { id: 0, name: "Osiągnięcie #1", img: "/badges/1.png", }, { id: 1, name: "Rozwiąż 5 zadań", img: "/badges/2.png", }, { id: 2, name: "Osiągnięcie #3", img: "/badges/3.png", ...
class ListapizzasController { constructor($log, menuService, LoginService, $uibModal, $http, $state) { this._log = $log; this.showList = true; this._menuService = menuService; this._loginService = LoginService; this.$uibModal = $uibModal; this._http = $http; this._state = $state; } buyPizza = (pizza) => { cons...
const path = require('path'); const {buildExternal, packer} = require('lerna-packer'); const apps = { demo: { root: path.resolve(__dirname, 'packages', 'demo'), template: path.resolve(__dirname, 'packages', 'demo/public/index.html'), publicPath: path.resolve(__dirname, 'packages', 'demo/pub...
import * as Yup from "yup"; import { Formik } from "formik"; import { useTranslation } from "react-i18next"; import React, { memo } from "react"; import DataModal from "./DataModal"; // import DatabaseContext from "contexts/database/database.provider"; import FormikControl from "containers/FormikContainer/FormikControl...
define(function(require) { require('plugins/es5-array'); var Config = require('config'); var Core = require('core/core'); var Filter = require('core/filter/filter'); var Cache = require('core/cache.dictionary'); var Mustache = require('plugins/mustache.min'); /** * 数据字典过滤器 */ var FilterDictionary = Filte...
var searchData= [ ['uart_2ec_838',['uart.c',['../uart_8c.html',1,'']]], ['uart_2eh_839',['uart.h',['../uart_8h.html',1,'']]] ];
// Arguments passed into this controller can be accessed via the `$.args` object directly or: var args = $.args; Alloy.Collections.instance("NodesTilmeldte"); Alloy.Collections.instance("NodesTilmeldte").fetch(); function transform(model) { //convert the model to a JSON object var nodeObject = model.toJSON(); var ...
// register NC SP83 var sp = gmaps.ags.Util.registerSR(2264, 'PROJCS["NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_C...
Date.prototype.getDayOfWeek = function() { var days = [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ]; return days[this.getDay()]; }; Date.prototype.getMonthString = function() { var months = [ "Januar", "Februar", "März", "April", "Mai", "Juni", "Jul...
import React from 'react'; import './App.css'; import ProductListContainer from './Containers/ProductListContainer/ProductListContainer'; import {BrowserRouter as Router, Switch, Route} from 'react-router-dom'; import ProductDetailsContainer from './Containers/ProductDetailsContainer/ProductDetailsContainer'; import Sh...
(function () { 'use strict'; angular .module('flairbiApp') .factory('JhiMetricsService', JhiMetricsService); JhiMetricsService.$inject = ['$rootScope', '$http']; function JhiMetricsService($rootScope, $http) { var service = { getMetrics: getMetrics, thr...
import controller from './models.controller'; import template from './models.html'; export default { bindings: { addModel: '<', namespaces: '<', deleteModel: '<', generateToken: '<', updateModel: '<', namespaceId: '<', models: '<', projectId: '<', project: '<', }, template, ...
"use strict"; var aName = 'lisi'; var dAge = 18; dAge = 18.13; dAge = 17; var isSingleDog = true; isSingleDog = false; var undef = undefined; var nul = null; //5.数组 //let arrJS = [1,'a',true,[],{}] var arrHero = ['test1', 'test2']; var arrHeroAge = [18, 21]; //7元组 var tup1 = ['test1', 18, true]; console.log(tup1[0]); c...
const {Usuario} = require('../models'); const Sequelize = require('sequelize'); const Op = Sequelize.Op const IndexController = { async index(req,res){ let {page = 1} = req.query let {count:total, rows:users} = await Usuario.findAndCountAll({ limit:5, offset:(page - 1)* 5 ...
var CMsg=function() { } CMsg.E=function(_msg) { alert(_msg); }
// ================== // MediaRecorder.js /** * Implementation of https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/MediaRecorder.html * The MediaRecorder accepts a mediaStream as input source passed from UA. When recorder starts, * a MediaEncoder will be created and accept the mediaStream as input s...
/* Copyright 2012 Mozilla Foundation * * 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...
//place the URL of the showdown server you are aiming to connect to exports.url = 'play.pokemonshowdown.com'; // The nick and password to log in with var nick = exports.nick = 'Lord Haji's Butler exports.pass = 'navanalanda'; // A list of private rooms that the bot will not leak through the seen command exports.priva...
import { toNumber } from '../../utils/helpers' import { Song, validateSong } from './model' export const getSongs = async (req, res) => { try { const docs = await Song.find() .populate('artist', 'name') .select('name artist') .limit(toNumber(req.query.limit || 40)) .skip(toNumber(req.quer...
/*! * Ext JS Library 3.3.0 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ /* * Calendar sample code originally written by Brian Moeskau (brian@ext-calendar.com) * See additional calendar examples at http://ext-calendar.com */ App = function() { return { ...
const app = require('../index'); const fs = require('fs'); const path = require('path'); // eslint-disable-next-line no-console const testPath = path.resolve(__dirname,'./cases/split-with-bom/'); process.chdir(testPath) app.split( fs.createReadStream('input.csv'), { lineLimit: ...
'use strict'; const fs = require('fs'); const path = require('path'); const webpack = require('webpack'); const resolve = require('resolve'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); const InlineChunkHtmlPlugin = require(...
/** * Welcome to Pebble.js! * * This is where you write your app. */ var UI = require('ui'); var Vector2 = require('vector2'); var Feature = require('platform/feature'); var wind = new UI.Window({ backgroundColor: 'white' }); var cupolan = []; var x = Feature.resolution().x; var y = Feature.resolution().y; for(...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../../addon/mode/simple")); else if (typeof d...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const weekSchema = new Schema({ name: { type: String, required: true, }, description: { type: String, }, creator: { type: Schema.Types.ObjectId, ref: 'User', required: true }, creator: { type: Schema.Types.O...
import React from 'react' import {Trans} from '@lingui/react' import {Interrupts} from 'parser/core/modules/Interrupts' import ACTIONS from 'data/ACTIONS' import {ActionLink} from 'components/ui/DbLink' export default class SchInterrupts extends Interrupts { suggestionContent = <Trans id="sch.interrupts.suggestion.c...
const express = require('express'); const path = require('path'); const { ApolloServer } = require('apollo-server-express'); const { authMiddleware } = require('./utils/auth'); const db = require('./config/connection'); const { typeDefs, resolvers } = require('./schemas'); const app = express(); const PORT = process.e...
var Test = require('../config/testConfig.js'); contract('Flight Surety Tests', async (accounts) => { var config; before('setup contract', async () => { config = await Test.Config(accounts); }); const fundingFee = web3.utils.toWei("10", "ether"); /******************************************...
/** *SMOOTH SCROLLING LIBRARY * Copyright (c) 2007-2015 Ariel Flesler - aflesler ○ gmail • com | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 2.1.3 */ //Trigger Navbar animation if transition is not supported whenAvailable($('#navBar li').eq(7),function(){ $("#navBar a"...
import {Link} from "react-router-dom"; export default function Footer() { return ( <div className="footer-container"> <div className="footer-controls"> <Link to="/privacy">Privacy</Link> <Link to="/contact">Contact</Link> </div> </div> ); }
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var BookSchema = new Schema({ title: {type: String, required: true}, author: {type: Schema.ObjectId, ref: 'Author', required: true}, summary: {type: String, required: true}, isbn: {type: String, required: true}, genre: [{type: Schema.ObjectId...
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.pms'); goog.require('Blockly.Msg'); Blockly.Msg.ABOUT = "about"; // untranslated Blockly.Msg.ACCELERATION_TOOLTIP = "Get the acceleration value in milli-gravities."; // untranslated Blockly.Msg.ACCELEROMETER_ROTATION...
import React from 'react'; import { connect } from 'react-redux'; import { firebase } from '../firebase'; const withAuthentication = (Component) => { class WithAuthentication extends React.Component { constructor(props) { super(props); this.state = { authUser: null, }; } comp...
/****************************** * Applied To | Yashas Shah * * Role | Software Dev * * --------------------------- * * Replit | @YashasShah * * GitHub | @YashasTheDev * * --------------------------- * * Badge Type | Headmaster * ******************************/ /******************************...
webpackJsonpmavon_editor([132],{347:function(e,a){e.exports=function(e){var a=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 ...
export function eventOn(eventTarget, successEvent, errorEvent = "error") { let $resolve, $reject; const promise = new Promise((resolve, reject) => { $resolve = resolve; $reject = reject; }); eventTarget.addEventListener(successEvent, $resolve); eventTarget.addEventListener(errorEvent, $reject); p...
// Grunt Configuration 'use strict'; module.exports = function(grunt) { // Task Configuration grunt.initConfig({ // Package info and environment variables pkg: grunt.file.readJSON('package.json'), env: { src: 'src', // Source dev: 'dev', // Development dist: 'dist' // Production / Distribution }...
import $ from '@zhennann/dom7'; export default { render() { return ` <div class="color-picker-module color-picker-module-sb-spectrum"> <div class="color-picker-sb-spectrum" style="background-color: hsl(0, 100%, 50%)"> <div class="color-picker-sb-spectrum-handle"></div> </div> ...
angular.module('weightapp.controllers', ['weightapp.factory']) .controller('AppCtrl', function ($rootScope, $scope, $ionicModal, $ionicHistory, $ionicPopup, $timeout, $state, AppFactory, $ionicPlatform) { /** * initApp :: function * description: Main function that initializes the app */ $scop...
import React from 'react' import Grid from '@material-ui/core/Grid' import Typography from '@material-ui/core/Typography' import { withTheme } from '@material-ui/core/styles' import { Translation } from 'react-i18next' import distanceIcon from './img/keep-distance.png' import stayHomeIcon from './img/stay-home.png' co...
 $(document).ready(function(){$('.chkClickable').live('click',function(){$(this).next('.hdnStatus').val($(this).is(':checked'));});$('#btnAdd').click(function(){var text=$('#txtCat').val().trim();var regex=/\<[\S* ]*\>/;var alphaRegex=/[a-zA-Z]{1,}/;if(text.match(regex)!=null){showMessage('Category name entered is inv...
module.exports = handler module.exports.$config = { category : 'controller' , route : '/npm(?:-dl)?/:pkg/?' } const validName = require('../valid-name') function handler (context, callback) { var pkg = context.params.pkg.replace(/\/$/, '') if (!validName(pkg)) { context.model.message = 'Invalid npm p...
import axios from 'axios' import {CART_ADD_ITEM, CART_REMOVE_ITEM} from '../constants/cartConstants' export const addToCart = (id, qty) => async (dispatch, getState) => { const { data } = await axios.get(`/api/products/${id}`) dispatch({ type: CART_ADD_ITEM, payload: { product: dat...
// @flow import Action from './lib/Action'; // ======= WALLET BACKUP ACTIONS ======= export default class WalletBackupActions { startWalletBackup: Action<any> = new Action(); initiateWalletBackup: Action<{ recoveryPhrase: Array<string>, }> = new Action(); acceptPrivacyNoticeForWalletBackup: Action<any> = ...
/*! * Copyright 2017 Telerik AD * * 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 ...
const mongoose = require('mongoose'); const AtmSchema = new mongoose.Schema({ STREET_ADDRESS: String, LOCATION: { X: Number, Y: Number, }, ZIP: Number, ATM_DEPOSIT: { type: Boolean, }, TRANSACTIONS: {}, CURRENCY: { } }); module.exports = mongoose.model('Atm', AtmSchema);
"use strict"; 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 = Refl...
module.exports = { 'twitter-login': { 'provider': 'twitter', 'module': 'passport-twitter', 'consumerKey': process.env.CONSUMER_KEY, 'consumerSecret': process.env.CONSUMER_SECRET, 'callbackURL': `${process.env.BASE_URL}/api/auth/twitter/callback`, 'authPath': '/api/auth/twitter', 'callbackP...
import React from 'react' import "./index.css"; import { Link } from 'react-router-dom'; const Todo = ({title, id, completed, showCompleted}) => { return ( <li className={completed && showCompleted ? "checked" : ""}><Link to={`/todos/${id}`}>{title} <span className="close"></span></Link></li> ) } exp...
module.exports = class Cover { constructor(plugin) { // create element structure //#region I am sorry... I know... I am lazy this.muted = plugin.settings.get('muted', false); this.plugin = plugin; this.container = document.createElement('div'); this.container.setAttribute("id", 'pradio-moda...
H5.merge(new System.Globalization.CultureInfo("eo-001", true), { englishName: "Esperanto (World)", nativeName: "esperanto (World)", numberFormat: H5.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "NaN", negativeSign: "-", positiveSign: "+", negativeInfinityS...
import { createView, createRoute } from '../frame/index'; import { formatFilename } from '../../utils/formatFilename'; import { createElement } from '../../utils/createElement'; import { text } from '../../utils/text'; import { file } from './file'; import { applyFilters } from '../../filter'; /** * Creates the file ...
import { matcherHint, printExpected, printReceived } from 'jest-matcher-utils'; import predicate from './predicate'; const passMessage = received => () => matcherHint('.not.toBeDidCoreDatetime', 'received', '') + '\n\n' + 'Expected value to not be of a valid DID Core Datetime received:\n' + ` ${printR...
// Copyright (c) 2009-2017 SAP SE, All Rights Reserved /** * @fileOverview QUnit tests for sap.ushell.components.HeaderManager */ sap.ui.require([ "jquery.sap.global", "sap/ui/core/IconPool", "sap/ushell/ui/ShellHeader", "sap/ushell/ui/shell/ShellAppTitle", "sap/ushell/ui/shell/ShellHeadItem" ], f...
import { csv } from 'd3-fetch'; import { group, groups } from 'd3-array'; import countyDict from '../data/county_dict.json'; import fipsExceptions from '../util/fipsExceptions'; //this function calculates the number of new cases/deaths for each place //d is datum, is index of datum in values array, measure is either ...
import React from 'react'; import { Spinner } from 'reactstrap'; export default () => <div className="py-5 my-1 text-center"> <Spinner color="yellow" style={{ width: '15rem', height: '15rem' }} type="grow" className="my-2" /> </div>;
const { verify } = require('jsonwebtoken'); module.exports = (req, res, next) => { const token = req.get('X-native-auth'); if (!token || token === '') { req.isAuth = false; res.status(401).send('Authorization failed..'); return next(); } else { let decoded; try { ...
/* artifact generator: /wizzi/lib/artifacts/js/module/gen/main.js primary source IttfDocument: c:\my\wizzi\v4\apps-wizzi\v4-solutions\formbuilder\ittf\webpacks\formbuilder\src\demos\reduxform\wizardform3.js.ittf utc time: Mon, 10 Jul 2017 12:31:59 GMT */ 'use strict'; import React from 'react'; import { Fie...
//# sourceMappingURL=main.c0c26c23.chunk.js.map
require('@babel/register'); ({ ignore: /node_modules/ }); require('@babel/polyfill'); const HDWalletProvider = require('@truffle/hdwallet-provider'); let mnemonic = 'gloom kiwi office spot edge rescue spawn punch install deputy frame spirit'; let testAccounts = [ "0x5807a138697e2c8d3d72cf5c037c84ec6762bca92f8f36...
module.exports = { pages: { index: { entry: 'examples/main.js', template: 'public/index.html', filename: 'index.html' } }, chainWebpack: (config) => { config.module .rule('js') .include .add('/packages/') .end() .use('babel') .loader('babel-loader'...
import React from "react" import { useTranslation } from "gatsby-plugin-react-i18next" import Layout from "../components/layout" import SEO from "../components/seo" import Banner from "../components/Banner/Banner.js" import H2Article from "../components/Article/H2Article" import BenefitsCard from "../components/Benefit...
import { VERIFICATION_STATUSES } from '../../src'; import FIXTURES from '../fixtures'; const verifier = require('../../dist/verifier'); describe('verifier build test suite', function () { it('works as expected with a v1 certificate', async function () { const certificate = new verifier.Certificate(FIXTURES.Testn...
var classv8_1_1internal_1_1_reg_exp_macro_assembler = [ [ "GlobalMode", "classv8_1_1internal_1_1_reg_exp_macro_assembler.html#a8c5dd9fba6bb0f236a08e824e5b83198", [ [ "NOT_GLOBAL", "classv8_1_1internal_1_1_reg_exp_macro_assembler.html#a8c5dd9fba6bb0f236a08e824e5b83198a94ecd2a35d97feb8324107e8d04027ff", null ],...
'use strict'; // Configuring the Articles module //angular.module('articles').run(['Menus', // function(Menus) { // Set top bar menu items // Menus.addMenuItem('topbar', 'Articles', 'articles', 'dropdown', '/articles(/create)?'); // Menus.addSubMenuItem('topbar', 'articles', 'List Articles', 'articles'); // Menus...
const path = require('path'); // Implement the Gatsby API “createPages”. This is called once the // data layer is bootstrapped to let plugins create pages from data. exports.createPages = async ({ graphql, actions, reporter }) => { const { createPage } = actions; // Query all tours from contentful const result ...
define( //begin v1.x content ({ insertEntity: "แทรกสัญลักษณ์" }) //end v1.x content );
import Vue from 'vue' import VueRouter from 'vue-router' import Layout from '@/layout' Vue.use(VueRouter) const routes = [ { path: '/', name: 'Home', component: Layout, redirect: '/index', children: [ { path: '/index', name: 'Index', component: () => import('@/views...
// This is a JavaScript file $(document).on("click","#camera",function(){ navigator.camera.getPicture(onSuccess, onFail, { quality: 50, destinationType: Camera.DestinationType.FILE_URI, correctOrientation: true, saveToPhotoAlbum: true, }); function onSuccess(imageURI) { var image = docume...
import React,{useState,useEffect} from "react"; //import React,{useState} from "react"; // @material-ui/core components import Button from '@material-ui/core/Button'; import {Redirect,Switch,Route}from 'react-router-dom'; import { makeStyles } from "@material-ui/core/styles"; import { connect } from 'react-redux'; impo...
import React from "react"; import { Route, Navigate } from "react-router-dom"; import { auth } from '../auth'; import * as awsAuth from '../auth/aws-auth'; import { connect } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import posed, { PoseGroup } from "react-pose"; import { ren...
export default class Product { constructor(divId) { if (divId) { this.divContainerId = divId; } else { this.divContainerId = document; } } init() { this.addToWishlistClick(); this.addToSharedCartClick(); this.addToCartClick(); ...
define("add",[],function(){return function(e,t){return e+t}}),define("minus",[],function(){return function(e,t){return e-t}}),define("pub/ten",[],function(){return function(e){return e*100}}),requirejs(["add","minus","pub/ten"],function(e,t,n){var r=1,i=2,s=e(r,i),o=t(r,i),u=n(r);console.log(s,o,u)}),define("app/index"...
const path = require('path'); const slash = require('slash'); exports.createPages = ({ graphql, actions }) => { const { createPage } = actions; return new Promise((resolve, reject) => { resolve( graphql(` { allProjectsJson { edges { node { name ...
const { nanoid } = require('nanoid'); const notes = require('./notes'); const addNoteHandler = (request, h) => { const { title, tags, body } = request.payload; const id = nanoid(16); const createdAt = new Date().toISOString(); const updatedAt = createdAt; const newNote = { title, tags, bo...
(this.webpackJsonpadmin=this.webpackJsonpadmin||[]).push([[43,57],{625:function(e,t,c){"use strict";c.d(t,"a",(function(){return u}));var n=c(43),r=c(158),s=c(1),a=c.n(s),i=c(621),o=c(20),j=function(e){var t=e.name,c=e.text,s=Object(r.a)(e,["name","text"]),a=t?"https://coreui.io/react/docs/components/".concat(t):e.href...
'use strict' const path = require('path') const utils = require('./utils') const webpack = require('webpack') const UglifyJsPlugin = require('uglifyjs-webpack-plugin') function resolve (dir) { return path.join(__dirname, '..', dir) } const createLintingRule = () => ({ test: /\.(js|vue)$/, loader: 'eslint-loader...
/** * @module Hiori.test.js * @author cloudiirain * @description Unit tests for Hiori class */ 'use strict'; const chai = require('chai'); const expect = chai.expect; const { Hiori } = require('../../index.js'); // Run tests describe('Hiori', function () { describe('constructor', function () { context('...
var searchData= [ ['allowescapecharacter_755',['AllowEscapeCharacter',['../namespacedaw_1_1json.html#a75daffb79d06d1d88576d3de104f3b05',1,'daw::json']]] ];
/** * @author astrodud / http://astrodud.isgreat.org/ * @author zz85 / https://github.com/zz85 * @author bhouston / http://clara.io */ // points - to create a closed torus, one must use a set of points // like so: [ a, b, c, d, a ], see first is the same as last. // segments - the number of circumference segme...
// Copyright 2021 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 in ...
import $ from 'jquery'; import dateSerialization from 'core/utils/date_serialization'; import Tooltip from 'ui/tooltip'; import tooltip from 'ui/tooltip/ui.tooltip'; import resizeCallbacks from 'core/utils/resize_callbacks'; import fx from 'animation/fx'; import dateLocalization from 'localization/date'; import message...
/* * 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 ...
import React from 'react'; import $ from 'jquery'; import {Link} from 'react-router-dom'; import {API_ROOT} from "../Constants"; import {Form, Icon, Input, Button, message} from 'antd'; const FormItem = Form.Item; class NormalLoginForm extends React.Component { handleSubmit = (e) => { e.preventDefault();...
import Build from "../Build/BuildModule.js"; const babelConfig = Build.getReactAppBabelOption(); export default babelConfig;
import React, { useEffect } from 'react' import Editor from 'react-simple-code-editor' import { Light as SyntaxHighlighter } from 'react-syntax-highlighter' import json from 'react-syntax-highlighter/dist/cjs/languages/hljs/json' import a11yDark from 'react-syntax-highlighter/dist/cjs/styles/hljs/a11y-dark' import a11y...
"use strict"; /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.21.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator...
var mongoose = require("mongoose"); var japri_config = require("../japri_config.json"); var userModel = require("../models/user.js"); var tagModel = require("../models/tag.js"); // Make sure app's config file has both username and password // Because mongoDB access control allows anonymous login // By making sure mon...
/** * 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. * * @flow */ import type {Fiber} from 'react-reconciler/src/ReactFiber'; import { getListener, runExtractedPluginEventsInBatch...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
import Event from './Event'; import Modal from './Modal'; import Socket from './Socket'; import Toast from './Toast'; import User from './User'; export { Event, Modal, Socket, User, Toast };
(function (window) { 'use strict'; /** * Takes a model and view and acts as the controller between them * * @constructor * @param {object} model The model instance * @param {object} view The view instance */ function Controller(model, view) { var self = this; self.model = model; self.view = view; ...
const QR = require('./qrcode.js'); const GD = require('./gradient.js'); export const penCache = { // 用于存储带 id 的 view 的 rect 信息 viewRect: {}, textLines: {}, }; export const clearPenCache = id => { if (id) { penCache.viewRect[id] = null; penCache.textLines[id] = null; } else { penCache.viewRect = {...