text
stringlengths
3.07k
16k
let zsous, dosous, cislo, vysledek, bpocitej; let ci = 0; const abeceda = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', ]; function setup() { noCanvas(); createP('Číslo:'); cis...
require('colors'); var wd = require('wd'); var dataUtil = require("../util/date-utility"); var loginPage = require("../support/pages/loginpo"); var userAccountAction = require("../support/pages/userSignOut"); var session = require("../support/setup/browser-session"); var studyBitCreation = require("../support/pages/cr...
{ "translatorID": "276cb34c-6861-4de7-a11d-c2e46fb8af28", "label": "Semantic Scholar", "creator": "<NAME>", "target": "^https?://(www\\.semanticscholar\\.org/paper/.+|pdfs\\.semanticscholar\\.org/)", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSup...
class Node { constructor(val){ this.val = val; this.next = null; this.prev = null; } } class DoublyLinkedList { constructor(){ this.head = null; this.tail = null; this.length = 0; } //Push: adds a node to the end of the list //Create new node with value passed in //Check if head ...
import { Button, Divider, Heading, HStack, Icon, Input, Stack, Text, useColorModeValue, Alert, AlertIcon, AlertTitle, CloseButton, } from "@chakra-ui/react"; import * as React from "react"; import { HiOutlineChat, HiOutlineMail, HiOutlinePhone } from "react-icons/hi"; import { ProductItem } fr...
var express = require("express"); var router = express.Router(); var multer = require("multer"); var db = require("./db"); const upload = multer(); var bcrypt = require("bcrypt"); const conn = require("./db"); const { getTimeAsString } = require("./mydate"); const conn2 = require("./asyncdb"); const saltRounds = 10; r...
'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 = ...
console.log("2. <NAME>...") let search_text_u1 = document.getElementById("user1") let search_text_u2 = document.getElementById("user2") search_text_u2.addEventListener('keyup', (event) => { var key = event.key; var code = event.code; console.log(`Key pressed ${key} \r\n Key code value: ${code}`); sear...
let player = null let score = 0 let quizList = null let timeleft = 15 let quizleft = 10 let rank = localStorage.rank ? JSON.parse(localStorage.rank) : [] let status = true //获取题目 $.get('quiz.json').then(function (res) { quizList = res }) //输入框浮动效果 $('.welcomePage .input input').focus(function () { $(...
import React from "react"; import { edit_hover_container, edit_hover_pencil } from "css/app.css"; import TagsEditable from "components/tags-editable"; import * as ObjectUtil from "util/object-util"; import pick from "languages"; const tags_tr = pick({ en: "Tags" }); const your_tags_here_tr = pick({ en: "Your t...
/** * Copyright 2014 IBM Corp. 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 applica...
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import { createElement } f...
/* *** Setting up hlf client constants */ 'use strict'; var fs = require('fs'); const FabricCAServices = require('fabric-ca-client'); const { FileSystemWallet, Gateway, X509WalletMixin } = require('fabric-network'); const path = require('path'); const MSG_IDENTIFIER = 'msg'; const SIG_IDENTIFIER = 'sig'; const walle...
import * as React from "react"; import firebase from "firebase"; //---Gets the name of the button and return an object from firebase async function getName(nameOfGerm) { //find reference to the part of database containing germs let con = firebase.database().ref("germs"); //takes a slice of this data bas...
#!/usr/bin/env bash imports=imports// exec gjs -I $(dirname $0)/../../dist -I $(dirname $0)/../../src -I $(dirname $0) $0 $* /** * @type {import('../../src/nogui')} * nogui module loaded from ../../dist/nogui.js (see shebang). */ const nogui = imports.nogui /** @type {import('./gjs_testing.js')} */ const gt = impor...
// dependencies // npm i --save-dev jasmine karma karma-sauce-launcher karma-failed-reporter karma-jasmine karma-spec-reporter webpack karma-webpack karma-chrome-launcher karma-sourcemap-loader babel-core babel-loader babel-preset-es2015 babel-plugin-istanbul var baseLaunchers = { SL_CHROME: { base: 'SauceLabs', ...
var contests = require("../models/contests"); var participation = require("../models/participation"); var moment = require("moment"); var problems = require("../models/problems"); const scrape = require('../scrapers/contestScraper').scrape; /**Display the user contests page * route: /contests */ exports.showContests...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SubmitButton = void 0; const color_1 = require("@anderjason/color"); const observable_1 = require("@anderjason/observable"); const web_1 = require("@anderjason/web"); const skytree_1 = require("skytree"); const LoadingIndicator_1 = req...
import React, { useState, useEffect } from 'react'; import { View, Text, Image } from '@tarojs/components'; import Taro from '@tarojs/taro'; import { AtMessage, AtButton, AtFloatLayout, AtRadio } from 'taro-ui'; import { useSelector } from 'react-redux'; import './shareSign.css'; import { host } from '../../config'; i...
// Copyright (c) 2019 YA-androidapp(https://github.com/YA-androidapp) All rights reserved. // let faceCascadeFile = 'haarcascade_frontalface_default.xml'; let faceCascadeFile = 'lbpcascade_animeface.xml'; // //////////////////// //TODO: エクスポート結果ファイルに記載の正解ラベルを転記するか、tfjsディレクトリ内にclass.jsonを用意 classes = []; // (ex.) ['1'...
import { Snackbar } from '../snackbar.js' import { ApiUserUpdate, ApiUserDelete, ApiUserProblems } from '../../controller/user.js' import { ProblemEvent } from '../lecture/problem.js' import { router } from '../../router.js' import { SelectLayout } from '../lecture/layout.js' import { MenuUrlCheck } from '../lecture/me...
const R = require('ramda'); const { isExtension, hasKey, hasValue, getValue, } = require('../../predicates'); const { createWarning, createUnsupportedMemberWarning, createInvalidMemberWarning, } = require('../annotations'); const pipeParseResult = require('../../pipeParseResult'); const parseObject = require('....
/* An example of chaining multiple requests together, using the output of one to construct the next. You can run this locally with `node chained-requests.js` (be sure to `npm install` first!) Note that running locally may trigger an unhandled promise which is handled when running in New Relic. For further docs see...
import './App.css' import React, { useState, useEffect } from 'react' import StartScreen from './StartScreen' import ProjectScreen from './ProjectScreen' import EditProjectDialog from '../components/EditProjectDialog' import EditApiKeyDialog from '../components/EditApiKeyDialog' import ShortcutsDialog from '../compon...
/* jshint globalstrict: true */ /* global require */ /* global module */ "use strict"; var convert = require("./convert"); var Promise = require("rsvp").Promise; var cropping = require("./cropping"); var logging = require("./logging"); var merge = require("./merge"); function set_default_options(item) { var option...
const uid = require('uid2'); const readLine = require('./modules/readline'); const { loadConfig } = require('./modules/helpers/GeneralHelper'); const MongoAdapter = require('./modules/MongoAdapter'); const ConsoleMenu = require('./modules/ConsoleMenu'); const UsersService = require('./services/UsersService'); const App...
var dates = {}; var LOADING_IMAGES = []; function FillYear(fill = false) { $('#picker>[name="year"]').empty(); for (var year in dates) { $('#picker>[name="year"]').append($('<option>', { value: year, text: year })); } FillMonth(fill); } function FillMonth(fill =...
import { __awaiter, __decorate, __metadata } from "tslib"; import { Component, Input } from '@angular/core'; import { LocalDataSource } from 'ng2-smart-table'; import { first, takeUntil } from 'rxjs/operators'; import { Subject, forkJoin } from 'rxjs'; import { PriceCountInputComponent } from '../../../render-component...
//Import Model const userModelMahasiswa = require('../models/userModelMahasiswa'); const sessionModel = require('../models/sessionModel'); //Import Library const md5 = require('md5'); const restClient = require('node-rest-client').Client; const rClient = new restClient(); //Import etc const global = require('../globa...
const library = require('./library'); const { expect } = require('chai'); const { findBook } = require('./library'); describe("Test library", function () { describe("Test calcPriceOfBook ", function () { it("incorrect input", function () { expect(() => library.calcPriceOfBook(2, 2)).to.throw('...
'use strict'; var _ = require('underscore'); var Backbone = require('backbone'); ;(function(Backbone) { // The super method takes two parameters: a method name // and an array of arguments to pass to the overridden method. // This is to optimize for the common case of passing 'arguments'. function _super(me...
/** * Created by hulingfangzi on 2018/6/20. */ import React, { Component } from 'react'; import { inject, observer } from 'mobx-react'; import { Button, Form, Select, Table, Tooltip } from 'choerodon-ui'; import { injectIntl, FormattedMessage } from 'react-intl'; import { withRouter } from 'react-router-dom'; import ...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
var restify = require('restify'), fs = require('fs'), http = require('http'), winston = require('winston'), moment = require('moment'), sqlite3 = require('sqlite3').verbose(); var data_dir = process.env.DATA_DIR || __dirname, schedule_file = data_dir + '/schedule.json', database_file = data_dir + '/server_votes...
/* * @Author: dingxizheng * @Date: 2016-01-31 18:56:08 * @Last Modified by: dingxizheng * @Last Modified time: 2016-03-01 21:40:30 */ 'use strict'; var React = require('react-native'); var Actions = require('react-native-router-flux').Actions; var BlurView = require('react-native-blur').BlurView; var I...
//@flow import template from '../templates/verticalLayoutComponent.html'; import DropzoneView from './DropzoneView'; import ComponentBehavior from '../behaviors/ComponentBehavior'; import VerticalDropzoneView from './VerticalDropzoneView'; import { helpers } from 'utils'; const collapsedClass = 'dev-collapsed'; expor...
/* eslint-disable no-nested-ternary */ import React from 'react'; import { graphql, Link } from 'gatsby'; import SEO from '../components/SEO'; import InteriorLayout from '../components/InteriorLayout'; import Header from '../components/Header'; export default function GroupFoodPage({ data }) { return ( <Interior...
/************************************************************/ /* This file is licensed as GNU General Public License v3.0 */ /************************************************************/ "use strict"; const kaomojiJoy = [" (* ^ ω ^)", " (o^▽^o)", " (≧◡≦)", " ☆⌒ヽ(*\"、^*)chu", " ( ˘⌣˘)♡(˘⌣˘ )", " xD"]; const kaomojiE...
function applyDecorator(){ var job = /** @type {!JobT} */ (currentJob); var opt_langExtension = job.langExtension; // TODO ie4dom // Extract tags, and convert the source code to plain text. var sourceAndSpans = extractSourceSpans( job.sourceNode, job.pre ); /** Plain text. @type {string} *...
const enMonths = ['জানুয়ারি', 'ফেব্রুয়ারি', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর'] const bdMonths = ['বৈশাখ', 'জ্যৈষ্ঠ', 'আষাঢ়', 'শ্রাবণ', 'ভাদ্র', 'আশ্বিন', 'কার্তিক', 'অগ্রহায়ণ', 'পৌষ', 'মাঘ', 'ফাল্গুন', 'চৈত্র'] const bdSeasons = ['গ্রীষ্মকাল', 'বর্ষাকাল',...
import React from "react"; import { Card, CardHeader, CardTitle, CardBody, UncontrolledDropdown, DropdownMenu, DropdownItem, DropdownToggle, } from "reactstrap"; import Chart from "react-apexcharts"; import { ChevronDown } from "react-feather"; import { Settings } from "react-feather"; import isAuthenti...
const inquirer = require("inquirer") const myConnection = require("./config/connection") const runIt = async () => { let answer = await inquirer .prompt({ name: 'firstAnswer', type: 'list', message: 'What would you like to do?', choices: [ 'V...
import * as THREE from 'three'; import nipplejs from 'nipplejs'; import common from '../common'; import Stats from 'stats.js'; const ee = common.ee; export default class View { constructor(conf) { document.body.className = this.cname; this.canvas = document.createElement('canvas'); document.body.appendC...
var Button = (function (_super) { __extends(Button, _super); function Button(x, y, name) { _super.call(this); this.x = x; this.y = y; var widthRec = 300; var heightRec = 200; this._body = new egret.Shape(); this._body.graphics.beginFill(0x66ccff, 1); ...
function updateElementIndex(el, prefix, ndx) { var id_regex = new RegExp('(' + prefix + '-\\d+)'); var replacement = prefix + '-' + ndx; if ($(el).attr("for")) $(el).attr("for", $(el).attr("for").replace(id_regex, replacement)); if (el.id) el.id = el.id.replace(id_regex, replacement); if (el.name) el.name = e...
var _ = require('lodash'), utils = require('./utils.js'), functions = require('./functions/_functions.js'), returnError = utils.returnError, callStack = []; module.exports = interpret; function interpret(expressions, env) { var results = [], env = env || {}; _.forEach(expressions, fun...
/* { "name": "FDIeSports_bot", "version": "1.0.0", "description": "Bot oficial de la agrupación de esports de la Facultad de Informática de la Universidad Complutense de Madrid.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "aut...
import Phaser from './phaser.js'; export const ZoneDisplayType = {'visible':0, 'back_only':1, 'non_visible':2} //local_display: 0. Normal. 1. Backonly 2. Insivible export class CardZone extends Phaser.GameObjects.Rectangle { zone_id; _sinR; _cosR; card_scale; card_step_x; card_step_y; ma...
function setVariables() { //call this function whenever variables a needed in other functions. Called to ensure they are all recent. nameInput = document.getElementById("namesub").value; //This is for the input from the field where the user enters their NAME ageInput = document.getElementById("agesub").value; ...
'use strict' let Promise = require('bluebird') let _ = require('lodash') let lacuna = require('../lacuna') let log = require('../log') let util = require('../util') const MISSION_NAMES = { intel: 'Intel Training', mayhem: 'Mayhem Training', politics: 'Politics Training', theft: 'Theft Training' } const SKIL...
const COLUMNS = { 'edge': [ {data: null}, {data: 'type'}, {data: 'name'}, {data: 'origin_id'}, {data: 'destination_id'} ], 'element': [ {data: null}, {data: 'type'}, {data: 'name'}, {data: 'class_of_supply'}, {data: 'environment'}, {data: 'accommo...
#! /usr/bin/env node var https = require('https') , fs = require('fs') , path = require('path') , exec = require('child_process').exec , chalk = require('chalk') , tmp = require('tmp').fileSync , userhome = require('userhome') , mkdirp = require('mkdirp') , targz =...
var localServ, ajaxDataType; localServ = window.baseurl + "api/FileExplorer/FileOperations"; var browname = /MSIE 8.0/i.test(window.navigator.userAgent) || /MSIE 9.0/i.test(window.navigator.userAgent) ? true : false; if (browname) { localServ = window.baseurl + "api/FileExplorer/FileOperationsCors"; ajaxDataTyp...
/* global analytics */ /* eslint no-console:0, no-unused-vars:0, no-extra-parens:0 */ 'use strict'; var integration = require('analytics.js-integration'); var request = require('visionmedia/superagent'); var prefix = require('johntron/superagent-prefix'); var async = require('caolan/async'); var uuid = require('uuid'...
import React, { Component } from 'react' import Grid from '../layout/grid' import { Bar } from 'react-chartjs-2' import memoize from 'memoize-one' import './paretoChart.css' const INITIAL_STATE = { index: 0 } export default class ParetoChart extends Component { constructor(props) { super(props) th...
import { useCallback, useMemo, useState } from 'react'; import { denormalize } from 'normalizr'; import { useSelector } from 'react-redux'; import { useNavigation } from '@react-navigation/native'; import { createOneInspection, getOneInspectionById, inspectionsEntity, selectInspectionEntities, selectTaskEntities, ...
import { MapSceneBase } from "../Common/MapSceneBase"; const path = '../src/assets/Chapter3/scene8/' export class Chapter3Scene8 extends MapSceneBase { constructor() { super('Chapter3Scene8') } preload() { super.preload() this.load.image('chp3Sc8Boat', path + 'boat.png'); } ...
/** * Invoice Ninja (https://invoiceninja.com). * * @link https://github.com/invoiceninja/invoiceninja source repository * * @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com) * * @license https://www.elastic.co/licensing/elastic-license */ let action = document.querySelector('meta[nam...
import React, { useState, useEffect } from 'react'; import socketIOClient from 'socket.io-client'; import { RadioButton } from 'react-native-paper'; import { Text, TextInput, View, StyleSheet, Button, ScrollView, SafeAreaView } from 'react-native'; import { BotaoBasico, CampoFormulario, ContainerAcesso, ConteudoCampoR...
import styles from './App.css' import React, { useState, useEffect } from 'react' import TextInput from './FastTextInput.js' import Panel from './Panel.js' import PanelTopBottom from './PanelTopBottom.js' import PanelOneBox from './PanelOneBox.js' import PanelOneLine from './PanelOneLine.js' import WeatherPanel from '....
import React, { useState } from "react" import Link from "next/link" import { useRouter } from "next/router" import { formatDistanceToNowStrict, fromUnixTime } from "date-fns" import { getPostIds, getPostDataWithComments } from "../src/services/items" import Comment from "../src/components/comment" import { Footer } fr...
//Character One // make a variable called characterOneName and have it equal a string of <NAME>; var characterOneName = "<NAME>"; // assign a new value, <NAME>, to the variable characterOneName. var characterOneName = "<NAME>"; // now give character one a age // make a variable called characterOneAge ...
import React, { useState } from 'react'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import HomeIcon from '@material-ui/icons/Home'; import IconButton from '@material-ui/core/IconBut...
import { Link } from "gatsby"; import React from "react"; import logo from "../../data/images/octo.svg"; import AccountCircle from "@material-ui/icons/AccountCircle"; import { makeStyles, fade } from "@material-ui/core/styles"; import { AppBar, Toolbar, Typography, Button, IconButton, Menu, MenuItem, C...
// automate.ns import { argparse } from "argparse.ns"; /* Config format: [ { "type": "autobuy", "item": "tor" }, { "type": "autobuy", "item": "BruteSSH.exe" }, { "type": "autobuy", "item": "FTPCrack.exe" }, { "type": "university", "name": "Rothman University", "course": "Algorithms", "until"...
import { writable, derived, get } from '/~/libs/svelte/store/index.mjs'; import { getRealPath, getCorePath, API, redirectToLogin } from '/~/abfab/core.js'; import { compile } from '/~/libs/svelte/compiler.mjs'; const ABFAB_ROOT = '/~'; const SVELTE_RE = new RegExp(/from "(.+\/svelte(\/\w+){0,1})";/g); const LIB_IMPORT...
import Utils from './utils'; const Player = {}; function YouTubePlayer(url, editor) { this.url$ = url; this.current_editor = editor; this.init(url); } YouTubePlayer.prototype.init = function init() { this.onYoutubePlayerReady = this.onYoutubePlayerReady.bind(this); this.parse(); this.createContainers(); ...
import React from 'react' // import { Link } from 'react-router-dom' import SectionTitle from '../../components/Typography/SectionTitle' import { Card, CardBody } from '@windmill/react-ui' // importing audios import actorAudio from './assests/A/actor2.mp3'; import angryAudio from './assests/A/angry2.mp3'; import antA...
import { getOwner } from "discourse-common/lib/get-owner"; import ModalFunctionality from "discourse/mixins/modal-functionality"; const STATUS_POLLING_INTERVAL_MILLIS = 10000; export default Ember.Controller.extend(ModalFunctionality, { uploadProgress: 0, isUploading: false, isProcessing: false, defau...
/* * Copyright 2021 Adobe. All rights reserved. * This file is licensed to you 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 appli...
import * as DP from './dataProcessor'; import '../css/styles.css'; import assets from './assetManager'; const UI = () => { const container = document.getElementById('content'); const dataContainer = document.createElement('div'); dataContainer.className = 'w-75 mx-auto text-center mt-3 border rounded d-flex flex...
jQuery(document).ready(function(){ // This button will increment the value $('.qtyplus').click(function(e){ // Stop acting like a button e.preventDefault(); // Get the field name fieldName = $(this).attr('field'); // Get its current value var currentVal = ...
let express = require('express'); let path = require('path'); let models = require('../models'); let { ensureAuthorized } = require('../utils/loginAuth'); let multer = require('multer'); let multerS3 = require('multer-s3'); let AWS = require('aws-sdk'); let router = express.Router(); AWS.config.loadFromPath(__dirname ...
const { Router } = require('express'); const multer = require('multer'); const HttpStatus = require('http-status-codes'); const fse = require('fs-extra'); const log = require('@hkube/logger').GetLogFromContainer(); const component = require('../../../../lib/consts/componentNames').MAIN; const { InvalidDataError } = req...
/* * Copyright 2018 - 2021 Swiss Federal Institute of Technology Lausanne (EPFL) * * 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. * * U...
// Global variables var numDescriptions = 0; var doDescriptionReset = true; /** * Executed when the page is loaded */ jQuery(window).load(function(){ setUpDescriptions(); }); /** * Loads JSON which represents the descriptions for this page, * and uses this to set up the Descriptions section */ ...
import React, { useState, useEffect } from "react"; import { Link } from "react-router-dom"; import { useAuth0 } from "@auth0/auth0-react"; import { Container, Card, Row, Col, Form } from "react-bootstrap"; import { ConferenceCard, UserCard, ExhibitorCard } from "../components/cards"; import { ConfirmModal, ErrorModal,...
const LenoxCommand = require('../LenoxCommand.js'); const config = require('../../settings.json'); const axios = require('axios'); module.exports = class lyricsCommand extends LenoxCommand { constructor(client) { super(client, { name: 'lyrics', group: 'botowner', memberName: 'lyrics', description: 'Fetc...
import React, {Suspense, lazy} from 'react'; import Box from '@mui/material/Box'; import AppBar from '@mui/material/AppBar'; import CssBaseline from '@mui/material/CssBaseline'; import Toolbar from '@mui/material/Toolbar'; import Typography from '@mui/material/Typography'; import Button from '@mui/material/Button'; imp...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { f...
import React, { Component, Fragment } from 'react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import M from 'materialize-css'; import Combobox from '../comum/combobox'; import './painel-moderador.css'; import { detalhesDenuncia } from '../../actions/visualizarDenunciaActions'; class ...
// Events document .getElementById("compress-button") .addEventListener("click", compressSidebar); document.getElementById("expand-link").addEventListener("click", expandSidebar); document.getElementById("menu-btn").addEventListener("click", toggleSidebar); var media = window.matchMedia("(max-width: 980px)"); med...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); require("regenerator-runtime/runtime"); window.Vue = require('vue'); win...
import React from "react"; import { Switch, Route, Link, useLocation, useHistory } from "react-router-dom"; import { connect } from "react-redux"; import { SAGA_ACTIVITY_ACTIONS, SAGA_USER_ACTIONS, CURRENT_USER_ACTIONS, } from "../redux/constants"; import Progress from "../common/progress"; import Toolbar from "....
'use strict'; var _index = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/redbox-react/lib/index.js'); var _index2 = _interopRequireDefault(_index); var _index3 = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/react-trans...
/**! * loading - test/loading.test.js * * Copyright(c) 2014 fengmk2 and other contributors. * MIT Licensed * * Authors: * fengmk2 <<EMAIL>> (http://fengmk2.github.com) * popomore <<EMAIL>> * fangk <<EMAIL>> */ 'use strict'; /** * Module dependencies. */ var should = require('should'); var pedding =...
import React from "react"; import styled from "styled-components"; import Icon5 from "../../../../images/icons/get-involved-with-business-communities.inline.svg"; import Icon1 from "../../../../images/icons/identify-your-unique-selling-point.inline.svg"; import Icon2 from "../../../../images/icons/look-at-who-your-comp...
/// Module Init var fs = require('fs'), express = require('express'), passport = require('passport'), LocalStrategy = require('passport-local').Strategy, flash = require('connect-flash'), exec = require('exec-sync'); http = require('http'); var ap...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as i18n from '../../core/i18n/i18n.js'; import * as ARIAUtils from './ARIAUtils.js'; import { Keys } from './KeyboardShortcut.js'; import { create...
import React, { Component } from "react"; import axios from "axios"; import { Autocomplete } from "@material-ui/lab"; import { Dialog, DialogTitle, DialogContent, Slide, Button, TextField, FormControlLabel, CircularProgress, } from "@material-ui/core"; import RCSwitch from "../RCSwitch"; import Cookies ...
import React from "react"; import { Formik } from "formik"; import * as Yup from "yup"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import Slide from "@material-ui/core/Slide"; import IconButton from "@material-ui/core/IconButton"; import Dialog from "@material-ui/core/Dialo...
import styled from '@emotion/styled'; import { Switch, Route } from 'react-router-dom'; import { ThemeProvider } from '@emotion/react'; import { customProperties } from '@commercetools-uikit/design-system'; import * as icons from '@commercetools-uikit/icons'; import InlineSvg from '@commercetools-uikit/icons/inline-svg...
/* eslint-disable max-lines */ /* global document */ import { call, put, select, spawn, takeEvery, takeLatest } from 'redux-saga/effects'; import { firebase, firestore } from 'javascripts/globals'; import { reset as resetClients, subscribeClients } from 'javascripts/app/redux/clients'; import { rese...
/* Connect to the Node-RED Events */ var ws = io({ path: location.pathname + 'socket.io' }); ws.on('connect', function () { console.log("CONNECTED"); /*if (!inIframe) { document.getElementById("foot").innerHTML = "<font color='#494'>" + ibmfoot + "</font>"; } ws.emit("worldmap", { action: "connected" });*/ ...
/** * Copyright (c) 2017-present, Viro Media, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import Re...
/* JavaScript Library for OpenHAB Object. Use of the FETCH API => Interface for fetching resources, like using XMLHttpRequest but more powerfull and has flexible feature set. List of exported functions: 1) getAllThings: Retrieve all Things from the OpenHAB-runtime (Server). ...
var mraa = require('mraa'); var μs = require('microseconds'); const NUM_LEDS = 1; const HIGH = 1; const LOW = 0; const _CL_RED = 0; const _CL_GREEN = 1; const _CL_BLUE = 2; const _CLK_PULSE_DELAY = 20; var _clk_pin = new mraa.Gpio(7); var _data_pin = new mraa.Gpio(8); var _num_leds = NUM_...
import React from 'react'; import { Row, Col, Form, Icon, Button, Drawer, Input, DatePicker, Select, Upload, message, Checkbox, Radio, } from 'antd'; import { connect } from 'dva'; import StandardTable from '@/components/StandardTable'; import styles from './index.less'; import { oppCreatType,...
'use strict'; let byline = require('byline'); let debug = require('debug')('raptor:device-service'); let fetch = require('./fetch'); let fs = require('fs'); let http = require('http'); let R = require('ramda'); let xRegExp = require('xregexp').XRegExp; const FIELDS = ['level', 'timestamp', 'pid', 'tid', 'tag', 'messa...
import { action, observable, computed, autorun, toJS } from "mobx"; import Web3Utils from 'web3-utils' import ERC20ABI from "../abis/ERC20ABI" import MultiSenderAbi from "../abis/StormMultisender" import Web3 from "web3"; import { observer } from "mobx-react"; import swal from 'sweetalert'; const BN = require('bignumbe...