text
stringlengths
2
1.05M
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Play an animation with the given key, starting at the given startFrame on all Game Objects in items. * * @function Phaser.Actions.PlayA...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); tslib_1.__exportStar(require("./defaultProvider"), exports); tslib_1.__exportStar(require("./fromEnv"), exports); tslib_1.__exportStar(require("./fromSharedConfigFiles"), exports); //# sourceMappingURL=data:appl...
import { value1 } from './dep1.js'; import { value2 } from './dep2.js'; console.log('dynamic1', value1, value2); export { value1, value2 };
/** * @license Input Mask plugin for jquery * http://github.com/RobinHerbots/jquery.inputmask * Copyright (c) 2010 - 2014 Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 0.0.0 */ (function ($) { if ($.fn.inputmask === undefined) { //helper func...
import { createClient } from "contentful-management" export const createNewContentfulPlaylist = async (values, actions) => { const client = await createClient({ accessToken: process.env.GATSBY_CONTENTFUL_CONTENT_MANAGEMENT, }) const space = await client.getSpace(process.env.GATSBY_CONTENTFUL_SPACE_ID) cons...
tinyMCE.addI18n('nn.table_dlg',{ general_tab:"Generelt", advanced_tab:"Avansert", general_props:"Generelt", advanced_props:"Generelle eigenskapar", rowtype:"Rad i tabell", title:"Set inn / rediger tabell", width:"Breidd", height:"H\u00F8gd", cols:"Kolonner", rows:"Rader", cellspacing:"Celleavstand", cellpad...
export default { text: "#263238", faded: "#8a9094", primary: "#5bb7db", danger: "#D94238", warning: "#f4c20d", success: "#1E9A57", contentBackground: "#f8f8f8", border: "#aaaaaa", white: "#ffffff", blue: "#304FFE", };
/* global phpbb */ (function($) { // Avoid conflicts with other libraries 'use strict'; // This callback will mark all forum icons read phpbb.addAjaxCallback('mark_forums_read', function(res) { var readTitle = res.NO_UNREAD_POSTS; var unreadTitle = res.UNREAD_POSTS; var iconsArray = { forum_unread: 'forum_read...
'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, all: [ 'Gruntfile.js', 'assets/js/*.js', '!assets/js/plugins/*.js', '!assets/js/scripts.min.js' ] }, recess: { dist: { ...
const //express = require("express"), //admins = require('../database/models/administradores'), //router = express.Router(), mongooseFind = require('../database/robot/crud_user/find'), mongoose = require("mongoose"), //cookies = require('cookie-parser'), jwt = require('jsonwebtoken'); //ENV...
import Image from 'next/image'; import styles from '../styles/Team.module.scss'; import TeamCard from './TeamCard'; export default function Team() { return ( <> <div className={styles.teamComp} id='team'> <TeamCard name='Han Dump' profilePic='/red.png' quote='He likes ...
/*! * Start Bootstrap - Resume v5.0.8 (https://startbootstrap.com/template-overviews/resume) * Copyright 2013-2022 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-resume/blob/master/LICENSE) */ !function(e){"use strict";e('a.js-scroll-trigger[href*="#"]:not([href="#"])').cl...
$("#form-dict-edit").validate({ rules:{ dictLabel:{ required:true, }, dictValue:{ required:true, }, }, submitHandler:function(form){ update(); } }); function update() { var dictCode = $("input[name='dictCode']").val(); var dictSort = $("input[name='dictSort']").val(); var dictLabel = $("input[na...
'use strict'; const Doors = require('../src/doors').Doors; exports.command = (rooms, items, players, npcs, Commands) => (args, player) => Doors.openOrClose('close', args, player, players, rooms);
import React, {Component} from 'react'; import { Button, ButtonGroup, Container, Table } from 'reactstrap'; import AppNavbar from '../../AppNavbar'; import { Link } from 'react-router-dom'; import ApiHelperService from "../services/ApiHelperService"; import "./SubjectsList.css"; class SubjectsList extends Component{ ...
var pixelix = pixelix | {}; pixelix = { ws: {} }; pixelix.ws.getLogLevelStr = function(logLevel) { var str = ""; switch(logLevel) { case 0: str = "INFO"; break; case 1: str = "WARNING"; break; case 2: str = "ERROR"; br...
/*** * Copyright (C) Rodolfo Herrera Hernandez. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root * for full license information. * * =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ * * For related information - https://...
$(document).ready(function() { $('.button-collapse').sideNav(); $('.select').material_select(); $('.datepicker').pickadate({ format: 'dd-mm-yyyy', }); tinymce.init({ selector: '#deskripsi', plugins:'advlist autolink link lists charmap print preview' }); });
module.exports = { moduleFileExtensions: ["ts", "tsx", "js"], testRegex: "\\.(test|spec)\\.tsx?$", transform: { "\\.(js|jsx|ts|tsx)$": "ts-jest", }, transformIgnorePatterns: ["/node_modules/(?!(lodash-es|@foundry|@workshop|@palantir|@acme|@gotham|@tron)/)"], globals: { "ts-jest": { tsConfigFil...
"use strict"; const path = require( "path" ); const walkSync = require( "walk-sync" ); const requireFromCWD = require( "./require-from-cwd" ); const requireQUnit = require( "./require-qunit" ); const utils = require( "./utils" ); const IGNORED_GLOBS = [ "**/node_modules/**" ]; const RESTART_DEBOUNCE_LENGTH = 200; ...
import { Component, Element, Prop, Host, Event, h, Listen } from "@stencil/core"; import { inRange, sameDate, dateFromRange } from "../../utils/date"; import { getKey } from "../../utils/key"; import { getElementDir } from "../../utils/dom"; export class CalciteDatePickerMonth { constructor() { /** Date currently...
var app = (function() { var loadIcon = $('#loader'), viewContainer = $('#viewContainer'), offScreenNav = $('#effeckt-off-screen-nav'), modalViewWrap = $('#effeckt-modal-wrap'), modalViewListContainer = $('#modalViewListContainer'), topcoatListTpl = Handlebars.compile($('#top...
/** * * Reset the device by clearing the device un- and reinstalling app package (if existing). * * <example> :resetApp.js browser.reset() * </example> * * @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/appium-bindings.md#reset * @type mobile * @for android * */ ex...
/** * Yapily API * To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) * * The version of the OpenAPI document: 1.154.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://...
/* global __dirname, module, require */ const path = require('path'); const webpack = require('webpack'); const GenerateJsonPlugin = require('generate-json-webpack-plugin'); // Addon directory const dest_dir = path.resolve(__dirname, 'addon'); // Make manifest.json out of package.json information const package = re...
// See https://docusaurus.io/docs/site-config for all the possible // site configuration options. const wallets = [ { name: 'Uphold', image: 'uphold_logo.svg', link: 'https://www.uphold.com/signup' }, { name: 'Gatehub', image: 'gatehub_logo.svg', link: 'https://gatehub.net' }, { n...
var createTextGeometry = require('three-bmfont-text'); var loadBMFont = require('load-bmfont'); var registerComponent = require('../core/component').registerComponent; var coreShader = require('../core/shader'); var THREE = require('../lib/three'); var utils = require('../utils/'); var error = utils.debug('components...
import React from "react" const IndexPage = () => ( <> <div class="content nickreid-logo"> <h1 class="nickreid-picture"> <em>Hello!</em>&nbsp; My name is Nick Reid </h1> <p> I'm a PhD student in <a href="http://bime.uw.edu/"> Biomedical Informatics and Medical Education ...
import React from 'react'; import PropTypes from 'prop-types'; import cookie from 'react-cookies'; import moment from 'moment'; import { gettext, siteRoot, username, isDocs } from '../../utils/constants'; import { seafileAPI } from '../../utils/seafile-api'; import { Utils } from '../../utils/utils'; import collabServe...
const mongoose = require("mongoose"); const prospectSetSchema = new mongoose.Schema({ prospectName: { type: String, required: true }, demographic: { type: String, required: true }, source: { type: String, required: true }, addedBy: { type: String, required: true }, dateAdded: { type: Date, ...
import React from 'react'; import {useQuery} from '@apollo/client'; import ReactMarkdown from 'react-markdown'; import {format} from 'date-fns'; import styled from 'styled-components'; import {IS_LOGGED_IN} from '../gql/query'; import NoteUser from './NoteUser'; const StyledNote = styled.article` max-width: 800px; m...
module.exports = function (router) { router.get('/:section', require('./index')); };
require('babel-register'); const express = require('express'); const session = require('express-session'); const path = require("path")//NODE const http = require('http')//NODE const fs = require('fs')//NODE const MongoStore = require('connect-mongo')(session); const mongoose = require('mongoose') const app = express()...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
/** * Loads a Wavefront .obj file with materials * * @author mrdoob / http://mrdoob.com/ * @author angelxuanchang */ THREE.OBJMTLLoader = function ( manager ) { this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; }; THREE.OBJMTLLoader.prototype = { constructor: THREE.OBJMTLLoad...
frappe.ui.form.ControlHTMLEditor = frappe.ui.form.ControlMarkdownEditor.extend({ editor_class: 'html', set_language() { this.df.options = 'HTML'; this._super(); }, update_preview() { if (!this.markdown_preview) return; let value = this.get_value() || ''; value = frappe.dom.remove_script_and_style(value); ...
'use strict' const reduce = require('lodash.reduce') const normalize = require('./normalize') function getItem (item) { const normalizedItem = normalize(item) const {name, image, link} = normalizedItem const price = normalizedItem.newPrice || normalizedItem.price if (!price) return const title = `${name} €...
const mongoose = require('mongoose') const schema = new mongoose.Schema({ name: { type: String }, items: [{ image: { type: String }, url: { type: String } }], }) module.exports = mongoose.model('Ad', schema)
const axios = require('axios'); const Dev = require('../models/Dev'); const str2array = require('./utils/str2array'); const { findConnections, sendMessage } = require('../websocket'); /** * Query params: req.query * Route params: req.params * Body: req.body */ module.exports = { async index(req, res) { ...
export const status_params = { success: { svg: '<path class="check" d="M101.4 42L52.7 90.6 31 69.3" />', title: 'Operazione completata', mes: null, ok_btn_text: 'OK', title_class: 'text-success', ok_btn_class: 'btn-success', timer: 4000 }, error: { svg: '<path d="M35 39L96.4 ...
const eeui = app.requireModule('eeui') const stream = app.requireModule('stream') // import MD5 from 'blueimp-md5' // 可以引入npm包,当你需要时 import apiList from './api/apis.js' // root-api const API_BaseUrl = 'http://app.asyke.com' //const API_BaseUrl = 'http://app.zruup.com.cn' const API_OssUrl = 'http://ueditor-upl...
import {FiChevronDown, FiChevronUp} from "react-icons/fi"; import {useState} from "react"; function HeadColumn(props) { const { col, sortedRows } = props; const [orderBy, setOrderBy] = useState(0); const orderOptions = ['asc', 'desc']; const sortRows = () => { if(col.sort...
import Tracker from 'trackr'; import EJSON from 'ejson'; import _ from 'underscore'; import Data from './Data'; import Random from '../lib/Random'; import call from './Call'; import { isPlainObject } from "../lib/utils.js"; class Cursor { constructor(collection, docs) { this._docs = docs || [ ]; this._colle...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
import axios from 'axios' import { apiBaseUrl } from '../config' import { Message, MessageBox } from 'element-ui' import store from '../store' import { getToken } from './auth' // Create axios instance const service = axios.create({ // baseURL: process.env.BASE_API, // api of base_url baseURL: apiBaseUrl, timeou...
import { types } from "../constants/action-types"; var initialState = { zoom: 1, showProgress: true, showLabels: true, showConnections: true }; export default function (state = initialState, action) { switch (action.type) { case types.SET_ZOOM: { return Object.assign({}, state,...
/* * Copyright (C) 2017 Dremio Corporation * * 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 applicable law or...
module.exports = { "extends": "airbnb", "parser": "babel-eslint", "parserOptions": { "sourceType": "module", "allowImportExportEverywhere": false }, "rules": { "comma-dangle": ["error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multil...
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); require("babel-core/register"); var app = express(); // view engine setup app.set('views', path.j...
let csrf = ''; // Cache for current csrf token // Gets a new csrf token from the server const getToken = (callback) => { sendRequest('GET', '/getToken', null, (result) => { callback(result.csrfToken); }); }; const handleError = (message) => { const errorDisplay = document.querySelector('#error-dis...
export default { version: "2.2.0", steps: [ { titleIcon: "fa fa-map-o", title: { "en-US": "Welcome to Node-RED 2.2!", "ja": "Node-RED 2.2へようこそ!" }, description: { "en-US": "Let's take a moment to discover the...
module.exports = async function (scriptwriter) { const { client } = scriptwriter.company; await Promise.all([ client.send('Accessibility.enable'), client.send('Runtime.enable'), client.send('DOM.enable'), ]); scriptwriter.emit('ready', 'client'); };
import Transitions from "./transitions"; import Modals from "./modals"; export function initialize(container) { container.register('transitions:map', Transitions); ['outlet', 'with', 'if'].forEach(function(viewName) { container.injection('view:liquid-' + viewName, 'transitions', 'transitions:map'); }); c...
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Admin_Applications_ShowTerms_vue"],{ /***/ "./node_modules/@headlessui/vue/dist/headlessui.esm.js": /*!*************************************************************!*\ !*** ./node_modules/@headlessui/vue/dist/headlessui.esm.js ***! \***...
import axios from "axios"; export default async function rest(url) { const res = await axios.get(`http://localhost:1337/${url}`); return res.data; }
import { expect } from 'chai'; import sinon from 'sinon'; import { ipcRenderer } from 'electron'; describe('/renderer/li/webview-preload', () => { const sandbox = sinon.createSandbox(); let originalNotification; beforeEach(() => { originalNotification = sinon.stub(); window.Notification = originalNotifi...
/* istanbul ignore file */ import {httpGETRequest, httpPOSTRequest,httpPOSTRequestWithoutToken} from "../httpRequestHandler"; import API from "../endpoints"; import { setApplicationListByFormId, serviceActionError, setApplicationList, setApplicationDetail, setApplicationDetailLoader, setApplicationProcess,...
import { readFileSync } from 'fs'; import module from 'module'; import { extname } from 'path'; import { fileURLToPath } from 'url'; /** @type {Map<string, { content: string; type: string;}>} */ const packageContent = new Map(); /** * @param {string} id * @param {string} relativeTo */ export function requireConten...
var searchData= [ ['description_3',['description',['../structmtb__radar__sensing__event__info__t.html#a38f7e5feb87c65dbe0f0ae226b531d6b',1,'mtb_radar_sensing_event_info_t::description()'],['../structmtb__radar__sensing__presence__event__info__t.html#a5d0eda69bfaee239bb336b1416a9d1c6',1,'mtb_radar_sensing_presence_eve...
/* Simple app tests with ava. */ import test from 'ava'; // import request from 'supertest'; import server from '../app'; import routes from '../config/routes'; // const app = server(); // test.beforeEach((t) => { // t.context.server = server; // }); test('did the app load', (t) => { t.truthy(server, 'Hapi ser...
import { popupAjaxError } from "discourse/lib/ajax-error"; export default Ember.Controller.extend({ actions: { cancelProduct() { this.transitionToRoute("adminPlugins.discourse-subscriptions.products"); }, createProduct() { this.get("model.product") .save() .then(product => { ...
import React from "react" import FeaturedProduct from "../../components/individualProductPage/FeaturedProduct" import Layout from "../../components/Layout" import styled from "styled-components" import RequestDemoForm from "../../components/individualProductPage/RequestDemoForm" import StealBackground from "../../compo...
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fp=require("lodash/fp");const mapWith=fp.curry((e,p)=>p.map(e)),lens=(e,p)=>r=>{const s=fp.compose(r,e);return e=>mapWith(r=>p(r,e),s(e))},mapConst=e=>({value:e,map:function(){return this}}),mapIdentity=e=>({value:e,map:p=>mapIdentity(p(e))}),view=...
module.exports = function(grunt) { // Change these local settings var project_name = "new_project_grunt-bower"; // Name of the project - for notifications var localhost = "http://localhost/" + project_name + "/build/"; // Define if your using a server, default = project_name var root_project_name = "/" + proje...
const merge = require('deepmerge'); const { isDependency } = require('@aduth/is-dependency'); const jsdoc = require('./jsdoc.js'); const prettier = require('./prettier.js'); const typescript = require('./typescript.js'); module.exports = [jsdoc, prettier, typescript].reduce( (result, { dependencies, config }) => is...
/** * Kendo UI v2016.2.607 (http://www.telerik.com/kendo-ui) * Copyright 2016 Telerik AD. All rights reserved. ...
goog.provide("goog.net.XhrIoPool"); goog.require("goog.net.XhrIo"); goog.require("goog.structs.PriorityPool"); goog.requireType("goog.structs.Map"); goog.net.XhrIoPool = function(opt_headers, opt_minCount, opt_maxCount, opt_withCredentials) { this.headers_ = opt_headers; this.withCredentials_ = !!opt_withCredential...
//GENERATE SHORT NEWS BLOCK let render_short_news_block = (blockForRenderId, type = 'render') => { let xmlhttp = new XMLHttpRequest(); let formData2 = new FormData(); xmlhttp.open("POST", "/Landing/GetShortNews", true); xmlhttp.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); formData2.ap...
/* jshint node: true */ var path = require('path'), envModule; module.exports = function(environment) { var ENV = { modulePrefix: 'scrapeconfig-ui', environment: environment, baseURL: '/', locationType: 'hash', contentSecurityPolicy: { 'default-src': "'none'...
/* Czech translation for the jQuery Timepicker Addon */ /* Written by Ondřej Vodáček */ (function($) { $.timepicker.regional['cs'] = { timeOnlyTitle: 'Vyberte čas', timeText: 'Čas', hourText: 'Hodiny', minuteText: 'Minuty', secondText: 'Vteřiny', millisecText: 'Milisekundy', timezoneT...
import { getApolloClient } from './utils'; Cypress.Commands.add('disableSmoothScroll', () => { return cy.document().then((document) => { const node = document.createElement('style'); node.innerHTML = 'html { scroll-behavior: auto !important;}'; document.body.appendChild(node); }); }); Cypress.Comman...
/*eslint no-console: 0, no-unused-vars: 0, no-undef: 0, no-shadow: 0*/ "use strict"; var hdb = require("@sap/hdbext"); var xsenv = require("@sap/xsenv"); var async = require("async"); var hanaOptions = xsenv.getServices({ hana: { tag: "hana" } }); var pool = hdb.getPool(hanaOptions.hana); module.exports = { callHA...
const Generator = require("yeoman-generator"); const capitalise = reqiure("../../utils/capitalise"); module.exports = class extends Generator { constructor(args, opts) { super(args, opts); this.argument("component-name", { type: String, required: false }); } async prompting() { t...
const N = require("../web-components/base-node").default; class CSSFilterElement extends N { static get type() { return N.SCREEN; } static get inputs() { return [ { name: "chain-id", observe: true, defaultValue: "", restrict: String }, { name: "selector", observe: true, defa...
require("dotenv").config(); const { QuickTwitchBot } = require("quick-chat-bot"); const path = require("path"); const twitchBot = new QuickTwitchBot({ username: "robo0NEGUY", password: process.env.TWITCH_OAUTH, channel: "0neguy", commandsDir: path.join(__dirname, "commands"), }); twitchBot.connect();
export const HeadPost = ({ meta, isBlogPost }) => ( <> <img src={meta.image}></img> <h1 className={isBlogPost? 'great-title' :null} >{meta.title}</h1> <div className='details'> { isBlogPost? null: <p>{meta.description}</p> } <span>{meta.date}</span> <span ro...
(function( $ ) { 'use strict'; /** * All of the code for your public-facing JavaScript source * should reside in this file. * * Note: It has been assumed you will write jQuery code here, so the * $ function reference has been prepared for usage within the scope * of this function....
import { applyMiddleware, createStore } from 'redux'; import thunk from 'redux-thunk'; import createReducer from './reducers'; export default function configureStore(initialState) { const store = createStore( createReducer(), initialState, applyMiddleware(thunk), ); if (module.hot) { module.hot....
import React from 'react' import { StaticQuery, graphql } from 'gatsby' import styled from '@emotion/styled' import Link from './link' import config from '../../config' import './styles.css' const forcedNavOrder = config.sidebar.forcedNavOrder const Sidebar = styled('aside')` width: 100%; background-color: #ff...
'use strict'; const gulp = tars.packages.gulp; const cache = tars.packages.cache; const changed = tars.packages.changed; const plumber = tars.packages.plumber; const notifier = tars.helpers.notifier; const imagesPath = `${tars.config.fs.staticFolderName}/${tars.config.fs.imagesFolderName}`; /** * Raster ...
'use strict'; describe('Thermostat', function() { var thermostat; var temperature; beforeEach(function(){ thermostat = new Thermostat(); }); describe('defaults', function() { it('temperature of 20deg', function() { thermostat.currentTemp(0); expect(thermostat.temperature).toEqual(20); ...
/** * @license * Copyright 2012 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...
import { By, until } from 'selenium-webdriver'; export default function minNumActivitiesShown(numActivities) { return until.elementLocated(By.css(`[role="listitem"]:nth-child(${numActivities})`)); }
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).i18nextXHRBackend=e()}(this,(function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.w...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.withHeaders = function (requestFactory, overrideHeaders) { return function (path, query, body, formData, headers, method, configuration) { var headersObject = new Headers(headers || {}); new Headers(overrideHeaders)...
export * from './collection.js'; import './permissions.js'; import './views.js';
const ngxWallabyJest = require('ngx-wallaby-jest'); module.exports = (wallaby) => { return { files: [ 'src/**/*.+(ts|html|json|snap|css|less|sass|scss|jpg|jpeg|gif|png|svg)', '!src/**/*.spec.ts', ], tests: ['src/**/*.spec.ts'], env: { type: 'n...
import React, { PropTypes } from 'react' import { StyleSheet } from 'elementum' import MaskedInput from 'react-maskedinput' const styles = StyleSheet.create({ self: { width: '100%', height: '32px', boxSizing: 'border-box', background: 'transparent', boxShadow: 'none', border: '1px solid #e5e5...
import { updateDataAsync } from '../../actions/nested-list'; /* eslint-disable import/prefer-default-export */ export const mapDispatchToProps = { updateData: updateDataAsync };
const _user = [{ "first_name": "admin", "email": "admin@admin.com" }] const getAll = () => { return _user; }; const get = id => { return _user.find(item => item.id === id); }; const create = (data) => { _user.push(data); }; const update = (old, data) => { var foundIndex = _user.findIndex(item => it...
(function (root) { 'use strict'; /* name: simple-jsonrpc-js version: 1.0.0 */ var _Promise = Promise; if (typeof _Promise === 'undefined') { _Promise = root.Promise; } if (_Promise === undefined) { throw 'Promise is not supported! Use latest version node/browser ...
(function() { var fn = function() { (function(root) { function now() { return new Date(); } var force = false; if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) { root._bokeh_onload_callbacks = []; root._bokeh_is_loading = und...
module.exports = { env: { browser: true, node: true, }, extends: [require.resolve('tsjs/eslint-config')], parserOptions: { project: 'tsconfig.eslint.json', tsconfigRootDir: __dirname, sourceType: 'module', }, overrides: [ { files: ['**/...
import Grid from '@material-ui/core/Grid'; import React from 'react'; import TypographyWithIcon from '../Components/Helpers/TypographyWithIcon'; import OurListItem from '../Components/Items/OurListItem'; export function getParentHeightWidth() { var height = window.innerHeight; var width = window.innerWidth; if (...
(function () { 'use strict'; angular.module('BlurAdmin.theme') .directive('lineChart1', lineChart1); function lineChart1($window) { return { restrict: 'A', link: function ($scope, element, attrs) { //attrs是DOM元素的属性集合 var myChart = echarts.init(elemen...
'use strict'; let myForm = document.getElementById('myForm'); let myTable = document.getElementById('myTable'); let tBody = document.getElementById('tBody') let orders = document.getElementById('orders'); let mainArr = []; function Food(userName,foodType){ this.userName=userName; this.foodType=foodType; m...
const token = require('../../token.json'); const DBL = require('dblapi.js'); const { MessageEmbed } = require("discord.js"); module.exports = { name: "bot", description: "get info about a bot!", category: "fun", usage: "`bot [mention/id]`", run: async (bot, message, args, userinfo) => { let dbl = new DB...
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports._vantaEffect=e():t._vantaEffect=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function i(s){if(e[s])return e[s].export...
// Babylon import * as BABYLON from "@babylonjs/core/Legacy/legacy"; import { GridMaterial } from "@babylonjs/materials"; import { FireMaterial } from "@babylonjs/materials"; import { WaterMaterial } from "@babylonjs/materials"; import "@babylonjs/loaders/glTF"; import * as GUI from "@babylonjs/gui"; // Physics impor...
// string const name = 'fred' const anotherName = "Jim" const yetAnotherName = `Mary and ${name}` // number const age = 18 const Zipcode = '87109' const cars = ['ford','dodge', 'toyota'] const empty = [] console.log(cars[0]) console.log(cars[2]) // Object ....JSON const person = {name: 'Fred', age: 18}