text
stringlengths
2
1.05M
import React, {useState, useEffect} from 'react'; import firebaseApp from './Firebase'; export const AuthContext = React.createContext(); export const AuthProvider = ({children}) => { const [currentUser, setCurrentUser] = useState(null); const [loadingUser, setLoadingUser] = useState(true); useEffect(() => { ...
/** * @typedef {AnimationJob} DisplacementRadiateJob */ /** * This module defines a constructor for DisplacementRadiateJob objects. * * @module DisplacementRadiateJob */ (function () { // ------------------------------------------------------------------------------------------- // // Private stat...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link, navigate, StaticQuery, graphql } from 'gatsby'; import Helmet from 'react-helmet'; import Swipeable from 'react-swipeable'; import Transition from '../components/transition'; import './index.css'; const Header = ({ name, titl...
'use strict'; const childProcess = require('child_process'); const CONFIG = require('../config'); // Recognised by '@electron/get', used by the 'electron-mksnapshot' and 'electron-chromedriver' dependencies process.env.ELECTRON_CUSTOM_VERSION = CONFIG.appMetadata.electronVersion; function installScriptDependencies(...
/** * @author Chong-U Lim <me@chongdashu.com> * @copyright 2015 Chong-U Lim * @module Game.Component */ this.chongdashu = this.chongdashu||{}; (function() { "use strict"; /** * SpriteComponent * @class Game.Component.SpriteComponent * @extends Core.Component * @constructor **/ var SpriteCompon...
Bw={}; Bw.getParameterValues = function(name) { var search = location.search; var values = []; if(search.length>0) { search = search.substring(1); var paramArr = search.split("&"); for(var i in params) { var pair = paramArr[i].split("="); var key = pair[0]; var value = pair[1]; if (key =...
var WebTorrent = require('webtorrent') var client = new WebTorrent() client.add(magnet_uri, function (torrent) { // Got torrent metadata! console.log('Torrent info hash:', torrent.infoHash) // Let's say the first file is a webm (vp8) or mp4 (h264) video... var file = torrent.files[0] // Create ...
import express from 'express'; import bodyParser from 'body-parser'; import morgan from 'morgan'; import expressValidator from 'express-validator'; import 'babel-polyfill'; // Test things out // Import The Routes Index File ========================================= import allRoutes from './routes/api/v1'; const app =...
define('node_modules/lodash/fp/assignInAll', function(require, exports, module) { var convert = require('node_modules/lodash/fp/convert'), func = convert('assignInAll', require('node_modules/lodash/assignIn')); func.placeholder = require('node_modules/lodash/fp/placeholder'); module.exports = func; ...
/* * @Author: your name * @Date: 2021-02-01 11:45:33 * @LastEditTime: 2021-04-20 22:16:29 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \vue-admin-template\src\api\user.js */ import request from '@/utils/request' export function login(params = {}) { return request.p...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); reportWebVitals();
'use strict'; function _child_process() { const data = require('child_process'); _child_process = function _child_process() { return data; }; return data; } function _crypto() { const data = _interopRequireDefault(require('crypto')); _crypto = function _crypto() { return data; }; return da...
TestCase("Presenter logic", { setUp: function () { this.presenter = AddonTable_create(); sinon.stub(this.presenter, 'upgradeModel'); sinon.stub(this.presenter, 'validateModel'); sinon.stub(this.presenter, 'generateTable'); this.presenter.generateTable.returns({}); ...
/* jshint node: true */ var subject = require('../../index'); var assert = require('../helpers/assert'); describe('Github Deployment Status plugin', function() { it('has a name', function() { var instance = subject.createDeployPlugin({ name: 'foo' }); assert.equal(instance.name, 'foo'); }); ...
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Evan You @yyx990803 */ const splitRE = /\r?\n/g const emptyRE = /^\s*$/ const needFixRE = /^(\r?\n)*[\t\s]/ module.exports = function deindent( str ) { if ( !needFixRE.test( str ) ) { return str } const lines = str.split( splitRE ) ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ function swap (arr, i, j) { var tmp = arr[i]; arr[i] = arr[j]; arr[j] = tmp; } function defaultCompare (a...
import Vue from 'vue'; import Router from 'vue-router'; // Components import Home from 'pages/Home'; Vue.use(Router) const routes = [ { path: '*', component: Home } ] export default new Router({ routes })
const path = require('path'); module.exports = { appBuild: path.resolve(__dirname, '../dist'), };
import React from 'react' import { Link } from 'react-router-dom' import Delete from './Delete' const BookClubPreview = (props) => { return ( <div className="book-club"> {/* x-button, on click shows confirmation */} <Delete type="Book Club" id={props.id} /> {/* links to ...
#!/usr/bin/env node var packageJson = require('./package.json') var execSync = require('child_process').execSync; var path = require('path'); var fs = require('fs'); console.log('Installing npm dependencies'); execSync('yarn install', {stdio:[0,1,2]}); console.log('Installing sdk dependencies'); var sdkDependency = ...
define( ({ showLayerLabels: "Näytä ajan huomioivien karttatasojen nimet pienoisohjelmassa." }) );
var firstnext = document.getElementById('firstnext'), secondnext = document.getElementById('secondnext'), firstback = document.getElementById('firstback'), secondback = document.getElementById('secondback'), first_form = document.getElementById('first_form'), second_form = document.getElem...
var mongoose = require('mongoose'); var userSchema = new mongoose.Schema({ name: String, // "Bob" hash: String, // "3hkf67dkh5f73d5kh3f6" email: String, passwordHash: String, // TODO: Add email and login authentication skin: String // "Sky" }); var model = mongoose.model('User', userSchema); module.export...
import { Selector } from 'testcafe'; import testcafeconfig from './testcafeconfig'; import Page from "./page-model"; fixture `Test files` .page`${testcafeconfig.url}`; const page = new Page(); test('#1 Add originals files to album', async t => { await page.openNav(); await t.click(Selector('.p-navigation...
'use strict'; const userNameInput = document.getElementById('user-name'); const assessmentButton = document.getElementById('assessment'); const resultDivided = document.getElementById('result-area'); const tweetDivided = document.getElementById('tweet-area'); /* 指定した要素の子供をすべて削除する @param {HTMLElement}element HTMLの要素 ...
const models = require('../models'); const Cat = models.Cat.CatModel; const Dog = models.Dog.DogModel; const defaultData = { name: 'unknown', bedsOwned: 0, }; const defaultData2 = { name: 'unknown', breed: 'unknown', age: 0, }; let lastAdded = new Cat(defaultData); let lastAdded2 = new Dog(defaultData2); ...
const express = require("express"); const puppeteer = require("puppeteer"); const app = express(); let browser; puppeteer .launch({ args: ["--no-sandbox"] }) .then( (subject) => (browser = subject), (e) => console.error(e), ); const getPageHTML = async (url) => { const page = await browser.newPage();...
var Node = require('./Node'); /** * @constructor AssignmentNode * @extends {Node} * Define a symbol, like "a = 3.2" * * @param {String} name Symbol name * @param {Node} expr The expression defining the symbol */ function AssignmentNode(name, expr) { this.name = name; this.expr = expr; } Assig...
/* Copyright (c) 2012 Andrey Mikhalevich, Katren ltd. */ /* Description */ //ф /** Requirements * @requires controls/ViewDialog.js */ /* constructor */ function ViewDocument(id,options){ options = options || {}; ViewDocument.superclass.constructor.call(this, id,options); var self = this...
'use strict'; const fs = require('fs'); const test = require('ava'); const transform = require('./index'); test.cb('toUpperCase()', t => { let str = ''; fs.createReadStream('README.md') .setEncoding('utf8') .pipe(transform(function * () { let chunk; while (Boolean(chunk = yield)) { th...
const mongoose = require("mongoose") const inception_sunucu = new mongoose.Schema({ guild: String, ihlal: Number }) module.exports = mongoose.model("inception_sunucu", inception_sunucu)
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/alpinejs/dist/module.esm.js": /*!**************************************************!*\ !*** ./node_modules/alpinejs/dist/module.esm.js ***! \**************************************************/ /***/ ((__unused_webpac...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.SiGoogleearth = function SiGoogleearth (props) { return GenIcon({"tag":"svg","attr":{"role":"img","viewBox":"0 0 24 24"},"child":[{"tag":"title","attr":{},"child":[]},{"tag":"path","attr":{"d":"M12 0c-1.326 0-2.597.22-3.787.613 4.94...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var paginate = require('mongoose-paginate-v2'); var autopopulate = require('mongoose-autopopulate'); var schema = new Schema({ streamId: String, channelId: String, eventType: Number, duration: Number, fileId: String, fileFormat: S...
import * as React from "react" function SvgComponent(props) { return <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="scarlab scarlab-rupee-square" {...props}> <path d="M3 12...
const router = require('express').Router(); const apiRoutes = require('./api'); const dashboardRoutes = require('./dashboard-routes.js'); const homeRoutes = require('./home-routes'); router.use('/', homeRoutes); router.use('/dashboard', dashboardRoutes); router.use('/api', apiRoutes); module.exports = router;
<<<<<<< Updated upstream // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenc...
(window.webpackJsonp=window.webpackJsonp||[]).push([[316],{3928:function(e,t,r){"use strict";r.r(t),r.d(t,"icon",(function(){return c}));r(6),r(7);var n=r(0);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&...
/* * jsrsasign(all) 8.0.20 (2020-06-24) (c) 2010-2020 Kenji Urushima | kjur.github.com/jsrsasign/license */ var window = {} /*! Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ if(YAHOO===undefined){var YAHOO={}}YAH...
import Bar from './Bar.js'; import Container from './Container.js'; export { Bar, Container };
/*=======================================*/ /* 注册测试功能的js */ /* @author fushenghua */ /* 2014年5月30日16:27:41 */ /*=======================================*/ $(document).ready(function(){ $("#sysAdminLogout").on('click',function(){ login(); ...
import React from "react"; import Layout from "../../../../../components/layout"; import SEO from "../../../../../components/seo"; import {Bounce} from "react-reveal"; import ResourcesDisclaimer from "../../../../../common/resourcesDisclaimer"; import {MobileView, BrowserView} from "react-device-detect"; // Common im...
import * as projGlobalConfig from 'ROOT_SOURCE/projGlobalConfig' export const CURRENT_PAGE = projGlobalConfig.CURRENT_PAGE export const PAGE_SIZE = projGlobalConfig.PAGE_SIZE export const TOTAL = projGlobalConfig.TOTAL export const RESPONSE_DESTRUST_KEY = projGlobalConfig.RESPONSE_DESTRUST_KEY export const RESPONSE...
module["exports"] = [ "worldlink.com.np", "gmail.com", "yahoo.com", "hotmail.com" ];
(function(angular, moment) { angular.module('book-inventory-app.filters') .filter('formatLongDate', function() { return function(input) { var output; if (!input) return ''; return moment(new Date(input)).format('MMMM DD, YYYY'); }; }); })(angular, mo...
[{"Owner":"²Digitalgames","Date":"2015-12-14T13:01:52Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hello_co_ _lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_i need to apply _lt_span style_eq__qt_color_dd_rgb(40_co_40_co_40)_sm_font-family_dd_helvetica_co_ arial_co_ sans-serif_sm__qt__gt_renderingGroupId_eq_...
// ======================================================================================== // onload page // ======================================================================================== /** * [downloadJSAtOnload description] * @return {[type]} [description] */ function downloadJSAtOnload() { setTi...
import React, { Component } from "react"; import { Link, withRouter } from "react-router-dom"; import withStyles from "@material-ui/styles/withStyles"; import Typography from "@material-ui/core/Typography"; import Button from "@material-ui/core/Button"; import BaseDialog from "./BaseDialog"; import SwipeableViews from ...
module.exports = {name: 'react-native-auth0', version: '2.13.0'};
export * from '@styled-icons/remix-fill/VolumeDown';
const fs = require('fs-extra'); const path = require('path'); const glob = require('glob'); const sass = require('node-sass'); const postcss = require('postcss'); const postcssCalc = require('postcss-calc'); // 保留原状 const cwd = process.cwd(); const { logger } = require('../utils'); const { collectVarsInfo } = require('...
import React from "react"; import uuid from "uuid/v1"; const SvgCylinder = props => { const gradientId = uuid(); return ( <svg viewBox="0 0 24 26" width="1em" height="1em" {...props}> <defs> <linearGradient id={gradientId} x1="0%" y1="50%" y2="50%"> <stop offset="0%" stopColor="#4DA6FF"...
import _tagged_template_literal from "@swc/helpers/src/_tagged_template_literal.mjs"; function _templateObject() { var data = _tagged_template_literal([ "0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2028 2029 0085 t v f b r n" ]); return _templateObject = function _templateObject() { ...
if (performance.getEntriesByType("navigation")[0].type === "back_forward") { location.reload(true); } const phoneInput = document.querySelector(".phoneInput"); const input1 = document.querySelector("#phone"); const submit = document.querySelector("#submit"); const registerForm = document.querySelector(".registerForm"...
import React from "react"; import TextField from "@material-ui/core/TextField"; import Grid from "@material-ui/core/Grid"; import DialogActions from "@material-ui/core/DialogActions"; import DialogContent from "@material-ui/core/DialogContent"; import Button from "@material-ui/core/Button"; import LoadingButton from "...
const fs = require('fs'); // Add 'export as namespace pc' to the end of the file let path = './types/index.d.ts'; let ts = (fs.readFileSync(path, 'utf8')).toString(); ts = ts + '\n\nexport as namespace pc;\n'; fs.writeFileSync(path, ts); // Create a regex that matches any string starting with Class< and ending with >...
var SIGN_UP_IN_VALUE = 1; function signin(){ trySignin(); loadingImage( true, 200 ); //simulateLoginSuccess(); simulateLoginFail(); } function signup2( event ){ } function signup(){ trySignup(); loadingImage( true, 200 ); //simulateSignupSuccess(); simulateSignupFailure(); //alert();...
const through2 = require('through2') const GulpError = require('./gulp-error').partial('gulp-compile-cache') // 编译缓存gulp插件 module.exports = function gulpCompileCache(options = {}) { const { hit = () => {}, // 命中回调 } = options return through2.obj(function (file, enc, next) { if (f...
(function( window, undefined ) { kendo.cultures["pa-Arab-PK"] = { name: "pa-Arab-PK", numberFormat: { pattern: ["- n"], decimals: 2, ",": ",", ".": ".", groupSize: [3], percent: { pattern: ["-n%","n%"], ...
var webpack = require("webpack"); var path = require("path"); module.exports = { devtool: "eval-source-map", entry: "./src/main/index.ts", output: { filename: "./dist/index.js" }, resolve: { extensions: [".js", ".json", ".ts"] }, module: { rules: [ { ...
var crypto = require('crypto'); var moment = require('moment'); // 首页-签到有礼-免费抽-赢三星Galaxy Z(试试手气) var transParams = (data) => { let params = new URLSearchParams(); for (let item in data) { params.append(item, data['' + item + '']); } return params; }; function w() { var e = arguments.length > 0 && void 0 ...
var environment = process.env.NODE_ENV || 'development' var config = require('../knexfile.js')[environment] module.exports = require('knex')(config)
/* eslint-env jest */ const { axe } = require('jest-axe') const { render, getExamples } = require('../../../lib/jest-helpers') const examples = getExamples('table') describe('Table', () => { it('default example passes accessibility tests', async () => { const $ = render('table', examples.default) const r...
// For output.filename configuration: // // Change "component-name" in this file to your real component name! // DO NOT CHANGE "[name]", which denotes the entry property names that webpack automatically inserts for you! module.exports = { entry: { dev: ['webpack/hot/dev-server', './main.js', './demo/demo.js'], ...
function getFileDirectory(filename) { const array = filename.split('/') return array[array.length - 2] } export function getFilename(filename) { const array = filename.split('/') return array[array.length - 1] } export function getFileRoot(filename) { let array = filename.split('/') const directory = getFil...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glob...
/* global describe, it, require */ 'use strict'; // MODULES // var // Expectation library: chai = require( 'chai' ), // Check whether an element is a finite number isFiniteNumber = require( 'validate.io-finite' ), // Check whether an element is `NaN` isnan = require( 'validate.io-nan' ), // Module to be tes...
import React from 'react' import Enzyme, { shallow, mount } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' import GranuleResultsBody from '../GranuleResultsBody' import GranuleResultsList from '../GranuleResultsList' import GranuleResultsTable from '../GranuleResultsTable' Enzyme.configure({ adapter: new...
export const nextStep = () => { return { type: 'NEXT_STEP' } } export const clickCell = (row, column) => { return { type: 'CLICK_CELL', row, column } }
// const EmailService = require('../../lib'); describe('EmailService Tests', () => { describe('#constructor', () => { describe('Positive tests', () => { it('Should create service instance', () => { // let emailService = new EmailService(); }); }); }); });
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var environment_1 = require("../../environment"); var util = require("../../util"); var shader_compiler = require("./shader_compiler"); var NAN_UNIFORM_NAME = 'NaN'; function shouldUploadNaNUniform() { return !environment_1.ENV.get(...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var BitmapText = require('./BitmapText'); var GameObjectFactory = require('../../GameObjectFactory'); /** ...
define('aurelia-path',['exports'], function (exports) { exports.__esModule = true; exports.relativeToFile = relativeToFile; exports.join = join; exports.buildQueryString = buildQueryString; exports.parseQueryString = parseQueryString; function trimDots(ary) { for (var i = 0; i < ary.length; ++i) { ...
require("../index"); function withObject(published) { let testObject = { name: "Awesome App", type: "App" }.whatIf( published, ctx => { //perform complex computations here //and change the object based on that. ctx["output"] = "The app is published."; } ); return testObject; } funct...
"use strict"; const events_1 = require("events"); const buffer_1 = require("buffer"); const dgram = require("dgram"); const debug = require("debug"); debug("trackerClient"); const writeUInt64BE = require("writeUInt64BE"), ACTION_CONNECT = 0, ACTION_ANNOUNCE = 1, ACTION_SCRAPE = 2, ACTION_ERROR = 3; let connectionIdHigh...
/** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ define([ 'Magento_Paypal/js/rules/simple/disable', 'underscore' ], function (disable, _) { 'use strict'; return function ($target, $owner, data) { var isDisabled = true; _.every(data.argum...
"use strict"; class PageFilterEquipment extends PageFilter { constructor ({filterOpts = null} = {}) { super(); this._typeFilter = new Filter({ header: "Type", deselFn: (it) => PageFilterItems._DEFAULT_HIDDEN_TYPES.has(it), displayFn: StrUtil.toTitleCase, }); this._propertyFilter = new Filter({header...
// Wait for the document to finish loading before running any logic. $( document ).ready( function () { // Load metadata right away when page is ready. ( function () { loadMetadata(); } )(); // Click event listener for gamertag search button $( "#btnSearchGamertag" ).click( functio...
/* global artifacts web3 */ var abi = require("ethereumjs-abi"); const SafeMathLib = artifacts.require("SafeMath"); const GoodGhostingContract = artifacts.require("GoodGhosting"); const GoodGhostingPolygonContract = artifacts.require("GoodGhostingPolygon"); const GoodGhostingPolygonWhitelisted = artifacts.require("Go...
'use strict' import 'alpinejs' console.log(`I was loaded at ${Date(Date.now()).toString()}`);
/* * ../../../..//jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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 * * ...
// middlewares dépendencies import { jwtService } from '../libs'; // middlewares import AuthMiddleware from './auth_middleware'; import csrf from './csrf'; // initialize middlewares with dependencies injection const auth = new AuthMiddleware(jwtService); // export all middlewares export { auth, csrf };
import PersonalDetails from "./PersonalDetails.vue"; import Shipping from "./Shipping.vue"; import Payment from "./Payment.vue"; import ConfirmOrder from "./ConfirmOrder.vue"; import OrderSummary from "./OrderSummary.vue"; import OrderReview from "./OrderReview.vue"; export { PersonalDetails, Shipping, Payment, ...
// Menu.js import React from 'react'; import { bool } from 'prop-types'; import { StyledMenu } from './menu.css'; const Menu = ({ open }) => { return ( <StyledMenu open={open}> <a href="/">Sobre</a> <a href="/">Novidades</a> <a href="/">Contato</a> </StyledMenu> ); }; Menu.propTypes = { ...
/* Template Name: Skote - Responsive Bootstrap 4 Admin Dashboard Author: Themesbrand Version: 2.0 Website: https://themesbrand.com/ Contact: themesbrand@gmail.com File: ico landing Init Js File */ // Sticky nav $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 50) { $("....
import CancelIcon from '@material-ui/icons/Cancel' export default CancelIcon
/** * Amazon Elastic Compute Cloud * <fullname>Amazon Elastic Compute Cloud</fullname> <p>Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster....
// --------------------------- // Create window Scheduler.window.CreateRun = function(config) { config = config || {}; this.ident = config.ident || Ext.id(); Ext.applyIf(config,{ title: _('scheduler.run_create') ,cls: 'window-with-grid' ,url: Scheduler.config.connectorUrl ,baseParams: { a...
var getId = require('./getId.js').getId; var world = require('./world.js'); module.exports = function(constructor) { var worldDims; var maxSpeed = world.getMaxSpeed; var xClone = false; var yClone = false; var cornerClone = false; var pushEvents = []; var loaded = false; var objName = false; var mov...
export { UserContext, UserWrapper } from "./wrappers/UserWrapper"
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var http_1 = require("@angular/http"); var Rx_1 = require("rxjs/Rx"); require("rxjs/add/operator/map"); var apiUrl = "https://hidden-wave-39973.herokuapp.com/api/todo"; var ToDoListService = (function () ...
function jobsearch_listing_top_map(top_dataobj, is_ajax) { var map_id = top_dataobj.map_id, access_token = top_dataobj.access_token, map_zoom = top_dataobj.map_zoom, map_style = top_dataobj.map_style, latitude = top_dataobj.latitude, longitude = top_datao...
import KataGroups from './katagroups.js'; export default class AppState { static initializeFromKataGroups(kataGroups) { let instance = new AppState(); instance.kataGroups = kataGroups; return instance; } static initializeFromRawKataData(rawKataData) { return AppState.initializeFromKataGroups(Ka...
import React from "react"; import { render } from "react-dom"; import { makeData, Logo, Tips } from "./Utils"; import "./index.css"; // Import React Table import ReactTable from "react-table"; import "react-table/react-table.css"; class App extends React.Component { constructor() { super(); this.state = { ...
import * as _c from '../constantes.js' export default class BalaMortero extends Phaser.GameObjects.Sprite { constructor(scene, imag, vel, pool, damage, rango) { super(scene, 0, 0, imag); this.scene.add.existing(this); //le dice a la scene Game que existe this.scene.physics.add.existing(this...
import React from "react"; import {useSubheader} from "../../_themeBase/layout"; export const MyPage = () => { const suhbeader = useSubheader(); suhbeader.setTitle("My Custom title"); return (<>My Page</>); };
import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import Head from 'next/head'; import useDarkMode from 'use-dark-mode'; import { makeStyles, ThemeProvider } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import CssBaseline from '@material-ui/core/CssBaseline'; i...
this.primereact=this.primereact||{},this.primereact.toolbar=function(t,e,r){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=o(e);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var o=e[r]...
import React from 'react'; import OptionSelectButton from '../template/OptionSelectButton'; import ScheduleButton from './ScheduleButton'; import log from 'electron-log'; const DEFAULT_INTERVALS = [ {title: '1 Minute', milliseconds: 60000} ] function IntervalSelection(props) { const { channelNumber=1,...