text
stringlengths
2
1.04M
'use strict'; var memoize = require('memoizee/plain') , defineCurrency = require('../currency'); module.exports = memoize(function (db) { defineCurrency(db); return db.Currency.extend('UsDollar', { symbol: { value: '$' }, isoCode: { value: 'USD' } }); }, { normalizer: require('memoizee/normalizers/get...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ManOutlined = _interopRequireDefault(require('./lib/icons/ManOutlined')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _default = ...
export const requireGenerateRNDom = () => { const requirePath = require.resolve('react-native-dom/generateDom', { paths: [process.cwd()], }); return require(requirePath); }
/* eslint-env jest */ import { File, NormalFile, Dir, topDir, getFile, reset, setFile, unlinkFile } from './files.js' afterEach(reset) describe('inheritance', () => { test('File', () => { const file = new File() expect(file).toBeInstanceOf(File) expect(file).not.toBeInstanceOf(NormalFile) expect(fi...
const scrape = (state = {}, action) => { switch (action.type) { case "ADD_SCRAPE": return { ...state, ...action.scrapedInformation }; default: return state; } }; export default scrape;
'use strict'; const dotenvPath = __dirname + '/../.env'; require('dotenv').config({path: dotenvPath}); const Client = require('../src/index'); const path = require('path'); const client = new Client(); const config = { host: process.env.SFTP_SERVER, username: process.env.SFTP_USER, password: process.env.SFTP...
/** * # Optimize * * 1.) Improve efficiency through shorter selectors by removing redundancy * 2.) Improve robustness through selector transformation */ import { getSelect } from './selector' import { createPattern, getToString } from './pattern' import { convertNodeList, partition } from './utilities' /** * @t...
// @noflow import * as React from "react"; import { Router, Route, browserHistory } from "react-router"; import { createApp, withPhenomicApi, query, BodyRenderer } from "@phenomic/preset-react-app/lib/client"; const componentsMap = { uppercase: props => props.children.map(child => child.toUpperCase()), ex...
const router = require("express").Router(); const userController = require("../controllers/userController.js"); const { authMiddleware } = require('../utils/auth'); // stem "/api/user" router.route("/post") .post(userController.create); router.route("/login") .post(userController.login); router.route("/me") ....
import { useState } from 'react' export const AddTask = ({ onAdd }) => { const [text, setText] = useState('') const [day, setDay] = useState('') const [reminder, setReminder] = useState(false) const onSubmit = (e) => { e.preventDefault() if(!text) { alert('Please add a...
import React, { useState, useRef, useCallback, useEffect } from "react"; import styled from "@emotion/styled"; import Arrow from "./Wave/Arrow"; import { categories } from "../constants/Category"; const MainHeaderContainer = styled.div` width: 100%; position: relative; display: block; cursor: pointer; margin...
const isEmpty = require('../../packages/array-isempty') describe('isEmpty', () => { test('should work on string', () => { expect(isEmpty('')).toEqual(true) expect(isEmpty('hello')).toEqual(false) }) test('should work on arrays', () => { expect(isEmpty([])).toEqual(true) expect(isEmpty([1])).toEqu...
/// <autosync enabled="true" /> /// <reference path="js/site.js" /> /// <reference path="lib/bootstrap/dist/js/bootstrap.js" /> /// <reference path="lib/jquery/dist/jquery.js" /> /// <reference path="lib/jquery-validation/dist/jquery.validate.js" /> /// <reference path="lib/jquery-validation-unobtrusive/jquery.validat...
$(document).ready(function () { module('Criteria editor tests.'); test( "tests run", function () { ok( 1 == "1", 'QUnit loads, runs,'); }); // TODO: mock ajax json for fields // TODO: mock comparators-by-field ajax json // TODO: OrderedMapping tests // TODO: FieldQuery tests // T...
import React, { useState,useEffect } from 'react'; import styled from 'styled-components'; import { Link,useHistory } from 'react-router-dom'; import MakeRoomBackIcon from '../svg/MakeRoomBackIcon'; import LeftRoom from './MakeRoom-Left-Room'; import RightRoom from './MakeRoom-Right-Room'; import LeftJoin from './MakeR...
// Test object id sorting. function testObjectIdFind( db ) { r = db.ed_db_find2_oif; r.drop(); for( i = 0; i < 3; ++i ) r.save( {} ); f = r.find().sort( { _id: 1 } ); assert.eq( 3, f.count() ); assert( f[ 0 ]._id < f[ 1 ]._id ); assert( f[ 1 ]._id < f[ 2 ]._id ); } testObjectIdFind( db ...
var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __markAsModule = (target) => __defProp(target...
'use strict'; var soa = require('../index.js'); var bconn = require('../transport/scamp/connection.js'); var util = require('util'); var events = require('events'); function CircularConn(peerstr) { var me = this; events.EventEmitter.call(me); var parsed = peerstr.split(/\s*;\s*/); me._secret = parsed...
module.exports=['\u01C5','\u01C8','\u01CB','\u01F2']
// Libraries const React = require('react'); // Styles require('./style.scss'); // Images const images = { logo: require('../../images/logo.png') }; // Header class class Header extends React.Component { render () { return ( <header className="header"> <img src={images.logo} /> <a hre...
/* Translators (2009 onwards): * - Mormegil */ /** * @requires OpenLayers/Lang.js */ /** * Namespace: OpenLayers.Lang["cs-CZ"] * Dictionary for Česky. Keys for entries are used in calls to * <OpenLayers.Lang.translate>. Entry bodies are normal strings or * strings formatted for use with <OpenLayers...
/* Copyright (C) 2011-2014 Mattias Ekendahl. Used under MIT license, see full details at https://github.com/developedbyme/dbm/blob/master/LICENSE.txt */ dbm.registerClass("dbm.workspace.gui.parts.curves.EditableCurvePart", "dbm.workspace.gui.parts.BaseWorkspacePart", function(objectFunctions, staticFunctions, ClassRefe...
// Dashboard 1 Morris-chart Morris.Area({ element: 'morris-area-chart2', data: [{ period: '2010', OPD: 0, ICU: 0, }, { period: '2011', OPD: 130, ICU: 100, }, { period: '2012', ...
var webpack = require('webpack'); const TerserPlugin = require('terser-webpack-plugin'); const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); module.exports = { mode: 'production', devtool: 'cheap-module-source-map', plugins: [ ], entry: { main: ['./src/main'] }, output: { ...
'use strict'; describe('suite1', function () { it('should only display this error', function () { throw new Error('this should be displayed'); }); after(function () { throw new Error('this hook should not be displayed'); }); });
const config = { babelrc: false, presets: [ [ "@babel/env", { modules: false } ], "@babel/react" ], plugins: [ ["@babel/plugin-proposal-decorators", { legacy: true }], ["@babel/plugin-proposal-class-properties", { loose: true }], "tra...
import _extends from '@babel/runtime/helpers/esm/extends'; import _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized'; import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose'; import _wrapNativeSuper from '@babel/runtime/helpers/esm/wrapNativeSuper'; import _taggedTemplateLitera...
import { Shape } from '@antv/x6' import { portsCircles } from './config' const { Polygon} = Shape; export default new Polygon({ width: 70, height: 70, attrs: { body: { stroke: '#31d0c6', strokeWidth: 1, // 指定 refPoints 属性,多边形顶点随图形大小自动缩放 // https://x6.antv.vision/zh/docs/api/registry/...
#! /usr/bin/env node var config=require('../config') process.env.AWS_PROFILE=config.profile process.env.AWS_DEFAULT_REGION=config.profile var aws=require('aws-sdk') var Promise=require('bluebird') aws.config.setPromisesDependency(Promise) aws.config.region=require('../config').region var region=require('../config').reg...
var __testDataSource={items:[{dataFilePath:'Default.xlsx',dataFileFormat:'excel',dataFileFolder:'F:\\Users\\Paul\\Documents\\Unified Functional Testing\\UFT-Demo-Airline-Application\\UFT-Demo\\Res2',namePairs:[]}]};
// Copyright 2011 Mark Cavage, Inc. All rights reserved. 'use strict'; const assert = require('assert-plus'); const util = require('util'); const LDAPMessage = require('./message'); const Protocol = require('../protocol'); //////////////////// // API function ExtendedRequest (options) { options = options || {}; ...
import camelCase from "lodash/camelCase" import reduce from "lodash/reduce" /** * To Register a SagaSauce powered Redux Module * 1. import the module * 2. add the imported module to the RegisteredModules array */ // -------------------- REGISTER MODULES -------------------------------- // // 1. Import Modules impor...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=addIssueTypesToContext.js.map
module.exports = [".js", ".mjs", ".cjs", ".jsx", ".ts", ".tsx", ".es6", ".es"];
const CryptoMarketplace = artifacts.require("CryptoMarketplace"); const expect = require('chai').expect; const BigNumber = web3.BigNumber; require('chai') .use(require('chai-as-promised')) .use(require('chai-bignumber')(BigNumber)) .should(); const crypto = require('crypto'), algorithm = 'aes-256-ctr...
import styled from 'styled-components'; export const Section = styled.section` margin: 3em auto; &:first-child { margin-top: 0; } `; export const CenteredSection = styled(Section)` text-align: center; background: #ffffff; margin: 20px; padding: 20px; box-shadow: 0 20px 16px -15px rgba(0, 0, 0, 0....
"use strict"; /** * @module opcua.server * */ require("requirish")._(module); var assert = require("better-assert"); var _ = require("underscore"); var EventEmitter = require("events").EventEmitter; var util = require("util"); var subscription_service = require("lib/services/subscription_service"); var read_servi...
const Path = require('path'); const Master = require(Path.join(__dirname, '..', 'lib', 'master.js')); const DEP_STUB_PATH = Path.join(__dirname, 'support', 'dependency_stub.js'); const DependencyStub = require(DEP_STUB_PATH); describe('Master', () => { // describe('the object', () => { // }); describe('an ins...
import { Send } from "../../utils/Http"; import { Toast } from "../../view/common"; // import { Toast } from "native-base"; let TaskApi = {}; TaskApi.startTask = () => { // return new Promise((resolve, reject) => { Send(`api/System/DoTask`, {}, 'get') .then((res) => { resolve(res) ...
import React from 'react'; import Navbar from '../Navbar'; import InternshipForm from './InternshipForm'; import styles from '../../../../CSS/FullTimeForm.module.css'; function FullTime() { return ( <div> <Navbar /> <div className={styles.FullTimeComponent}> <InternshipForm /> </div> ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* This is a JavaScript module (JSM) to be imported via * Components.utils.import() and acts as a singleton. On...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import compose from 'recompose/compose'; import Button from '@material-ui/core/Button'; import CircularProgress from '@material-ui/core/CircularProgress'; import { withStyles } from '@material-ui/core/st...
var jedit = require('../'); var fs = require('fs'); var File = require('vinyl'); var should = require('should'); it('should raise error when missing option', function(done) { should(function(){jedit();}).throw('missing "editor" option'); done(); }); it('should raise error when invalid type of option', fun...
/*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ $("#toggle").on('click',function(){ var l=$('#leftWrapper').css('padding-right'); if(l=='230px') { $('.sidebard-panel').animate({marginRight:"-220px",opacity:"1"},1000); $('#leftWrapper').animate({paddingRight:"0p...
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'; // import axios from 'axios'; /** * Zipcode geoJSON data fetched 4/18/21 and saved locally * to avoid exceeding Firebase data limits. Data is updated * only once anually (date?), when it should be fetched again. */ // Thunk makes API call, returns...
'use strict'; let express = require('express'); let app = express(); let server = require('http').Server(app); let io = require('socket.io')(server, { cors: { origin: '*' }, }); let path = require('path'); let favicon = require('serve-favicon'); const cors = require('cors'); let stream = require('./socket/stre...
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
// Parts of this software are based on "bech32". // https://github.com/sipa/bech32 // // Copyright (c) 2017 Pieter Wuille // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restric...
'use strict' /** * Module dependencies. */ var express = require('express') var router = express.Router() // var passport = require('passport') // var auth = require('../auth') // var db = require('../db') // var user = {} // user.info = [ // auth.bearer, // function (req, res) { // // req.authInfo is set u...
$(function() { consoleInit() start(main) }) async function loadPool(App, tokens, prices, stakingAddress) { const STAKING_POOL = new ethers.Contract(stakingAddress, HYPE_ABI, App.provider) const stakeTokenAddress = await STAKING_POOL.lpt() const rewardTokenAddress = await STAKING_POOL.rewardToken() var s...
import React from "react"; import { makeStyles } from "@material-ui/core"; import Background from "./../images/green2.jpg"; import "./HomePage.css"; import { BaseNavBar } from "./components/BaseNavBar"; const useStyles = makeStyles({ component: { background: "#FFFFFF", color: "black", }, container: { ...
import React from 'react'; import { Row, Col } from 'react-bootstrap'; class AboutModule extends React.Component { render() { return ( <Row> <Col md={12}> <h2>About</h2> <p>This is an example of ReactJS workng with a NodeJS JSON API to bring the most recent active bills in the U...
'use strict'; const test = require('tape'); const prompt = require('../'); const { prompts } = prompt; test('basics', t => { t.plan(4); t.equal(typeof prompts, 'object'); t.equal(typeof prompt, 'function'); t.equal(typeof prompt.prompt, 'function'); t.equal(typeof prompt.inject, 'function'); }); test('prom...
export const primaryColor = '#2E2E2E'; export const primaryColorDark = '#030303'; export const primaryColorLight = '#575757'; export const secondaryColor = '#54968A'; export const secondaryLightColor = '#84c7ba'; export const secondaryDarkColor = '#24685d'; export const primaryTextColor = '#FEFEFE'; export const primar...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
import React from 'react' import { set, collect } from 'dop' import { sha3 } from 'ethereumjs-util' import styles from '/const/styles' import { MAINNET, KEYS_TO_REMOVE_WHEN_EXPORTING, OK, ERROR, ALERT, NORMAL, TIMEOUT_FETCH_PRICES, TIMEOUT_FETCH_PRICES_TIMEOUT, TIMEOUT_UPDATE_ALL_B...
/** * @param {number} n * @return {boolean} */ var isHappy = function (n) { if (n === 1) { return true; } function helper (n, hash) { let sum = 0; while (n > 0) { sum += (n % 10) ** 2; n = n / 10 | 0; } if (sum === 1) { return tr...
import React from 'react'; import { getIconStyles, iconPropTypes } from '../create-styled-icon'; import Italic from '../raw-components/italic'; const Component = (props) => ( <Italic {...props} css={(theme) => getIconStyles(props, theme)} /> ); Component.displayName = 'ItalicIcon'; // we do this to enable treeshak...
import * as WrapTextToggle from './WrapTextToggle'; import { expect } from 'chai'; import { renderComponent } from 'components/VanillaTreeViewer/Helpers/renderComponent'; let toggleWrapText, wrapText; describe('<WrapTextToggle />', () => { beforeEach(() => { wrapText = false; toggleWrapText = jest.fn(); }...
/* * Copyright (c) 2016 OffGrid Networks. Portions copyright (c) 2014 Drew Young * * 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 *...
/** * It is not uncommon for non-English speaking countries to use a comma for a * decimal place. This sorting plug-in shows how that can be taken account of in * sorting by adding the type `numeric-comma` to DataTables. A type detection * plug-in for this sorting method is provided below. * * Please note that ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[37],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/procesos/Form.vue?vue&type=script&lang=js&": /*!********************************************************************************************...
$('.tekton-money').each((index, money) => { cleaves.push(new Cleave(money, { numeral: true, numeralDecimalMark: ',', delimiter: '.' })); });
import React from "react"; import styled from "styled-components"; import Layout from "../components/layout"; import { Container } from "../components/layoutComponents"; import Icons from "../components/icons"; import { Text } from "../components/text"; import SEO from "../components/seo"; const ContactPage = () => (...
const C = require('./index.js'); let f1 = x => x + 1; let f2 = x => x * 2; ({f1, f2} = C({f1, f2})); var y = f1.f2.f1.f2.f2.f1; console.log(y); console.log(y(2));
var passport = require('passport') , OAuth2Strategy = require('passport-oauth').OAuth2Strategy;
import React from 'react'; import { render } from 'react-testing-library'; import Wrapper from '../components/Wrapper'; describe('<Wrapper />', () => { it('should render an <div> tag', () => { const { container } = render(<Wrapper />); expect(container.firstChild.tagName).toEqual('DIV'); }); it('should...
import React from "react" import { Provider } from "react-redux" import { store } from "./src/store/reducer"; const wrapRootElement = ({ element }) => { // Instantiating store in `wrapRootElement` handler ensures: // - there is fresh store for each SSR page // - it will be called only once in browser, when Rea...
var EventEmitter = require('events').EventEmitter , Slideshow = require('../../../src/remark/models/slideshow') , Slide = require('../../../src/remark/models/slide') ; describe('Slideshow', function () { var events , slideshow , dom ; beforeEach(function () { events = new EventEmitter(); ...
'use strict'; //use strict forces some additional checks on JS. Keeps you from getting away from loose JS code. // counter = i, i <5, i++ // Counter keeps track of what question you're on // // each if statement tracks a single question // // // // // var answerCount = 0; var userName = 'Ryan' var responseAr...
// Options: --modules --private-names --private-name-syntax --trap-member-lookup import {elementGet, elementSet} from '@name'; private @elementGet = elementGet, @elementSet = elementSet; var object = {}; object.@elementSet = function(name, value) { assertEquals(42, name); assertEquals('hello', value); }; object.@...
import uuid from 'uuid'; const unitOneLexis = [ { word: 'Apollo', id: uuid(), pos: 'n.', variation: ['Apollonian (adj.)'], etymology: "Olympian deity, god of music, poetry, medicine, etc., later identified with Helios, the sun god; the name is a Latin form of Greek...
/** * @jest-environment jsdom */ import IdsTag from '../../src/ids-tag/ids-tag'; describe('IdsTag Component', () => { let tag; beforeEach(async () => { const elem = new IdsTag(); document.body.appendChild(elem); tag = document.querySelector('ids-tag'); }); afterEach(async () => { document.b...
export var SDK_NAME = 'sentry.javascript.browser'; export var SDK_VERSION = '5.12.4'; //# sourceMappingURL=version.js.map
import React from 'react' import {Link} from 'gatsby' import ReactWOW from 'react-wow' // import img4 from '../../assets/images/blog/higher.png' // import img5 from '../../assets/images/blog/conversation.jpg' // import img6 from '../../assets/images/blog/blog-img6.jpg' // import img7 from '../../assets/images/blog/blog...
const process = require('process'); const fp = require('fs/promises'); const fs = require('fs'); const path = require('path'); const discoverFolder = "secret-folder"; const folderPath = (path.join(__dirname, discoverFolder)); fp.readdir(folderPath, {withFileTypes:true}).then(files => printInfo(files)) function print...
/** * Module Utils. * Also see: http://nodejs.org/api/util.html */ var clc = require( 'cli-color' ) , colors = { sky: clc.cyanBright, green: clc.xterm( 112 ), blue: clc.xterm( 68 ), orange: clc.xterm( 172 ), red: clc.xterm( 1 ), gray: clc.xte...
import * as components from "../../../src/components"; const COMPONENT_NAME_REGEX = /^[A-Z][a-z]/; function getComponentNames(initialQueue) { const queue = initialQueue; const result = []; while (queue.length > 0) { const [componentName, componentFunction] = queue.shift(); result.push(componentName); ...
$(document).ready(function() { /***************** Waypoints ******************/ $('.wp1').waypoint(function() { $('.wp1').addClass('animated fadeInUp'); }, { offset: '75%' }); $('.wp2').waypoint(function() { $('.wp2').addClass('animated fadeInUp'); }, { offset: '75%' }); $('.wp3').waypoint(function() ...
export const styleSheet = theme => ({ container: { flexGrow: 1, marginTop: 30, } });
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("ReactDOM")); else if(typeof define === 'function' && define.amd) define(["ReactDOM"], factory); else if(typeof exports === 'object') exports["ReStock"] = f...
const fs = require('fs'); const path = require('path'); const babel = require('babel-core'); const babelPluginTransformLibImport = interopRequire( 'babel-plugin-transform-lib-import' ); const babelPluginTransformModulesCommonjs = interopRequire( 'babel-plugin-transform-es2015-modules-commonjs' ); const babelPluginT...
a.controller('OrderAddTopupController', ['$scope', '$mtModal', '$timeout', '$modal', '$rootScope', 'SweetAlert', 'OrderService', 'CommonService', 'AuthenticationService', 'CrmChargingSchemeService', 'CustomerStudentService', 'CoursePlanService', 'LeadsStudentService', 'CustomerStudentCourseService', 'localStorageSe...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information 'use strict' /* eslint camelcase: 0 */ /* eslint no-unused-vars: 0 */ function buildMlPreviewDatafeed (opts) { ...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.FaFontAwesomeLogoFull = function FaFontAwesomeLogoFull (props) { };
/*! * Vue.js v2.5.17 * (c) 2014-2018 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function (...
import React, { Component } from 'react' import ReactDOM from 'react-dom'; import 'materialize-css/dist/css/materialize.min.css'; import M from "materialize-css"; import CountUp from 'react-countup'; import OwlCarousel from 'react-owl-carousel'; import 'owl.carousel/dist/assets/owl.carousel.css'; import 'owl.carousel/...
const { toAudio } = require('../lib/converter') const { MessageType } = require('@adiwajshing/baileys') let handler = async (m, { conn, usedPrefix, command }) => { let q = m.quoted ? m.quoted : m let mime = (m.quoted ? m.quoted : m.msg).mimetype || '' if (!/video|audio/.test(mime)) throw `Balas video atau voice ...
//>>built require({cache:{"url:dojox/calendar/templates/MatrixView.html":'\x3cdiv data-dojo-attach-events\x3d"keydown:_onKeyDown"\x3e\r\n\t\x3cdiv class\x3d"dojoxCalendarYearColumnHeader" data-dojo-attach-point\x3d"yearColumnHeader"\x3e\r\n\t\t\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cspan data-dojo-attach-point\x3d"yearCo...
/** * Created by eryk on 04.06.17. */ import BrowserService from '../lib/BrowserService'; import StandardBase64 from './StandardBase64'; import IEBase64 from './IEBase64'; function decide() { if (BrowserService.isInternetExplorer()) { return new IEBase64(); } else { return new StandardBase64(); } } ex...
'use strict'; var gulp = require('gulp'); var rename = require('gulp-rename'); var cssnano = require('gulp-cssnano'); gulp.task('default', function() { return gulp.src('prism-coda.css') .pipe(cssnano()) .pipe(rename({ extname: '.min.css' })) .pipe(gulp.dest('dist/')); });
* Module dependencies. */var mongoose=(cov_g5gc93g2y.s[0]++,require('mongoose')),Schema=(cov_g5gc93g2y.s[1]++,mongoose.Schema),bcrypt=(cov_g5gc93g2y.s[2]++,require('bcryptjs')),_=(cov_g5gc93g2y.s[3]++,require('underscore')),authTypes=(cov_g5gc93g2y.s[4]++,['github','twitter','facebook','google']);/** * User Schema ...
var searchData= [ ['rbegin',['rbegin',['../classnlohmann_1_1basic__json.html#a1ef93e2006dbe52667294f5ef38b0b10',1,'nlohmann::basic_json::rbegin() noexcept'],['../classnlohmann_1_1basic__json.html#a515e7618392317dbf4b72d3e18bf2ab2',1,'nlohmann::basic_json::rbegin() const noexcept']]], ['readfile',['readFile',['../cl...
// Tutorial 12 - final-words.js // There is actually more to Redux and react-redux than what we showed you with this tutorial. For example, // concerning Redux, you may be interested in bindActionCreators (to produce a hash of action creators // already bound to dispatch - http://redux.js.org/docs/api/bindActionCreato...
// Animations initialization new WOW().init(); //Efeito no card na home $("#webdesign").mouseover(function() { $("#webdesign").addClass('border border-primary'); }); $("#webdesign").mouseout(function() { $("#webdesign").removeClass('border border...
import React from 'react' import { Link } from 'gatsby' import Layout from '../components/Layout' import Head from '../components/Head' const NotFoundPage = () => { return( <Layout> <Head title="404"></Head> <h1>Page Not Found</h1> <p> <Link to="/">Return Home</Link> </p> </L...
/*! * grappling-hook * https://github.com/keystonejs/grappling-hook * * Copyright 2015-2016 Keystone.js * Released under the MIT license * */ 'use strict'; /** * Middleware are callbacks that will be executed when a hook is called. The type of middleware is determined through the parameters it declares. * @...
const getNumber = require('../get-number'); const { testCaseGenerator, supportedNumberOfFractionDigits } = require('./test-case-generator'); beforeEach(() => { // Making sure the `console.error` implementation is empty // in order to avoid tests failing when a warning is logged. jest.spyOn(console, 'warn').mockI...
import assert from "assert"; describe("meteor-react-feed", function () { it("package.json has correct name", async function () { const { name } = await import("../package.json"); assert.strictEqual(name, "meteor-react-feed"); }); if (Meteor.isClient) { it("client is not server", function () { ...
#!/usr/bin/env node var fs = require('fs'); var mkdirp = require('mkdirp'); var ncp = require("copy-paste"); // command parameter libraries // https://www.npmjs.com/package/commander // https://www.npmjs.com/package/optimist // get parameter var param1 = process.argv[2]; // `check` or `output path` var param2 = proc...