text
stringlengths
2
1.04M
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/array-invoke/array-invoke.js']) { } var __cov_jzpBudDVuwfbMKlQApgQBA = __coverage__['build/array-invoke/array-invoke.js']; __cov_jzpBudDVuwfbMKlQApgQBA.s['1']++;YUI.add('array-invoke',function(Y,NAME){__cov_jzpBudDVuwfbMKlQApgQBA.f...
import Binding from './Binding'; import { isNumeric } from '../../../../utils/is'; import handleDomEvent from './handleDomEvent'; function handleBlur () { var value; handleDomEvent.call( this ); value = this._ractive.binding.model.get(); this.value = value == undefined ? '' : value; } function handleDelay ( del...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
angular.module('upsConsole') .controller('ActivityController', function ( $log, $timeout, $interval,$uibModal , variantModal, $scope, metricsEndpoint ) { var self = this; this.TOOLTIP_TARGETS = "Targeted devices or topics for Android/Firebase"; this.TOOLTIP_OPENED = "Number of users that launched the mo...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var iconHelpers = require('@carbon/icon-helpers'); var PropTypes = _interopDefault(require('prop-types')); var React = _interopDefault(require('react')); function _typeof(obj) { if (typeof...
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
// @flow import React from 'react' import {Box} from '../../common-adapters' import {storiesOf, action} from '../../stories/storybook' import EditTeamDescription from '.' const sharedProps = { description: 'First description', origDescription: 'First description', teamname: 'testteam', onChangeDescription: ac...
const http = require('http'); const app = require('./app'); const config = require('./utils/config'); const LOG = require('./utils/logger'); const server = http.createServer(app); server.listen(config.PORT, () => { LOG.info(`🌐Server running on port ${config.PORT}`); }); process.on('SIGTERM', () => { LOG.info('...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("echarts")); else if(typeof define === 'function' && define.amd) define(["echarts"], factory); else if(typeof exports === 'object') exports["echarts-liquidf...
"use strict" // COMMON CONSTANTS var SKILLS_CONTAINER; var SKILL_SECTION; var SKILL_CONTAINER; var SKILL_FORM_SECTION; var GALLERY_CONTAINER; var PROJECT_SECTION; var PROJECT_CONTAINER; var PROJECT_FORM_SECTION; var MEDIA_SECTION; var MEDIA_CONTAINER; var MEDIA_FORM_SECTION; /*########################################...
const Employee = require("../lib/Manager"); const managerTest = new Employee('Joe', 19, 'joe@email.com', 1000); describe("Manager", () => { describe("getName", () => { it("It should render name of the employee", () => { result = managerTest.name; expect(result).toEqual("Joe"); }); }); descr...
/* Slice * significa fatiar ou dividir * Extrai uma parte do array sem alterar o array original * Sintaxe deste modelo é: arr.slice([begin[, end]]) # Possui um primeiro parametro # o segundo parametro é o indice final # Retorna tod...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-...
// Generated by CoffeeScript 1.6.2 /******************************************************************************* * Copyright (c) 2015 Development Gateway, Inc and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License (MIT) * which ac...
// This file was automatically generated. Do not modify. 'use strict'; Blockly.Msg["ADD_COMMENT"] = "Megjegyzés hozzáadása"; Blockly.Msg["ARD_ANALOGWRITE"] = "Set analog pin"; // untranslated Blockly.Msg["ARD_DIGITALWRITE"] = "Set digital pin"; // untranslated Blockly.Msg["ARD_PIN_WARN1"] = "Pin %1 is needed for %...
import React from 'react'; import './Navbar.css'; function Navbar(props) { return ( <nav className='navbar'> <ul className='navbar__nav'>{props.children}</ul> </nav> ) } export default Navbar
import React from 'react'; import { Avatar } from 'antd'; import PropTypes from 'prop-types'; const UserAvatar = ({ user }) => { const { username, displayName, photo } = user; return ( <Avatar src={!!photo && photo}>{displayName && displayName[0].toUpperCase()}</Avatar> ); }; UserAvatar.propTypes...
import React from "react" import Layout from "../components/layout" import SEO from "../components/seo" import Hero from "../components/home/alt/Hero" import WhatIDo from "../components/home/alt/WhatIDo" import FeaturedProjects from "../components/home/alt/FeaturedProjects" import FeaturedPost from "../components/home/...
import React, { PropTypes } from 'react' import { CardActions } from 'material-ui/Card' import RaisedButton from 'material-ui/RaisedButton' import { List, ListItem } from 'material-ui/List' import { Form } from 'formsy-react' import { FormsyText } from 'formsy-material-ui/lib' import Lock from 'material-ui/svg-icons/ac...
import { test, given } from 'sazerac' import generateAllMarkup, { markdown, reStructuredText, asciiDoc, } from './generate-image-markup' test(markdown, () => { given('https://img.shields.io/badge.svg', undefined, 'Example').expect( '![Example](https://img.shields.io/badge.svg)' ) given( 'https://im...
const { searchIndex } = require("../algolia"); const path = require("path"); const db = require("../db"); function tuncate(str, len) { const overflow = str.length - len; if (overflow < 0) { return str; } const half = Math.floor((len - 1) / 2); const start = str.slice(0, half); const end = str.slice(-...
var home_page_tab=location.href;if(home_page_tab.indexOf("blogger.com")!=-1){var starttab=-1;var endtab=-1}var $jtab1=jQuery.noConflict();$jtab1(document).ready(function(){var a="<div class='widget-wrapper'><ul class='tab-wrapper'></ul>";for(i=starttab;i<=endtab;i++){$jtab1("#"+sidebarname+" .widget h2").eq(i).hide();$...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[13],{ /***/ "./src/app/panel/identity-resources/add/identity-resource-add.component.ngfactory.js": /*!*******************************************************************************************!*\ !*** ./src/app/panel/identity-resources/add/identity-reso...
'use strict'; var fs = require('fs') , path = require('path') , browserify = require('browserify') , uglify = require('uglify-js'); var pkg = process.argv[2] , standalone = process.argv[3] , compress = process.argv[4]; var packageDir = path.join(__dirname, '..'); if (pkg != '.') packageDir = path.join(pack...
import {ajax} from 'jquery'; import authService from './authService'; const ALL_FIELDS = ` _id username firstName lastName email password createdDate updatedDate`; const LIST_FIELDS = ` _id username firstName lastName email`; class UserService { getList() { ...
(function () { 'use strict'; angular .module('products') .run(menuConfig); menuConfig.$inject = ['menuService', 'Authentication']; function menuConfig(menuService, Authentication) { } }());
module.exports = (sequelize, Sequelize) => { const artikel = sequelize.define("artikel", { title: { type: Sequelize.STRING }, description: { type: Sequelize.STRING }, image: { type: Sequelize.STRING } }); return artikel; };
webpackHotUpdate(0,{ /***/ "./node_modules/can-use-dom/index.js": /*!*******************************************!*\ !*** ./node_modules/can-use-dom/index.js ***! \*******************************************/ /*! dynamic exports provided */ /*! all exports used */ /***/ (function(module, exports) { var canUseDOM =...
import React from 'react' import PropTypes from 'prop-types' import NavLink from './NavLink' MobileNavItem.propTypes = { items: PropTypes.array, label: PropTypes.string, } MobileNavItem.defaultProps = { items: [], label: '', } export default function MobileNavItem({ items, ...props }) { if(!items) { re...
const c = require('colors'); module.exports = class { constructor (client) { this.client = client; } async execute (node, error) { console.log(c.red(`❌ [Lavalink] - Ocorreu um erro no Node ${node.identifier}.\nErro: ${error.message}`)); if (error.message.startsWith('Unable to connect after')) this.reconnect(...
let step = 'step1'; const step1 = document.getElementById('step1'); const step2 = document.getElementById('step2'); const step3 = document.getElementById('step3'); const step4 = document.getElementById('step4'); if (step === 'step1') { step = 'step2'; console.log(step1); step1.classList.remove("is-activ...
/*! For license information please see 18.8998f9a4.chunk.js.LICENSE.txt */ //# sourceMappingURL=18.8998f9a4.chunk.js.map
new Konami("https://www.linkedin.com"); var renderPage = function(data) { // hide preloader $('#preloader').fadeOut(300, function () { $(this).remove(); }); // repo name to category for repo mapping var repoToCategory = {}; var categories = {}; liRepoCategories.forEach(function(item) { var repos...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Observable_1 = require("../Observable"); var isArray_1 = require("../util/isArray"); var isFunction_1 = require("../util/isFunction"); var map_1 = require("../operators/map"); /* tslint:enable:max-line-length */ /** * Creates an Observabl...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const schema = new Schema ({ name: { type: String, required: [true, 'Patch name required.'] }, userId: { type: Schema.Types.ObjectId, ref: 'User' }, settings: { envelope: { atta...
"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 { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import { A as emberA } from '@ember/array'; import { get, set } from '@ember/object'; import { run } from '@ember/runloop'; import CollapseTree from 'ember-table/-private/collapse-tree'; // Cache is required for the row metas let rowMetaCa...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CacheService = void 0; const ttlcache_1 = require("@brokerloop/ttlcache"); class CacheService extends ttlcache_1.TTLCache { constructor(options) { super(options); this.options = options; } toArray() { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var core_1 = require("@angular/core"); var NebularFormInputsComponent = /** @class */ (function () { function NebularFormInputsComponent() { } NebularFormInputsComponent = tslib_1.__decorate([ ...
/*========================================================================================= File Name: moduleecommerce.js Description: ecommerce Module ---------------------------------------------------------------------------------------- ======================================================================...
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
import React, {Component} from "react"; import AppBar from 'material-ui/AppBar'; import FlatButton from 'material-ui/FlatButton'; import profileService from '../../../service/service/ProfileService'; import history from '../../../service/router/History'; import PubSub from 'pubsub-js'; import Popover, {PopoverAnimation...
// @flow export * from '@rmwc/tabs';
import * as React from "react" import { Link, graphql } from "gatsby" import Bio from "../components/bio" import Layout from "../components/layout" import Seo from "../components/seo" const BlogPostTemplate = ({ data, location }) => { const post = data.markdownRemark const siteTitle = data.site.siteMetadata?.titl...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) : typeof define === 'function' && define.amd ? define('angular-file', ['exports', '@angular/core', '@angular/common'], factory) : (global = type...
var fs = require('fs'); var _ = require('underscore'); var DefaultRules = load_rules('game_rules.json'); function load_rules(fn) { return JSON.parse(fs.readFileSync(__dirname + '/' + fn, {encoding: 'utf-8'})); } var Game = function(players, rules) { var self = { players: players.slice(0), ...
export class Aura{ constructor(app) { this.app = app; this.app.aura = this; } async requestAnswer(input) { var self = this; var app = self.app; let encodeInput = encodeURI(input); return await app.request.promise.get("https://practice.uffs.edu.br/api/v0/" + ...
import React from "react"; import { Provider } from "react-redux"; import "react-table-v6/react-table.css"; import PeopleList from "./components/PeopleList"; import configureStore from "./store/configureStore"; const store = configureStore(); function App() { return ( <Provider store={store}> <PeopleList />...
class semesterMapper { static toDto (semesterModel) { return semesterModel != null ? { id: semesterModel.idsemester } : null; } static toModel (semesterDto) { return { idsemester: semesterDto.id } } } module.exports = semesterMapper;
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var src_1 = require("../../../../src"); var MssqlEntity = /** @class */ (function () { function MssqlEntity() { } tslib_1.__decorate([ src_1.PrimaryColumn(), tslib_1.__metadata("desig...
import angular from 'angular'; import find from 'lodash/find'; import get from 'lodash/get'; import isEmpty from 'lodash/isEmpty'; import includes from 'lodash/includes'; import values from 'lodash/values'; export default class ExchangeUpdateSharedAccountCtrl { /* @ngInject */ constructor( $scope, Exchange...
// This example creates a 2-pixel-wide red polyline showing the path of // the first trans-Pacific flight between Oakland, CA, and Brisbane, // Australia which was made by Charles Kingsford Smith. function initMap() { const map = new google.maps.Map(document.getElementById("map"), { zoom: 3, center: { lat: 0,...
import { GraphQLServer } from 'graphql-yoga'; import resolvers from './graphql/resolvers'; const server = new GraphQLServer({ typeDefs: 'graphql/schema.graphql', resolvers }); server.start(() => console.log('Graphql Server Running...'));
const path = require('path'); const webpack = require('webpack'); module.exports = { devtool: 'eval', entry: [ 'webpack-hot-middleware/client', './src/index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: '/static/' }, plugins: [ new webpack.HotM...
import React from 'react'; import PropTypes from 'prop-types'; import {withStyles} from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import Paper from '@material-ui/core/Paper'; import Typography from '@material-ui/core/Typography'; import AppBar from '@material-ui/core/AppBar'; import Button ...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
'use strict'; var Joi = require('joi'), Boom = require('boom'); var defaultService = require('../services/defaultService'); var apiDataKeyPrefix = 'api-data:'; var getCustomResources = function(req, reply){ try{ var paths = req.params['custom'].match(/^(.*[/\\])([^/\\]+?)$/) || req.params['custom'];...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
import React from 'react' const Dummy = () => <div /> Dummy.dummyStaticProp = true export default Dummy
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Date: 24 September 2001 * ...
import Route from "@ember/routing/route"; import Product from "discourse/plugins/discourse-subscriptions/discourse/models/product"; export default Route.extend({ model() { return Product.findAll(); }, });
/** * 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...
const ethers = require("ethers"); const Web3 = require('web3'); const constVal = require('./const'); const fs = require("fs"); const readline = require("readline"); const stream = require("stream"); const util = require("util"); const rename = util.promisify(fs.rename); const unlink = util.promisify(fs.unlink); const l...
import { storiesOf } from '@storybook/polymer/dist/client/index' import { boolean, select } from '@storybook/addon-knobs' import textbox from '@lit-any/components-paper-elements/textbox' import docs from '../../notes/components/polymer-elements/textbox' import set from '../set-logger' storiesOf('lit-form/component se...
module.exports = { "env": { "node": true }, "repository": "git@github.com:carpathian-ninjas/eslint-config-base.git", "plugin": [ "graphql" ], "extends": [ "airbnb-base" ], "rules": { "import/extensions": [ "off" ], "no-multiple-empty-lines": [ "error", { ...
/*global QUnit*/ sap.ui.define([ "sap/ui/thirdparty/sinon-4", "sap/ui/thirdparty/jquery", "sap/ui/fl/Layer", "sap/ui/fl/Utils" ], function( sinon, jQuery, Layer, Utils ) { "use strict"; var sandbox = sinon.sandbox.create(); QUnit.module("sap.ui.fl.library", { beforeEach: function () { this.oSetConfig...
import UserInpSliderOpenArrow from "../Images/InputSliderOpenArr.svg"; import UserInpSliderCloseArrow from "../Images/CloseInputSliderArr.svg"; export function UserInpSliderSubroutine(state, ref1, ref2) { if (state === 0) { ref1.current.style.marginLeft = "1138px"; ref2.current.src = UserInpSliderCloseArrow; re...
module.exports={A:{A:{"2":"M D H F A B mB"},B:{"2":"C E q L O I J K"},C:{"1":"0 1 2 3 4 6 9 t u v w x y z LB BB CB DB EB FB HB IB JB","2":"5 jB AB G M D H F A B C E q L O dB cB","33":"8 I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s"},D:{"2":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W ...
import React, { Component } from "react"; import { Link } from "react-router-dom"; export default class PortfolioItem extends Component { constructor(props) { super(props); this.state = { portfolioItemsClass: "", }; } handleMouseEnter() { this.setState({ portfolioItemClass: "image-blur" }...
/** * Copyright (c) 2018 Public Library of Science * * 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,...
import { render } from '@testing-library/react' import { composeStories } from '@storybook/testing-react' import * as TaskListStories from './TaskList.stories' // Our stories imported here // composeStories will process all information related to the component (e.g., args) const { WithPinnedTasks } = composeStories(...
"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...
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module block-quote/blockquoteui */ import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; import ButtonView from '@ckeditor/ck...
import typescript from "rollup-plugin-typescript2"; import cleaner from 'rollup-plugin-cleaner'; import postcss from 'rollup-plugin-postcss' import pkg from './package.json'; const extensions = [".js", ".jsx", ".ts", ".tsx"]; const input = "src/index.tsx"; const plugins = [ postcss({ plugins: [], ...
define(['require', './PageView'], function(require, PageView) { return PageView.extend({ defaults: { toastTime: null }, // 如果想在页面载入时完成工作 route: function(options) { PageView.prototype.route.apply(this, arguments); }, postRoute: function() { ...
var mysql = require("mysql"); var connection; if (process.env.JAWSDB_URL) { connection = mysql.createConnection(process.env.JAWSDB_URL); } else { connection = mysql.createConnection({ host: "localhost", port: process.env.PORT || 3306, user: "root", password: "password", database: "burgers_db" ...
const cssLoader = function (stylesheet) { const link = document.createElement('link'); link.setAttribute('rel', 'stylesheet'); link.setAttribute('type', 'text/css'); link.setAttribute('href', stylesheet); document.getElementsByTagName('head')[0] .appendChild(link); }; document.addEventListener('DOMContentLoaded...
const Foo = function(a) { function bar() { return a; } this.bar = bar; this.baz = function() { return a; }; }; Foo.prototype = { biz: function() { return a; }, }; const f = new Foo(7); console.log(f.bar()); // undefined console.log(f.baz()); // undefined console.log(f.biz()); // undefine...
define( [ 'qunit', 'tests/mockup/mockup', 'osg/State', 'osg/StateSet', 'osg/Material', 'osg/Shader', 'osg/Program', 'osg/Texture', 'osgShader/ShaderGeneratorProxy' ], function ( QUnit, mockup, State, StateSet, Material, Shader, Program, Texture, ShaderGeneratorProxy ) { 'use str...
#!/usr/bin/env node 'use strict'; var net = require('net'), tls = require('tls'); var HTTPParser = process.binding('http_parser').HTTPParser; var http = require('http'), https = require('https'); var url = require('url'); function main() { //convert `-key value` to cfg[key]=value var cfg = process.argv.slice(2/*sk...
// Use env vars to hide sensitive information require('dotenv').config(); // Import sequelize to use to create the database connection const Sequelize = require('sequelize'); // Set up the database connection with credentials and db info const sequelize = process.env.JAWSDB_URL ? new Sequelize(process.env.JAWSDB_UR...
/** * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ /** * @module ui/list/listitemview */ import View from '../view'; /** * The list item view class. * * @extends module:ui/view~View */ export default class ListItemView extends View ...
jQuery( document ).ready(function() { uwp_wizard_check_plugins(); jQuery(document).on('click', '.uwp_install_plugins', function () { uwp_wizard_check_plugins(); }); }); function uwp_wizard_install_plugin( $slug,$nonce ) { var data = { 'action': 'install-plugin', '_...
var test = require('tape-catch'); var Window = require('src/window'); test('Window', function (assert) { var childWindow = Window(); var currentOrigin = window.location.origin; var url = window.nanyTestsFixturesBaseUrl + 'postmessage.html'; // add a message received signal handler var binding = ch...
'use strict'; const layerRecord = require('./layerRecord.js')(); const attribFC = require('./attribFC.js')(); /** * @class AttribRecord */ class AttribRecord extends layerRecord.LayerRecord { // this class has functions common to layers that have attributes get clickTolerance () { return this._tolerance; }...
import DatePicker from '@diff-dot/vue2-datepicker'; import he from 'date-format-parse/lib/locale/he'; const lang = { formatLocale: he, yearFormat: 'YYYY', monthFormat: 'MMM', monthBeforeYear: true, }; DatePicker.locale('he', lang); export default lang;
import React from 'react'; import { useState } from "react" import { Content } from "./components/layout/Content"; import { Header } from "./components/layout/Header"; import { ProjectsProvider, SelectedProjectProvider } from "./context"; import { firebase } from './firebase'; export const Hero = ({ darkModeDefault = ...
'use strict'; class BitCache { /* Attributes: - cache: int - cacheLength: int - data: Buffer | byte[] - dataCursor: int - appendings: (Buffer | byte[])[] */ constructor(...data) { this.cache = 0; this.cacheLength = 0; this.appendings = []; this.append(...data); } get cacheLength() { return thi...
import Ember from 'ember'; export default Ember.Component.extend({ opts: { chart: { type: 'scatter', height: 250 }, navigator: { enabled: false }, scrollbar: { enabled: false }, rangeSelector: { enabled: false }, xAxis: { type: 'datetime' },...
const fs = require("fs").promises; module.exports = async (path) => { try { const data = await fs.readFile(path, "binary"); let buffedData = new Buffer.from(data); return JSON.parse(buffedData.toString()); } catch (err) { console.log(err) } }
deepmacDetailCallback("0023d8000000/24",[{"d":"2008-10-08","t":"add","a":"Uusikatu 24 G 76\nOulu 90100\n\n","c":"FINLAND","o":"Ball-It Oy","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"Uusikatu 24 G 76 Oulu FI 90100","c":"FI","o":"Ball-It Oy"}]);
(function() { 'use strict'; var upload$1 = Object.freeze({ __proto__: null, get track () { return track$1; }, get start () { return start$c; }, get queue () { return queue; }, get stop () { return stop$b; }, }); var limit = Object.freeze({ __proto_...
/* @flow strict-local */ import isEqual from 'lodash.isequal'; import type { Auth, FlagsState } from '../types'; import type { Props } from './MessageList'; import type { UpdateStrategy } from '../message/messageUpdates'; import htmlBody from './html/htmlBody'; import renderMessagesAsHtml from './html/renderMessagesAs...
module.exports = async (kbnServer, server, config) => { let { isWorker } = require('cluster'); if (!isWorker) { throw new Error(`lazy optimization is only available in "watch" mode`); } /** * When running in lazy mode two workers/threads run in one * of the modes: 'optmzr' or 'server' * * opt...
import { CDN_HOST_URL } from './config'; import { html, css, unsafeCSS } from 'lit-element'; import { PageViewElement } from './page-view-element.js'; import { updateMetadata } from 'pwa-helpers/metadata.js'; import { SharedStyles } from './style-shared'; import { TypographyStyle } from './style-typography'; import {...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built require({cache:{"jimu/dijit/LayerChooserFromMap":function(){define("dojo/on dojo/Evented dojo/_base/decl...
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const HTMLElement = require("./HTMLElement.js"); const impl = utils.implSymbol; const mixin = utils.mixin; const LinkStyle = require("./LinkStyle.js"); function HTMLStyleElement() { throw new TypeError("Illegal con...
import React from 'react'; import { mount } from 'enzyme'; import Child from './../child'; describe('<Child/>', () => { it('should render the PrimitiveCheckbox component when isChecked prop has the right value', () => { [true, false, 'indeterminate'].forEach(value => { const component = mount(<...
import defaultState from './state'; // import fetch from 'isomorphic-fetch'; import { SubscriptionClient } from 'subscriptions-transport-ws'; import { WebSocketLink } from 'apollo-link-ws'; import { parse } from 'graphql'; import { execute } from 'apollo-link'; import { getHeadersAsJSON } from './utils'; import { sav...