text
stringlengths
2
1.05M
// Copyright (c) 2021 Uber Technologies, Inc. // // 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...
"use strict"; var express=require('express'); var app=express(); app.get('/', (req, res) => { res.send('Hola Mundo!Mi aplicación esta funcionando!') }); app.listen(3000,function(){ console.log("Funciona!Mi aplicación esta escuchando en el puerto 3000!") });
const k = require("kleur"); /** * @param {string} msg Error message * @param {Error} [err] Error instance * @param {boolean} [fatal=false] Exits with code 1 if set to true */ function error(msg, err, fatal = false) { console.error("\n"); console.error(k.red(msg)); console.error(err); fatal && proc...
(function () { var codesample = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); var window$$1 = {}; var global$2 = window$$1; var _self = typeof window$$1 !== 'undefined' ? window$$1 : typeof...
'use strict'; const Q = require('./lib/server.js'); Q.start(); const db = new Q('database'); db.monitorEvents('create'); db.monitorEvents('read'); db.monitorEvents('update'); db.monitorEvents('delete');
const workerTemplate = require('./worker'); module.exports = workerTemplate;
/* * LibGuides: Customize breadcrumb links * - Change URL in .attr() and string in .text() to match group * - Paste this code code between script tags in group level "Custom JS/CSS Code" area * */ $(document).ready(function(){ // Remove link back to UAL main page $('#s-lib-bc-list li:first-child').remove(); ...
/** * # Waiting Room settings * Copyright(c) 2021 Stefano Balietti <ste@nodegame.org> * MIT Licensed * * Waiting Room settings. * * http://nodegame.org * --- */ module.exports = { /** * ## EXECUTION_MODE * * Sets the execution mode of the waiting room * * Different modes might hav...
/** * This unit is part of the "finaljs" Framework * * finaljs game development framework v_$version$ * copyright (c) 2014 Torsten Spaete */ "use strict"; final.module("final.ui.Control", ["final.Vec2", "final.Vec2Pool", "final.math", "final.collision.Intersections", "final.ui.State", "final.input.MouseButton"], ...
import React from 'react'; import { StyleSheet, Text, View, Animated, } from 'react-native'; import { Icon, } from 'native-base'; import Button from './Button'; import { connect } from 'react-redux'; import { openDrawer } from '../../actions/drawer'; const DefaultTabBar = React.createClass({ propTypes: { ...
/* @generated */ // prettier-ignore if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') { Intl.NumberFormat.__addLocaleData({"data":{"es-CO":{"units":{"simple":{"degree":{"long":{"other":"{0} grados","one":"{0} grado"},"short":{"other":"{0}°"},"narrow":{"other":"{0}°"},"perUnit":{}},"hec...
"use strict"; exports.__esModule = true; exports.FormNext = void 0; var _react = _interopRequireDefault(require("react")); var _StyledIcon = require("../StyledIcon"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _extends() { _extends = Object.assign || ...
var NAVTREEINDEX1 = { "classcom_1_1mojang_1_1brigadier_1_1exceptions_1_1_built_in_exceptions.html#a9612886859ce095984cc3e36cf960afa":[1,0,0,0,0,3,1,8], "classcom_1_1mojang_1_1brigadier_1_1exceptions_1_1_built_in_exceptions.html#a97e5908970ea5986824d8876cf009b22":[1,0,0,0,0,3,1,1], "classcom_1_1mojang_1_1brigadier_1_1ex...
import React, { useContext } from 'react'; import { Route, Redirect } from 'react-router-dom'; import UserContext from '../Contexts/userContext'; export const PrivateRoute = ({component: Component, ...rest}) => { const UserData = useContext(UserContext) return ( <Route {...rest} render={props => ( ...
'use strict' const userNameInput = document.getElementById('user-name'); const assessmentButton=document.getElementById('assessment'); const resultDivided=document.getElementById('result-area'); const tweetDivided=document.getElementById('tweet-area'); /** * remove all child element of specified parent one * @param {...
/** * Copyright (c) 2006-2012, JGraph Ltd */ // Workaround for allowing target="_blank" in HTML sanitizer // see https://code.google.com/p/google-caja/issues/detail?can=2&q=&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary&groupby=&sort=&id=1296 if (typeof html4 !== 'undefined') { html4.ATTRIBS['a::target'] ...
var scheduler = typeof setImmediate === 'function' ? setImmediate : setTimeout; function flushPromises() { return new Promise(function(resolve) { scheduler(resolve); }); } module.exports = flushPromises;
import { EventEmitter } from 'events' import mockFs from 'mock-fs' import * as zip from '../src/helpers/zip' import * as upload from '../src/helpers/upload' import deploy from '../src/main' const emitter = new EventEmitter() const mockFileTree = { '/templates': { project_1: { int_foo: {}, int_bar: {} }, proj...
module.exports = function (ctx) { const Q = require('q'), path = require('path'), fs = require('fs'), cp = require('child_process'), os = require('os'), ifaces = os.networkInterfaces(), spawn = cp.spawn, exec = cp.exec, pRoot = ctx.opts.projectRoot, ...
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
import{r as t,e as i,f as a,c as n,i as e,h as r,H as o,g as s}from"./p-8dbe4215.js";import{s as l}from"./p-70b25770.js";const d=class{constructor(a){t(this,a),this.bkkrPaginator=i(this,"bkkrPaginator",7),this.bkkrPageSizeChanged=i(this,"bkkrPageSizeChanged",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,t...
/* eslint-disable no-unused-expressions */ // eslint-disable-next-line import/no-extraneous-dependencies const resizeTo = require('terra-toolkit/lib/nightwatch/responsive-helpers').resizeTo; module.exports = resizeTo(['medium'], { 'Displays a default dynamic-grid': (browser) => { browser .url(`${browser.la...
import React, { Component } from 'react'; import axios from 'axios'; class SignUp extends Component { state = { username: '', password: '', department: '' }; handleChange = e => { const { name, value } = e.target; this.setState({ [name]: value }); }; handleSubmit = e => { e.preventD...
// JavaScript Document var staffList=""; $(document).ready(function () { var slectionId=''; $("input[name=rdSelection]:radio").change(function () { if ($("#rdSelection1").attr("checked")) { slectionId=$("#rdSelection1").val(); document.getElementById("divDept").style.display = "block"; document.g...
/** ** * Tests * * ** */ process.env.TZ = 'America/San_Francisco'; const assert = require('assert'); const vows = require('vows'); const _ = require('underscore'); const ical = require('../node-ical'); const moment = require('moment-timezone'); vows .describe('node-ical') .addBatch({ 'when parsing test1.i...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var BarChartBox = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createEleme...
/*! Copyright Imperiojs */ !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";var r={},i=(n(52),n(51));n(82);var o=n(75);r.socket=o(),r.room=i...
"use strict"; /** * Geometry loader can be used to load geometry files. * * @class GeometryLoader * @constructor * @module Loaders * @param {Object} manager */ function GeometryLoader(manager) { this.manager = (manager !== undefined) ? manager : THREE.DefaultLoadingManager; this.geometryLoader = new THREE.J...
const l=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="mod...
const path = require(`path`) const glob = require(`glob`) const fs = require(`fs`) const pkgs = glob.sync(`./@coursemaker/gatsby-theme-coursemaker`).map(p => p.replace(/^\./, `<rootDir>`)) module.exports = { transform: { "^.+\\.jsx?$": `<rootDir>/jest-preprocess.js`, }, moduleNameMapper: { ...
$(document).ready(function () { $("#slider").bxSlider({ auto: true, displaySlideQty: 1, minSlides: 1, maxSlides: 1, slideWidth: 250, slideMargin: 10, randomStart: true, captions: true, pause: 3000, pager: true, pagerType: "short...
( function( $ ) { "use strict"; var jvfrm_home_wgfi = function( o ) { this.options = $.extend( true, {}, { rating:{ container : '.javo-rating-registed-score' , starOff : '../images/star-off-s.png' , starOn : '../images/star-on-s.png' , starHalf : '../images/star-half-s.png' } }, o ); if( !...
function _extends() { _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; }; return _extends.apply(this, arguments); } i...
import React from 'react'; import HeaderContainer from "./container"; const HeaderTwo = () => { const openSideMenu = ()=>{ const sideMenuWrap = document.querySelector(".side-header"); const overlay = document.querySelector('.side-menu-overlay'); sideMenuWrap.classList.ad...
Nova.booting((Vue, router, store) => { const listeners = [] function navigateToResource(event) { const path = event.path || ( event.composedPath && event.composedPath() ) const intersectsWithIgnoredElements = path.some(path => path instanceof HTMLAnchorElement || path instanceof ...
const set = require('regenerate')();set.addRange(0x531, 0x556).addRange(0x559, 0x58A).addRange(0x58D, 0x58F).addRange(0xFB13, 0xFB17); module.exports = set;
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("../../../src/components/VColorPicker/VColorPickerSwatches.sass"); var _VIcon = _interopRequireDefault(require("../VIcon")); var _colors = _interopRequireDefault(require("../../util/colors")); var _util...
// Regular expression that matches all symbols in the `Cuneiform` script as per Unicode v6.0.0: /\uD809[\uDC00-\uDC62\uDC70-\uDC73]|\uD808[\uDC00-\uDF6E]/;
/* * ! SAPUI5 (c) Copyright 2009-2020 SAP SE. All rights reserved */ sap.ui.define(["sap/ui/comp/designtime/smartform/GroupElement.designtime"],function(G){"use strict";return{name:{singular:"GROUP_CONTROL_NAME",plural:"GROUP_CONTROL_NAME_PLURAL"},isVisible:function(g){return g.isVisible();},aggregations:{title:...
"use strict"; /** * @module botbuilder */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); const transcriptLogger_1 = require("./transcriptLogger"); /** * The memory transcript store stores transcrip...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
!function(){obj[1/0]=20}()
!function(t){t.fn.twentytwenty=function(e){e=t.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},e);return this.each(function(){var n=e.default_offset_pct,a=t(this),i=e.orientation,o="vertical...
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import { uploadClass } from '../styles' import Progress from '../Progress' import Spin from '../Spin' import icons from '../icons' import { ERROR, UPLOADING } from './request' const SPIN = ( <span style={{ display: 'inline-block', margin...
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const WriteFilePlugin = require('write-file-webpack-plugin'); const autoprefixer = require('autoprefixer'); const path = require('path'); module.exports = { entry: { app: './src/index.js', 404: './src/404.js' }, output: { filename: '[na...
var class_tempo_test_1_1_test_ref_counted = [ [ "TestRefCounted", "class_tempo_test_1_1_test_ref_counted.html#a249937e81d0ed10e75211d776cbd702e", null ], [ "Destroy", "class_tempo_test_1_1_test_ref_counted.html#ada93c5e5180bfec8d9a99251d3049493", null ] ];
/*! * tablesort v5.1.0 (2018-09-14) * http://tristen.ca/tablesort/demo/ * Copyright (c) 2018 ; Licensed MIT */ !function(){var a=function(a){return a.replace(/[^\-?0-9.]/g,"")},b=function(a,b){return a=parseFloat(a),b=parseFloat(b),a=isNaN(a)?0:a,b=isNaN(b)?0:b,a-b};Tablesort.extend("number",function(a){return a.mat...
var m = require('mithril'); module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="24" height="24" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve"><path fill="#000000" fill-opacity="1" st...
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a...
import dagre from 'dagre'; import debug from 'debug'; import { fromJS, Map as makeMap, Set as ImmSet } from 'immutable'; import { EDGE_ID_SEPARATOR } from '../constants/naming'; import { buildTopologyCacheId, updateNodeDegrees } from '../utils/topology-utils'; const log = debug('scope:nodes-layout'); const topologyC...
import { NotImplementedError } from '../extensions/index.js'; export default function encodeLine(str) { let res = ''; let counter = 1; for (let i = 0; i < str.length; i++) { if (str[i] === str[i + 1]) { counter++; } else if (counter === 1) { res += `${str[i]}`; } else { res += `${c...
import React, { useState, useEffect } from 'react'; import { BreadcrumbBack, FormInput, SingleDetail } from 'components'; import useStyles from './style'; import { Grid } from '@material-ui/core'; import contractor from 'apis/contractor'; import { useToasts } from 'react-toast-notifications'; const ContractorCreate = ...
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 1.0.3 - 2016-01-11 * License: MIT */angular.module("ui.bootstrap",["ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.boot...
!function(){var checkboxValues={scrolling:{true:"yes",false:"no"},frameborder:{true:"1",false:"0"}};function loadValue(iframeNode){var isCheckbox=this instanceof CKEDITOR.ui.dialog.checkbox;if(iframeNode.hasAttribute(this.id)){var value=iframeNode.getAttribute(this.id);isCheckbox?this.setValue(checkboxValues[this.id].t...
const initialState = { isLoggedIn: false } const TOGGLE_LOGIN = 'TOGGLE_LOGIN' export function toggleLogin() { return { type: TOGGLE_LOGIN } } export function userReducer(state = initialState, action) { switch (action.type) { case TOGGLE_LOGIN: return { ...state, isLoggedIn: !st...
import React from 'react' import PropTypes from 'prop-types' import GlobalStyle from '../../styles/globalStyles' // setting bootstrap css in helmet for now import SiteMetaDataHelmet from '../SiteMetaDataHelmet' import App from '../App' // import AppContext from '../../context' import Header from '../Header' import F...
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Range } from '@ohif/ui'; import './SegmentationSettings.css'; const SegmentationSettings = ({ configuration, onBack, onChange }) => { const [state, setState] = useState({ renderFill: configuration.renderFill, re...
import {Author} from "../../entities/library/author" import {ItemAbstractReviver} from "@rebolon/json-reviver"; export class AuthorReviver extends ItemAbstractReviver { /** * * @returns {string} */ getNodeName() { return 'author' } /** * * @returns {Object} */ ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { SORT_ASC: 'asc', SORT_DESC: 'desc', ROW_SELECT_SINGLE: 'radio', ROW_SELECT_MULTIPLE: 'checkbox', ROW_SELECT_DISABLED: 'ROW_SELECT_DISABLED', CHECKBOX_STATUS_CHECKED: 'checked', CHECKBOX_STATUS_INDETERMINATE...
jest.mock(`fs-extra`, () => { return { existsSync: () => false, copy: jest.fn(), } }) const Remark = require(`remark`) const fsExtra = require(`fs-extra`) const path = require(`path`) const plugin = require(`../`) const remark = new Remark().data(`settings`, { commonmark: true, footnotes: true, peda...
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* Geodesy Test Harness - utm/mgrs (c) Chris Veness 2014-2019 */ /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* eslint-disabl...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
export const POKEMON_STATS = { HP: "hp", ATTACK: "attack", DEFENSE: "defense", SPECIAL_ATTACK: "special-attack", SPECIAL_DEFENSE: "special-defense", SPEED: "speed", }; export const POKEMON_TYPES = { normal: { name: { pt_br: "Normal" }, color: "#C4C0B4" }, fighting: { name: { pt_br: "Lutador" }, color: ...
(function(global, factory) { if (typeof define === 'function' && define.amd) { define(function() { return factory(global, global.document); }); } else if (typeof module !== 'undefined' && module.exports) { module.exports = factory(global, global.document); } else {...
import React, { Component } from 'react' import classNames from './styles/bpStyle.css' import BPChart from './BPChart' import BPForm from './BPForm' //mobx import store from './mobx/Store'; import { observer } from 'mobx-react' class LoggedIn extends Component { constructor(props) { super(props) } compone...
import React from "react"; import {useState,useEffect} from "react"; import {useHistory ,useParams} from "react-router-dom"; import SquareLoader from "../../components/SquareLoader"; import PopupForm from "../../components/PopupForm" import API from "../../utils/API"; import errorHandler from "../../utils/errorHandl...
function rgbToHexColor(red, green, blue) { if (!Number.isInteger(red) || (red < 0) || (red > 255)) return undefined; // Red value is invalid if (!Number.isInteger(green) || (green < 0) || (green > 255)) return undefined; // Green value is invalid if (!Number.isInteger(blue) || (blue < 0) || ...
export var esmDep = true; (function(g) { g.esmDep = 'esm-dep'; })(typeof window != 'undefined' ? window : global);
import React, { Component } from 'react'; import { connect } from 'react-redux'; import mapStoreToProps from '../../redux/mapStoreToProps'; //Material-UI imports import { TextField, FormControl, InputLabel, Select, MenuItem, Button, Chip, Box, LinearProgress, } from '@material-ui/core'; import ImageU...
'use strict'; angular.module('editorApp') .controller('LogsController', function ($scope, LogsService) { $scope.loggers = LogsService.findAll(); $scope.changeLevel = function (name, level) { LogsService.changeLevel({name: name, level: level}, function () { $scope.logger...
import { TIMEOUT_SEC, BF_APIKEY, BF_PARAM_HEADER } from "./config"; var bf_header = new Headers(); bf_header.append("project_id", "mainnetiSXrfNxhpPChKCnts2KX9MJ1eQ7exYgb"); const timeout = function (s) { return new Promise(function (_, reject) { setTimeout(function () { reject(new Error(`Request took too...
var Keen = exports; // deal with some browsers not supporting console.log var alertFallback = false; //only use in dev if (typeof console === "undefined" || typeof console.log === "undefined") { console = {}; if (alertFallback) { console.log = function(msg) { alert(msg); }; } el...
// I get it, you're curious, // but it's OK if you don't understand what's going on in here, you'll learn it in time. const abTroubleshoot = require("./troubleshooting"); const result = abTroubleshoot(); if(result === 2) { console.log("Congrats! You got the correct answer"); } else if(typeof result === 'n...
document.getElementById('button1').addEventListener('click', getText); document.getElementById('button2').addEventListener('click', getJson); document.getElementById('button3').addEventListener('click', getExternal); // Get local text file data function getText() { fetch('test.txt') .then(function(res){ ...
import '@babel/runtime/helpers/esm/objectWithoutProperties'; import '@babel/runtime/helpers/esm/extends'; import '@babel/runtime/helpers/esm/toConsumableArray'; import '@babel/runtime/helpers/esm/objectSpread'; import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck'; import _createClass from '@babel/run...
/** * Auto-generated action file for "AdvisorManagementClient" API. * * Generated at: 2019-05-07T14:37:06.386Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / azure-com-advisor-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector ...
/*globals describe, it, before*/ const { expect } = require('chai'); const sinon = require('sinon'); let IPC = require('../lib/core/ipc.js'); let Proxy = require('../lib/modules/blockchain_process/proxy'); const constants = require('../lib/constants'); describe('embark.Proxy', function () { let ipc, proxy, ipcRequ...
import React, { Component } from "react"; import { Card, CardTitle, CardText, CardActions, Button } from "react-mdl"; export default class AboutMe extends Component { render() { return ( <div className="projects-grid"> <Card shadow={0} style={{ width: "600px", height: "500px", m...
// This file is part of InvenioRDM // Copyright (C) 2020 CERN. // Copyright (C) 2020 Northwestern University. // Copyright (C) 2021 Graz University of Technology. // // Invenio App RDM is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for more details. i...
let XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest let API = 'https://rickandmortyapi.com/api/character/' function fetchData(url_api, callback) { let xhttp = new XMLHttpRequest() xhttp.open('GET', url_api, true) xhttp.onreadystatechange = function (event) { if (xhttp.readyState === 4) { ...
/** * Dual licensed under the Apache License 2.0 and the MIT license. */ (function($) { var _defaultConfig = { 'max-age' : 30 * 60, path : '/' }; function _set(key, value, options) { var o = $.extend({}, _defaultConfig, options); if (value === null || value === undefin...
import React, { useState } from "react"; import FormInputGroup from "../../../components/FormInputGroup"; import { Formik, Form } from "formik"; import validationSchema from "./validationSchema"; import Button from "../../../components/Button"; function FormLogin(props) { const [ objUser, setUser] = useState({phone:...
/* * Translated default messages for the jQuery validation plugin. * Language: FR * Author: Marius Cosareanu */ (function (factory) { if (typeof define === "function" && define.amd) { define('validate-fr', ['jquery', 'bforms-validate'], factory); } else { factory(window.jQuery); } }(fu...
// Crée par Joachim Zadi le 09/03/2022 à 15:15. Version 1.0 // ======================================================== // ==================== // LE TYPE NUMBER EN JS // ==================== 20; -45; 2.654; -1.2563; // Les operations de base ==> +, -, *, /, % let addition = 45 + 3.2; console.log(`45 + 3.2 = ${add...
import React from 'react'; const Link = ({ active, children, onClick }) => { if (active) { return <span>{children}</span>; } return ( <div className="column"> <a className="button" onClick={e => { e.preventDefault(); onClick(); }} > {childr...
describe('UNIT: Observer', function () { var Observer = require('vue/src/observer'), Emitter = require('emitter'), DepsOb = require('vue/src/deps-parser').observer describe('Observing Object', function () { it('should not watch a ViewModel instance', function () { v...
/** * Cesium - https://github.com/AnalyticalGraphicsInc/cesium * * Copyright 2011-2016 Cesium Contributors * * 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/l...
'use strict'; var baseFlatten = require('./_baseFlatten'), map = require('./map'); /** Used as references for various `Number` constants. */ var INFINITY = 1 / 0; /** * This method is like `_.flatMap` except that it recursively flattens the * mapped results. * * @static * @memberOf _ * @since 4.7.0 * @cat...
import { fromEvent, ReplaySubject } from 'rxjs'; import { delay, first, map, startWith, switchMap } from 'rxjs/operators'; export class ScrollService { static scroll$ = new ReplaySubject(1); static scroll(scroll) { // console.log('ScrollService.scroll', scroll); this.scroll$.next(scroll); } static init$(node...
/* globals hqImport */ // This file depends on reports/js/filters/main.js var HQAsyncReport = function (o) { 'use strict'; var self = this; self.reportContent = $('#report-content'); self.filterForm = o.filterForm || $('#paramSelectorForm'); self.loadingIssueModal = $('#loadingReportIssueModal'); ...
/*global QUnit*/ sap.ui.define([ "sap/ui/core/Core", "sap/ui/thirdparty/jquery", "qunit/DynamicPageUtil", "sap/f/DynamicPage" ], function ( Core, $, DynamicPageUtil, DynamicPage ) { "use strict"; var INITIAL_SCROLL_POSITION = 0, BIG_SCROLL_POSITION = 1000, oLibraryFactory = DynamicPageUtil.oFac...
/** * Created by heavenduke on 17-4-28. */ var express = require('express'); var repository_controller = require('../../controllers').repositories; var star_router = require('./star'); var astepback = require('../../middlewares').astepback; var router = express.Router(); router.get('/:owner/:name', astepback, repos...
"use strict"; describe("Postprocessors", () => { require("./3.1-tty.js"); });
import styled from "styled-components" import media from "styled-media-query" export const PaginationWrapper = styled.section` align-items: center; border-top: 1px solid var(--borders); color: var(--texts); display: flex; padding: 1.5rem 3rem; justify-content: space-between; ${media.lessThan("large")` ...
import React from 'react'; import Button from 'material-ui/Button'; import { compose, withHandlers } from 'recompose'; import { graphql } from 'react-apollo'; import UserQuery from '../UserQuery'; import START_DRAFT_MUTATION from '../../graphql/StartDraftMutation.graphql'; const DraftStartButton = ({ league, startDraf...
import * as React from 'react'; import { StyledIconBase } from '@styled-icons/styled-icon'; export const Skype = /*#__PURE__*/React.forwardRef((props, ref) => { const attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg" }; return /*#__PURE__*/React.createElement(StyledIconBase, Object.a...
// @flow import 'url-search-params-polyfill'; import createHistory from 'history/createMemoryHistory'; import {extendObservable, observable, isObservable} from 'mobx'; import Router from '../Router'; import routeRegistry from '../registries/RouteRegistry'; jest.mock('../registries/RouteRegistry', () => { const get...
import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles, useTheme } from '@material-ui/core/styles'; import { useMediaQuery, colors, Grid, FormControl, OutlinedInput, InputAdornment, Button, Typography, } from '@material-ui/core'; import { Image, Icon } from 'components/atoms'...
"use strict"; exports.default = void 0; var _renderer = _interopRequireDefault(require("../../core/renderer")); var _editor = _interopRequireDefault(require("../editor/editor")); var _ui = _interopRequireDefault(require("./ui.date_view_roller")); var _date = _interopRequireDefault(require("../../core/utils/date"))...