text
stringlengths
2
1.04M
import { h } from 'vue' export default { name: "Gifts", vendor: "Fa", type: "Solid", tags: ["gifts"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 640 512","class":"v-icon","fill":"currentColor","data-name":"fa-gifts","innerHTML":"<path d='M240.6 194.1c1.9-3...
const waitUntil=require('wait-until'); const assert=require('chai').assert; //获取合约json对象 let factory_json = require("../build/contracts/Factory"); let adder_json = require("../build/contracts/Adder.json"); let tester_json = require("../build/contracts/Tester.json"); //获取vns-web3js SDK,连接本地RPC服务端口 let Web3=require('vn...
// This is a manifest file that'll be compiled into application.js. // // Any JavaScript file within this directory can be referenced here using a relative path. // // You're free to add application-wide JavaScript to this file, but it's generally better // to create separate JavaScript files as needed. // //= require...
import React from 'react'; import { Link } from 'react-router-dom'; import Main from '../layouts/Main'; import EmailLink from '../components/Contact/EmailLink'; import ContactIcons from '../components/Contact/ContactIcons'; const Contact = () => ( <Main title="Contact" description="Contact Arthur Gassner vi...
var results; var bot; exports.init = function( mainbot ) { bot = mainbot; mainbot.dispatch.add( 'fight', 'fight [user]', cmdFight, {maxArgs:1} ); } async function cmdFight( msg, uname ) { if ( !results ) results = require( './results.json'); if ( !uname ) return msg.channel.send( 'You attack the darkness!'); ...
/** * @license * Copyright 2018 Google LLC. 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 a...
//>>built define("dojox/encoding/digests/_base",["dojo/_base/lang"],function(e){e=e.getObject("dojox.encoding.digests",!0);e.outputTypes={Base64:0,Hex:1,String:2,Raw:3};e.addWords=function(d,c){var a=(d&65535)+(c&65535);return(d>>16)+(c>>16)+(a>>16)<<16|a&65535};e.stringToWord=function(d){for(var c=[],a=0,b=8*d.length;...
import * as React from "react"; import LoggedIn from "../Functions/LoggedIn"; import {Redirect} from 'react-router-dom'; export default class Home extends React.Component{ constructor(props){ super(props); this.state = { cookie: '', }; } render() { //Check ...
var path = require('path'); // Cargar ORM var Sequelize = require('sequelize'); // Usar BBDD SQLite: // DATABASE_URL = sqlite:/// // DATABASE_STORAGE = quiz.sqlite // Usar BBDD Postgres: // DATABASE_URL = postgres://user:passwd@host:port/database var url, storage; if (!process.env.DATABASE_URL) { url =...
export default function() { var node = this, nodes = [node]; while (node = node.parent) { nodes.push(node); } return nodes; }
//movie listing directive for the extended listing on Movie Page angular.module('reel-seek').directive('listingLong', function(){ return { restrict: 'E', replace: true, scope: { movie: '=movie' }, templateUrl: 'views/partials/movieListingLong.html' }; });
import React from 'react'; export const Livescript = props => ( <svg viewBox="0 0 20 20" {...props}><path d="M39,9.5 L43.5,9.5 L43.5,13.5 L37.3284271,13.5 L36.3284271,14.5 L43.5,14.5 L43.5,18.5 L32.5,18.5 L32.5,18.3284271 L30.8284271,20 L43,20 L43,24 L27,24 L27,23.8284271 L24.8284271,26 L43,26 L43,30 L21,30 L21,29.8...
import router from 'next/router'; import { toaster } from '../../functions'; import { fetch } from '../../services/api'; const signup = async (ref, data) => { try { // execute google recaptcha data['g-recaptcha-response'] = await ref.current.executeAsync(); // execute main action await fetch(`signup...
const utils = require("util"); function oldFunction() { console.log("This is an old function!"); } function newFunction() { console.log("This is a new function!"); } exports.oF = utils.deprecate( oldFunction, "Function is oldest. Use a newFuinction!" ); exports.nF = newFunction;
import React, { Component } from 'react'; import Router, { withRouter } from 'next/router'; import { Navbar, NavbarBrand } from 'reactstrap'; import queryString from 'query-string'; import { contentGeneralEvent, libraryProgramBackClicked, searchProgramBackClicked } from '../../../utils/appier'; import '../../../asset...
import List from "./component"; import enhance from "./container"; export default enhance(List);
class _Emitter { constructor() { this.events = {} } // Register an event listener on(event, listener) { if (typeof this.events[event] !== 'object') { this.events[event] = [] } this.events[event].push(listener) return () => this.off(event, listener) } // Unregister an event listen...
const constants = { MOUSE_DEVICE: 100, TOUCH_DEVICE: 200, POINTER_DEVICE: 300, VIRTUAL_DEVICE: 400, MOUSE_POINTER_ID: 'mouse' } export default constants;
/* Copyright 2017 Vector Creations Ltd Copyright 2017 New Vector Ltd Copyright 2019 The Matrix.org Foundation C.I.C. 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/licens...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else { var a = factory(); for(var i in a) (typeof exports === 'object' ? exports : roo...
import {expect} from 'chai'; import {mount} from 'enzyme'; import React from 'react'; import sinon from 'sinon'; import {AsyncTypeahead} from '../../src/'; import {change, focus, getMenuItems, keyDown, search} from '../helpers'; import {DOWN, RETURN} from '../../src/constants/keyCode'; describe('<AsyncTypeahead>', ()...
const R = require('ramda'); const fs = require('fs'); const CloudformationClient = require('@src/clients/aws-client/cloudformation-client'); const S3Client = require('@src/clients/aws-client/s3-client'); const stringUtils = require('@src/utils/string-utils'); const retryUtils = require('@src/utils/retry-utility'); co...
//>>built define("dojox/storage/CookieStorageProvider",["dojo","dijit","dojox","dojo/require!dojox/storage/Provider,dojox/storage/manager,dojo/cookie"],function(_1,_2,_3){ _1.provide("dojox.storage.CookieStorageProvider"); _1.require("dojox.storage.Provider"); _1.require("dojox.storage.manager"); _1.require("dojo.cooki...
module.exports = cli => { cli.injectFeature({ name: 'TypeScript', value: 'ts', short: 'TS', description: 'Add support for the TypeScript language', link: 'https://github.com/wmzy/svelte-cli/tree/dev/packages/%40svel/cli-plugin-typescript', plugins: ['typescript'] }) cli.injectPrompt({ ...
import { isEmpty } from 'lodash'; import { state } from 'cerebral'; /** * validates the respondent on the form for the edit counsel page * * @param {object} providers the providers object * @param {object} providers.applicationContext the application context needed for getting the use case * @param {object} provi...
const BackboneElement = require('./BackboneElement'); const UnsignedIntScalar = require('./scalars/UnsignedInt.scalar'); class CapabilityStatementMessaging extends BackboneElement { constructor ( opt ) { super( opt ); this.__resourceType = 'CapabilityStatementMessaging'; Object.assign(this, opt); } // This ...
import Enzyme from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import { createSerializer } from 'enzyme-to-json'; Enzyme.configure({ adapter: new Adapter() }); expect.addSnapshotSerializer(createSerializer({ mode: 'deep' }));
Object.defineProperty(exports, "__esModule", { value: true }); var DISPLAY_FORMAT = exports.DISPLAY_FORMAT = 'L'; var ISO_FORMAT = exports.ISO_FORMAT = 'YYYY-MM-DD'; var ISO_MONTH_FORMAT = exports.ISO_MONTH_FORMAT = 'YYYY-MM'; var START_DATE = exports.START_DATE = 'startDate'; var END_DATE = exports.END_DATE = 'endD...
// MIT License: // // Copyright (c) 2010-2012, Joe Walnes // // 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, m...
export const lupa = require('../assets/lupa.png') export const ajustes = require('../assets/ajustes.png') export default { lupa,ajustes }
/** * In this script, we will login and run a few tests that use GitHub API. * * Steps summary * 1. Create a new repo. * 2. Run tests that programmatically create new issues. * 3. Delete the repo. */ const { test, expect } = require('@playwright/test'); const user = process.env.GITHUB_USER; const repo = 'Test...
/*! Webcasting Studio JQuery Player 2013-12-11 */ /*! Author: Carlos Galan Cladera < cgcladera@gmail.com > */
import { build } from 'esbuild'; import { eslintPlugin } from 'esbuild-plugin-eslinter'; const DEV = process.argv.includes('--dev'); const esbuildBase = { bundle: true, watch: DEV, minify: !DEV, incremental: DEV, plugins: [eslintPlugin()], entryPoints: ['src/index.ts'], sourcemap: DEV && '...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
'use strict'; var _analytics = global.analytics; /* * Module dependencies. */ var Alias = require('segmentio-facade').Alias; var Emitter = require('component-emitter'); var Facade = require('segmentio-facade'); var Group = require('segmentio-facade').Group; var Identify = require('segmentio-facade').Identify; var ...
define([ '../Core/defaultValue', '../Core/defined', '../Core/DeveloperError', '../Renderer/modernizeShader', '../Shaders/Builtin/CzmBuiltins', './AutomaticUniforms' ], function( defaultValue, defined, DeveloperError, modernizeShader, ...
import React from 'react'; import { mountWithTheme, renderWithTheme } from '@sfitzpatrick/enzyme-context-helpers'; import Icon from '../Icon'; import icons from '../../Icon/icons'; describe('Icons', () => { let wrapper, component; const icon = 'close'; const defaultProps = { icon, size: '16' }; ...
const { ADD_TO_WATCHLIST, GET_WATCHLIST } = require("../actionTypes"); const initialState = { movies: null, error: null, }; const WatchlistReducer = (state = initialState, actions) => { const { type, payload } = actions; switch (type) { case GET_WATCHLIST: if (payload.error) { return { ...sta...
import { h } from 'vue' export default { name: "PlayCircleLine", vendor: "Rx", type: "", tags: ["play","circle","line"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"rx-play-circle-line","innerHTML":...
import github from './configurations/configuration-github'; import gitlab from './configurations/configuration-gitlab'; const CONFIGURATIONS = [github, gitlab]; export default host => { const split_host = host.split('.'); for (let i = 0; i < CONFIGURATIONS.length; i++) { const conf_host = CONFIGURATIONS[i].HO...
/*! localForage -- Offline Storage, Improved Version 0.8.1 http://mozilla.github.io/localForage (c) 2013-2014 Mozilla, Apache License 2.0 */ (function() { var define, requireModule, require, requirejs; (function() { var registry = {}, seen = {}; define = function(name, deps, callback) { regist...
(function() { var module = angular.module('loom_chapter_title', []); module.directive('loomChapterTitle', function($compile) { var template = '<p>{{ chapterContent }}</p>'; return { link: function(scope, element, attrs) { element.html(template).show(); $com...
/** * Created by jhjc on 2017-6-30. */ import Vue from 'vue' export var bus = new Vue()
// @flow import React, { Component } from 'react'; import { getLocalizedDateFormatter, getLocalizedDurationFormatter, translate } from '../../../i18n'; import { Icon, IconTrash } from '../../../icons'; import Container from './Container'; import Text from './Text'; type Props = { /** * Indicat...
/** @type {{[ind: number]: boolean}} */ exports.values = {}; exports.initialize = () => { for (let i = 1; i <= 99; i++) { this.values[i] = false; } }
import Phaser from 'phaser-ce' export class Actor extends Phaser.Sprite { currentSpeed: number constructor (game: Phaser.Game, x: number, y: number, asset) { super(game, x, y, asset) } }
module.exports = { content: [ './src/pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}', ], theme: { extend: { colors: { dark: { 50: '#fdf8f6', 100: '#f2e8e5', 200: '#eaddd7', 300: '#e0cec7', 400: '#d2bab0', 50...
const errorTypes = require("../constants/errorTypes"); const errorHandler = (error, ctx) => { let status, message; // 判定error.message和errorType的值 switch (error.message) { case errorTypes.USERNAME_OR_PASSWORD_IS_REQUIRED: status = 400; //400:传入的请求参数有问题 message = "请求错误,请检查请求参数"; break; case errorTypes.US...
import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { fetchWorkTimes, SCHEDULE_TIME, updateOperationTimes, UPDATE_TIME, RESET, REQUEST_COMPLETED, MAKE_REQUEST } from './DeliveryConstraintsManagementActions'; import formValidator from '../Common/CommonFormValidator'; import commonDe...
const modeOptions = { light: { '--main-color' : '#d71a1b', '--regular-text' : '#4c4e4d', '--secondary-text' : '#8e8787', '--primary-text' : '#292525', '--bg-color' : '#f4f4f4', '--card-color' : '#ffffff', '--border-color' : '#e5e5e5', '--box-shadow' : ...
const Contacts = require('../contacts.js'); const Expenses = require('../expenses.js'); const Wallet = require('../metamask.js'); const config = require('../../../../config.json'); const contactsAfterConnect = $('#contacts-after-connect'), expenseContacts = $('#expense-contacts'), newContactAddress ...
/*jslint sloppy: true */ var settings = require("./settings.js"); module.exports = Scene; /** * Renders game to the canvas. */ function Scene(container) { var ctx = container.getContext('2d'), cachedHeight = container.height, cachedWidth = container.width, getWidth = function () { ...
import React, { Component } from "react"; import { withTracker } from "meteor/react-meteor-data"; import PropTypes from "prop-types"; import "./styles.css"; // import Material UI components import MuiThemeProvider from "material-ui/styles/MuiThemeProvider"; // import collections import { Games } from "/imports/api/ga...
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1488:function(e,n){e.exports=function(e){var n={className:"literal",begin:"[\\+\\-]",relevance:0};return{aliases:["bf"],contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",r...
gdjs.Q2Code = {}; gdjs.Q2Code.GDQObjects1= []; gdjs.Q2Code.GDQObjects2= []; gdjs.Q2Code.GDWrongAnswerObjects1= []; gdjs.Q2Code.GDWrongAnswerObjects2= []; gdjs.Q2Code.conditionTrue_0 = {val:false}; gdjs.Q2Code.condition0IsTrue_0 = {val:false}; gdjs.Q2Code.condition1IsTrue_0 = {val:false}; gdjs.Q2Code.condition2IsTrue_0...
import { makeStyles, styled } from '@material-ui/core/styles' import featuresStyle from 'styles/jss/nextjs-material-kit-pro/pages/sectionsSections/featuresStyle.js' export const useStyles = makeStyles(featuresStyle) export const ToolsMenuContainer = styled('div')({ zIndex: 1 })
// Copyright 2008 The Closure Library Authors. 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 requ...
/** * External dependencies */ const path = require( 'path' ); /** * Internal dependencies */ const { getTestConfig } = require( './test-config' ); const getAppRoot = require( './app-root' ); const getAppName = () => { const testConfig = getTestConfig(); if ( testConfig.appName ) { return testConfig.appName; ...
// @flow import storage from 'local-storage-fallback'; import debounce from 'lodash/debounce'; import uuidv4 from 'uuid/v4'; const lastMoveDateString = storage.getItem('wheelmap.map.lastMoveDate'); const initialPropsCategoryDataString = storage.getItem('wheelmap.initialProps.rawCategoryLists'); const initialPropsApp...
/*var eventos = [ { "idevento": 3, "idlocal": 3, "idesporte":2, "idcategoria": 2, "idmodalidade": -1, "descricao": "Jogo de fulano vs etc", "horario": "00:50", "local": "maracanã", "data": "22/05/2016" }, { "idevento": 2, "idlocal": 3, "idesporte":2, "idcategoria": 2, "idmodalid...
function JitsuTransformFunction($) { function tableName($) { switch ($.event_type) { case "user_identify": case "identify": return "identifies" case "page": case "pageview": return "pages" default: r...
// CLOSURES HELP US IN ENCAPSULATION \\ /** * We can selectively use the variables in the scope of the function * We can restrict the access of variables from outside the function */ // Run this in brower console const makeNuclearButton = () => { let timeWithoutDestruction = 0; const passTime = () => timeWi...
import { observable, action } from 'mobx'; import { persist } from 'mobx-persist'; import firebase from 'firebase'; import {SERVICE_STATES} from "../utils/consts"; import Models from './models'; class Store { @persist('object', Models.Account) @observable current = new Models.Account; @persist @observable authori...
$(document).ready(function(){ $('.input-daterange').datepicker({ language:'th', autoclose: true, format: "dd/mm/yyyy", }).on('changeDate', function(e) { var start_date=$('.start_date').datepicker("getDate"); if(isNaN($('.end_date').datepicker("getDate") )) $('.e...
import {Interactor} from "./interactor"; import {svgns} from "../../svgns"; export class BioactiveEntity extends Interactor{ constructor(id, app, json, name) { super(); this.init(id, app, json, name); this.upperGroup = document.createElementNS(svgns, "g"); this.initLabel(); ...
import React from "react" import { Link } from "gatsby" import { StaticQuery, graphql } from "gatsby" import kebabCase from "lodash/kebabCase" import Img from "gatsby-image" const WritingHome = () => { return ( <StaticQuery query={graphql` query shortBlogListQuery { allMarkdownRemark(sort: {f...
import React from 'react'; import { FormattedMessage } from 'react-intl'; import css from './ListingPage.css'; const SectionHeading = props => { const { priceTitle, formattedPrice, richTitle } = props; return ( <div className={css.sectionHeading}> <div className={css.desktopPriceContainer}> <div...
import { E, Far } from '@agoric/far'; import { makeZoeKit } from '@agoric/zoe'; export function buildRootObject(vatPowers, vatParameters) { return Far('root', { buildZoe: async ( adminVat, feeIssuerConfig, zoeFeesConfig, meteringConfig, ) => { const shutdownZoeVat = vatPowers.ex...
import React, { Component } from 'react' import { Card, CardTitle, CardText, CardActions } from 'material-ui/Card' import FlatButton from 'material-ui/FlatButton' import { Button, Grid, Cell } from 'react-mdl' import { db } from '../../config/constants' import NewSlotDialog from './NewSlotDialog' import EditSlotDialog ...
'use strict'; if(!config.browserify) return; var gulp = require('gulp'); var gutil = require('gulp-util'); var chalk = require('chalk'); var gulpif = require('gulp-if'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var uglify = require('gulp-uglify'); var sourcemaps = require('gu...
macDetailCallback("70b3d587b000/36",[{"a":"31 Pokana Cct Kaleen ACT AU 2617","o":"Liquid Instruments Pty Ltd","d":"2015-01-25","t":"add","s":"ieee","c":"AU"}]);
const { expect } = require('chai'); const test = { showMovies, ticketPrice, swapSeatsInHall } = require('./03.Cinema'); describe("Tests cinema", function () { describe("showMovies", function () { it("empty array", function () { expect(cinema.showMovies([])).to.be.equal('There are cu...
var canvas; var backgroundImage, car1_img, car2_img, track; var database, gameState; var form, player, playerCount; var allPlayers, car1, car2; var cars = []; function preload() { backgroundImage = loadImage("./assets/background.png"); car1_img = loadImage("assets/car1.png"); car2_img = loadImage("assets/car2.pn...
const platform = require('connect-platform'); const instance = require('./instance'); const cache = require('./cache/redis'); const formater = require('./util/formater'); const merge = require('./util/merge'); const { hasServerSetProperties } = require('./util/checks'); const { normalize_arrays } = require('./util/...
// @flow import type { BaseModel } from './index'; import * as db from '../common/database'; import { UPDATE_CHANNEL_STABLE } from '../common/constants'; import * as hotkeys from '../common/hotkeys'; type BaseSettings = { showPasswords: boolean, useBulkHeaderEditor: boolean, followRedirects: boolean, editorFon...
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react"; import PropTypes from "prop-types"; import { useStaticQuery, graphql } from "gatsby"; import Container from "@material-ui/core/Container"; im...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var bytes_1 = require("@confluxproject/bytes"); function decode(textData) { return bytes_1.arrayify(new Uint8Array(Buffer.from(textData, "base64"))); } exports.decode = decode; ; function encode(data) { return Buffer.from(bytes_1.array...
import React, { Component } from 'react'; import { Link } from 'react-router'; import 'whatwg-fetch'; class Repos extends Component { constructor(){ super(...arguments); this.state = { repositories: [] }; } componentDidMount() { fetch('https://api.github.com/users/pro-react/repos') ...
var searchData= [ ['calculatestats_0',['CalculateStats',['../class_d3_d12_m_a_1_1_pool.html#a8e4cc5fb13aa33398d391296336c457e',1,'D3D12MA::Pool::CalculateStats()'],['../class_d3_d12_m_a_1_1_allocator.html#addedcd0067319ec566042f5cb520843b',1,'D3D12MA::Allocator::CalculateStats()'],['../class_d3_d12_m_a_1_1_virtual_bl...
class statisticManagerIndexClass { constructor() { this.__proto__ = new jsGrid(this); this.__proto__.current = this; let _this = this; this.detailIcon = function(index, row, element) { return `<a href="/statistic/detail?statistic_id=${row.id}" class="glyphicon glyphicon...
const defaultTheme = require("tailwindcss/defaultTheme"); module.exports = { content: ["./src/**/*"], theme: { extend: { fontFamily: { sans: ["Inter var", ...defaultTheme.fontFamily.sans], }, }, }, variants: {}, plugins: [], };
export default async function isVerifyEmail({next, store}){ const response = await store.getters.isVerifyEmail; if(!response) return next({name: 'contact-data'}) else return next(); }
import { parse } from 'url'; let tableListDataSource = []; for (let i = 0; i < 46; i += 1) { tableListDataSource.push( { "id" : 1, "user_info" : { "id" : 1, "level" : 1, "username" : "xx", "nickname" : "xx", ...
/* This file contains references to the vendor libraries we're using in this project. This is used by webpack in the production build only*. A separate bundle for vendor code is useful since it's unlikely to change as often as the application's code. So all the libraries we reference here will be written to vendor...
// Import puppeteer from 'puppeteer' // import $ from 'jquery' // let page, browser // beforeAll(async () => { // browser = await puppeteer.launch({ // headless: false, // executablePath: './chromium/Chromium.app/Contents/MacOS/Chromium', // args: [ '--use-fake-ui-for-media-stream' ] // }) // page =...
const authConf = { // How long the password reset link will be valid (hours). passwordResetHours: 1, // How long the accessToken will be valid (seconds). accessDuration: 60 * 10, // 10min // How long the refreshToken will be valid (seconds). refreshDuration: 60 * 60 * 20, // 20h // Rate limite...
'use strict'; module.exports = function render(input, out) { if (out.write) { out.write('<!--'); if (input.renderBody) { input.renderBody(out); } out.write('-->'); } };
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ ! function(a, b) { "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) { if (!a.document) throw new Error("jQuery requires a window with a document"); return b(a) }...
//Returns a line object. //normal should be a vector in the direction of the line. //pt should be a point on the line. function line( dir, pt ) { return { d: dir, p: pt }; } //Returns a plane object. //normal should be a unit vector perpendicular to the plane. //pt should be a point on the plane. funct...
const router = require('express').Router(); const apiRoutes = require('./api'); const homeRoutes = require('./homeRoutes') router.use('/api', apiRoutes) router.use('/', homeRoutes) module.exports = router;
"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: 16, height: 16, viewBox: "0 0 16 ...
const path = require("path"); module.exports = { entry: "./src/index.ts", module: { rules: [ { test: /\.tsx?$/, use: "ts-loader", exclude: /node_modules/ } ] }, resolve: { extensions: [".tsx", ".ts", ".js"], // modules: ["src", "node_modules"] }, module: ...
'use strict'; var _ = require('lodash'); var BufferUtil = require('./util/buffer'); var JSUtil = require('./util/js'); var networks = []; var networkMaps = {}; /** * A network is merely a map containing values that correspond to version * numbers for each bitcoin network. Currently only supporting "livenet" * (a.k...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'fakeobjects', 'bn', { anchor: 'Anchor', // MISSING flash: 'Flash Animation', // MISSING hiddenfield: 'Hidden Field', // MISSIN...
export const listEnum = { todoList: "todoList", doneList: "doneList", };
class Sale { constructor(quantity, total, product_name, customer_name, unit_price, product_id, customer_id) { this.quantity = quantity; this.total = total; this.product_name = product_name; this.customer_name = customer_name; this.unit_price = unit_price; this.produ...
// About: simple objectLiteral's transpiling {// properties var A = 1, B = 2, C = 3; var a = {A: A, B: B, C: C}; console.log(Object.keys(a).join("|") === "A|B|C", a.A === A, a.B === B, a.C === C) { var a$0 = {A: A, b: B, C: C}; console.log(Object.keys(a$0).join("|") === "A|b|C", a$0.A === A, a$0.b === B, a$0....
import { expect } from 'chai'; import { config } from 'src/config'; import constants from 'src/constants'; import events from 'src/events'; import * as bidManager from 'src/bidmanager'; import useVideoCacheStubs from 'test/mocks/videoCacheStub'; import adUnit from 'test/fixtures/video/adUnit'; import bidRequest from '...
import React, { useState } from 'react' import { render } from 'react-dom' import { useTrail, animated } from 'react-spring' import '../../css/about/intro.scss' const items = [" and I'm a Front-end developer student at Nackademin Stockholm Solna.", "Mypassion lies in developing products for costumer use,", "working on...
/*!@license * Infragistics.Web.ClientUI HTML Editor localization resources <build_number> * * Copyright (c) 2011-<year> Infragistics Inc. * * http://www.infragistics.com/ * */ (function (factory) { if (typeof define === "function" && define.amd) { define( ["jquery"], factory ); } else { return factory(jQuery); ...