text
stringlengths
2
1.04M
import React, { useContext } from 'react' import { BrowserRouter as Router, Route, Redirect, Switch } from 'react-router-dom'; import Nav from "../components/Nav"; import Login from "../components/Login"; import Register from "../components/Register"; import { Container } from "../components/Grid"; import Protected...
/* * Copyright (c) 2020-present unTill Pro, Ltd. */ import { ResponseDataPretifier } from 'airc-shell-core'; const pretifyData = (fields, responseData) => { const builder = new ResponseDataPretifier(); builder.prepare(fields); return builder.build(responseData); }; export default pretifyData;
import React from 'react'; import slovicka from 'json!../slovickaJSON.json'; //need to install json-loader import {convertStringToArray} from '../helpers/dictionary'; class AddNewWord extends React.Component{ addWord(e){ e.preventDefault(); const newWord = { meaningCZ: convertStringToArray(this.cz....
import App from './App.js'; const app = new App(document.querySelector('.todoapp'));
/* var AuthorizedPII1 = artifacts.require('AuthorizedPII') var AuthorizedPIIRelay1 = artifacts.require('./AuthorizedPIIRelay.sol') contract('AuthorizedPIIRelay', async(accounts) => { */ /* it('Relay Test 9: No public function should return any output, since contract is killed. ',async()=> { const us...
// @flow const {join} = require('path'); const glob = require('glob'); const {promisify} = require('util'); const findUp = require('find-up'); const file = require('./file.js'); const utils = { findUp, globAsync: promisify(glob) }; const pathUtils = { utils, /** * Resolves the mono repo root by traveling...
/* istanbul ignore file */ // @flow import walkNode from 'walt-parser-tools/walk-node'; import Syntax from 'walt-syntax'; import { GLOBAL_INDEX, TYPE_CONST } from '../semantics/metadata'; import { opcodeFromOperator, getTypecastOpcode } from '../emitter/opcode'; import { parseBounds } from './resizable-limits'; import ...
// We override only the things we need to -- the rest we'll just inherit from // original-harness.js. Polymorphism, kind of. ReflectionHarness.catchUnexpectedExceptions = false; ReflectionHarness.test = function(expected, actual, description) { test(function() { assert_equals(expected, actual); }, this.getTyp...
export default [ { username: 'slayqueen', userImage: 'https://picsum.photos/300?image=1027', postImage: 'https://picsum.photos/500/?random', likes: 36, hasBeenLiked: false, caption: 'Random World...️', filter: 'perpetua' }, { username: 'Lyon', userImage: 'https://picsum.p...
import * as React from "react"; function IconDiamonds({ size = 24, color = "currentColor", stroke = 2, ...props }) { return <svg xmlns="http://www.w3.org/2000/svg" className="icon icon-tabler icon-tabler-diamonds" width={size} height={size} viewBox="0 0 24 24" strokeWidth={stroke} stroke={color} fill="none" ...
this.workbox = this.workbox || {}; this.workbox.expiration = (function (exports, assert_js, dontWaitFor_js, logger_js, WorkboxError_js, DBWrapper_js, deleteDatabase_js, cacheNames_js, getFriendlyURL_js, registerQuotaErrorCallback_js) { 'use strict'; try { self['workbox:expiration:5.1.3'] && _(); } ca...
JSMessageStack = function () { this._stack = []; this.hasMessage = function (text) { for (var i = 0, c = this._stack.length; i < c; i++) { var entry = this._stack[i]; if ( entry && entry.msg == text ) { return entry; } } return false; } this.remove = function (entry) { this._stack[entry.ind...
/** * Copyright (C) 2020, ControlThings Oy Ab * * 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 * * @license Apache-2.0 */ var WishApp =...
// obviously remove "-original" from title. // NOT USED for mountain home //not used, just here for storage and re-use later import React from 'react' import variables from '../../components/variables.js' import Image from './textImage.js' import style from './textOverImage.module.scss' // pass in picture path, text ...
/** * Bootstrap Multiselect (https://github.com/davidstutz/bootstrap-multiselect) * * Apache License, Version 2.0: * Copyright (c) 2012 - 2015 David Stutz * * 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 * c...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import axios from 'axios'; import {NotificationContainer, NotificationManager} from 'react-notifications'; class TableRow extends Component { constructor(props) { super(props); this.delete = this.delete.bind(this); ...
(function () { var db = { loadData: function (filter) { return $.grep(this.clients, function (client) { return ( (!filter.Name || client.Name.indexOf(filter.Name) > -1) && (filter.Age === undefined || client.Age === filter.Age) && (!filter.Address || client.Address.inde...
import styled from "styled-components"; export const RepositoriesContainer = styled.section` overflow-y: scroll; background-color: ${(props) => props.theme.colors.background}; &::-webkit-scrollbar { width: 10px; } &::-webkit-scrollbar-thumb { background: ${(props) => props.theme.colors.secondary}; ...
(function () { angular .module('app') .controller('UsageController', [ng-fusioncharts, UsageController ]); function UsageController() { var vm = this; // TODO: move data to the service vm.ramChartData = [{key: 'Memory', y: 768660}, { key: 'Cache', y:...
require('./bootstrap'); import "tailwindcss/tailwind.css" window.Vue = require('vue').default; //vue progress bar import VueProgressBar from 'vue-progressbar' Vue.use(VueProgressBar, { color: '#4331d8', failedColor: '#4331d8', thickness: '5px', transition: { speed: '1s', opacity: '1s', ...
module.exports = new Date(1981, 1, 12)
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveLocation = undefined; 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...
import rightfrog from './rightfrog' export default rightfrog
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
var successCss="background: rgb(223, 240, 216); color: rgb(60, 118, 61);";var infoCss="background: rgb(217, 237, 247); color: rgb(49, 112, 143);";var warningCss="background: rgb(252, 248, 227); color: rgb(138, 109, 59);";var dangerCss="background: rgb(242, 222, 222); color: rgb(169, 68, 66);";var dangerCount=0;console....
/* Types of Numbers */ const armstrong = require("./armstrong"), automorphic = require("./automorphic"), fibonacci = require("./fibonacci"), magic = require("./magic"), neon = require("./neon"), palindrome = require("./palindrome"), prime = require("./prime"), factorial = require("./factorial"), catalan = requ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {Fiber} from './ReactFiber'; import type {FiberRoot} from './ReactFiberRoot'; import type {ExpirationTime}...
import { Button } from '../button' import * as S from './styles' export function Sidebar() { return ( <S.Aside> <Button kind="primary">Primary </Button> <Button kind="secondary">Secondary</Button> </S.Aside> ) }
var searchData= [ ['compressed_5fpair',['compressed_pair',['../classiffl_1_1compressed__pair.html',1,'iffl']]], ['compressed_5fpair_3c_20allocator_5ftype_2c_20buffer_5ft_3c_20buffer_5fvalue_5ftype_20_3e_20_3e',['compressed_pair&lt; allocator_type, buffer_t&lt; buffer_value_type &gt; &gt;',['../classiffl_1_1compress...
const GoogleStrategy = require('passport-google-oauth20').Strategy const User = require('../models/User') //googleuser passport module.exports = function (passport) { passport.use( new GoogleStrategy( { clientID: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT...
var passport = require('passport'), LocalStrategy = require('passport-local').Strategy, User = require('mongoose').model('User'); module.exports = function() { //register the strategy for the passport passport.use(new LocalStrategy(function(username, password, done) { User.findOne({ username: usern...
const Database = require('sqlite-async') function execute(db){ //criar as tabelas return db.exec(` CREATE TABLE IF NOT EXISTS proffys ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, avatar TEXT, whatsapp TEXT, bio TEXT ); CREATE TABLE IF NOT EXISTS classe...
// Service for running code in the context of the application being debugged angular.module('panelApp').factory('appContext', function (chromeExtension) { // Public API // ========== return { // TODO: Fix selection of scope // https://github.com/angular/angularjs-batarang/issues/6 executeOnScope: fun...
/** * Copyright 2020 Dries Rascar 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, ...
function requireDefault$__(obj){ return obj && obj.__esModule ? obj : { default: obj }; }; Object.defineProperty(exports, "__esModule", {value: true}); /*body*/ var _$ApplicationExceptionφ = requireDefault$__(require('../../../Foundation/Exceptions/ApplicationException'/*$path$*/)); class MissingAppKeyException exte...
widget = { onData: function (el, data) { if (data.title) { $('h2', el).text(data.title); } var $content = $('.content', el); $content.empty(); if (data.quotes.length > 0) { data.quotes.forEach(function (quote) { $content.append( "<blockquote>" + quote.quote + "<cit...
import React, { Component } from 'react' import PropTypes from 'prop-types' import PrismCode from 'react-prism' import prismjs from 'prismjs' import { mainGroup, progressGroup, trackGroup, pointerGroup } from './Controls' import 'prismjs/themes/prism.css' import './ImplementationCode.scss' class ImplementationCode ext...
/** * Default maximum allowed threshold (in pixels) for reprojection * triangulation. * @type {number} */ export const ERROR_THRESHOLD = 0.5; /** * Enable automatic reprojection of raster sources. Default is `true`. * TODO: decide if we want to expose this as a build flag or remove it * @type {boolean} */ exp...
export default{ addCount(state,payload){ payload.count ++ ; }, addToCart(state,payload){ payload.checked = true; state.cartList.push(payload); } }
import React, { useState, useEffect } from "react"; import moment from "moment"; import TimePicker from "react-bootstrap-time-picker"; import DayPicker from "react-day-picker"; import "react-day-picker/lib/style.css"; import swal from "sweetalert"; import Calendar from "../components/Calendar"; import { useHistory } fr...
var serializeAgents = require('nypl-registry-serialization-agents') if (process.argv[2] && process.argv[2].toLowerCase() === 'shadowcatviaf') { console.log('shadowcatSerializeViafAgents') serializeAgents.shadowcatSerializeViafAgents(() => { console.log('shadowcatSerializeViafAgents done') process.exit(0) ...
import Block from "./block.js"; export default class Shortcut extends Block { static get toolbox() { return { title: 'Shortcut', icon: '<svg height="18" width="18" viewBox="0 0 122.88 115.71"><path d="M116.56 3.69l-3.84 53.76-17.69-15c-19.5 8.72-29.96 23.99-30.51 43.77-17.95-26.98-7.46-50.4 12.46-65.97L64.96 3...
import PropTypes from 'prop-types'; import React, {PureComponent} from 'react'; import i18n from '../../lib/i18n'; import Modal from '../../components/Modal'; import ToggleSwitch from '../../components/ToggleSwitch'; class ZProbe extends PureComponent { static propTypes = { actions: PropTypes.object, state...
/** @jsx jsx */ /** @jsxRuntime classic */ import { Link, jsx } from 'theme-ui' import Checkbox from '../../Fields/Checkbox' import ErrorMessage from '../../Fields/Error' import Label from '../../Fields/Label' import ReactMarkdown from 'react-markdown' const QuestionMultipleCheckboxes = ({ component, form, question,...
import { h } from 'vue' export default { name: "Angellist", vendor: "Fa", type: "Brand", tags: ["angellist"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 448 512","class":"v-icon","fill":"currentColor","data-name":"fa-angellist","innerHTML":"<path d='M347.1...
'use strict'; document.addEventListener('DOMContentLoaded', function () { // Cookies var cookieBookModalName = 'bulma_closed_book_modal'; var cookieBookModal = Cookies.getJSON(cookieBookModalName) || false; // Sidebar links var $categories = getAll('#categories .bd-category'); if ($categories.length >...
import Vue from 'vue' import App from './App.vue' import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome' Vue.config.productionTip = false // font-awesome Vue.component('font-awesome-icon', FontAwesomeIcon) new Vue({ render: h => h(App) }).$mount('#app')
'use strict'; describe('bMaps.version module', function() { beforeEach(module('bMaps.version')); describe('app-version directive', function() { it('should print current version', function() { module(function($provide) { $provide.value('version', 'TEST_VER'); }); inject(function($comp...
(function () { 'use strict'; // These are my notes from learning about canvas :) /* This elements has a method that allows us to get a 'contex'. context is used to create and manipulate content shown in the canvas. to display something, a script first needs to access the rendering context and draw on it. '2d'...
import React from 'react'; export default React.createContext({ isAuthenticated: false, setIsAuthenticated: (value) => {} })
import React from 'react'; import RaceDetail from '../components/RaceDetail'; import Enzyme, {mount} from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; Enzyme.configure({adapter: new Adapter()}); describe('<RaceDetail />', () => { test('should include race, start, horse, driver and trainer information'...
/** * Module dependencies. */ var express = require('express'), routes = require('./routes'), http = require('http'), path = require('path'); var app = express(); // all environments app.set('port', process.env.app_port || 3000); app.set('views', __dirname + '/views'); app.set('view engine', 'jade'); app.use...
'use strict'; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
import { newElment, newList } from './common'; export default class Home { constructor(container) { this.container = container; this.section = newElment('section', undefined, ['frames-container']); } generateLocations(amount, link) { for (let i = 0; i < amount; i += 1) { const frameContainer =...
module.exports = { siteMetadata: { title: "Chris Online", author: "Chris Online", description: "", }, plugins: [ { resolve: "gatsby-plugin-google-tagmanager", options: { id: "GTM-NQQ2NXW", // Include GTM in development. // // Defaults to false meaning GTM will only be loaded in product...
import { HIGH_SEVERITY, MEDIUM_SEVERITY, LOW_SEVERITY, UNKNOWN_SEVERITY } from '../Constants'; import { conditionalFilterType } from '@redhat-cloud-services/frontend-components/ConditionalFilter'; const filterRulesWithAllValues = (rules, values, valueCheck) => rules.filter((rule) => ( values.map((value) => val...
import DateSelector from './DateSelector'; import MatchCard from './MatchCard'; export { DateSelector, MatchCard };
import React, { useState, useRef, useEffect } from "react"; import PropTypes from "prop-types"; import { dragNodeService, selectNodeService } from "./service"; import "./ChartNode.css"; const propTypes = { datasource: PropTypes.object, frozenNodes: PropTypes.arrayOf(PropTypes.string), NodeTemplate: PropTypes.ele...
/(.*)$/gi;
/* * popcorn.js version 1.3 * http://popcornjs.org * * Copyright 2011, Mozilla Foundation * Licensed under the MIT license */ (function(global, document) { // Popcorn.js does not support archaic browsers if ( !document.addEventListener ) { global.Popcorn = { isSupported: false }; var meth...
import uuid from 'uuid' import dynamoDb from './libs/dynamodb-lib' export const main = async (event, context) => { const data = JSON.parse(event.body) const params = { TableName: process.env.TableName, Item: { userId: event.requestContext.identity.cognitoIdentityId, noteId: uuid.v1(), co...
angular.module('Billing').controller('BillingHistoryDebtPayCtrl', class BillingHistoryDebtPayCtrl { constructor($q, $state, $stateParams, $translate, $window, Alerter, OvhApiMe) { // Injections this.$q = $q; this.$state = $state; this.$stateParams = $stateParams; this.$translate = $translate; ...
const fs = require('fs'); const path = require('path'); const dirname = path.join(__dirname, 'files'); const currentFiles = fs.readdirSync(dirname); const logWithTime = (message) => console.log(`${new Date().toUTCString()}: ${message}`); fs.watch(dirname, (eventType, filename) => { if (eventType === 'rename') { ...
export function updateChart(expenseChart, name, price) { expenseChart.data.labels.push(name); expenseChart.data.datasets.forEach((dataset) => { dataset.data.push(price); }); expenseChart.update(); } export function resetChart(expenseChart) { expenseChart.data.labels = []; expenseChart.data.datasets.for...
export const UserPlays = { label: "UserPlays", description: `UserInteraction and its subtypes is an old way of talking about users interacting with pages. It is generally better to use Action-based vocabulary, alongside types such as Comment.`, _id: { viewableBy: ["guests"], editableBy: ["members"], i...
import React, { Component } from 'react' import * as d3Selection from 'd3-selection' import { isDomainEquals } from './utils' class Dots extends Component { constructor(props, context) { super(props, context) this.state = { xDomain: props.xScale.domain(), yDomain: props.yScale.domain(), } ...
import authorImg from '../walle-john.jpeg'; const Quote = () => ( <div className="quoteDiv"> <img src={authorImg} alt="author" /> <p> Mathematics is much more than computation with pencil and a paper and getting answers to routine exercises. In fact, it can easily be argued that computation...
import React, { Fragment, useState, useEffect } from 'react'; import Planet from './planet' import Form from './forms' async function getPlanets() { const response = await fetch('http://localhost:3000/api/planets.json') const data = await response.json() return data } const Planets = () => { const [planets, s...
// dependencies const Repository = require('gitsheets/lib/Repository') const convertRecord = require('./convertRecord') const slateLoadMappings = require('./mappings/load') const slateExtractMappings = require('./mappings/extract') // constants const RELATED_INSERT_RE = /^\/(?<field>relationships|contact_points)\/(?<p...
var should = require('should'); var Pupa = require('..'); describe('Pupa', function() { it('should throw if projection which do not exist is accessed', function() { var pupa = new Pupa(); pupa.projections('test').should.be.ok; }); it('should return projection after previously created it', function() { var pup...
export default function createData() { let data = [], increment = Math.PI / 18, k = 10, a = 0, i, ln; for (i = 0, ln = 100; i < ln; i++) { data.push({ x: a, sin: k * Math.sin(a), cos: k * Math.cos(a) }); a += increment;...
const Discord = require("discord.js") const ms = require('ms'); exports.run = async(client,msg,args) => { var verify = msg.guild.emojis.cache.find(emoji => emoji.name === 'yes'); // Define confirmation emoji let id = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); var us...
function calcular(idarticulos) { temp1 =( ( document.getElementById('costo_inicial'+idarticulos).value * document.getElementById('porcentaje_incremento'+idarticulos).value * 1) / 100) + ( document.getElementById('costo_inicial'+idarticulos).value * 1 ) ; document.getElementById('precio_costo'+idarticulos).value = tem...
function my_function700(){ //71932540949233353104241659028488oDFmoVLGtDDwMNColEwVfNDJkDWgBoVC } function my_function896(){ //43160933791974345043446418790430ohaQEIsvHmSBxePwjxFoZsnXbSPHgyko } function my_function393(){ //50080192969802924161125984614158cWxtnqrtUWLhZRoKRBmzshbBtEwVgsks } function my_function106(){ /...
/* * This code is for Internal Salesforce use only, and subject to change without notice. * Customers shouldn't reference this file in any web pages. */ window.undefined=window.undefined;VFExt3={version:"3.2.2",versionDetail:{major:3,minor:2,patch:2},apply:function(d,e,c){c&&VFExt3.apply(d,c);if(d&&e&&"object"==type...
(function () { 'use strict'; angular .module(HygieiaConfig.module) .controller('monitorViewController', monitorViewController) .controller('monitorStatusController', monitorStatusController); monitorViewController.$inject = ['$scope', 'monitorData', 'DashStatus', '$uibModal', '$q',...
"use strict"; exports.__esModule = 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]; } } } return target; }; var _react = requi...
const dataURItoBlobURL = function(dataURI) { // convert base64 to raw binary data held in a string let byteString = atob(dataURI.split(',')[1]); // separate out the mime component let mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0]; // write the bytes of the string to an ArrayBuffer...
import { print } from '../../../util'; import printHelp from '../printHelp'; import { mockPrint } from '../../../../tests/util'; describe('printHelp', () => { it('prints help', () => { const output = []; mockPrint(print, output); printHelp(); expect(output).toMatchInlineSnapshot(` Array [ ...
(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...
// Relations var assert = require('assert'); var throws = require('./throws'); module.exports = testRegistryRelations; function testRegistryRelations(ctx) { describe('#addChildTo(idOrObj, pidOrObj)', function(){ it('adds'); }); describe('#removeChildFrom(idOrObj, pidOrObj)', function(){ it('removes');...
$(function(){ var $ppc = $('.progress-pie-chart'), percent = parseInt($ppc.data('percent')), deg = 360*percent/100; if (percent > 50) { $ppc.addClass('gt-50'); } $('.ppc-progress-fill').css('transform','rotate('+ deg +'deg)'); $('.ppc-percents span').html(percent+'%'); });
'use strict'; const expect = require('chai').expect; const { parseObj } = require('../src/common-utils/index'); const { constructAdditionalParams } = require('../src/common-utils/index'); describe('test common util methods', () => { it('test parse object to query params', () => { const expectedParam = '&ke...
// Import this file in all unit tests! // Libraries import Vue from "vue"; import Vuetify from "vuetify"; import VueRouter from "vue-router"; import axios from "axios"; import VueAxios from "vue-axios"; import { createLocalVue } from "@vue/test-utils"; // Vuetify needs to be registered globally Vue.use(Vuetify); //Mo...
// const { Issuer } = require('openid-client'); const KeycloakAdminClient = require('keycloak-admin').default; const log = require('npmlog'); const Problem = require('api-problem'); const errorToProblem = require('./errorToProblem'); // This is DOSing SSO // const refreshToken = (svc) => setInterval(async () => { // ...
/* This script will upload data to sql table based on the called function's expected input */ const sqlString = require('sqlstring') const start = require('./connect.js') //Add income to db , retirieves this income's ID and sends it to fundIncome to //to upload to its table function income(input,fund,callback){ v...
// Parts of implementation taken from es6-shim project // See: https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js 'use strict'; var expm1 = require('../expm1') , abs = Math.abs, exp = Math.exp, e = Math.E; module.exports = function (x) { if (isNaN(x)) return NaN; x = Number(x); if (x === 0) return x...
/* Copyright Microsoft 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 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR C...
#!./node_modules/.bin/babel-node /* eslint-disable censor/no-swear */ import { spawn } from 'child_process'; import path from 'path'; import semver from 'semver'; const { platform, versions } = process; const nodeVersion = versions.node; console.log(JSON.stringify({ platform, versions })); // eslint-disable-next-lin...
require(`katex/dist/katex.min.css`);
import React from 'react'; import {Anchor,Grid} from '@lugia/lugia-web'; import EditTables from '../../edit-table'; import FooterNav from '../../footer-nav'; import PageNavHoC from '../../common/PageNavHoC'; import widgetrouter from '../../router/widgetrouter'; import LAYOUT from '@lugia...
'use strict'; import _ from 'lodash'; import config from 'config'; import Joi from 'joi'; import Base from '../../common/entity/base'; import reminderSchema from '../schema'; /** * The Reminder Entity * @class Reminder * @summary Provides helper for database CRUD ops on Reminder * @author Anoop M D <anoo...
module( "progressbar: core" ); test( "markup structure", function() { expect( 5 ); var element = $( "#progressbar" ).progressbar(); ok( element.hasClass( "ui-progressbar" ), "main element is .ui-progressbar" ); ok( !element.hasClass( "ui-progressbar-indeterminate" ), "main element is not .ui-progressbar-indeterm...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequire...
 CKEDITOR.plugins.setLang( 'placeholder', 'cs', { placeholder : { title : 'Vlastnosti vyhrazeného prostoru', toolbar : 'Vytvořit vyhrazený prostor', text : 'Vyhrazený text', edit : 'Upravit vyhrazený prostor', textMissing : 'Vyhrazený prostor musí obsahovat text.' } });
/*** * KMConnectorBLE.js * version 0.1.0 alpha * Created by Harada Hiroshi on 2017/12/07. * * Copyright (c) 2017 Keigan Inc. https://keigan-motor.com/ * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ 'use strict'; module.exports = { KMUtl: require('./lib...
/** * * @param {[]} worker */ function solve(tokens) { const log = {}; for (const info of tokens) { let [town, product, price] = info.split(' | ').filter(x => x); if (log[product]) { log[product] = log[product].price <= Number(price) ? log[product] : { town, price: Number(price)...
export default '4.13.1';
'use strict'; class GLBoiler { canvas; gl; constructor(canvas, options) { this.canvas = canvas; this.gl = this.getContext(options); }; // --- Static functions --- static getCanvasByTag() { return document.querySelector('canvas'); }; static getContext(canvas, options) { return canvas.g...
window.AudioContext = window.AudioContext || window.webkitAudioContext; var audioContext = null; var isPlaying = false; var sourceNode = null; var analyser = null; var theBuffer = null; var DEBUGCANVAS = null; var mediaStreamSource = null; var isPlatying = true; var recordB = false; var detectorElem, canvasElem, wav...