text
stringlengths
2
1.05M
// Copyright 2019 Google Inc. // // 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...
import React from 'react'; import ReactDOM from 'react-dom'; import { mount } from 'enzyme'; import net from '../../../net'; import Data from '../../Data/Data'; import Chart from '../Chart'; import LineChart from './LineChart'; import BarChart from './BarChart'; import ScatterPlot from './ScatterPlot'; const classes =...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"yP6+":function(t,e,n){(function(e,r){t.exports=r(n("q1tI"))})(0,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e...
'use strict' module.exports.endPoints = { GET_CARS: { apiUrl: 'cars/', method: 'GET', }, POST_CITIES: { apiUrl: 'cities/', method: 'POST', }, PUT_DELETE: { apiUrl: 'try_delete/', method: 'DELETE', }, PUT_TRY: { apiUrl: 'try_put/', method: 'PUT', }, GET_TEST...
const { default: WebDriver} = require("webdriver"); const browserInfo = { brave: { name: "Brave", bundleId: "com.brave.ios.browser", urlBarClick: "url", urlBarKeys: "url" }, chrome: { name: "Chrome", bundleId: "com.google.chrome.ios", urlBarClick: "Address and search bar", urlBarClick2: ...
function n(n){return null==n}function t(n){throw new Error("Argument "+n+" is empty.")}function r(n){return"function"==typeof n&&"getType"in n}function e(n){throw new Error("Argument "+n+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function i(n,t){if(null==n)throw new Error("Argument ...
const path = require("path"); const HtmlWebPackPlugin = require("html-webpack-plugin"); const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin"); module.exports = { entry: "./src/index.tsx", output: { path: path.resolve(__dirname, "build"), filename: "bundle.js" }, resolve: { extensions...
/** * GitHub v3 REST API * GitHub's v3 REST API. * * The version of the OpenAPI document: 0.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ (function(root, factory) { if (typeof def...
exports.argPrefix = '$arg:'; exports.getTypeInfo = (ctor, key) => { if (typeof(ctor) !== 'function') { const message = ctor && ctor.constructor ? 'instance of ' + ctor.constructor.name : (!ctor ? 'null' : typeof(ctor)); throw new Error('Constructor must be a function, got ' + message); } const docComment...
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{l(i.next(t))}catch(e){r(e)}}function s(t){try{l(i["throw"](t))}catch(e){r(e)}}function l(t){t.done?n(t.value):a(t.value).then(o,s)}l((i=i.app...
/** * Test dependencies. */ var start = require('./common'), mongoose = start.mongoose, Schema = mongoose.Schema, assert = require('power-assert'), random = require('../lib/utils').random, util = require('util'), async = require('async'); /** * Setup */ function BaseSchema() { Schema.ap...
//! moment.js locale configuration //! locale : Tamil [ta] //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 import moment from '../moment'; var symbolMap = { '1': '௧', '2': '௨', '3': '௩', '4': '௪', '5': '௫', '6': '௬', '7': '௭', '8': '௮', ...
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.02708,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00451,"44...
export default class Dep { constructor () { /* 用来存放Watcher对象的数组 */ this.subs = []; } /* 在subs中添加一个Watcher对象 */ addSub (sub) { this.subs.push(sub); } /* 通知所有Watcher对象更新视图 */ notify () { this.subs.forEach((sub) => { sub.update(); }) } }
(function () { var refRootPath = "https://g.alicdn.com/hub/"; AliHub.Runtime.ModulexLoader.addAliasPrefix("~/inc/", "local/"); AliHub.Runtime.ModulexLoader.addModule("local", "../../inc/", true); AliHub.Runtime.ModulexLoader.addModule("quark-panels", refRootPath + "quark-panels/0.5.46/"); AliHub.Ru...
g_db.quests[6433]={id:6433,name:"^ffffffThe Eaten Pig",type:0,trigger_policy:3,on_give_up_parent_fail:1,on_success_parent_success:0,can_give_up:1,can_retake:0,can_retake_after_failure:1,on_fail_parent_fail:0,fail_on_death:0,simultaneous_player_limit:0,ai_trigger:0,ai_trigger_enable:0,auto_trigger:0,trigger_on_death:0,r...
"use strict"; const debug = require("debug")("bot-express:skill"); module.exports = class SkillTestBuiltinParserOndemand { constructor() { this.required_parameter = { pizza: { message_to_confirm: { type: "text", text: "ご注文のピザはお決まりでしょうか? マ...
(function(factory){if(typeof module==="object"&&typeof module.exports!=="undefined"){module.exports=factory}else{factory(FusionCharts)}})(function(FusionCharts){(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var ...
function HelloController($scope){ $scope.title = "Basic AngularJS demo"; $scope.value = 0; $scope.toggle = true; $scope.increment = function(){ $scope.value++; } }
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import YTSearch from 'youtube-api-search'; import SearchBar from './components/search_bar'; import VideoList from './components/video_list'; import VideoDetail from './components/video_detail'; const API_KEY ='AIzaSyB0mb3U06meFtYPHdMuPs2e...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36e5"],{3040:function(t,e,r){"use strict";function n(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function c(t,e){try{var r=o[t](e),c=r.value}catch(t){return void i(t)}r.done?n(c):Promise.resolve(c).then...
/* */ "format cjs"; import { Subscriber } from '../Subscriber'; import { tryCatch } from '../util/tryCatch'; import { errorObject } from '../util/errorObject'; export function sequenceEqual(compareTo, comparor) { return (source) => source.lift(new SequenceEqualOperator(compareTo, comparor)); } export class Sequenc...
/** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", stats: { colors: true, hash: false, entrypoints: true }, performance: { hints: false } };
/* __Seed builder__ (Read_only) Example test Be careful copying content */ import React from "react"; import '@testing-library/jest-dom/extend-expect'; import { screen } from '@testing-library/react'; import { render, mockGql } from 'seed/jest'; import * as data from 'seed/examples/tests/data'; import FormSet from...
const { orderBy } = require('lodash'); const dates = require('@envage/water-abstraction-helpers').nald.dates; const licenceQueries = require('./lib/nald-queries/licences'); const partyQueries = require('./lib/nald-queries/parties'); const addressQueries = require('./lib/nald-queries/addresses'); const rolesQueries = r...
function addWidgetsfrmDatagrid() { var hbxDatagrids = new kony.ui.Box({ "id": "hbxDatagrids", "isVisible": true, "orientation": constants.BOX_LAYOUT_HORIZONTAL, "position": constants.BOX_POSITION_AS_NORMAL }, { "containerWeight": 100, "layoutAlignment": constants....
import React from "react"; import ReactDOM from "react-dom"; import "./tailwind.css"; import App from "./App"; import Auth0ProviderWithHistory from './auth/auth0-provider-with-history'; import { BrowserRouter } from "react-router-dom"; ReactDOM.render( <BrowserRouter> <Auth0ProviderWithHistory> <App /> ...
'use strict'; const DefinedNameXform = require('../../../../../lib/xlsx/xform/book/defined-name-xform'); const testXformHelper = require('./../test-xform-helper'); const expectations = [ { title: 'Defined Names', create() { return new DefinedNameXform(); }, preparedModel: { name: 'foo', range...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
'use strict' const byteUtils = require('../../util/byte-limit') module.exports = TraceAttributes /** * @class * @private */ function TraceAttributes(opts) { opts = opts || Object.create(null) this.limit = opts.limit || Infinity this.attributes = Object.create(null) this.count = 0 } /** * Checks if a giv...
// @flow import RenderBlockConversationWarning from './' import * as Constants from '../../../constants/chat2' import * as Chat2Gen from '../../../actions/chat2-gen' import {connect} from '../../../util/container' import * as RouteTreeGen from '../../../actions/route-tree-gen' import {type RouteProps} from '../../../ro...
// Test Subject ID No. menu and default plots function getName() { // Select dropdown menu id and assign it to a variable var dropdownMenu = d3.select('#selDataset'); // Read "names" values from json file and append into dropdown menu d3.json('data/samples.json') .then(subject => subject.names ...
App({ })
/* axios v0.19.0-beta.1 | (c) 2018 by Matt Zabriskie */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object...
var classtime__series_1_1TimeSeries = [ [ "TimeSeries", "classtime__series_1_1TimeSeries.html#abd15b59569dc3dca7d1b848a0867a117", null ], [ "read_indexes", "classtime__series_1_1TimeSeries.html#acbd2aa3299e5c62811df429896791767", null ], [ "write_indexes", "classtime__series_1_1TimeSeries.html#a0fdedf27b55b...
import React from "react" import { View, Image, ImageBackground, TouchableOpacity, Text, Button, Switch, TextInput, StyleSheet, ScrollView } from "react-native" import Icon from "react-native-vector-icons/FontAwesome" import { CheckBox } from "react-native-elements" import { connect } from "react-re...
import styled from 'styled-components'; const P = styled.p` font-size: 1em; margin: auto; text-align: center; width: 80%; `; export default P;
/* Copyright (c) 2010, Nicolas Garcia Belmonte All rights reserved > Redistribution and use in source and binary forms, with or without > modification, are permitted provided that the following conditions are met: > * Redistributions of source code must retain the above copyright > notice, this...
import React from 'react'; import Anchor from './Anchor'; import Subtitle from './Subtitle'; import Title from './Title'; import Wrapper from './Wrapper'; function Header() { return ( <Wrapper> <Title>Random Quote Machine</Title> <Subtitle> Welcome! Enjoy these cool random quotes below - usi...
function trim(sString) { sTrimmedString = ""; if (sString != "") { var iStart = 0; var iEnd = sString.length - 1; var sWhitespace = " \t\f\n\r"; while (sWhitespace.indexOf(sString.charAt(iStart)) != -1) { iStart++; if (iStart > iEnd) break; ...
// ---------------------------------------------------------------------------- // File Developer: Peter Pak // Description: Script for accounts UI to use usernames instead of emails // ---------------------------------------------------------------------------- // Package Imports -------------------------------------...
import mongoose from '../db/mongoose'; export default mongoose.model('Product', new mongoose.Schema({ id: {type: Number, required: true}, name: {type: String, required: true}, brand: {type: String, required: true}, price: {type: Number, required: true, min: 0}, reviews: [{ author: {type: St...
/** * Implement Gatsby's SSR (Server Side Rendering) APIs in this file. * * See: https://www.gatsbyjs.org/docs/ssr-apis/ */ // You can delete this file if you're not using it import React from 'react' import { renderToString } from 'react-dom/server' import { ServerStyleSheet } from 'styled-components' ...
module.exports = { rules: { // enforce line breaks after opening and before closing array brackets // https://eslint.org/docs/rules/array-bracket-newline // TODO: enable? semver-major 'array-bracket-newline': ['off', 'consistent'], // object option alternative: { multiline: true, minItems: 3 } //...
/* Copyright 2019 OmiseGO Pte 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 writing, ...
import { BaseVariable } from './BaseVariable.js'; /** * Allows to create a dynamic reference to another variable. * For example when you compute a log-loss you can reference the * positive class probability and propagate gradient to the correct variable */ export class ReferenceVariable extends BaseVariable { co...
export default class OperatorManager { constructor() { this.builtin_uniary = { '+': (inp) => inp, '-': (inp) => -inp, 'NOT': (inp) => ~inp } this.builtin_binary = { "+": (inp1, inp2) => inp1 + inp2, "-": (inp1, inp2) => inp1 - inp2,...
import { formatTimer } from "./time"; export default { formatTimer, };
import React from 'react'; import styles from "./index.less" import {Form,Input,Button} from 'antd' import { connect } from 'dva'; const FormItem = Form.Item; @Form.create() @connect((state)=>{ return {} }) class Login extends React.Component{ handleSubmit=(e)=>{ e.preventDefault(); this.prop...
const fs = require('fs'); const path = require('path'); const task2 = require('./task2.js'); fs.readFile(`${path.parse(__filename).name}.txt`, 'utf8', function (err, data) { if (err) { return console.log(err); } let rows = data.split('\r\n'); rows.pop(); let result2 = task2({ data: row...
'use strict'; const log = require('electron-log'); const Promise = require('bluebird'); const adb = require('adbkit'); const client = adb.createClient(); const toTitleCase = require('titlecase') const ipcMain = require('electron').ipcMain; ipcMain.on('adbkit-observe-devices', function(event, arg) { observeDevices(...
import Thener from './thener'; export default Thener;
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h(h.f, null, h("path", { d: "M20 14v-4h-4v2.89L17.11 14zm-10-1.45V14h1.45zM14 10h-.89l.89.89zm5.11 6l.89.89V16zM8 4h-.89l.89.89zm6 4V4h-4v2.89L11.11 8zm2-4h4v4h-4zm-6 12v4h4v-3.45l-.55-.55zm-6-6v4h4v-3.45L7.45 10z...
import Vue from "vue" const vueFb = {} vueFb.install = function install (Vue, options) { (function (d, s, id) { var js var fjs = d.getElementsByTagName(s)[0] if (d.getElementById(id)) { return } js = d.createElement(s) js.id = id js.src = "//connect.facebook.net/en_US/sdk.js" fjs.parentNo...
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import ReactJson from 'react-json-view'; import moment from 'moment'; import { EuiBasicTable, EuiHealth, EuiIcon, EuiFlyout, EuiFlyoutBody, EuiFlyoutHeader, EuiTitle, EuiText, } from '@elastic/eui'; const ConnectivityDomainPod...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 ...
var OuterSubscriber_1 = require('../OuterSubscriber'); var subscribeToResult_1 = require('../util/subscribeToResult'); /** * Buffers the source Observable values until `closingNotifier` emits. * * <span class="informal">Collects values from the past as an array, and emits * that array only when another Observable e...
/** * Module dependencies. */ const app = express(); const server = require('http').Server(app); const io = require('socket.io')(server); const compression = require('compression'); const session = require('express-session'); const bodyParser = require('body-parser'); const logger = require('morgan'); const chalk = r...
// see http://vuejs-templates.github.io/webpack for documentation. var path = require('path') module.exports = { build: { env: require('./prod.env'), index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', assetsPublicPat...
export { EuiListGroup } from './list_group'; export { EuiListGroupItem } from './list_group_item';
const DELAY= 0; module.exports = function() { var Moment = require('vendor/moment'); if (!Ti.Network.online || Ti.App.Properties.hasProperty('LASTSYNC') && Ti.App.Properties.getInt('LASTSYNC') - parseInt(Moment().format('X')) < 3600 * 24) { console.log('Warning: sync aborted, last sync is to fresh ≠≠≠≠≠≠≠≠≠≠≠≠≠≠≠...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../../../utils/Class'); var Earcut = require('../../../geom/polygon/Earcut'); var EllipseRender = require('./EllipseRender'...
//Fact Generator var factlist = ["I was Time's Person of The Year for 2006! Wow! :)", "I like gaming, I have over 30 different console emulators installed on my PC!", "While I do enjoy watching anime, I also like watching cartoons! It's not strictly for kids!", "I learnt cycling and swimming at the very young age... of...
import React from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; const Resume = ({ load, nav, data, }) => { return ( <ReactCSSTransitionGroup transitionName="drop" transitionAppear={true} transitionAppearTimeout={500} ...
console.log("hello world!"); //http请求: const http = require('http'); http.get({ localname:'api.douban.com', port:80 },(res)=>{ console.log(res); })
/* * * LiveShare actions * */ import * as CONSTANTS from './constants' import {createSkillUpdateMessage, createChatMessage, createContentOperationsMessage } from '../../utils/liveshare-message-builder' export function createHubConnection(onMessageReceivedCallback) { return { type: CONSTANTS.HUB_CONNECTION_RE...
export { default } from '@lblod/ember-rdfa-editor-bijzonder-comite-aanstelling-plugin/models/persoon';
class InvalidArgumentError extends Error { } module.exports = InvalidArgumentError;
db.voices.aggregate( { $group: { _id: "$language", count: {$sum:1}}, }, {$sort: {count: -1} } )
webpackJsonp([0x81b8806e4260],{331:function(e,o){e.exports={data:{allDataJson:{edges:[{node:{owners:[{name:"Anthony Chaple",fantasyname:"Finessers ",id:"{39E338CD-7398-4D82-8AEA-028DB7FC27B3}",image:"https://g.espncdn.com/lm-static/logo-packs/ffl/CreepShow-ToddDetwiler/CreepShow-01.svg",status:"active"},{name:"Armando ...
const CLIENT_ID = process.env.CLIENT_ID || '{clientId}'; const ISSUER = process.env.ISSUER || 'https://{yourOktaDomain}.com/oauth2/default'; const OKTA_TESTING_DISABLEHTTPSCHECK = process.env.OKTA_TESTING_DISABLEHTTPSCHECK || false; const REDIRECT_URI = `${window.location.origin}/login/callback`; export default { oi...
var _ = require('lodash') module.exports = function DeviceControlCtrl($scope, DeviceService, GroupService, $location, $timeout, $window, $rootScope, ControlService) { $scope.showScreen = true $scope.groupTracker = DeviceService.trackGroup($scope) $scope.groupDevices = $scope.groupTracker.devices $scope.k...
ig.module('game.levels.lighting') .requires('impact.image', 'plusplus.entities.light', 'plusplus.entities.checkpoint', 'plusplus.entities.levelchange', 'plusplus.entities.camera-atmosphere', 'plusplus.entities.conversation', 'game.entities.villain-working') .defines(function() { LevelLighting = /*JSON[*...
/*global define*/ define([ './SceneMode' ], function( SceneMode) { "use strict"; /** * State information about the current frame. An instance of this class * is provided to update functions. * * @param {CreditDisplay} creditDisplay Handles adding and removing credits fr...
module.exports = [{ path: "/", name: "nav.home" }, { path: "/about_us", name: "nav.about_us" }, { path: "/services", name: "nav.services" }, { path: "/contact_us", name: "nav.contact_us" }, { path: "/testimonials", name: "nav.testimonials" }, { path: "/residential_gallery", ...
import { filterMongoURL } from '@parameter1/sso-mongodb'; import { immediatelyThrow } from '@parameter1/utils'; import pkg from '../package.js'; import createServer from './create-server.js'; import { EXPOSED_HOST, EXPOSED_PORT, HOST, PORT, } from './env.js'; import mongodb from './mongodb.js'; process.on('unh...
// Import ES6 Promise import 'es6-promise/auto' // Import System requirements import Vue from 'vue' import VueRouter from 'vue-router' import { sync } from 'vuex-router-sync' import routes from './routes' import store from './store' // Import Helpers for filters import { domain, count, prettyDate, pluralize } from '...
import i18n from 'i18next'; import { initReactI18next } from 'react-i18next'; import en from './lang/en.json'; import vi from './lang/vi.json'; // the translations // (tip move them in a JSON file and import them) const resources = { en: { translation: en, }, vi: { translation: vi, }, }; ...
"use strict"; // http://download.intel.com/design/chipsets/datashts/29056601.pdf /** @const */ var IOAPIC_ADDRESS = 0xFEC00000; /** @const */ var IOREGSEL = 0; /** @const */ var IOWIN = 0x10; /** @const */ var IOAPIC_IRQ_COUNT = 24; /** @const */ var IOAPIC_ID = 0; // must match value in seabios /** @const */ v...
import React from 'react'; import pubs from '../data/articles'; const Publications = () => ( <div id="publications"> <h2>Publications</h2> {pubs.map(pub => ( <div key={pub.id} className="pubs"> <img src={pub.image} alt={pub.alt} height="80" width="80" ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.vueIonicons = factory()); }(this, (function () { 'use strict'; var A_ROTATE = 'rotate'; var A_BEAT = 'beat'; var A...
import React, { Component } from 'react' import PropTypes from 'prop-types' import actions from '../actions' import AddVehicleJourney from '../containers/tools/AddVehicleJourney' import DeleteVehicleJourneys from '../containers/tools/DeleteVehicleJourneys' import SelectVehicleJourneys from '../containers/tools/SelectVe...
import React, { Component } from 'react'; import axios from 'axios'; import DropZoneComponent from 'react-dropzone-component'; import RichTextEditor from "../forms/rich-text-editor"; export default class BlogForm extends Component { constructor(props) { super(props); this.state = { id...
const { 'classes': Cc, 'interfaces': Ci, 'results': Cr, 'utils': Cu, 'Constructor': CC } = Components; Cu.import('resource://gre/modules/XPCOMUtils.jsm'); Cu.import('resource://gre/modules/FileUtils.jsm'); Cu.import('resource://gre/modules/Services.jsm'); function isSubjectToBranding(path) { return /shared[...
/** * @license * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris) * * This sofware is provided under multiple licenses. Please see below for * links to appropriate usage. * * Free amCharts linkware license. Details and conditions: * https://github.com/amcharts/amcharts4/blob/master/LICENSE *...
'use strict'; const { Collection } = require('@discordjs/collection'); const { DiscordSnowflake } = require('@sapphire/snowflake'); const { InteractionType, Routes } = require('discord-api-types/v10'); const { TypeError, Error } = require('../../errors'); const InteractionCollector = require('../InteractionCollector')...
import React from 'react'; import Product from './Product'; import Ingredients from './Ingredients'; const Results = () => ( <div> This is from Results component. <Ingredients/> <Product/> </div> ); export default Results;
import { render } from '@testing-library/react'; import Nav from '../../components/Nav'; describe('Nav', () => { it('renders a text', () => { const { getByText } = render( <Nav />, ); const logo = getByText(/Hello Stranger/i); expect(logo).toBeInTheDocument(); }); });
/** * Copyright (C) 2000-2014 Geometria Contributors * http://geocentral.net/geometria * * Geometria is free software released under the MIT License * http://opensource.org/licenses/MIT */ define([ "dojo/_base/lang", "dojo/Deferred", "dijit/form/ValidationTextBox", "dijit/layout/ContentPane", ...
var f = require('../lib/file.js'); var $ = require('../lib/base.js'); var child = require("child_process"); var path = require('path'); var expect = require('expect.js'); describe('##jdf output...', function(){ this.timeout(10000); var css_background_url = f.read('result/css_background_url/css_background_u...
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ export * from './anchor-link.component'; export * from './anchor.component'; export * from './anchor.module'; //# sourceMappingURL=data:applica...
import React from 'react'; import Helmet from 'react-helmet'; import styles from './Layout.module.scss'; const Layout = ({ children, title, description }) => ( <div className={styles.layout}> <Helmet> <html lang="en" /> <title>{title}</title> <meta name="description" content={description} /> ...
import React from "react"; import { Wrapper, Logo, Link, Panel } from "./styles"; const Sidebar = ({ onCloseSidebar }) => { return ( <> <Panel onClick={onCloseSidebar} /> <Wrapper> <Logo to={"/"} onClick={onCloseSidebar}> Havoc Tracker </Logo> <Link to={"/add-survivo...
const CorsBypass = require('./lib') const cors = new CorsBypass('https://rebit.ph', 2000) cors.start() console.log('\n', JSON.stringify(cors.info(), null, 2)) /** * do an HTTP GET request to http://localhost:2000/api/v1/rates * or * curl http://localhost:2000/api/v1/rates * */
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { BsNavigationDirection } from '../../models'; import { BsDatepickerConfig } from '../../bs-datepicker.config'; var BsDaysCalendarViewComponent = /** @class *...
import React, {Component} from 'react'; import { View, Text, StyleSheet, TextInput, Dimensions, TouchableOpacity, Image, ActivityIndicator, Alert, Keyboard, } from 'react-native'; import {API_URL, MAIN_COLOR, TEXT_COLOR} from '../../../constants'; import Icon from 'react-native-vector-icons/Ionicons...
import { getCube } from './helper.js'; export const createWallWoodStrips = () => { getCube("url(rtextures/wood.jpg)", 5, 10, 465, -600, 390, -448); getCube("url(rtextures/wood.jpg)", 5, 10, 465, -590, 390, -448); getCube("url(rtextures/wood.jpg)", 5, 10, 465, -580, 390, -448); getCube("url(rtextures/wood.jpg)"...
console.log(process.env) console.log(process.exit(1))
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and delta...
'use strict'; var fizzbuzz = require('./lib/fizzbuzz'); fizzbuzz.print(15);