text
stringlengths
2
1.04M
import incomeCategoryApi from '@/api/incomeCategory' const state = { isSubmitting: false, validationErrors: null } export const mutationTypes = { createIncomeCategoryStart: '[createIncomeCategory] Create incomeCategory start', createIncomeCategorySuccess: '[createIncomeCategory] Create incomeCategory ...
import {alertConstants} from '../_constants'; export const alertActions = { success, error, clear }; function success(message) { return {type: alertConstants.SUCCESS, message}; } function error(message) { return {type: alertConstants.ERROR, message}; } function clear() { return {type: alertC...
require('./sourcemap-register.js');module.exports = /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 932: /***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { const run = __nccwpck_require__(459) if (require.main === require.cache[eval('__filename')])...
function solve(arr, num) { let counter = 0; for (let j = 0; j < num; j++) { for (let i = 0; i < arr.length; i++) { if (counter == num) { break; } let last = arr.pop(); arr.unshift(last); counter++; } if (counter...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
//Wit.ai function isKeySentence(data, callback) { var w = require('node-wit'); var ACCESS_TOKEN = "FDXLOQWL764U5RYPUWJLYGQPK3S2QZLT"; w.captureTextIntent(ACCESS_TOKEN, data, function (err, res) { if (err) console.log("Error: ", err); out = outcomes[0].intent; callback(out) }); } //data = "The fifth presi...
import React from "react"; import { FooterBase } from "./styles"; import Logo from "../../assets/img/Logo.png"; import { Link } from "react-router-dom"; import linkedin from "../../assets/img/linkedin.svg"; import github from "../../assets/img/github.svg"; import BackToTop from "react-back-to-top"; function Footer() {...
/** * @license * Copyright (c) 2014, 2021, Oracle and/or its affiliates. * Licensed under The Universal Permissive License (UPL), Version 1.0 * as shown at https://oss.oracle.com/licenses/upl/ * @ignore */ define(['exports'], function (exports) { 'use strict'; /** * @license * Copyright (c) 2014, 2021, O...
var bitcoin = require("bitcoinjs-lib") const testnet = bitcoin.networks.testnet; var JobService = require('./job.serv'); var BlockExplorerService = require('./blockexplorer.serv'); _this = this exports.userSend = async function(user, destination, quantity, fee) { quantity = parseFloat(quantity); fee = parseFloat(f...
/*! Buefy v0.7.0 | MIT License | github.com/buefy/buefy */
//# sourceMappingURL=drawer.min.js.map
/* * Copyright 2020-2021 The NATS 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 applicable law or agreed ...
import resolveObjectFit from '../../src/utils/resolveObjectFit'; describe('object-fit', () => { test('should fill to content box for portrait images', () => { const result = resolveObjectFit('fill', 200, 200, 40, 80); expect(result.width).toBe(200); expect(result.height).toBe(200); expect(result.xOf...
import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; export default Route.extend({ session: service(), setupController: function() { this.get("session").set("isAuthenticated", false); this.get("session").set("user", null); } });
// @flow import * as React from 'react'; import { autoBindMethodsForReact } from 'class-autobind-decorator'; import 'swagger-ui-react/swagger-ui.css'; import { Button } from 'insomnia-components'; import { showPrompt } from './modals'; import type { BaseModel } from '../../models'; import * as models from '../../models...
const PASSED = 'passed' const ERRORED = 'errored' const FAILED = 'failed' function runTest (func) { var result try { var output = func() const assertions = Array.isArray(output) ? output : [output] const passed = assertions.every((assertion) => assertion.outcome === PASSED) if (passed) { resu...
bridgeit.goBridgeItURL = "cloud-query-messenger.html"; window.homeController.registerNewMessagePushGroup = function(username){ bridgeit.usePushService(window.pushUri, null, { auth:{ access_token: bridgeit.io.auth.getLastAccessToken() }, account: window.br...
/** * @param {number} lineNumber - zero based. * @return {number[]} */ const pascalTriangle = (lineNumber) => { var array5 = new Array(lineNumber+1); for(var y=0; y<array5.length; y++){ array5[y] = 1; } var array1 = new Array(lineNumber+1); for(var y=0; y<array1.length; y++){ ar...
import React from 'react' import Link from 'gatsby-link' const About = () => ( <div> <h1>Hi from the About page</h1> </div> ) export default About
/** * Auto-generated action file for "Microsoft Graph API" API. * * Generated at: 2019-08-07T14:53:10.207Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / microsoft-graph-api-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector ar...
/* Copyright 2020 Javier Brea 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, software distribut...
//************************************************ // *Author:jxx // *QQ:283591387 // *代码由框架生成,任何更改都可能导致被代码生成器覆盖 // *业务请在App_Appointment.js中编写 //************************************************ export default function() { return { editFormFields: {"Name":"","PhoneNo":"","Describe":"","CreateDate":"","Creator":...
import Model from './Model' import View from './View' /** * @class Controller * * Links the user input and the view output. * * @param model * @param view */ class Controller { constructor(model, view) { this.model = model this.view = view // Explicit this binding this.model.bindTodoListChang...
const path = require('path'); //Extract the style sheets into a dedicated file in production const ExtractTextPlugin = require("extract-text-webpack-plugin"); const extractSass = new ExtractTextPlugin({ filename: "css/style.css", }); //Module exports module.exports = { mode: 'development', performan...
import { Component } from 'react'; import { Button } from 'reactstrap'; import { FontAwesomeIcon as Icon } from '@fortawesome/react-fontawesome'; import { faSpinner } from '@fortawesome/free-solid-svg-icons'; import DBPEDIA_LOGO from 'assets/img/sameas/dbpedia.png'; import PropTypes from 'prop-types'; class DbpediaAbs...
const {ApplicationConfig, ApplicationClient} = require('./sdk/application'); const {PlatformConfig, PlatformClient} = require('./sdk/platform'); module.exports = { ApplicationConfig: ApplicationConfig, ApplicationClient: ApplicationClient, PlatformConfig: PlatformConfig, PlatformClient: PlatformClient ...
/*! * jQuery Validation Plugin v1.13.1 * * http://jqueryvalidation.org/ * * Copyright (c) 2014 Jörn Zaefferer * Released under the MIT license */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery"], factory ); } else { factory( jQuery ); } }(function( $ ) { $.ext...
/** * skylark-jqueryui-appendgrid - A version of jquery.appendgrid that ported to running on skylarkjs ui. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/skylark-jqueryui-appendgrid/ * @license MIT */ define(["skylark-domx-query","./appendGrid"],function(e){return e}); ...
import React, { useState } from 'react'; export const AddPlayerForm = (props) => { const initialFormState = { name: '', age: '', position: '', managerId: props.managerId, }; const [player, setPlayer] = useState(initialFormState); const handleInputChange = (event) => { const { name, value ...
// BASIC SETUP // const aws = require('aws-sdk'); let secrets; // this block of code is going to run if the application is on heroku if (process.env.NODE_ENV == 'production') { secrets = process.env; // in prod the secrets are environment variables // this block is going to run if we're running our application loc...
import './App.css'; import { Layout, Select, Typography } from 'antd'; import { SelectionPanel, SubscriptionPanel } from './components'; import { withNamespaces } from 'react-i18next'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import i18n from './i18n'; import actions from './re...
import React from "react" import { Container, Row, Col } from "reactstrap" import { useStaticQuery, graphql } from "gatsby" import companyThumbnail from "../images/company.jpg" import PageHeader from "../components/pageHeader" import AboutCard from "../components/aboutCard" const AboutPage = () => { const data = use...
// Copyright (c) Wictor Wilén. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. var webpack = require('webpack'); const Dotenv = require('dotenv-webpack'); var TSLintPlugin = require('tslint-webpack-plugin'); var path = require('path'); var fs = req...
import styled from 'styled-components'; export const Footer = styled.footer` background-color: ${({ theme }) => theme.primaryColorTwo}; color: #fff; font-size: 14px; padding-top: 20px; padding-bottom: 20px; text-align: center; a { color: #fff; border-bottom: none; } p { color: #fff; }...
import { connect } from 'react-redux'; import { sendVote } from '../Actions/game'; import PlayerCardComponent from '../Components/Game/PlayerCard'; function getRole(mainPlayer, player) { if (!player || !player.role || !mainPlayer || !mainPlayer.role) { return; } if (player.role === 'MAFIA') { ...
import React from "react" import Layout from "../components/layout" import SEO from "../components/seo" import Blocks from "../components/blocks" const SignIn = () => ( <Layout whiteNav={true}> <SEO pageTitle="Create a Give Account" title="Create an account to give to LDi" description="" ...
import PropTypes from 'prop-types'; import React from 'react'; const SiteFooter = (props) => <div className="site-footer"> <footer> <p>{props.version}</p> </footer> </div>; SiteFooter.propTypes = { version: PropTypes.string, }; export default SiteFooter;
/** * Copyright (C) 2014, 2015, 2016 University of Washington. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
CKEDITOR.plugins.setLang("newpage", "da", {toolbar: "Ny side"});
import firebase from 'firebase/app'; import 'firebase/firestore'; export const getVendors = (callback) => { const db = firebase.firestore(); db.collection('vendor-profiles') .get() .then((vendors) => vendors.docs.map((user) => ({ id: user.id, ...user.data() }))) .then((vendors) => callback(vendors)) ...
const { MissingParamError, InvalidParamError } = require('../../utils/errors') const AuthUseCase = require('./auth-usecase') const makeTokenGeneratorWithError = () => { class TokenGeneratorWithError { async generate (userId) { throw new Error() } } const tokenGeneratorWithError = new TokenGenerato...
module.exports = [ { name: '500px', code: 'f26e' }, { name: 'abacus', code: 'f640' }, { name: 'accessible-icon', code: 'f368' }, { name: 'accusoft', code: 'f369' }, { name: 'acorn', code: 'f6ae' }, { name: 'acquisitions-incorporated', code: 'f6af' }, { name: 'ad', code: 'f641' }, { name:...
a['b'];a['in'];a['eval'];a['arguments']
import _ from 'lodash'; import { fs, util } from 'appium-support'; import { exec } from 'teen_process'; import log from './logger'; import TCCDB from './tcc-db'; const STATUS_UNSET = 'unset'; const STATUS_YES = 'yes'; const STATUS_NO = 'no'; const WIX_SIM_UTILS = 'applesimutils'; const SERVICES = { calendar: 'kTCCSe...
/* istanbul instrument in package npmdoc_shipit_deploy */ /*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 () { ...
var imagemin = require('imagemin'); var loaderUtils = require('loader-utils'); var assign = require('object-assign'); var schemaValidation = require('schema-utils') var loaderSchema = require('./schema.json') /** * Basically the getLoaderConfig() function from loader-utils v0.2. */ function getLegacyLoaderConfig(loa...
export {}; //# sourceMappingURL=MediaStream.js.map
import { messaging } from "firebase-admin"; export const pushMessage = ({ data, notification: { title, body }, topic = null, tokens = [] }) => { const message = {} const messages = []; if (!!data) { message.data = data } if (!!title && !!body) { message.notification = {title, body...
const path = require('path'); const envPath = path.join(__dirname, '../../.env'); require('dotenv').config({ path: envPath }); const BigNumber = require('bignumber.js'); const util = require('util'); const chalk = require('chalk'); const Contract = require('web3-eth-contract'); const { expectRevert, time } = require('...
$( document ).ready(function() { var nameClient = $("#nameClient").val(); var restaurant = $("#restaurant-list").val(); var local = $("#local-list").val(); $( "li" ).each(function( index ) { console.log( index + ": " + $( this ).text() ); }); $('#enviar').on('click',function(){ var arr = []; va...
module.exports = { root: true, env: { node: true }, extends: ['plugin:vue/essential'], rules: { 'quotes': ['error', 'single', 'avoid-escape'], 'semi': [2, 'never'], 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ?...
import PropTypes from 'prop-types'; import React, { PureComponent } from 'react'; import { ActivityIndicator, SafeAreaView, StyleSheet, Switch, Text, View } from 'react-native'; import { connect } from 'react-redux'; import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; import PaymentChanne...
module.exports={ jwtScretKey:"fristorlast", expiresIn:"10h", }
mycallback( {"TOTAL FED-NONFED AMOUNT": "5.00", "Activity is Direct Candidate Support": "", "PAYEE CITY": "Blacksburg", "EXPENDITURE DATE": "20100701", "PAYEE SUFFIX": "", "EXPENDITURE PURPOSE DESCRIP": "Monthly Fee for Service", "PAYEE LAST NAME": "", "PAYEE FIRST NAME": "", "Activity is Direct Fundraising": "", "BACK...
const Bundler = require("parcel-bundler"); const common = require("./common"); const options = { watch: true, contentHash: false, minify: false, hmr: false, sourceMaps: true }; (async function() { const bundler = new Bundler(common.entries, options); bundler.on("bundled", common.renameManifest); con...
import typescript from 'rollup-plugin-typescript2'; import resolve from '@rollup/plugin-node-resolve'; function buildConfig({ input, output }) { return { input, plugins: [typescript(), resolve()], onwarn: (e) => { throw new Error(e); }, output, }; } export default [ buildConfig({ in...
const when = require("./steps/when"); const { init } = require("./steps/init"); beforeAll(() => { init(); }); describe(`When we invoke the GET /masters endpoint`, () => { test(`Should return an array of 8 masters`, async () => { const res = await when.we_invoke_get_masters(); expect(res.statusCode).toB...
'use strict'; // Tests for extra utilities; var decomment = require('../lib'); var os = require('os'); var LB = os.EOL; describe('Utils/Positive:', function () { describe('getEOL', function () { expect(decomment.getEOL('')).toBe(LB); expect(decomment.getEOL('\nhello')).toBe('\n'); expect...
const mongoose = require("mongoose"); const NotificationSchema = new mongoose.Schema({ content: { type: String, require: false, }, }); module.exports = mongoose.model("Notification", NotificationSchema);
var grunt = require('grunt'); var https = require('https'); var _ = grunt.util._; var options = { host: 'api.github.com', method: 'GET', path: '/orgs/assemble/repos?page=1&per_page=100' }; var request = https.request(options, function (response) { var body = ''; response.on('data', function (chunk) { b...
/* * Copyright (C) 2018-present Arctic Ice Studio <development@arcticicestudio.com> * Copyright (C) 2018-present Sven Greb <development@svengreb.de> * * Project: Nord Docs * Repository: https://github.com/arcticicestudio/nord-docs * License: MIT */ export { default } from "./ErrorState404";
const React = require('react'); const Component = React.Component; const { connect } = require('react-redux'); const { Platform, View, Text, Button, StyleSheet, TouchableOpacity, Image, ScrollView, Dimensions } = require('react-native'); const Icon = require('react-native-vector-icons/Ionicons').default; const { Log } ...
function attachEvents() { const dropdown = document.getElementById('posts'); const postTitle = document.getElementById('post-title'); const postBody = document.getElementById('post-body'); const postComments = document.getElementById('post-comments'); let posts; document.getElementById('btnLoad...
import parseToken from './parse-token'; import isEmptyDate from './is-empty-date'; export default entry => { if (entry.pending_payout_value && isEmptyDate(entry.last_payout)) { return entry.total_payout_value ? parseToken(entry.total_payout_value) + parseToken(entry.pending_payout_value) : ...
@import 'foundation/foundation.js'; //@import 'foundation/foundation.alert.js'; //@import 'foundation/foundation.accordion.js'; //@import 'foundation/foundation.clearing.js'; //@import 'foundation/foundation.abide.js'; //@import 'foundation/foundation.dropdown.js'; //@import 'foundation/foundation.equalizer.js'; //@im...
module.exports = { stories: ["../stories/**/*.stories.tsx"], addons: [ "@storybook/addon-docs", "@storybook/addon-controls", "@storybook/theming", ], webpackFinal: async (config) => { config.module.rules.push({ test: /\.(ts|tsx)$/, use: [ { loader: require.resolve("...
export { default as SignupContainer } from './SignupContainer'; export { default as LoginContainer } from './LoginContainer'; export { default as MainContainer } from './MainContainer';
var gulp = require('gulp'); var livereload = require('gulp-livereload') var uglify = require('gulp-uglifyjs'); var sass = require('gulp-sass'); var autoprefixer = require('gulp-autoprefixer'); var sourcemaps = require('gulp-sourcemaps'); var imagemin = require('gulp-imagemin'); var pngquant = require('imagemin-pngquant...
'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-max-logical-width', v); }, get: function () { return this.getPropertyValue('-webkit-max-logical-width'); }, enumerable: true, configurable: true };
import React from 'react'; import { Provider } from 'react-redux'; import { MemoryRouter, Route } from 'react-router-dom'; import { shallow, mount } from 'enzyme'; import { createMount, createShallow } from '@material-ui/core/test-utils'; // built on top of enzyme import { mockInitialStore, mockStore, context, routerCo...
'use strict' const defaultOptions = { speechLang : "Disabled", showImageUserList : "", theme : "default" } export { defaultOptions }
$(document).ready(function() { function create_marker(MapPos, MapTitle, MapDesc, InfoOpenDefault, DragAble, Removable, id,pinImage) { //new marker var marker = new google.maps.Marker({ position: MapPos, map: map, draggable:DragAble, animation: ...
import React from 'react'; import Link from 'gatsby-link'; const IndexPage = ({data}) => { const {edges: posts} = data.allMarkdownRemark; return ( <div> {posts.map (({node: post}) => { const {frontmatter} = post; return ( <div> <h2> <Link to={frontmatte...
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
import callApi from '../../util/apiCaller'; // Export Constants export const ADD_POST = 'ADD_POST'; export const ADD_POSTS = 'ADD_POSTS'; export const DELETE_POST = 'DELETE_POST'; export const EDIT_POST = 'EDIT_POST'; export const THUMB_UP = 'THUMB_UP'; export const THUMB_DOWN = 'THUMB_DOWN'; // Export Actions export...
import VolumeMuteFilled24 from "./VolumeMuteFilled24.svelte"; export default VolumeMuteFilled24;
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { loginUser } from '../../actions/authActions'; import classnames from 'classnames'; class Login extends Component { constructor() { super(); ...
import React from 'react'; import RecipeForm from './RecipeForm'; import RecipeList from './RecipeList'; import RecipeDetail from './RecipeDetail'; import { connect } from 'react-redux'; import EditRecipeForm from './EditRecipeForm'; import * as a from './../actions'; import { withFirestore, isLoaded } from 'react-redu...
import {RECEIVE_CATEGORIES} from '../actions/types' const categories = (state = [], action) => { switch (action.type) { case RECEIVE_CATEGORIES: return action.categories default : return state } } export default categories
import { NUMENERA } from "../config.js"; import { EffortDialog } from "../apps/EffortDialog.js"; import { useAlternateButtonBehavior } from "../utils.js"; export class NumeneraSkillItem extends Item { static get type() { return "skill"; } static fromOwnedItem(ownedItem, actor) { let skillItem = new Nu...
/* */ "format cjs"; (function(process) { (function(f) { if (typeof exports === "object" && typeof module !== "undefined") { module.exports = f(); } else if (typeof define === "function" && define.amd) { define([], f); } else { var g; if (typeof window !== "undefined") { g ...
import { Inbox } from "./Inbox"; import { Cookies } from "react-cookie"; import { shallow } from "enzyme"; import React from "react"; import Loading from "react-loading-animation"; import Messages from "../Messages"; import FetchMock from "fetch-mock"; describe("Feedback Received", () => { let cookies = new Cookies(...
const products = [ { rating: 3, numReviews: 1, price: 5.66, countInStock: 10, name: "Bamboo Bansuri – Simple", image: "/uploads/image-1617965037806.jpeg", description: "The Bansuri is named after the combination of two words; Bans which means bamboo and Sur which...
app.controller('loginController', function($scope, $http, API_URL, Upload) { $scope.verify = function () { var object = { users: $scope.users, password: $scope.password }; $http.post(API_URL, object ).then(function (response) { if (response.data.succe...
import React from 'react' import withStore from 'next-redux-wrapper' import App from '../layouts/app' import { initStore } from '../core' import withSession from '../session/with-session' const Index = () => <App/> Index.getInitialProps = withSession() export default withStore(initStore())(Index)
if (typeof exports === 'object') { var assert = require('assert'); var alasql = require('..'); var DOMStorage = require('dom-storage'); global.localStorage = new DOMStorage('./test379.json', {strict: false, ws: ''}); } describe('Test 379', function () { it('Recreate dropped table - localStorage engine', function ...
$(function () { QUnit.test('Label formatting', function (assert) { var chart = $('#container').highcharts({ series: [{ data: [0, 79962.57, 9e4] }], yAxis: { tickPositions: [0, 79962.57, 9e4] } }).highcharts(); a...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import * as actions from '../actions'; import Post from './post' class RecentPosts extends Component { componentDidMount() { this.props.fetchRecentPosts(); } renderPosts = function() { const posts = this.p...
/*! * oCanvas v2.8.1 * http://ocanvas.org/ * * Copyright 2011-2015, Johannes Koggdal * Licensed under the MIT license * http://ocanvas.org/license * * Including Xccessors by Eli Grey * Including easing equations by Robert Penner */ (function(window, document, undefined){ // Define the oCanvas object var o...
var searchData= [ ['empty',['empty',['../classreranker_1_1_feature_vector.html#a72b41f295541c52d9ad4a25e789b7ba4',1,'reranker::FeatureVector']]], ['end',['end',['../classreranker_1_1_candidate_set.html#aab273fd7ef076bc5221e0d099c38b8aa',1,'reranker::CandidateSet::end() const '],['../classreranker_1_1_candidate_set....
/* * This file is part of node-currency-swap. * * (C) 2016 tajawal * Apache Software License v2.0 * */ var util = require('util'); var AbstractProvider = require('./abstract'); var sprintf = require("sprintf-js").sprintf; var _ = require('lodash'); var Rate = require('../model/rate'); var UnsupportedCurrencyPair...
module.exports=require('../../decode-ranges.js')('sAhvkSDABkGgoACAAABABAAhHFg0TQAhkGAGBBADgiAdahaKlPCg3AAPCDMBcCg3AAGBBBCIAJBcCg3AAEDBBCghBOCg3AAHACACTBcCg3AAFCBBCHBgpAg6ECCADIAgoCg5GACADGBgqBg3AAGACADGBgqBg5FBCADIAgpBhFADFAAAHRBg8ABGLHhhABFABKFhJBaAAAAADBgwTABHHAgjIAhkGCDbDsEAuxCcCcBdBhBdIAgsCiaAh1LDLhzQGBhMEujDsLbw89...
import React from 'react' import { Nav } from 'react-bootstrap' import { LinkContainer } from 'react-router-bootstrap' const CheckoutSteps = ({ step1, step2, step3, step4 }) => { return ( <Nav className='justify-content-center mb-4'> <Nav.Item> {step1 ? ( <LinkContainer to='/login'> ...
import React from "react"; import ReusableForm from "./ReusableForm"; import PropTypes from "prop-types"; function EditSodaForm(props){ const { soda } = props; function handleEditSodaFormSubmission(event) { event.preventDefault(); props.onEditSoda({ name: event.target.name.value, brand: event...
/* Copyright 2016, 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 writ...
/** * @typedef {{list: string;}} Answers */ /** @type import('cz-format-extension').Config<Answers> */ module.exports = { questions({inquirer}) { return [ { type: 'list', name: 'list', choices: [ "choice A", "choice B", "choice C", new i...
const { getSpecs, generated, getName } = require('./paths'); const { getTitle } = require('./utils'); const { render } = require('./markdown'); const { generateStandardPage } = require('./pages'); function getRoute(name) { return (name && `/reference/specifications/${name}`) || ''; } module.exports = function () { ...
const path = require('path') const get = require('lodash/get') const set = require('lodash/set') module.exports = function override(config) { set(config, 'module.rules[2].oneOf[1]', { ...get(config, 'module.rules[2].oneOf[1]', {}), include: [ get(config, 'module.rules[2].oneOf[1].include'), path....
// Generated by IcedCoffeeScript 1.3.3h (function() { var Pipeliner, iced, iced_internals, __iced_k, __iced_k_noop, _iand, _ior, _timeout, __slice = [].slice; __iced_k = __iced_k_noop = function() {}; iced_internals = require('./iced'); exports.iced = iced = iced_internals.runtime; _timeout = function...
/// <reference types="cypress" /> context('Organisaatiot', () => { beforeEach(() => { cy.visit('http://localhost:3000/organisaatiot') }) it('div that contains dictionary words should not be empty', () => { cy.get('.left.aligned.six.wide.column').should('not.be.empty') }) it('div that ...