text
stringlengths
2
1.04M
class Persona { static _conteo = 0; static get conteo() { return Persona._conteo + ' instancias'; } static mensaje() { console.log( this.nombre ); // undefined console.log('Hola a todos, soy un método stático'); } nombre = ''; codigo = ''; frase = ''; com...
!function(e){function r(r){for(var n,p,i=r[0],l=r[1],a=r[2],c=0,s=[];c<i.length;c++)p=i[c],Object.prototype.hasOwnProperty.call(o,p)&&o[p]&&s.push(o[p][0]),o[p]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r...
// @flow /* eslint-env mocha */ import assert from 'power-assert' import locale from '.' import differenceInCalendarWeeks from '../../differenceInCalendarWeeks' import endOfWeek from '../../endOfWeek' import format from '../../format' import formatDistance from '../../formatDistance' import formatDistanceStrict from ...
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
export { default as PlaylistModalContainer } from './PlaylistModalContainer' export { default as ResetModal } from './ResetModal'
module.exports = new Date(2027, 9, 20)
import { concat, merge, } from 'lodash.local'; import { typeCheck } from 'type-check'; import webGisElements from 'namespace'; import { commonAttributeToPropertyConverters, createBooleanPropertyToAttributeConverter, commonPropertyToAttributeConverters, commonPropertyComparators, } from 'helpers/custom-el...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import React from "react"; import { Breadcrumbs, Link, Typography } from "@material-ui/core"; import { withRouter } from "react-router-dom"; const Breadcrumb = props => { const { history, location: { pathname } } = props; const pathnames = pathname.split("/").filter(x => x); return ( <Breadc...
const dayjs = require("dayjs"); const format = "dddd D MMMM YYYY, h:mm:ss A [UTC]Z"; /** * @example ```js const now = getNow();``` * @returns {string} now - the current timestamp */ const getNow = () => dayjs().format(format); module.exports = getNow;
import { connect } from 'react-redux'; import CarbonCertification from './MethodMetric'; import { getMetrics, getMetricsInspect, clearGetMetrics, clearGetMetricsInspect, deleteMetric, clearDeleteMetric, patchMetrics, clearPatchMetrics } from '../../redux/modules/metrics'; import { patchPi...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'format', 'en', { label: 'Format', panelTitle: 'Paragraph Format', tag_address: 'Address', tag_div: 'Normal (DIV)', tag_h1: 'Heading 1', tag_h2:...
import Model from 'ember-data/model'; import { collect } from '@ember/object/computed'; import attr from 'ember-data/attr'; import { belongsTo, hasMany } from 'ember-data/relationships'; export default Model.extend({ // A string representation of this model, based on its attributes. // This is what mu-cl-resources...
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor ==...
// MathJax config window.MathJax = { messageStyle: 'none', tex2jax: { inlineMath: [['$','$']], displayMath: [['$$','$$']], processEscape: true, skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'] } }; (function(){ var main = function(){ // ToC show/dismiss var toc = docu...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ENV_SURGIO_PROVIDER_CACHE_MAXAGE = exports.ENV_SURGIO_REMOTE_SNIPPET_CACHE_MAXAGE = exports.ENV_SURGIO_NETWORK_CLASH_UA = exports.ENV_SURGIO_NETWORK_RETRY = exports.ENV_SURGIO_NETWORK_CONCURRENCY = exports.ENV_NETWORK_RESOLVE_TIMEOUT =...
define('ContainerView', require('app').View.extend({ events: { 'mouseenter header': 'showSettings', 'mouseenter .column ul': 'hideSettings', 'mouseleave': 'hideSettings' }, initialize: function () { this.model.on('update', this.render, this); }, render: function () { var self = this; /...
/** * Create by lzan13 2020/7/6 * 描述:登录注册接口 */ 'use strict'; const path = require('path'); const Controller = require('egg').Controller; const userSelect = { devicesId: 0, email: 0, emailVerify: 0, phone: 0, phoneVerify: 0, password: 0, token: 0, code: 0, idCardNumber: 0, realName: 0, deleted: ...
import React from 'react'; import spinner from './spinner.gif'; export const Spinner= () => { return ( <div> <img src={spinner} alt="Loading........" style={{ width:'200' , margin:'40 auto' ,display:'block' }} /> </div> ) } export default Spinner;
var UAParser = require('ua-parser-js'); const platform = (user_agent) => { const parser = new UAParser(); const ua = parser.setUA(user_agent); // browser details const browser = ua.getBrowser(); const browserName = browser.name; const fullBrowserVersion = browser.version; // OS details const os = ua.ge...
import { RECEIVE_ERRORS, CLEAR_ERRORS } from '../actions/session_actions' const ErrorsReducer = (state = [], action) => { Object.freeze(state) switch (action.type) { case RECEIVE_ERRORS: if (action.errors) return [...action.errors] return state case CLEAR_ERRORS: return [] default: ...
// This linter is a fork of Codemirror's built-in javascript linter that enables top-level // await usage. It does this by wrapping the text in an async function, then offsetting any // lint errors to account for the wrapper. // // The major modifications are marked in comments starting with "CHANGED ---" import CodeM...
const { createHandler } = require('./util'); module.exports = createHandler('https://www.javbus.com/');
load("01487b5e26e41bde4c1e25d129c62c2d.js"); /* * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/NPL/ * * Software distributed under th...
const avoidEmptyCity = function(a) { return Object.assign({}, a, { city: a.city || '-'}); } class AirportsService { constructor(airports){ this._airports = airports; } getAll(){ return this._airports.filter(a => a.code).map(avoidEmptyCity).sort((a, b) => (a.city > b.city) ? 1 : -1); ...
import React from 'react'; import styled from 'styled-components'; import { Icon } from '../icons'; export const TrainIcon = styled(props => ( <Icon {...props}> <path d="M12 2c-4 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h2.23l2-2H14l2 2h2v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 ...
const express = require("express"); const path = require("path"); const fs = require("fs"); const util = require("util"); let noteData = require("./db/db.json"); const uuid = require("./helpers/uuid"); const PORT = 3001; const app = express(); app.use(express.json()); app.use(express.urlencoded({ extended: true })); ...
import { readFile } from "fs/promises"; import { mainTestFn, test } from "@compas/cli"; import { AppError, isNil, pathJoin, uuid } from "@compas/stdlib"; import { query } from "@compas/store"; import { sql } from "../../../../src/testing.js"; import { TypeCreator } from "../../src/builders/index.js"; import { codeGenTo...
import { combineReducers } from 'redux' import updateFormReducer from './updateFormReducer' import updateOverlayVisibiltyReducer from './updateOverlayVisibiltyReducer' import sendVerificationCodeReducer from './sendVerificationCodeReducer' import confirmVerificationCodeReducer from './confirmVerificationCodeReducer' i...
import React from 'react'; import FontAwesomeIcon from '@fortawesome/react-fontawesome'; import searchIcon from '@fortawesome/fontawesome-free-solid/faSearch'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import './SearchField.scss'; const DEFAULT_SEARCH_INTERVAL = 500; export default clas...
export const COLOR_BLOG_CATEGORY = '0052cc'; export const COLOR_WRITING_CATEGORY = 'c5def5'; export const COLOR_LABEL_CATEGORY = 'd93f0b';
var ipt; var ser; var bot; var oul; var callback = null; var sealsData; var seals = {}; /* 取li */ var lis = document.getElementsByTagName("li"); function setSeals(sealsData) { this.sealsData = sealsData; this.seals = sealsData.seals; } function deepCopy(source) { var result = {}; for ( var key in source) { re...
/* global describe it */ var assert = require('assert') var duo_api = require('../lib/duo_sig.js') module.exports = [] describe('Query Parameter Checks', function () { it('zero params', function (done) { assert.equal(duo_api._canonParams({}), '') done() }) it('one param', function (done) { assert.e...
import firebase from "firebase/app" import "firebase/firestore" import "firebase/storage" const firebaseConfig = { apiKey: "AIzaSyDU0pS2XcxkBtGxUB6iRtAoh5Imb_qgb8w", authDomain: "spatikal-da41a.firebaseapp.com", projectId: "spatikal-da41a", storageBucket: "spatikal-da41a.appspot.com", messagingSen...
import * as React from 'react'; var AnchorContext = React.createContext(null); export default AnchorContext;
// 官方文档:https://doc.xugaoyi.com/pages/a20ce8/#%E8%87%AA%E5%AE%9A%E4%B9%89html%E6%A8%A1%E5%9D%97 module.exports = { homeSidebarB: `<div style="padding: 0.95rem"> <p style=" color: var(--textColor); opacity: 0.9; font-size: 20px; font-weight: bold; margin: 0 0 8px 0; ...
const path = require("path"); const { slugify } = require("./src/shared/slugify"); const { paginate } = require("gatsby-awesome-pagination"); exports.createPages = async ({ actions, graphql }) => { const { createPage } = actions; return graphql(` { allContentfulArticle { totalCount nodes...
import PropTypes from 'prop-types'; import { useState } from 'react'; // material-ui import { styled, useTheme } from '@mui/material/styles'; import { Avatar, Box, Grid, Menu, MenuItem, Typography } from '@mui/material'; // project imports import MainCard from '../../../components/Cards/MainCard'; import SkeletonEarn...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import assert from 'assert'; import nock from 'nock'; import {logout} from '@actions/views/user'; import {Client4} from '@client/rest'; import {NavigationTypes} from '@constants'; import * as Actions from ...
var searchData= [ ['factory',['Factory',['../classFoundation_1_1IPC_1_1MessageBus_1_1Factory.html',1,'Foundation::IPC::MessageBus']]], ['filereaderinterface',['FileReaderInterface',['../classFoundation_1_1IO_1_1FileReaderInterface.html',1,'Foundation::IO']]] ];
(function(){ console.log('component A'); })();
import React, { useState } from "react"; import { Auth } from "aws-amplify"; import { useHistory } from "react-router-dom"; import { PageHeader, FormControl } from "react-bootstrap"; import LoaderButton from "./LoaderButton"; import { onError } from "./libs/errorLib"; export default function ChangePassword() { const...
const personMessage = { metadata: { recordUid: '25mop1jxq2ss3x', }, data: { _id: '5d1f429dbbe76eeb57af028e', isUser: false, firstName: 'Mark', lastName: 'Smith', photo: 'https://cdn3.iconfinder.com/data/icons/ultimate-social/150/43_yahoo-512.png', // uid: '25mop1jxq2ss3x', gender: ...
/* * Commands: * lunchbot kitten me - Receive a kitten * lunchbot kitten bomb N - get N kittens */ module.exports = (robot) => { robot.respond(/kitten me/i, (res) => { res.http('http://kittenme.herokuapp.com/random') .get()((err, response, body) => { if (err) { res.send('Kittens are...
// @flow import type { ChannelInfoType } from 'shared/graphql/fragments/channel/channelInfo'; import type { CommunityInfoType } from 'shared/graphql/fragments/community/communityInfo'; import type { ThreadInfoType } from 'shared/graphql/fragments/thread/threadInfo'; import { getTruthyValuesFromObject } from '../../trut...
const Promise = require('bluebird'); const uuid = require('uuid/v4'); let WebSocket = require('ws'); function websocket(url) { //Create the message queue var messages = []; //Create the socket url = url.replace('https://', 'wss://').replace('http://', 'ws://'); // url = url.indexOf('ws') !== 0 ? url + 'wss://' : ...
/* ------------------------------------------------------------------------------ * * # Dimple.js - horizontal grouped area * * Demo of grouped area chart. Data stored in .tsv file format * * ---------------------------------------------------------------------------- */ // Setup module // -------------------...
import Heading from './Heading' export default Heading
console.log("this does nothing");
/** * @file rule for the <h3> element * @author nighca<nighca@live.cn> */ var util = require('../util'); module.exports = { tagName: 'h3', getCategories: function (element) { return ['flow content', 'heading content', 'palpable content']; }, validateContext: function (element) { ...
import { useEffect, useState } from 'react' import { useGlobal } from '@/lib/global' import { faMoon, faSun } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { loadUserThemeFromCookies, saveTheme } from '@/lib/theme' const FloatDarkModeButton = () => { ...
// Generate the Top N chart function generateTopN(type, dataCsv, top_n_value) { // Elements ID var chartId = 'chart-tls-classification-top-' + type.toLowerCase(); var chartIdStatus = chartId + '-status'; // Hide status element $('#' + chartIdStatus).hide(); // Show chart element $('#' + cha...
import operate from '../logic/operate'; describe('testing operate.js', () => { test('testing addition', () => { expect(operate(1, 2, '+')).toBe('3'); }); test('testing subtraction', () => { expect(operate(7, 5, '-')).toBe('2'); }); test('testing multiplication', () => { expect(operate(3, 2, 'x'...
const {app, BrowserWindow} = require('electron'); const path = require('path'); const url = require('url'); let win; function createWindow() { win = new BrowserWindow({width: 1150, height: 800}); win.loadURL(url.format({ pathname: path.join(__dirname, 'index.html'), protocol: 'file:', slashes: true ...
'use strict' const exec = require('child_process').execSync const _ = require('lodash') const semver = require('semver') const flags = { 'dependencies': ' -S', 'devDependencies': ' -D', 'optionalDependencies': ' -O' } const yarnFlags = { 'dependencies': '', 'devDependencies': ' -D', 'optionalDependencies...
import { format, parseISO } from 'date-fns'; import pt from 'date-fns/locale/pt'; import Mail from '../../lib/Mail'; class CancellationMatil { get key() { return 'CancellationMail'; } async handle({ data }) { const { appointment } = data; await Mail.sendMail({ to: `${appointment.provider.name...
/* database/group.js: (Groups of flashcards)-related database queries */ const con = require('../database.js').connection; const sys = require('../settings.js'); module.exports = { /* GroupRow = { uid :: Number, name :: String, owner_uid :: Number } */ /* getGroup :: (uid :: Number -> { uid...
import Vue from "vue"; import "./styles/quasar.sass"; import "quasar/dist/quasar.ie.polyfills"; import iconSet from "quasar/icon-set/fontawesome-v5.js"; import lang from "quasar/lang/zh-hans.js"; import "@quasar/extras/roboto-font/roboto-font.css"; import "@quasar/extras/material-icons/material-icons.css"; import "@qu...
//$(function() { // // $('#side-menu').metisMenu(); // //}); //Loads the correct sidebar on window load, //collapses the sidebar on window resize. // Sets the min-height of #page-wrapper to window size $(function() { $(window).bind("load resize", function() { topOffset = 50; width = (this.window...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Level2; var _inquirer = require('inquirer'); var _inquirer2 = _interopRequireDefault(_inquirer); var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk); var _util = require('./util'); var _categor...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var articleSchema = Schema( { date: { type: String, required: false }, dateexact: { type: String, required: false }, title: { type: String, required: false }, article: { type: String, required: false } } ); module.exports = mongoose...
import { REGISTER_SUCCESS, REGISTER_FAIL, USER_LOADED, AUTH_ERROR, LOGIN_SUCCESS, LOGIN_FAIL, LOGOUT } from "../actions/types"; const initialState = { token: localStorage.getItem("token"), isAuthenticated: null, loading: true, user: null }; export default function(state = initialState, action) {...
/** * @class Ext.pivot.plugin.configurator.Form * @extend Ext.form.Panel * This class implements the form that allows changing the field settings. */ /** * @cfg hideAnimation * @inheritdoc */
var namespaceMLAgents_classMLAgents_1_1AgentParameters_dup = [ [ "agentCameras", "namespaceMLAgents.html#a1e23676a7014ca3a552c39e9cfc1fb27", null ], [ "agentRenderTextures", "namespaceMLAgents.html#af6f81d087b24486d56220f41d75aad19", null ], [ "maxStep", "namespaceMLAgents.html#a68defcf610c5210aa9a2b73fb4de...
import { expect } from 'chai'; import { sharethroughAdapterSpec, sharethroughInternal } from 'modules/sharethroughBidAdapter.js'; import { newBidder } from 'src/adapters/bidderFactory.js'; import * as utils from '../../../src/utils.js'; import { config } from 'src/config'; const spec = newBidder(sharethroughAdapterSpe...
import React, { useState } from 'react' import styled from '@emotion/styled' import { css } from '@emotion/core' import { Link } from 'gatsby' import Cookies from 'js-cookie'; import { FormattedMessage } from 'react-intl' import { mq } from '@/components/layouts/utils/base' import { Colors } from '@/components/layouts...
import React, { useState } from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import LoadingSpinner from 'components/Basic/LoadingSpinner'; import { Icon } from 'antd'; import { compose } from 'recompose'; import { connectAccount } from 'core'; import commaNumber from 'comma-numbe...
const {authorize} = require('../services/jwt'); const error = require('../services/error'); // Middleware which returns whether the user is an admin module.exports = (req, res, next) => { const token = req.headers.authorization; authorize(token) .then(decoded => { if(decoded.role === 'Admin') { next()...
import _extends from "@babel/runtime/helpers/esm/extends"; // Utils import { createNamespace, isDef } from '../utils'; import { raf, doubleRaf } from '../utils/dom/raf'; // Mixins import { ChildrenMixin } from '../mixins/relation'; // Components import Cell from '../cell'; import { cellProps } from '../cell/shared'; ...
(function(undefined) { if (!("Intl"in self&&Intl.ListFormat&&Intl.ListFormat.supportedLocalesOf&&1===Intl.ListFormat.supportedLocalesOf("mk").length )) { // Intl.ListFormat.~locale.mk /* @generated */ // prettier-ignore if (Intl.ListFormat && typeof Intl.ListFormat.__addLocaleData === 'function') { Intl.ListFormat._...
// Any copyright is dedicated to the Public Domain. // http://creativecommons.org/publicdomain/zero/1.0/ import webpack from 'webpack'; import path from 'path'; import nodeExternals from 'webpack-node-externals'; import defaultConfig from './webpack.base'; import * as Const from '../utils/const'; export const SRC_DIR...
import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Table, Button } from 'reactstrap'; import Invoice from 'Components/Invoice'; import { addInvoice, updateInvoice } from 'Redux/ac/invoices'; import switchingForm from 'Decorators/switc...
let obj = {} let store = window.localStorage obj.addOrUpdate = function (newGoods) { //取出 let goodsObj = this.getGoods() //如果有则追加,没有则创建 if (goodsObj[newGoods.id]) { goodsObj[newGoods.id] += newGoods.num }else{ goodsObj[newGoods.id] = newGoods.num } //保存 this.saveGoods(goodsObj) } //存储商品数据信息 ob...
"use strict"; /** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=type.js.map
/*Copyright 2018 Bang & Olufsen A/S 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...
"use strict"; module.exports = function (property) { return function (obj) { return obj[property]; }; };
import React, {useEffect} from "react" import { Link } from "gatsby" import "../components/layout.css" const Galaxypage = () => { useEffect(() => { if (typeof window === 'undefined' || !window.document) { return; } document.title = 'DEBT STATE'; }, []); return ( <div className="poem-contain...
/*[url/files/my/[folderId]]|[url/files/courses/[courseId]]|[url/files/[teamId]]|...*/
(function(d){ const l = d['pt'] = d['pt'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"",Bold:"Negrito","Bulleted List":"Lista não ordenada",Cancel:"Cancelar","Change image text alternative":"","Choose heading":"",Code:"Código",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar"...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const CardSchema = new Schema({ atk: Number, def: Number, qty: Number, rng: Boolean, }); module.exports = new Schema({ colorClass: String, cards: [ CardSchema ], });
module.exports = { resourceActionPath: param => `/resource/action/${param ? param : ':param'}` };
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. function assert(cond) { if (!cond) { throw Error("assert"); } } function assertArrayEquals(a1, a2) { if (a1.length !== a2.length) throw Error("assert"); for (const index in a1) { if (a1[index] !== a2[index]) { throw Error...
//START OF GLOBAL VAR'S //STORAGE ARRAY FOR SETTING and GETTING. var cityHistory = [] //SET VAR SET CITYHISTORY STORAGE var memorySet= function () { localStorage.setItem("cityHistory", JSON.stringify(cityHistory)) } //SET VAR MY CITY RETRIEVE var memoryLoad = function () {cityHistory = JSON.parse(localStorage....
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
export const dynamicSort = (key, order = 'asc') => { // Usage: arrayName.sort(dynamicSort('key')) return (a, b) => { // In case property doesn't exist on either object if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) { return 0 } const variableA = (typeof a[key] === 'string') ? a[key].toUpp...
/** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ test('test', () => { expect(1).toBe(1); });
export class Person { constructor(name, favoriteColor) { this.name = name; this.favoriteColor = favoriteColor; } speak() { console.log(this.name, this.favoriteColor); } }
var request = require('supertest'); var chai = require('chai'); var spies = require('chai-spies'); chai.use(spies); var assert = chai.assert; var should = chai.should() var expect = chai.expect; var app = require('../app'); var filter = require('../helpers/filter'); var handlebars = require('../helpers/handlebars')...
var fs = require('fs'), util = require('util'), exec = require('child_process').exec, css = require('css'), cssFile = '/System/Library/Messages/PlugIns/Balloons.transcriptstyle/Contents/Resources/balloons-modern.css', elCapitanFile = '/System/Library/PrivateFrameworks/SocialUI.framework/Versions/A/R...
import _ from 'lodash-es'; import uuidv4 from 'uuid/v4'; import { PortainerEndpointTypes } from '@/portainer/models/endpoint/models'; import { EndpointSecurityFormData } from '@/portainer/components/endpointSecurity/porEndpointSecurityModel'; import { getAgentShortVersion } from 'Portainer/views/endpoints/helpers'; a...
'use strict'; const sinon = require('sinon'); const sandbox = sinon.createSandbox(); const artifact = require('../../lib/build/artifact'); const template = require('../../lib/build/template'); const fcBuilders = require('@alicloud/fc-builders'); const builder = require('../../lib/build/builder'); const taskflow = requ...
'use strict'; const tap = require('tap'); const metasync = require('..'); const asyncData = 'data'; const asyncDataCb = (callback) => process.nextTick(() => { callback(null, asyncData); }); const asyncError = new Error('Async error'); const asyncErrorCb = (callback) => process.nextTick(() => { callback(asyncError...
import React from 'react' const suits = { 'H': '♥️', 'S': '♠️', 'C': '♣️', 'D': '♦️' } // sort const suitOrder = 'CHSD' const rankOrder = 'ATKQJ' const sortCards = (a, b) => { if (a[1] === b[1]) return rankOrder.indexOf(a[0]) - rankOrder.indexOf(b[0]) return suitOrder.indexOf(a[1]) - suitOrder...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _default; function _react() { const data = _interopRequireDefault(require("react")); _react = function _react() { return data; }; return data; } function _path() { const data = require("path"); _path =...
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /* globals console, window, document */ import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor'; import ArticlePl...
'use strict'; /** * Adds commas to a number * @param {number} number * @param {string} locale * @return {string} */ module.exports = (number, locale) => { return number.toLocaleString(locale); };
//= require ./bootstrap/fileinput
import Player from './lib/Player' export default Player
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["es2015-polyfills"],{ /***/ "./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es2015-jit-polyfills.js": /*!*********************************************************************************************************!*\ !*** ./node_m...