text
stringlengths
2
1.05M
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.ca'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Afegeix un comentari"; Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%...
const Error = require('./Error') class NotEnoughBalanceError extends Error { constructor() { super('Not enough balance.', NotEnoughBalanceError.code) this.setName(NotEnoughBalanceError.name) } } NotEnoughBalanceError.name = 'NotEnoughBalanceError' NotEnoughBalanceError.code = 'not-enough-balance' module.e...
// // Copyright 2012 Wade Alcorn wade@bindshell.net // // 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 ...
Package.describe({ name: "telescope:kadira", summary: "Telescope Kadira package", version: "0.25.2", git: "https://github.com/TelescopeJS/telescope-kadira.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); api.use([ 'telescope:core@0.25.2', 'meteorhacks:kadira@2.23.6', ...
import express from 'express' const MongoClient = require('mongodb').MongoClient import { red, yellow } from '../logger' const router = express.Router() router.get('/', async (req, res) => { try { const url = 'mongodb://localhost:27017' const client = await MongoClient.connect(url, { useNewUrlParser: true }...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"/tIy":function(t,n,e){"use strict";var o=e("DYWI"),i=e.n(o);i.a},DYWI:function(t,n,e){},lKu8:function(t,n,e){"use strict";e.r(n);var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("f7-page",{staticClass:"paper-page",on:{"page:init":t.o...
/* jshint strict: false */ // ////////////////////////////////////////////////////////////////////////////// // / DISCLAIMER // / // / Copyright 2016 ArangoDB GmbH, Cologne, Germany // / Copyright 2014 triagens GmbH, Cologne, Germany // / // / Licensed under the Apache License, Version 2.0 (the "License") // / you may...
/*! * jQuery JavaScript Library v2.0.2 -sizzle,-wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jq...
const path = require("path"); const merge = require("webpack-merge"); const common = require("./webpack.config.common.js"); const webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = merge(common, { devtool: "cheap-module-eval-source-map", mode: "development", ...
/* ========================================================= * bootstrap-datepicker.js * Repo: https://github.com/eternicode/bootstrap-datepicker/ * Demo: eternicode.github.io/bootstrap-datepicker/ * Docs: bootstrap-datepicker.readthedocs.org/ * Forked from www.eyecon.ro/bootstrap-datepicker * ===================...
"use strict"; // 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
(function (window) { 'use strict'; window.Appwrite = function () { let config = { endpoint: 'https://appwrite.io/v1', project: '', key: '', locale: '', mode: '', }; /** * @param {string} endpoint * @re...
import React from 'react'; import { ActivityIndicator, Alert, Button, Image, Share, StatusBar, StyleSheet, Text, View } from 'react-native'; import { Notifications } from 'expo'; import * as FileSystem from 'expo-file-system'; import * as Font from 'expo-font'; import * as ImagePicker from 'expo-image-picker'; import *...
/* Copyright 2010-2011 Portland Transport 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...
const { Rule, Validator } = require('../../src'); test('test the hole object to be true', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99 }), dateOfBirth: new Rule({ type: 'date' }), array: new Rule({ type: 'array', of: new Rule({ type: 'string' }) }), }); exp...
//최종 import React, { Component } from "react"; import firebase, { auth, provider } from "./firebase"; import { connect } from "react-redux"; import "./App.css"; import { sendMessage } from "./chat"; import Modal from 'react-responsive-modal'; class App extends Component { constructor(props) { super(props);...
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 11.6 description: > SyntaxError expected: reserved words used as Identifier Names in UTF8: instanceof negative: phase: early type: SyntaxError ---*/ var in...
/* jshint expr:true */ import { describeComponent, it } from 'ember-mocha'; describeComponent('gh-trim-focus-input', function () { it('trims value on focusOut', function () { var component = this.subject({ value: 'some random stuff ' }); this.render(); compon...
const flatten = require('@turf/flatten').default; const pointToLineDistance = require('@turf/point-to-line-distance').default; const polygonToLineString = require('@turf/polygon-to-linestring').default; function pointOnPolygonBorder(point, polygon) { return flatten(polygonToLineString(polygon)) .features ...
import React from 'react'; import { Router } from 'react-router-dom'; import { Provider } from 'react-redux'; import { createMemoryHistory } from 'history'; import '@testing-library/jest-dom'; import 'whatwg-fetch'; import { render, screen } from '@testing-library/react'; import { rest } from 'msw'; import App from '.....
/** * MySQL数据库连接池 */ const mysql = require('mysql'); var pool = mysql.createPool({ host: '127.0.0.1', //数据库地址 port: 3306, //数据库端口 user: 'root', //数据库管理员 password: '', //数据库管理员密码 database: 'xiaofeiniu', //默认连接的数据库 connectionLimit: 15 //连接池中连接大小 }); mod...
mycallback( {"CONTRIBUTOR OCCUPATION": "Homemaker", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "None", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "7 Braid Hill Dr", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDID...
const AppError = require('../../../../../shared/errors/AppError'); const usersRepository = require('../../repositories/UsersRepository') class EnableUserService { constructor() { } async execute(user) { const foundUser = await usersRepository.searchByUser(user) if (!foundUser) { ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vega-util'), require('vega-canvas'), require('vega-loader'), require('d3-shape'), require('d3-path')) : typeof define === 'function' && define.amd ? define(['exports', 'vega-util', 'vega-canvas', '...
var interface_core_manager_1_1_interface_1_1_i_deep_clone = [ [ "DeepClone", "dd/d2b/interface_core_manager_1_1_interface_1_1_i_deep_clone.html#a5de5971b3b778091ee2bf869d81fb4da", null ], [ "DeepClone", "dd/d2b/interface_core_manager_1_1_interface_1_1_i_deep_clone.html#afb1272b8b4f58c1751d99de0bcc14b40", null ]...
import React, { Component } from 'react'; import { browserHistory } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { withStyles } from 'material-ui/styles'; import classNames from 'classnames'; import Button from 'material-ui/Button'; import Icon from 'ma...
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ====================================================...
import { EventEmitter } from 'events'; import { RoomDispatcher } from '../dispatcher/AppDispatcher'; import * as types from '../constants/ActionTypes'; export class RoomStore extends EventEmitter { constructor() { super(); this._room = null; } setRoom(room) { this._room = room; } setRoomSetting...
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
const sm = 768; const md = 992; const lg = 1200; const xl = 1785; const breakpoints = { xs: { min: 0, max: sm - 1 }, sm: { min: sm, max: md - 1 }, md: { min: md, max: lg - 1 }, lg: { min: lg, max: xl - 1 }, xl: { min: xl, max: 100000 }, }; export default { primaryBlue: '#005EB8', lightBlue: '#64A5C3'...
import React, {Component} from 'react'; import {MapTo} from '@adobe/aem-react-editable-components'; require('./Image.css'); export const ImageEditConfig = { emptyLabel: 'Image', isEmpty: function(props) { return !props || !props.src || props.src.trim().length < 1; } }; export default class Imag...
'use strict'; /*global MockNavigatormozApps, MockNavigatorSettings, MocksHelper, MockL10n, MockApplications, Applications, MockNavigatormozSetMessageHandler, MockGetDeviceStorages, MockVersionHelper */ requireApp('system/shared/js/async_storage.js'); requireApp('system/shared/js/lazy_loader.js'); req...
module.exports = { base: '/wheel-vue/', title: 'Wheel-Vue', description: '一个好用的ui组件库', themeConfig: { nav: [ { text: '主页', link: '/' }, { text: '文档', link: '/guide/' }, { text: '交流', link: 'https://google.com' }, ], sidebar: [ { title: '入门', collapsable: false...
// Component to display the view/edit interface for a single product. (function (fluid) { "use strict"; var gpii = fluid.registerNamespace("gpii"); // The sub-component that handles editing the "status" field. fluid.defaults("gpii.ul.product.edit.status", { gradeNames: ["gpii.ul.select"], ...
/*! For license information please see 606.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[606],{6308:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var a=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurab...
var e={removeListener:!0};module.exports=function(t,r,n){var o=Object.assign({},e,n),i=function(e){if(NodeList.prototype.isPrototypeOf(t)||HTMLCollection.prototype.isPrototypeOf(t)){if(Array.from(t).some(function(t){return t.contains(e.target)}))return r(!1,e)}else{if(!HTMLElement.prototype.isPrototypeOf(t))return cons...
import PropTypes from 'prop-types'; import React from 'react'; /** * Container for NavItems to be displayed. * * @param {Object} props - The read-only properties with which the new * instance is to be initialized. * @returns {ReactElement} */ export default function NavList({ children }) { return ( <...
import { createContext } from 'react'; import { actionTypes } from './mockDataActions'; export const MockDataContext = createContext(null); export const mockDataState = { mockData: [], hasMockData: false, }; let mockDatumId = 0; let mockDatumKeyId = 0; const createMockDatum = id => ({ id: mockDa...
'use strict' import { relationType } from './make-relations' import { importRemoteCache } from '.' import domainEvents from '../domain/domain-events' import asyncPipe from './util/async-pipe' import { workerData } from 'worker_threads' import { UseCaseService } from './use-cases' const { internalCacheRequest, inte...
import {createValidator, required, minLength} from 'utils/validation' const PasswordValidation = createValidator({ email: [required], password: [required], newPassword: [minLength(6)], verifyNewPassword: [minLength(6)] }) export default PasswordValidation
const assert = require('assert'); module.exports = turn_into_error_object; turn_into_error_object.is_error_object = is_error_object; const error_props = ['stack', 'message', 'name',]; function turn_into_error_object(obj, err_obj=new Error()) { assert(is_error_object(err_obj), err_obj); error_props.forEach(...
// COPYRIGHT © 2020 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute...
const graphql = require('graphql'); const { GraphQLObjectType, GraphQLString } = graphql; const PaintingType = new GraphQLObjectType({ name: 'Painting', fields: () => ({ id: { type: GraphQLString }, name: { type: GraphQLString }, url: { type: GraphQLString }, technique: { type: GraphQLString } }...
"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...
// ??? what are all of these variables? // Log in start var express = require('express'); var path = require('path'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var exphbs = require('express-handlebars'); var expressValidator = require('express-validator'); var flash = requi...
import React from 'react'; import {Icon} from 'native-base'; import {connect} from 'react-redux'; import CategoryList from './CategoryList'; import SectionHeader from '../Dashboard/SectionHeader'; import {selectCategoryType} from '../../actions'; import {CategoryPageContainer, CategoryPageFab} from './index.styles'; ...
const search = document.getElementById("search-input"); const matchlist = document.getElementById("match-liste-ul"); const submitbtn = document.getElementById("submit"); matchlist.addEventListener("click", function (e) { if (e.target.className === "eintrag") { const matchText = e.target.firstElementChild.inn...
import {expect} from 'chai' // This part from User to click button to run code. function largestNum(array) { let largest = 0 for (let i = 0; i < array.length; i++) { if (array[i] > largest) { largest = array[i] } } return largest } // This part from DB test table const input = [[], [1, 2, 3], [1...
// 現在日時 // formatDate(new Date(Date.now())) // 加算日時 // formatDate(nowDate.setDate(nowDate.getDate() + parseInt(days))) import moment from 'moment' /** * date = Date Tue Dec 22 2020 16:35:48 GMT+0900 (日本標準時) * formatDate(date) return 20201212 */ const formatDate = (date) => { return moment(date).format('YYYYMMDD')...
const { findPokemon, upgradeLevelPokemon, downgradeLevelPokemon } = require('../services/pokemon.services'); const { battlePokemons } = require('../services/battle.services'); module.exports = { async battle(request, response) { const { pokemonAId, pokemonBId } = request.params; try { const pokemonA =...
const chalk = require("chalk"); const { execSync } = require("child_process"); const { hasYarn, hasCnpm, hasGit } = require("./config"); const PM_CONFIG = { npm: { install: ["install", "--loglevel", "error"], uninstall: ["uninstall", "--loglevel", "error"], }, yarn: { install: [], uninstall: ["r...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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 ("va...
// sucursal-model.js - A mongoose model // // See http://mongoosejs.com/docs/models.html // for more of what you can do here. module.exports = function (app) { const mongooseClient = app.get('mongooseClient'); const { Schema } = mongooseClient; const sucursal = new Schema({ colonia: { type: Schema.Ty...
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * 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 applicab...
// (async()=>{ const Sequelize = require('sequelize'); // For other calls //const path=require('path'); let sequelize = require('./sequelize') try{ sequelize.authenticate(); console.log('success!') } catch(e) { console.log('fail!'); } ...
chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) { sendResponse({svg: document.documentElement.outerHTML}); } );
import React from 'react'; import {BrowserRouter, Switch, Route } from 'react-router-dom'; import Navbar from './components/Navbar/Navbar'; import Products from './components/Products/Products'; import Cart from './components/Cart/Cart'; import commerce from './lib/commerce'; import Backdrop from '@material-ui/core/Bac...
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.default=compositeAggsReducer;va...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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 ("va...
import {chrome, db} from 'lib' export const chromeLogin = async (accountId, provider, username, delayInMs) => { const browser = await chrome.build() await browser.sleep(delayInMs) let account = await db.accounts.get(accountId) if (account.error) { account = { id: accountId, provider, us...
import React from 'react'; import { ContactPageTemplate } from '../../templates/about-page'; const ContactPagePreview = ({ entry, widgetFor }) => ( <ContactPageTemplate title={entry.getIn(['data', 'title'])} content={widgetFor('body')} /> ); export default ContactPagePreview;
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /****...
import styled, { keyframes } from 'styled-components'; import { font, color, boxShadow } from 'shared/utils/styles'; import ReactDOM from 'react-dom'; const Tooltip = ({ isVisible = false, $parent = document.getElementById('root'), text, }) => { const tooltipHasText = text.length > 0; return ( tooltipHas...
import React, { forwardRef } from 'react'; import { getSharedColorScheme } from '@mantine/styles'; import useStyles, { heights } from './Button.styles.js'; import { Loader } from '../Loader/Loader.js'; import { Box } from '../Box/Box.js'; var __defProp = Object.defineProperty; var __getOwnPropSymbols = Object.getOwnPr...
'use strict'; // Simple express server var express = require('express'); var path = require('path'); var app = express(); const appRoot = path.normalize(path.join(__dirname, '/..')); console.log('appRoot : ' + appRoot); //Allow CORS app.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*");...
export function isString(obj) { return Object.prototype.toString.call(obj) === '[object String]' } export function isObject(obj) { return Object.prototype.toString.call(obj) === '[object Object]' } export function isHtmlElement(node) { return node && node.nodeType === Node.ELEMENT_NODE } export const isFunctio...
import { OpenCageGeocoderService } from "../../Source/Cesium.js"; import { Resource } from "../../Source/Cesium.js"; import { when } from "../../Source/Cesium.js"; describe("Core/OpenCageGeocoderService", function () { const endpoint = "https://api.opencagedata.com/geocode/v1/"; const apiKey = "c2a490d593b14612aef...
// ブラウザ判定 // 参考: https://qiita.com/sakuraya/items/33f93e19438d0694a91d var userAgent = window.navigator.userAgent.toLowerCase(); var isChrome = 0; if (userAgent.indexOf('msie') != -1 || userAgent.indexOf('trident') != -1) { // IE } else if (userAgent.indexOf('edge') != -1) { // Edge } else if (userAgent.indexOf('c...
export const PetalumaFont = { 'glyphs': { 'bracketTop': { 'x_min': 0, 'x_max': 508, 'y_min': 0, 'y_max': 370, 'ha': 370, 'o': 'm 22 0 b 122 0 55 1 89 0 l 157 0 b 713 376 425 0 622 137 b 732 467 724 406 732 436 b 726 514 732 482 730 498 b 711 533 723 528 719 533 b 693 526 707 53...
(function(){var loadHandler=window['sl_{8CCCE1B1-A993-4226-B2A0-486112F543C4}'];loadHandler&&loadHandler(0, '<div id="spr0_9f9303"><div id="spr1_9f9303" class="kern"><img id="img0_9f9303" src="data/img0.png" width="720px" height="540px" alt="" style="left:0px;top:0px;"/></div><div id="spr2_9f9303" class="kern"><div id=...
/*jshint esversion: 6 */ //useage: node importData2DB.js City PRODUCTION OPDB ---> for content type City //useage: node importData2DB.js Att PRODUCTION OPDB ---> for content type Attraction const fs = require('fs') const MongoClient = require('mongodb').MongoClient const wikiUtil = require('./lib/wikiUtil.js') // con...
const Node = require('../Node.js'); class IfStatement extends Node { initialise(transforms) { super.initialise(transforms); } transpile(code, transforms) { if ( this.consequent.type !== 'BlockStatement' || (this.consequent.type === 'BlockStatement' && this.consequent.synthetic) ) { code.appendLeft(t...
/** * @fileoverview Comma style - enforces comma styles of two types: last and first * @author Vignesh Anand aka vegetableman */ "use strict"; const astUtils = require("../ast-utils"); //------------------------------------------------------------------------------ // Rule Definition //---------------------------...
const HtmlWebpackPlugin = require("html-webpack-plugin"); const copyWebpackPlugin = require('copy-webpack-plugin'); const path = require("path"); module.exports = { entry: "./src/index.js", output: { path: path.resolve(__dirname, "public"), filename: "bundle.js" }, module: { rul...
const lapis= 0; const papyrus = 1; const scalpellus = 2; let playerChoice = prompt("Do you choose lapis, papyrus or scalpellus?"); let computerChoice = Math.floor(Math.random() * 3);
$.extend(true,$.summernote.lang,{ 'tr-TR':{ /* Turkish */ imageAttributes:{ dialogTitle: 'Resim Özellikleri', tooltip: 'Resim Özellikleri', tabImage: 'Yükleme', src: 'Kaynak', browse: 'Araştır', title: 'Başlık', alt: 'Alt. Metin', dimensions: 'boyutlar', ...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import "./bootstrap.min.css" import "./layout.css" import Footer from "./Reusable/Footer" import Navbar fro...
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
/*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 Hedera Hashgraph, 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 * * http://www.apache.org/licenses/LICENSE-2.0 *...
import { debug } from '../../logger'; import applyFactory from '../../applyFactory'; const APIExports = {}; /** * Register a plugin api. * @param pluginName {String} Plugin name. * @param factory {Function} Plugin api factory. */ export function definePluginAPI({ pluginName }, factory) { debug(`Register Plugin ...
dataViewTemplateLayui.use(['index', 'form'], function () { var layuiSelector = layui.$ , form = layui.form; });
export const BM_NODE_CHANGED = "BM_NODE_CHANGED"; export const BM_NODE_CREATED = "BM_NODE_CREATED"; export const BM_NODE_MOVED = "BM_NODE_MOVED"; export const BM_NODE_REMOVED = "BM_NODE_REMOVED"; export default { BM_NODE_CHANGED, BM_NODE_CREATED, BM_NODE_MOVED, BM_NODE_REMOVED, };
// This file handles the /metadata route "use strict"; const meta = require('express').Router(); const git = require('git-rev-sync'); const pjson = require('../package.json'); meta.get('/', (req, res) => { // console.log(process.env.npm_package_description) let result = { "version": pjson.version, // ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1:function(t,e,o){"use strict";function r(t,e,o,r,a,i,n,p){var s,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=o,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),n?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||...
/* * A Leaflet layer that just sets the background colour of the map. * * This just changes the map container's style, and does not * implement pane positioning - adding two instances of this * layer to a map at a time will conflict. */ L.BackgroundColor = L.Layer.extend({ options: { /* * The background co...
/** * BxSlider v4.0 - Fully loaded, responsive content slider * * Copyright 2015 */ jQuery(document).ready(function () { jQuery('.bxslider').bxSlider({ mode: 'horizontal', slideMargin: 3, auto:true }); ...
import React, { Component, PropTypes } from 'react'; export default class NoEvents extends Component { render() { const { fetching } = this.props; const text = fetching ? 'Loading...' : 'No activities.'; return ( <div className="center-block no-events"> <span className="mega-octicon octic...
const Container = ({children}) => ( <div className="min-h-screen box-border p-10 bg-gradient-to-r from-green-400 to-blue-500"> {children} </div> ) export default Container
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var CheckboxBlankCircle = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.cre...
const matman = require('matman'); const { BrowserRunner } = require('matman-runner-puppeteer'); module.exports = async (pageDriverOpts) => { // 创建 PageDriver 对象,使用它可以实现对浏览器页面的控制 const pageDriver = await matman.launch(new BrowserRunner(), pageDriverOpts); // 设置浏览器打开时所模拟的设备参数 await pageDriver.setDeviceConfig('m...
var data = { "body": "<path d=\"M8 10h8v8h-5l-2-2H7v-5m0-7v2h3v2H7l-2 2v3H3v-3H1v8h2v-3h2v3h3l2 2h8v-4h2v3h3V9h-3v3h-2V8h-6V6h3V4H7z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; exports.__esModule = true; exports.default = data;
import React from 'react'; import { useSelector } from 'react-redux'; import { selectTheme } from '../../redux/reducers/theme'; import styles from './CurriculumVitae.module.css'; export default function CurriculumVitae() { const isDarkMode = useSelector(selectTheme); return ( <div className={`${styles.contain...
import React from "react"; import "./footer.css"; import { IcnFacebook, IcnInstagram, IcnLinkedin, IcnMail } from "./icn_SMM"; const thisYear = new Date(); const Footer = () => ( <div className="container__footer"> <div className="footer"> <div className="footer__smm"> <a href="mailto:la...
// import something here import { AddressbarColor } from 'quasar' // "async" is optional; // more info on params: https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file export default async (/* { app, router, Vue ... } */) => { // something to do AddressbarColor.set() }
import SortedList from './util/SortedList'; import {Transform, stableCompare, tupleid} from 'vega-dataflow'; import {inherits} from 'vega-util'; /** * Collects all data tuples that pass through this operator. * @constructor * @param {object} params - The parameters for this operator. * @param {function(*,*): numbe...
jest.mock('../getQueryGqlType') import { GraphQLNonNull, GraphQLString, GraphQLObjectType, GraphQLInputObjectType } from 'graphql' import getQueryGqlType from '../getQueryGqlType' import createMutationGqlField from '../createMutationGqlField' // Create a new object where `GraphQLString` is the prototype. This means i...
import File from './file.js' import path from 'path' import randomatic from 'randomatic' export default class RandomFile extends File { constructor(directory) { super(path.join(directory, randomatic('A', 10))) } }
module.exports = function (opts) { opts.event.channel.send('Pong.'); }
function verificar() { var data = new Date() var ano = data.getFullYear() var fano = window.document.getElementById('txtano') var res = window.document.querySelector('div#res') if (fano.value.length == 0 || Number(fano.value) > ano) { window.alert ('[ERRO] Verifique os dados e tente novament...
export { default, removeLeadingSlash } from 'nypr-publisher-lib/helpers/remove-leading-slash';