text
stringlengths
2
1.04M
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import React from 'react' import "./portfolio.css" import IMG from '../../assets/img/man4.jpg' const data = [ { id: 1, image: IMG, title: 'tempiltin web site 1', github: 'https://github.com', demo: 'https://tempiltin-click-clon.netlify.app/' }, { id: 2, image: IMG, title: 'tempilti...
import a1 from '@/assets/images/product/vegetables/bolt/core/c1.svg'; import a2 from '@/assets/images/product/vegetables/bolt/core/c2.svg'; import a3 from '@/assets/images/product/vegetables/bolt/core/c3.svg'; import a4 from '@/assets/images/product/vegetables/bolt/core/c4.svg'; import a5 from '@/assets/images/product/...
import React, { useState } from 'react'; const AuthContext = React.createContext({ token: '', isLoggedIn: false, login: (token) => {}, logout: () => {}, }); export const AuthContextProvider = (props) => { const initialToken = localStorage.getItem('token'); const [token, setToken] = useState(in...
(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') exports["bullet"] = factory(); else root["britec...
var linkHT = function (url) { return `<li><a href='${url}'>${url}</a></li>` } var instanceNodeHT = function (url) { return `<li class="instance-item url">${url}</li>` } // need to deal with <> with prefixes var property_object_uriHT = function (subject, property, object) { return `<span class="triple"> ...
export const ic_list = { "viewBox": "0 0 24 24", "children": [{"name":"path","attribs":{"d":"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"},"children":[]}] };
require('babel-register') require('dotenv').config() const webpackConfig = require('../webpack.config.babel.js') const staticServerPort = process.env.PORT || 4567 const services = ['webpack', 'static-server'] const sauceEnabled = process.env.SAUCE_ENABLED === 'true' const sauceUser = process.env.SAUCE_USERNAME const s...
import config from '../config'; export function getApiUrl(url) { return `${config.apiUrl}/${url ? url : ''}`; };
const mongoose = require("mongoose"); const Schema = mongoose.Schema; const Endereco = new Schema({ id_usuario: { type: Schema.Types.ObjectId, ref: "usuarios", required: true }, nome: { type: String, minLength: 3, required: true }, numero: { t...
import { bisector, line, curveLinear } from 'd3'; import PropTypes from 'prop-types'; import React from 'react'; import * as CustomPropTypes from './utils/CustomPropTypes'; import { getValue } from './utils/Data'; import xyPropsEqual from './utils/xyPropsEqual'; /** * `LineChart` displays a series of points connected...
/* -------------------------------------------------+ Title: Mate Rio - Admin Template Framework: Materialize Version: 1.0 stable Author: Jozef Dvorský, http://www.creatingo.com +-------------------------------------------------- */ (function($){ $(function(){ "use strict"; var window_width = $(wi...
/* * gin-vue-admin web框架组 * * */ // 加载网站配置文件夹 import { register } from './global' export default { install: (app) => { register(app) console.log(` 欢迎使用 Gin-Vue-Admin 当前版本:V2.4.5 beta.1 加群方式:微信:shouzi_1994 QQ群:622360840 默认自动化文档地址:http://127.0.0.1:${import.meta.env.VITE_SERVER_PO...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.slangify = exports.deslangify = void 0; var regexpressions_1 = require("./regexpressions"); /** * Function to check whether the match is fully uppercase or just first char capitalized * @param str string to check * @returns number t...
const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin') const isDevelopment = process.env.NODE_ENV !== 'production'; module.exports = { mode: isDevelopment ? 'development' : 'production', devtool: i...
function ensureLoaderSuffix(name) { const loaderSuffixRegexp = /-loader$/ return loaderSuffixRegexp.test(name) ? name : `${name}-loader` } class VueLoaderOptionPlugin { constructor(options = {}) { this.options = options this.vueLoaderIdentifier = 'vue-loader/lib/selector' } apply(compiler) { c...
class Token { constructor(type, value, line) { this.type = type; this.value = value; this.line = line; } } class Node { constructor(tag, line) { this.tag = tag; this.line = line; } } class Primitive { constructor(implementation) { this.tag = "primitive"; this.implementation = implementation; } } ...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
import React from "react"; import ReactDOM from "react-dom"; import App from "./App"; import "./index.css"; ReactDOM.render( <App />, document.getElementById("root") // eslint-disable-line no-undef );
'use strict'; var _regeneratorRuntime = require('babel-runtime/regenerator')['default']; var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default']; var _setupBase = require("../setup-base"); var _setupBase2 = _interopRequireDefault(_setupBase); var _desired = require('./desir...
let order = [] let clickedOrder = [] let score = 0; const blue = document.querySelector('.blue') const red = document.querySelector('.red') const green = document.querySelector('.green') const yellow = document.querySelector('.yellow') const lightcolor = (elementCo...
import Model, { attr } from '@ember-data/model'; export default Model.extend({ invited_by_username: attr('string'), crate_name: attr('string'), crate_id: attr('number'), created_at: attr('date'), accepted: attr('boolean', { defaultValue: false }), });
module.exports = { displayName: 'covid-data-api-nest', preset: '../../jest.preset.js', globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } }, transform: { '^.+\\.[tj]s$': 'ts-jest' }, moduleFileExtensions: ['ts', 'js', 'html'], coverageDirectory: '../../coverage/apps/cov...
let start; function setup() { createCanvas(windowWidth, windowHeight) start = millis(); } let anginc = 0.01 let xoff = 0.0085 let x = 5 let angle = 0 let j = 0 function draw() { background(0, 0, 30, 35) //first make a point accelerate for (let i = 0; i< 100; i++) { strokeWeight(1+ map(sin(i), -1, 1, ...
// Copyright 2022 Google Inc. All Rights Reserved. // // 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 applicabl...
import { Row, Col, Card } from 'antd' export default function Dashboard() { return ( <Row gutter={[10, 10]}> <Col span={12}> <Card title="title">Content</Card> </Col> <Col span={12}> <Card title="title">Content</Card> </Col> <Col span={12}> <Card title="title...
"use strict"; // eslint-disable-next-line prefer-const let gameSpeed = 1; const baseManaPerSecond = 50; let curTime = new Date(); let gameTicksLeft = 0; let refund = false; let radarUpdateTime = 0; let timeCounter = 0; function getSpeedMult(zone = curTown) { let speedMult = 1; // dark ritual if (zone ==...
/** * Gets user credentials by user id. * @param {object} db - firebase database object * @param {string} userId - firebase user id */ export const readUserFromFirebase = async (db, userId) => { const snapshot = await db.ref(`/user/${userId}`).once('value'); return snapshot.val() || {}; }; /** * Updates user...
const _ = require(`lodash`); const crypto = require(`crypto`); const changeCase = require(`change-case`); const stringify = require(`json-stringify-safe`); /** * Parses a content item to rebuild the 'elements' property. * @param {object} contentItem - The content item to be parsed. * @return {object} Parsed content...
import Immutable from 'immutable'; import { AvatarImage } from './ImageModel'; export const Profile = Immutable.Record({ familyName: 'family name', givenName: 'given name', description: 'product author', avatarImage: new AvatarImage(), profileURL: 'https://example.com/anonym', username: 'username', }); co...
import React from 'react'; import { MenuButtons } from './MenuButtons'; import { ScriptName } from './ScriptName'; import { Drawing } from './Drawing'; import { StatementHistory } from './StatementHistory'; import { Prompt } from './Prompt'; import { PromptError } from './PromptError'; export const App = () => ( <di...
import React, {Component, Children} from 'react'; import UploadTile from '../../components/upload-tile'; import {GetUploadList, DeleteUploadApp} from 'serves/appTile'; import {deleteAppImage} from 'serves/imageCata'; import {Message, Row} from 'tinper-bee'; import {lintAppListData} from 'components/util'; import PageLo...
exports.config = { allScriptsTimeout: 11000, specs: [ '*.js' ], capabilities: { 'browserName': 'chrome' }, baseUrl: 'http://localhost:8080', framework: 'jasmine', jasmineNodeOpts: { defaultTimeoutInterval: 30000 } };
import babel from 'rollup-plugin-babel'; import commonjs from 'rollup-plugin-commonjs'; import json from 'rollup-plugin-json'; import resolve from 'rollup-plugin-node-resolve'; import { terser } from 'rollup-plugin-terser'; const env = process.env.NODE_ENV; const config = { plugins: [ resolve({ jsnext: tru...
import React from "react"; import { shallow } from "enzyme"; import { ExpenseList } from "../../components/ExpenseList"; import expenses from "../fixtures/expenses"; test("should render ExpenseList with expenses", () => { const wrapper = shallow(<ExpenseList expenses={expenses}/>); expect(wrapper).toMatchSnaps...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
var test = require('tap').test; var write = require('../lib/write.js'); var through = require('through'); test('writes', function (t) { var output = ''; var stream = through(function (buf) { output += buf }); var w = write(stream); w(200, 'ok'); t.deepEqual(output, '200 ok\r\n'); output = ...
//// [genericArrayAssignment1.js] var s; var n; s = n;
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _createSvgIcon = require('./utils/createSvgIcon'); var _createSvgIcon2 = _interopRequireDefault(_createSvgIcon); function _interopRequireDefault(obj) { re...
//>>built define("dojox/date/buddhist/Date", [ "dojo/_base/kernel", "dojo/_base/declare", "dojo/date" ], function(dojo, declare, dd){ dojo.getObject("date.buddhist.Date", true, dojox); dojo.experimental("dojox.date.buddhist.Date"); dojo.declare("dojox.date.buddhist.Date", null, { _date: 0, _month: 0, _year: 0,...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var types_1 = require("../types"); var typeMaps = { "string": "string", "number": "number", "boolean": "boolean", "int8": "number", "uint8": "number", "int16": "number", "uint16": "number", "int32": "number", ...
/* scrollorama - The jQuery plugin for doing cool scrolly stuff by John Polacek (@johnpolacek) Dual licensed under MIT and GPL. */ (function($) { $.scrollorama = function(options) { var scrollorama = this, blocks = [], browserPrefix = '', onBlockChange = function() {}, latestKnownScrollY = 0, ...
Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); /* eslint-disable max-lines */ /* eslint-disable @typescript-eslint/no-explicit-any */ var core_1 = require("@sentry/core"); var tracing_1 = require("@sentry/tracing"); var utils_1 = require("@sentry/utils"); var domain = req...
import React from 'react'; import Link from '../../components/Link'; import WorkItem from '../work/WorkItem'; import s from './FeaturedWork.css'; import scandiImage from '../work/scandi/hero.jpg'; import deweyImage from '../work/dewey/hero.jpg'; const FeaturedWork = () => <section className={s.featuredWork}> <h1...
import { Factory, faker } from '@bigtest/mirage'; export default Factory.extend({ id: faker.random.uuid, name: faker.commerce.productName, metadata: { createdByUserId: faker.random.uuid, createdByUsername: faker.name.firstName, createdDate: () => faker.date.past(2), updatedByUserId: faker.random....
// components/vscrollSwiper/index.js Component({ /** * 组件的属性列表 */ properties: { }, /** * 组件的初始数据 */ data: { }, /** * 组件的方法列表 */ methods: { } })
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var $ = require('gulp-load-plugins')(); var wiredep = require('wiredep').stream; var _ = require('lodash'); var browserSync = require('browser-sync'); gulp.task('inject-reload', ['inject'], function () { browserSy...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'sourcearea', 'oc', { toolbar: 'Font' } );
console.log('load _drum_70_18_FluidR3_GM_sf2_file'); var _drum_70_18_FluidR3_GM_sf2_file={ zones:[ { midi:128 ,loopStart:0 ,loopEnd:0 ,keyRangeLow:70 ,keyRangeHigh:70 ,sampleRate:44100 ,coarseTune:0 ,fineTune:0 ,originalPitch:7000 ,anchor:0.03045351 //'Maracas(L) } ] };
define(['marionette', 'tpl!templates/ieform.html'], function (Marionette, IEFormTemplate) { return Marionette.ItemView.extend({ template: IEFormTemplate, events: { 'click .cancel': 'gotoBackToListView', 'click .guardar': 'guardar' }, gotoBackToListView: function (evt) { evt.preventDefault(); t...
(window.webpackJsonp=window.webpackJsonp||[]).push([[69],{426:function(module,exports,__webpack_require__){module.exports=function(_){"use strict";_=_&&_.hasOwnProperty("default")?_.default:_;var e={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апре...
/* eslint-disable no-unused-vars */ import { expect } from 'chai'; import validate from '../helper/validation'; const login = { email: 'testingapp@gmail.com', password: 'Kazeem27', }; const user = { email: 'testingapp@gmail.com', firstName: 'tester', lastName: 'testing', password: 'Kazeem27', address: '...
'use strict' const _sum = require('lodash/sum') const _isFinite = require('lodash/isFinite') const SMA = require('./sma') const StdDeviation = require('./stddev') const Indicator = require('./indicator') class BollingerBands extends Indicator { constructor (args = []) { const [ period = 20, mul = 2 ] = args ...
function GeneralLights(scene) { var subscene = new THREE.Object3D(); subscene.name = "GeneralLights"; scene.add(subscene); // There Are, 3, THREE Lights var lights = []; lights[ 0 ] = new THREE.PointLight( 0xffffff, 1, 0 ); lights[ 1 ] = new THREE.PointLight( 0xffffff, 1, 0 ); lights[ 2 ] = new THR...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[46],{ /***/ "./frontend/src/@core/utils/validations/validations.js": /*!*************************************************************!*\ !*** ./frontend/src/@core/utils/validations/validations.js ***! \**************************************************...
function generateSmallWorldEdgePush(edges, n , p, k) { for (var nodeID = 0; nodeID < n; nodeID++) { for (var edgeID = 0; edgeID < k; edgeID++) { var diff = Math.floor((edgeID / 2) + 1); if (edgeID%2 === 1) diff *= -1; var newIndex = nodeID + diff; if (newIndex < 0) newIndex += n; if ...
var crypto = require('crypto'); /** * Return a random alphanumerical string of length len * There is a very small probability (less than 1/1,000,000) for the length to be less than len * (il the base64 conversion yields too many pluses and slashes) but * that's not an issue here * The probability of a collision i...
export default { badge: 'Badge', close: 'Close', dataIterator: { noResultsText: 'No matching records found', loadingText: 'Loading items...' }, dataTable: { itemsPerPageText: 'Rows per page:', ariaLabel: { sortDescending: 'Sorted descending.', sortAscending: 'Sorted ascending.', ...
// Number: 118 // Title: Pascal's Triangle /* Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers directly above it. Example: Input: 5 Output: [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] */ /* Runti...
export default { CATS_INIT: 'CATS_INIT', CATS_PAGE: 'CATS_PAGE' }
describe('Employee - Assign teams', function () { it('should assign a team and remove it as administrator', function () { cy.loginLegacy(); cy.createCompany(); cy.createTeam('product'); cy.visit('/1/employees/1'); // Open the modal to assign a team and select the first line cy.get('[data-c...
function module_initPORTAL() { patientFile_loadScreen({portal:true}); $(document).attr('title', app_practiceClientProperties['portal.app.title']); app_viewStack('signin-screen', DO_SCROLL); $('#portal-welcome-screen-image').attr('src', 'assets/images/practice/'+PRACTICE+'/'+app_practiceClientProperties['p...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); tslib_1.__exportStar(require("@styled-icons/crypto/Mtl"), exports);
const { MessageEmbed } = require("discord.js"); const Profile = require("../models/profile.js") const dayjs = require("dayjs"); const localizedFormat = require('dayjs/plugin/localizedFormat'); const { getMember } = require("../utils/functions.js"); dayjs.extend(localizedFormat); module.exports.run = async (client, m...
// flow-typed signature: 90448158f7585274ad62ef0febb8626d // flow-typed version: 48a1b7b5fd/redux-saga_v1.x.x/flow_>=v0.76.0 declare module "redux-saga" { // These types are copied directly from the redux libdef. // Importing them in this libdef causes a loss in type coverage. // * uncomment next line: // imp...
//# sourceMappingURL=component---src-pages-curriculum-vitae-tsx-28a9d95b8bcd55f8a3d6.js.map
// @flow import { createEnvironment } from '../index'; const getOperation = (reference: mixed) => { return import(`./src/__generated__/${reference}`); }; module.exports = ({ validMinimalUsage: () => { return createEnvironment({ fetchFn: () => false, }); }, withOperationLoader: () => { retur...
// DO NOT EDIT! This test has been generated by /offscreen-canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.fillStyle.parse.css-color-4-hsl-7 // Description: // Note:<p class="notes"> importScripts("/resources/testharness.js"); importScripts("/2dcontext/resources/canvas-tests.js"); var t = async_test("...
/* * WRI Restoration Marketplace API * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.11-SNAPSHOT * * Do not edit the class manually. * */ (function(root, facto...
(function( $ ) { 'use strict'; /** * (en)PreferenceService * @ko PreferenceService * @group Service * @name PreferenceService * @class */ pinpointApp.constant('PreferenceServiceConfig', { names: { favorite: "preference.favorite" }, defaults: { callee: 1, caller: 1, period: "5m" }, ...
import CompanyCreateWarehouse from "views/Companies/CompanyCreateWarehouse.jsx"; import CompanyIndex from "views/Companies/CompanyIndex.jsx"; import CompanyWarehouse from "views/Companies/CompanyWarehouse.jsx"; import companyAddProductWarehouse from "views/Companies/companyAddProductWarehouse.jsx"; import CompanyProfil...
/* This matcher makes it easier to write tests against Datadog metrics by providing the `toHaveSentMetrics` matcher. Examples: it('makes sure a metric of a certain type and name was sent', async () => { await expect(async () => { await someCode() }).toHaveSentMetrics({ name: 'jira-integration.my-metric',...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
"use strict"; var path = require("path"); var shell = require('shelljs'); var assert = require('assert'); var helper = require("../helper.js"); var extKey = 'aa39b5490c4a4ed0e56d7ec1232a428f7ad78ebb7347db3fc9875cb10c2bce39bbf8aabacf9e00420afb580b15698c04ce10d659d1972ebc53e76b6bbae0c113bee1e23062800bc830e4c329ca913fefeb...
/** * Service for todo operations. */ 'use strict'; const mongoose = require('mongoose'), TODO = mongoose.model('todos'); /** * Returns an array of todo object matching the search parameters. * * @param {Object} params {Search parameters} */ exports.search = function (params) { const promise = TODO.find...
import defaultStyleOptions from './defaultStyleOptions'; // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". // "styleSet" is actually CSS stylesheet and it is based on the DOM tree. // DOM tree may change from time to time, thus, maintaining "styleSet" bec...
const Sequelize = require('sequelize'); const sequelize = require('../util/database'); const User = sequelize.define('user', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, allowNull: false, }, name: { type: Sequelize.TEXT, allowNull: false, }, email: { ...
const averageScore = (score1, score2, score3) => (score1 + score2 + score3)/3; function checkWinner (score1, score2) { if (score1 > score2) console.log(`Dolphins won with an average score of ${score1}`); else if (score2 > score1) console.log(`Koalas won with an average score of ${score2}`); else if (score1...
import Vue from 'vue'; window.vmenu = new Vue({ el: '#menu', data: { activeMenu: [], }, mounted: function () { this.$nextTick(function () { }); } });
import * as utils from 'src/utils'; import { registerBidder } from 'src/adapters/bidderFactory'; import { config } from 'src/config'; import { Renderer } from '../src/Renderer'; function getTopFrame() { try { return window.top === window ? 1 : 0; } catch (e) { return 0; } } function startsWith(str, sear...
// 解法一 function sortColors(nums) { for (let i = 0, N = nums.length; i < N; i++) { for (let j = i + 1; j < N; j++) { nums[i] ^= nums[j] nums[j] ^= nums[i] nums[i] ^= nums[j] } } } // 解法二 function sortColors(nums) { const color = [0, 0, 0] const index = 0 for (let i = 0; i < nums.len...
export const months = [ { value: 'jan', label: 'January', }, { value: 'feb', label: 'February', }, { value: 'mar', label: 'March', }, { value: 'apr', label: 'April', }, { value: 'may', label: 'May', }, { value: 'jun', label: 'June', }, { valu...
import React from "react"; import { Link } from "react-router"; import Rating from "../components/Rating"; // Show products components export default (props) => { let limitTo = props.itemLimit; return ( <div class="article-container"> {props.searchProducts.map((item, i) => { ...
module.exports = { bundledSetState:` key: 'handleDelete', value: function handleDelete(index) { this.setState({ items: this.state.items.filter(function (item, i) { return i !== index; }) }); }, (0, _reactDom.render)(_react2.default.createElement( Frame, null, _react2.default.createElemen...
// Compiled by ClojureScript 1.9.908 {} goog.provide('cljs.spec.alpha'); goog.require('cljs.core'); goog.require('goog.object'); goog.require('cljs.core'); goog.require('clojure.walk'); goog.require('cljs.spec.gen.alpha'); goog.require('clojure.string'); cljs.spec.alpha.MAX_INT = (9007199254740991); /** * A soft limit...
module.exports = CachingRegistryClient var path = require('path') var fs = require('graceful-fs') var url = require('url') var assert = require('assert') var inherits = require('util').inherits var RegistryClient = require('npm-registry-client') var npm = require('../npm.js') var log = require('npmlog') var getCacheS...
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/jax/output/HTML-CSS/autoload/mtable.js * * Implements the HTML-CSS output for <mtable> elements. * * ------------------------...
/**. * User: Matthieu Holzer * Date: 11.09.12 * Time: 17:41 */ define(['jquery', 'lib/jquery.reveal'], function ($) { //http://www.zurb.com/playground/reveal-modal-plugin var reveal = function ($el, options) { $el.css('display', 'block').reveal( { animation ...
import React from 'react'; import PropTypes from 'prop-types'; export default function ReferralLink({ link }) { return ( <div className="setting last"> <div className="setting-title">Your Referral Link</div> <div className="copy-wrapper"> <div className="copy-text">{link}</div> <a hre...
import React, { Component } from 'react'; import { TabContent, TabPane, Nav, NavItem, NavLink } from 'reactstrap'; import classnames from 'classnames'; class Tabs extends Component { constructor(props) { super(props); this.toggle = this.toggle.bind(this); this.state = { activeTab: '1', }; }...
"use strict"; /* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a dif...
import { writeFileSync } from 'fs'; import { join, posix } from 'path'; import { fileURLToPath } from 'url'; import esbuild from 'esbuild'; /** * @typedef {import('esbuild').BuildOptions} BuildOptions */ const ssrFunctionRoute = '/api/__render'; /** * Validate the static web app configuration does not override th...
import gql from 'graphql-tag'; export const GET_GEOJSON = gql` query geojson($countryList: [String]!) { geojson(countryList: $countryList) { features regions { name emoji visited } budget } } `;
describe("lib/init/watcher", () => { test.todo(""); });
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import LoginRoute from '../routes/DashboardRoute'; describe('Login Route', () => { it('renders without crashing', () => { const div = document.createElement('root'); ReactDOM.render( <BrowserR...
// ==UserScript== // @name Stack Exchange CV Request Generator // @namespace https://github.com/SO-Close-Vote-Reviewers/ // @version 1.6.11 // @description This script generates formatted close vote requests and sends them to a specified chat room. // @author @TinyGiant // @contributor ...
/* eslint-env browser */ /* eslint-disable no-undef, no-use-before-define, new-cap */ const URL = window.URL || window.webkitURL; module.exports = (content, workerConstructor, workerOptions, url) => { try { try { let blob; try { // New API blob = new window.Blob([content]); } ...
import React, { Component } from 'react' import Layout from '../../components/Layout/index'; import { FormControl, FormLabel, Input, FormErrorMessage, Flex, Text, Button } from "@chakra-ui/core"; import { Formik, Field } from "formik"; import { toast } from 'react-toastify'; import { Link,...