text
stringlengths
2
1.04M
/** * SprayerBrush class * @class fabric.SprayerBrush * @extends fabric.BaseBrush */ (function(fabric){ fabric.SprayerBrush = fabric.util.createClass(fabric.BaseBrush, { color: "#000000", opacity: 1, width: 30, _baseWidth: 40, _drips: [], _dripThreshold: 15, _inkAmount: 0, _interval...
const debug = require('ghost-ignition').debug('api:canary:utils:serializers:output:tags'); const mapper = require('./utils/mapper'); module.exports = { all(models, apiConfig, frame) { debug('all'); if (!models) { return; } if (models.meta) { frame.response ...
define(["stubborn", "require", "testApp/singleton"],function(sb, require, original){ describe("stubborn", function(){ it("should support singleton", function(){ var singleton; runs(function(){ sb.create("testApp/singleton").then(function(m){ singleton=m; }); }); waitsFor(function()...
require('dotenv').config(); const { Telegraf } = require('telegraf') const bot = new Telegraf(process.env.BOT_TOKEN); bot.start((ctx) => ctx.reply('Welcome')); bot.help((ctx) => ctx.reply('Send me a sticker')); bot.on('sticker', (ctx) => ctx.reply('👍')); bot.hears('hi', (ctx) => ctx.reply('Hey there')); bot.launch()...
'use strict'; process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; var log = require('./log.js'), overlay = require('./overlay.js'), rcon = require('./rcon.js'), obs = require('./obs.js'), twitch = require('./twitch.js'), demo = require('./demo.js'), utils = require('./utils.js'), stdio = require...
/* * 版权所有 (c) 2021. 写Bug的小杜 <https://github.com/blog> 保留所有权利 */ (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plai...
load("bf4b12814bc95f34eeb130127d8438ab.js"); load("93fae755edd261212639eed30afa2ca4.js"); load("9943750f07ea537be5f5aa14a5f7b1b7.js"); // Copyright (C) 2013 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > Generator objects sho...
declare module 'use-dark-mode' { declare export type DarkModeConfig = {| classNameDark?: string, classNameLight?: string, element?: HTMLElement, onChange?: (value: boolean) => void, |}; declare export type DarkMode = {| +value: boolean, enable: () => void, disable: () => void, tog...
'use strict'; module.exports = Object.freeze({ DEFAULT_PAGE: 'dashboard', DEFAULT_PORT: 8081, DEFAULT_LAYOUT: 'dashboard', BUILD: 'production', CDN : 'jsdelivr',//or unpkg CDN_COMBINE : true, //only applicable to jsdelivr HTML_FOLDER: 'html' })
/** * eslint * @ref https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb */ module.exports = { parser: '@typescript-eslint/parser', // Specifies the ESLint parser extends: [ 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-e...
const getCurrencies = require('../user/get_currency').getCurrencies; const Client = require('../../base/client'); const BinarySocket = require('../../base/socket'); const Currency = require('../../common/currency'); const elementInnerHtml = require('../../../_commo...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Button } from 'semantic-ui-react'; import CoinbaseCommerceButton from 'react-coinbase-commerce'; import 'react-coinbase-commerce/dist/coinbase-commerce-button.css'; import axios from 'libs/axios'; import history from 'main/history'; ...
import Vue from 'vue' import Vuex from 'vuex' import app from './modules/app' import account from './modules/account' import permission from './modules/permission' import getters from './getters' Vue.use(Vuex) const store = new Vuex.Store({ modules: { app, account, permission }, getters }) export d...
#!/usr/bin/env node require('./').default(process.argv[2] || process.cwd());
/** * Copyright 2018-present Facebook. * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * @format */ import type BaseDevice from '../devices/BaseDevice'; export type State = { devices: Array<BaseDevice>, androidEmulators: Array<string>...
const connectAction = (result) => { if (!result) { clearInterval(checkConnectedDevice); window.location = "connect.html"; } } let checkConnectedDevice = setInterval(() => { eel.checkConnect()(connectAction); }, 1024); const adbAction = (result) => { if (result) { clearInterval...
(function() { var DateView = kendo.DateView, keys = kendo.keys, dateview, anchor, input; module("kendo.ui.DatePicker API", { setup: function() { kendo.effects.disable(); kendo.ns = "kendo-"; input = $("<input />").appendTo(QUnit.fixture); anchor = $("<input />").a...
/* BIFF2-4 single-sheet workbooks */ function write_biff_rec(ba/*:BufArray*/, t/*:number*/, payload, length/*:?number*/) { var len = (length || (payload||[]).length); var o = ba.next(4 + len); o.write_shift(2, t); o.write_shift(2, len); if(/*:: len != null &&*/len > 0 && is_buf(payload)) ba.push(payload); } funct...
/** * Copyright 2004-present Facebook. All Rights Reserved. * * @providesModule NavigationLegacyNavigatorRouteStack * @flow */ 'use strict'; const invariant = require('fbjs/lib/invariant'); import type { NavigationState, NavigationParentState, } from 'NavigationTypeDefinition'; type IterationCallback = (rou...
import MoveDates from './move-dates' import { sampleDateAdjustments, sampleEventArray } from './sample-data' export { MoveDates, sampleDateAdjustments, sampleEventArray }
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot...
var _ = require("lodash"); var Promise = require("bluebird"); module.exports = { assertEvent: function(contract, filter) { return new Promise((resolve, reject) => { var event = contract[filter.event](); event.watch(); event.get((error, logs) => { var log ...
/* Copyright (c) 2018 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import type {TextareaPropsT} from './types.js'; import {mergeOverrides} from '../helpers/overrides.js'; impor...
import fs from 'fs'; import ts from 'typescript'; import prettier from 'prettier'; /** @typedef {{ name: string, comment: string, snippet: string }} Extracted */ /** @type {Array<{ name: string, comment: string, exports: Extracted[], types: Extracted[] }>} */ const modules = []; /** * @param {string} code * @param...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
/* Framework */ import * as React from "react"; import Link from "next/link"; /* Bootstrap Components */ import { Card, CardImg, CardBody, CardTitle, CardSubtitle, Button, } from "reactstrap"; export const PortfolioItem = (data) => ( <> <Link href={data.href}> <Card className="cards"> ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.json2csv = {})); }(this, function (exports) { 'use strict'; var domain; // This...
import { useState } from "react"; const useInputState = (initialVal) => { const [value, setValue] = useState(initialVal); const handleChange = (e) => { setValue(e.target.value); }; const reset = () => { setValue(""); }; return [value, handleChange, reset]; }; export default useInputState;
class NotificationsService { /* @ngInject */ resolvePromise() { } } export default NotificationsService;
/* * UltraCart Rest API V2 * UltraCart REST API Version 2 * * OpenAPI spec version: 2.0.0 * Contact: support@ultracart.com * * 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.15-SNAPSHOT * * Do no...
/** * * @param $scope * @param $rootScope * @param $timeout */ controllers.toasts = function($scope, $rootScope, $timeout) { var delay = 3500; var anim = 1000; $scope.items = []; $scope.close = function(index) { $timeout.cancel($scope.items[index].timeout); $scope.items[index].enable = false; $time...
const debug = require('debug')('upward-js:FileResolver'); const AbstractResolver = require('./AbstractResolver'); const { forFileOfType } = require('../compiledResources'); class FileResolver extends AbstractResolver { static get resolverType() { return 'file'; } static get telltale() { ret...
function startConditioning() { if (locked) { startButton.addClass("active"); lockButton.addClass("active"); roundTimer = 0; phase = 1; }else { toggleGUI(); } } function setup() { createCanvas(windowWidth, windowHeight - 100); setFrameRate(60); ...
/* jQWidgets v11.0.1 (2020-Dec) Copyright (c) 2011-2020 jQWidgets. License: https://jqwidgets.com/license/ */ /* eslint-disable */
'use strict'; /** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. ...
module.exports = async function({ name }) { return `<p>${await this.upper(name)}</p>`; };
import { _ as _slicedToArray } from './slicedToArray-4e274c67.js'; import './unsupportedIterableToArray-137e449b.js'; import React from 'react'; import './_commonjsHelpers-97e6d7b1.js'; import { P as PropTypes } from './index-097535f1.js'; import './defineProperty-a0480c32.js'; import './toConsumableArray-127424c2.js';...
const mongoose = require("mongoose"); const Schema = mongoose.Schema; /* * For mediaType: * 0 = link or article * 1 = video * 2 = podcast */ /* * For sectionID: * 0 = The Basics on Coronavirus * 1 = Necessities: Food and Jobs * 2 = Entertaining and Caring for Yourself * 3 = Communities to Join */ let Res...
/*! elementor - v3.4.6 - 19-10-2021 */ (self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["image-carousel"],{ /***/ "../assets/dev/js/frontend/handlers/image-carousel.js": /*!************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/image-carous...
/** * @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 Class = require('../utils/Class'); var CONST = require('../const'); var IsSizePowerOfTwo = require('../math/pow2/I...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConstDecorator = void 0; const ConstDecorator = (_document, stringOrNumberTemplate) => { const constDecorator = (schema = {}, name = '', value, isRequired = false) => { if (Array.isArray(schema.enum) && schema.enum.length =...
function noop() {} function assign(tar, src) { for (var k in src) tar[k] = src[k]; return tar; } function insertNode(node, target, anchor) { target.insertBefore(node, anchor); } function detachNode(node) { node.parentNode.removeChild(node); } function createElement(name) { return document.createElement(name); ...
import React, { Component } from 'react'; import './NavBar.scss'; class NavBar extends Component { render () { return ( <nav className="nav-bar"> <div className="app-title">Markdown</div> </nav> ); } } export default NavBar;
/************* FILE NOT USED ****************/ console.log("[WeBWorK MathView] ext-utils.js"); /** * Injects the provided script text into the current webpage inside of a <script> tag in the <head> element * @param {string} scriptText the literal text content of the script to inject */ var injectInlineScriptText =...
//Available money var avMoney; //Available bills var avBills = []; //Cash delivered var delvBills = []; //bankNotes: Number of bankNotes of a denomination to deliver var bankNotes; //div: Math.floor division to choose the amount of bills to be delivered var div; //showMessage var showMessage; showMessage = documen...
export const FilterBoxOptions = { superCategories: [ { label: "Key Demographics", options: [ { label: "Age" }, { label: "Border Crossing Frequency" }, { label: "Country of Residence" }, { label: "Crossing L...
'use strict'; var es = require('event-stream'), readline = require('readline'), gutil = require('gulp-util'), colors = gutil.colors, reporters = require('./reporters'), scssLint = require('./scss-lint'), Readable = require('stream').Readable; var PLUGIN_NAME = 'gulp-scss-lint'; var gulpScssLint = function (options) ...
/* v */ // 导入 index.art 模板文件 import router from "../routes" import indexTpl from "../views/index.art" // 导入登录页 signin.art的模板文件 import signinTpl from "../views/signin.art" import usersTpl from "../views/users.art" import usersListTpl from "../views/users-list.art" import usersListPageTpl from "../views/users-pages.art" ...
var gulp = require('gulp'), modernizr = require('gulp-modernizr'); gulp.task('modernizr', function() { return gulp.src(['./app/assets/styles/**/*.css', './app/assets/scripts/**/*.js']) .pipe(modernizr({ "options": [ "setClasses" ] })) .pipe(gulp.dest('./app/temp/scripts/')); });
// @flow import React, { useState } from "react"; import styled from "styled-components"; import Flex from "./Flex"; import Help from "../shared/icons/Help"; import LeftArrow from "../shared/icons/LeftArrow"; import Tooltip from "./Tooltip"; const HelpPopover = () => { const [show, setShow] = useState(false); if...
import React from 'react' const confirmEmail = () => { return <div>gracias!!!!</div> } export default confirmEmail
QUnit.testStart(function() { const markup = '<!--qunit-fixture-->\ <div id="container">\ <div id="treeList">\ </div>\ </div>\ '; $('#qunit-fixture').html(markup); }); import 'common.css!'; import 'generic_light.css!'; import 'ui/tree_list/ui.tree_list'; import $ from 'jquery'; import f...
import React from 'react' import Helmet from 'react-helmet' import Layout from '../components/Layout' import { Info, Project } from '../components/Cards' import Button from '../components/Button' import Aerials from '../images/works-aerials.jpg' import Honey from '../images/works-hoover-honey.png' const Portfolio = p...
/************************************************************* * * MathJax/localization/qqq/qqq.js * * Copyright (c) 2009-2016 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 cop...
import React, { useEffect, useState } from "react" import Layout from "./components/layout" import styled from "styled-components" import { graphql, useStaticQuery } from "gatsby" import Lightbox from "react-image-lightbox" import Img from "gatsby-image" import "react-image-lightbox/style.css" const FeaturedPicture = ...
import React from "react" import Layout from '../components/layout' import SubNav from '../components/SubNav'; import PropTypes from "prop-types" import Img from 'gatsby-image' import { Link, graphql } from "gatsby" import { upperCaseFirst } from '../utils/uppercase-first' import RustSignUp from '../components/RustSign...
import 'react-native-gesture-handler'; import React from 'react'; import { PersistGate } from 'redux-persist/integration/react'; import { Provider } from 'react-redux'; import './config/ReactotronConfig'; import { StatusBar } from 'react-native'; import { store, persistor } from './store'; import App from './App'; /...
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-video-addtest-load */
function generateViewFromObject(dataObj) { if (dataObj.was_found === false) { alert("Sorry we could not find that instrument!"); onBackClick(); } else { var idInputElement = document.getElementById("id"); var nameInputElement = document.getElementById("name"); idInputElem...
/* eslint-disable no-unused-vars */ /* eslint-disable prettier/prettier */ 'use strict'; module.exports = { up: async (queryInterface, Sequelize) => { await queryInterface.bulkInsert('OrderStatuses', [{ status: 'ordered' }, { status:'reviewed' }, { status:'review submitted pendi...
var dir_fae119eb913a40fe8ed97cde8b98911e = [ [ "IO.cpp", "_i_o_8cpp.html", null ], [ "IO.hpp", "_i_o_8hpp.html", "_i_o_8hpp" ] ];
/** @jsx jsx */ import { jsx } from 'theme-ui'; import { graphql, Link, useStaticQuery } from 'gatsby'; const TableOfContents = () => { const data = useStaticQuery(graphql` query { allDocsPage { nodes { id title path } } } `); const pages = data....
var EventEmitter = require('events').EventEmitter; var util = require('util'); var WError = require('verror').WError; var path = require('path'); var FuncUnits = require('./functionunits'); var env = require('./env'); // API module.exports.createPendingOrderStore = function (options, logger) { return new PendingOr...
import * as swcHelpers from "@swc/helpers"; (M || (M = {})).a = 1; var M, m, M2, M3, m = M; M.a, m.a, (function(M21) { (M21.Point || (M21.Point = {})).Origin = function() { return { x: 0, y: 0 }; }; })(M2 || (M2 = {})), (function(M31) { var Utils = function() { ...
import Config from './Config' const { api: { baseAddress, login, country, province, regency } } = Config; export const setUrl = (uri) => `${baseAddress}${uri}`; export const url = { login: setUrl(login), country: setUrl(country), province: setUrl(province), regency: setUrl(regency) }; export const options = ...
// COPYRIGHT © 201 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute ...
//CS 341 Anna Yrjanson var express = require('express'); var router = express(); router.use(express.json()); const jsonFile = require('../orderData.json'); const dbms = require('./dbms.js'); router.get('/', function(req, res, next) { res.send(JSON.stringify(jsonFile)); }); router.post('/', function(req, res, next) ...
import React from "react" import styled from "@emotion/styled" import { css } from "@emotion/core" import { Link } from "gatsby" const NavLink = styled(Link)` color: #222; font-size: 1rem; font-weight: ${props => props.fontWeight || "normal"}; line-height: 1; margin: 0 0.5rem 0 0; padding: 0.25rem; text-...
import React, { Component } from 'react'; import PostList from './posts/PostList'; export default class Home extends Component { static displayName = Home.name; constructor(props) { super(props); this.state = { latestPosts: [] }; } componentWillMount() { fetch('api/Posts/GetList', { method: 'GET...
import React from 'react'; export default class Game extends React.Component { constructor() { super(); this.state = { squares: new Array(9).fill(''), player: 'X' }; this.handle = this.handle.bind(this); } handle(e, index) { e.preventDefaul...
import { getByText } from '@testing-library/testcafe'; import AddAccountPage from './addaccount-page.po'; import DashboardPage from './dashboard-page.po'; import { FIXTURE_VIEW_ONLY_ADDRESS, FIXTURE_VIEW_ONLY_TOKENS, FIXTURE_WEB3_ADDRESS, PAGES } from './fixtures'; import { findByTKey } from './translation-uti...
import React from 'react'; import fetchMock from 'fetch-mock'; import { MemoryRouter, Route} from 'react-router' import BookingTypeEdit from '../../components/Dashboard/BookingTypeEdit/BookingTypeEdit'; export default { title: 'Bookings/BookingTypeEdit', component: BookingTypeEdit }; const mockRoomTypesRespo...
/** * @fileoverview Rule to flag duplicate arguments * @author Jamund Ferguson */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = { meta: { ...
import { LitElement, html, css } from 'lit-element'; import { icons } from './icons' /** * * * * # <social-icon> * Web component to create social icons, based on Lit Element * the "icon" property is used to set the social network to display */ export class DileSocialIcon extends LitElement { stat...
/* Copyright (c) 2020 The Gamepad Navigator Authors See the AUTHORS.md file at the top-level directory of this distribution and at https://github.com/fluid-lab/gamepad-navigator/raw/master/AUTHORS.md. Licensed under the BSD 3-Clause License. You may not use this file except in compliance with this License. You may ob...
/** * @author Ivan * created on 2017-9-17 */ (function () { 'use strict'; angular.module('BlurAdmin.pages').controller('sourceManage', sourceManage); /** @ngInject */ function sourceManage($scope, common, httpFactory, lotteryConst, custNotify, $uibModal) { var url = lotteryConst.aresPath + ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports['default'] = validateDataSource; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _invariant = require('invariant'); var _invariant2 = _interopRequireDefault(_invariant); var ...
// This file was automatically generated. Do not modify. 'use strict'; Blockly.Msg["ADD_COMMENT"] = "加入註解"; Blockly.Msg["ARD_ANALOGWRITE"] = "Set PWM pin"; // untranslated Blockly.Msg["ARD_DIGITALWRITE"] = "Set digital pin"; // untranslated Blockly.Msg["ARD_PIN_WARN1"] = "Pin %1 is needed for %2 as pin %3. Already...
if (typeof wx === 'undefined') var wx = getApp().core; var utils = getApp().helper; var app = getApp(); var api = getApp().api; var quickNavigation = require('./../../components/quick-navigation/quick-navigation.js'); Page({ /** * 页面的初始数据 */ data: { tab: 1, sort: 1, coupon_lis...
const fs = require('fs'); // open zeppelin contracts const Ownable = artifacts.require("./../installed_contracts/ownership/Ownable.sol"); // project contracts const Game = artifacts.require("./../contracts/Game.sol"); module.exports = function(deployer) { deployer.deploy(Ownable); deployer.link(Ownable, Game); ...
import typescript from "rollup-plugin-typescript2"; import babel from "rollup-plugin-babel"; import livereload from "rollup-plugin-livereload"; import serve from "rollup-plugin-serve"; import { terser } from "rollup-plugin-terser"; import json from "rollup-plugin-json"; import commonjs from "rollup-plugin-commonjs"; i...
var snapshotJs = function () { $('#btn-search').click(function () { Util.openLoadingModal(); const ip = $('#dropDownServers').val(); if (!ip) { Util.showAlertModal('Por favor!', 'Selecione algum server!'); return; } if ($('#pageValueIdentity').v...
/** * Kibo AppDev Service * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
var string = '1 string to rule them all' var leakyArr = [] var count = 2 setInterval(function () { leakyArr.push(string.replace(/1/g, count++)) }, 0)
/*! * OpenUI5 * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["sap/ui/support/library"],function(e){"use strict";var t=e.Categories,i=e.Severity,n=e.Audiences;var a={id:"dynamicPageFitContentRule",title:"DynamicPage ...
import ErrorResponse from '../utils/errorResponse.js' import asyncHandler from '../middleware/async.js' import Doctor from '../models/Doctor.js' // Get token from model, create cookie and send response const sendTokenResponse = (user, statusCode, res) => { // Create token const token = user.getSignedJwtToken() ...
require("dotenv").config(); const express = require("express"); const app = express(); const mongoose = require("mongoose"); const path = require("path"); const cors = require("cors"); mongoose.connect(process.env.MONGODB_URL, { useNewUrlParser: true, useUnifiedTopology: true, }); const db = mongoose.connection; ...
import { get, post, put, deletex } from './httpTool'; export const createReducer = (handlers, initialState) => (state, action) => { if (state === undefined) { return initialState; } if (Object.keys(handlers).includes(action.type)) { return handlers[action.type](state, action); } return state; }; export cons...
import * as internal from "../../src/internal.js"; import SlotContentMixin from "../../src/SlotContentMixin.js"; /* * Simple element using the SlotContentMixin mixin. */ class SlotContentTest extends SlotContentMixin(HTMLElement) { constructor() { super(); this.attachShadow({ mode: "open" }); this.shad...
import React from 'react'; import { Button } from 'reactstrap'; class App extends React.Component { constructor(props) { super(props); this.state = { data: '' } this.queryAllCar = this.queryAllCar.bind(this); } queryAllCar() { fetch('http://localhost:8000/api/queryallcars') .then(r...
import Dynamic from './Dynamic.js'; export default class Animal extends Dynamic { constructor ( name ) { console.log('in Animal'); // end of constructor super( name ); } } // end of class
var Hammer = require('../../module/hammer'); var util = require('../../util'); var Component = require('./Component'); var moment = require('../../module/moment'); var locales = require('../locales'); /** * A custom time bar * @param {{range: Range, dom: Object}} body * @param {Object} [options] Available pa...
function hasPrefetchComment(node) { const { leadingComments } = node return (leadingComments || []).some(comment => comment.value.includes('webpackPrefetch'), ) } module.exports = ({ version }) => { const babelVersion = Number(version.split('.')[0]) let dynamicImportPlugin if (babelVersion >= 7) { ...
function reload() { nova.commands.invoke('tommasonegri.vue.commands.reload') } nova.config.onDidChange( 'tommasonegri.vue.config.vetur.misc.ignoreProjectWarning', reload ) nova.workspace.config.onDidChange( 'tommasonegri.vue.config.vetur.misc.ignoreProjectWarning', reload ) function getExtensionSe...
/* Copyright 2017 Keith Peters 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, modify, merge, publish, distribute, su...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * If m is infinity, return the string "Infinity" * * @path ch09/9.8/9.8.1/S9.8.1_A4.js * @description +/-Infinity convert to String by explicit transformation */ // CHECK#1 if (...
import { assertPxColor, blocks, g, smallData, assertIf, c } from './util.js'; export default function () { if (!window.customElements) return; it('Should create a web component, set a style', function (done) { var grid = g({ test: this.test, data: smallData(), component: true, }); gr...
import request from '@/utils/request' export function getData(id) { return request({ url: `task/${id}`, method: 'get' }) } export function getDatas(data) { return request({ url: 'task', method: 'get', params: data }) } export function addData(data) { return request({ url: 'task', ...
import * as actionCreator from './actionCreator' import * as actionType from './constants' import { HomeReducer } from './reducer' export { HomeReducer, actionCreator, actionType }
webpackJsonp([61],{ /***/ 1302: /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(1303); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports ...