text
stringlengths
2
1.05M
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", { fill: "none", d: "M0 0h24v24H0V0z" }), React.createElement("path", { fillOpacity: ".3", d: "M22 8V2L2 22h16V8h4z" }), React.createEle...
import Store from 'data/abstract_store'; QUnit.module('Abstract Store', function() { class MyStore { } QUnit.test('registerClass', function(assert) { Store.registerClass(MyStore, 'my-store'); const customStore = Store.create('my-store'); assert.ok(customStore instanceof MySt...
/** * Auto-generated action file for "Slicebox" API. * * Generated at: 2019-05-07T14:44:06.330Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / slicebox-local-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector are licensed under...
const mqtt = require("mqtt"); const NodeHelper = require("node_helper"); var servers = []; module.exports = NodeHelper.create({ log: function (...args) { if (this.config.logging) { console.log(args); } }, start: function () { console.log(this.name + ": Starting node helper"); this.loaded ...
/* * @Description:过滤器 * @Version: * @Autor: 申豪强 * @Date: 2020-05-20 14:56:49 * @LastEditTime: 2020-05-26 14:37:04 */ import axios from '@/utils/axios' export default { // /添加过滤器 addBimFilter(data) { return axios.design.post('/bim/bimFilter/add', data) }, // 删除过滤器 deleteFilter(id) { return axios....
import styled from '@emotion/styled'; const InputGroup = styled.div` display: flex; align-items: center; height: 42px; width: 100%; `; InputGroup.defaultProps = { className: 'input-group' }; export default InputGroup;
/** * @param { import("knex").Knex } knex * @returns { Promise<void> } */ exports.seed = function (knex) { // Deletes ALL existing entries return knex('users') .del() .then(function () { // Inserts seed entries return knex('users').insert([ { auth0Id: 'auth0|1234', ...
const API = require('./API'); const ApiMap = require(`./transportResolvers/ApiMap`); const DeviceTypeListQuery = require('../models/query/DeviceTypeListQuery'); const DeviceTypeCountQuery = require('../models/query/DeviceTypeCountQuery'); const DeviceTypeDeleteQuery = require('../models/query/DeviceTypeDeleteQuery'); ...
import React, { Component } from 'react'; import { UserSession, Person } from 'blockstack'; import NavBar from './NavBar'; import { jsonCopy, remove, add, check } from '../assets/utils'; import { appConfig, TASKS_FILENAME } from '../assets/constants'; import '../styles/Profile.css'; class Profile extends Component { ...
/** * Helper to manage className attribute on node or nodelist * eg. * removeClass(el, 'myClass'); or * addClass(document.querySelectorAll('li'), 'list-item'); or * hasClass(el, 'is-open'); */ export function addClass(node, classString) { if (node.length) { return Array.prototype.forEach(node, (el) => {...
const Attachment = require('discord.js').Attachment; const apiService = require('../services/api-service'); const relink = require('./relink'); module.exports = { name: 'migrate-all', args: false, ownerOnly: true, cooldown: 3, sortIndex: 0, usage: '', execute: async function (message, args)...
import Ember from 'ember'; export default Ember.Route.extend({ title() { let stack = this.modelFor('stack'); return `${stack.get('handle')} Certificates`; }, model() { let stack = this.modelFor('stack'); return stack.get('certificates'); }, setupController(controller, model) { let stack...
!function(i){const e=i.lt=i.lt||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"","Align center":"Centruoti","Align left":"Lygiuoti į kairę","Align right":"Lygiuoti į dešinę","Block quote":"Citata",Bold:"Paryškintas","Bulleted List":"Sąrašas",Cancel:"Atšaukti","Cannot upload file:":"Negalima įkelti failo:",...
'use strict' class Checkout { constructor () { const $ = document.querySelector.bind(document) // props this.cardNumber = $('#numero-do-cartao-front') this.cardNumberBack = $('#numero-do-cartao-back') this.cardName = $('#nome-front') this.cardNameBack = $('#nome-back') this.cardDate = $(...
var plugins = require('electron-plugins'), ipc = require('electron').ipcMain; document.addEventListener('DOMContentLoaded', function () { var context = { document: document } plugins.load(context, function (err, loaded) { if(err) return console.error(err) console.log('Plugins loaded success...
/** * This file purpose is just to write `src/assets/version.json` file that * contains current version information about this application. This file * is executed on `postinstall` process. * * This static file will be used later on to check if frontend application * has been updated during user has been used it ...
import React from "react"; import axios from "axios"; import { withRouter } from "react-router"; import { NavLink } from "react-router-dom"; const NavigationComponent = props => { const dynamicLink = (route, linkText) => { return ( <div className="nav-link-wrapper"> <NavLink to={route} activeClassN...
var https = require('https'); var solrApi={ getRequestParam: function(options){ var requestParam={ "search_intent": options.search_intent, "min_inr": options.minRent, "max_inr": options.maxrent,// "house_type": options.houseTypes, "bed_rooms": options.bedRooms, "page": 1, "c...
import React, { memo, useMemo, useCallback } from "react"; import { View, StyleSheet } from "react-native"; import type { App } from "@ledgerhq/live-common/lib/types/manager"; import type { State, Action } from "@ledgerhq/live-common/lib/apps"; import { useNotEnoughMemoryToInstall } from "@ledgerhq/live-common/lib/a...
const resources = { state: { resources:{ } }, mutations: { SET_RESOURCE (state, obj){ if(obj.resources) state.resources[obj.menuId] = obj.resources } }, actions:{ setResources({ commit }, obj){ commi...
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("jsbi")),n=require("@uniswap/sdk-core"),r=t(require("tiny-invariant")),o=require("@ethersproject/solidity"),u=require("@ethersproject/address"),i="0xe507440624a5a47d3...
/** * Copyright 2016 The AMP HTML Authors. 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 require...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[20],{ /***/ "./node_modules/react-chat-widget/lib/index.js": /*!*****************************************************!*\ !*** ./node_modules/react-chat-widget/lib/index.js ***! \*****************************************************/ /*! no static expor...
import React from 'react' import Logo from '../../Logo/Logo' import NavigationItems from '../NavigationItems/NavigationItems' import DrawerToggle from '../SideDrawer/DrawerToggle/DrawerToggle' import classes from './Toolbar.module.css' const toolbar = (props) => ( <header className={classes.Toolbar}> <DrawerTo...
const theme = { colors: { primaryBackground: '#0A1128', secondaryBackground: '#dc143c', white: '#FFF', mediumGray: '#DDD', }, font: { family: { default: "'Opens Sans', sans-serif", secondary: "'Montserrat', sans-serif", }, sizes: { small: '1.6rem', xsmall: '8rem...
$(document).ready(function () { // const domain = window.location.origin; const domain = "../services.html"; var trackAppForm = document.createElement("form"); trackAppForm.method = "POST"; trackAppForm.action = domain+"/citizenApplication.html"; trackAppForm.target = "iframe_a"; $('.c...
/** * EditorManager.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function(tinymce) { /** * @class tinymce */ // Shorten names var each = tinymce....
$(document).ready(function() { /* ================================================================= Basic ================================================================= */ $('#exampleBasic').wizard({ templates: { buttons: function(){ var options = this.options; ...
export { MenuButton } from './MenuButton'
$(document).ready(function(){ if ($('#map').length) { var lat = 57.651774; var log = 39.829889; var urlBaby = window.location.hostname; var markerUrl = 'static/img/assets/contacts/marker.svg'; var myMap; var myPlacemark; var init = function init() { myMap = new ymaps.Map("map", { ...
import React from 'react' import { Styled, Box } from 'theme-ui' export default props => ( <> <Box sx={{ px: 1, opacity: 0.4 }} >/ </Box> <Box sx={{ px: 1 }} > <Styled.h2 {...props} /> </Box> </> )
import { Box, ListTable, Screen } from '@pres/components' const screen = Screen.build({ dump: process.cwd() + '/logs/dock.log', smartCSR: true, dockBorders: true, warnings: true }) const topleft = Box.build({ parent: screen, left: 0, top: 0, width: '50%', height: '50%', border: { type: 'line',...
(function(e){const t=e["cs"]=e["cs"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 z %1","Align cell text to the bottom":"Zarovnat text buňky dolů","Align cell text to the center":"Zarovnat text buňky na střed","Align cell text to the left":"Zarovnat text buňky doleva","Align cell text to the middle":...
import { Trans } from 'react-i18next'; export default function TransTemplator({ t, children, }) { return ( <Trans t={t} components={{ bold: <b />, blue: <span className="blue-text" />, green: <span className="green-text" />, red: <span className="red-text" />, ...
/* * * NavigationContainer reducer * */ import { fromJS } from "immutable"; import { DEFAULT_ACTION } from "./constants"; const initialState = fromJS({ items: [ { fname: "Elmer", lname: "Altermatt" }, { fname: "Marina", lname: "Matros" }, { fname: "Tanya", ...
var V3_URL = 'https://js.stripe.com/v3'; var V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/; var EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used'; var findScript = function findScript(...
const express = require('express'); const mongoose = require('mongoose'); const config = require('config-yml'); //routers const packageRouter = require('./routes/packageRoutes.js'); const itemRouter = require('./routes/itemRoutes.js'); const testRouter = require('./routes/testRoutes.js'); //EasyPostAPI const apiKey ...
/*! Tdrag 0.0.1 */ (function($,window,document,undefined){jQuery(function(){$.fn.Tdrag=function(opt){var call={scope:null,grid:null,axis:"all",pos:false,handle:null,moveClass:"tezml",dragChange:false,changeMode:"point",cbStart:function(){},cbMove:function(){},cbEnd:function(){},random:false,randomInput:null,animation_o...
(function( $ ) { var settings = { width: 250, minimizeWidth: 50, duration: 500, canvasEl: '.canvas', toggleBtn: '.sidebar-toggle' }; var methods = { init : function( options ) { settings = $.extend(settings, options); return this.ea...
export default useStateHook => () => { const [isTrue, setIsTrue] = useStateHook(false); const setTrue = () => setIsTrue(true); const setFalse = () => setIsTrue(false); return [isTrue, setTrue, setFalse]; };
module.exports = (config) => { config.setDataDeepMerge(true); config.addPassthroughCopy('src/assets/img/'); config.addPassthroughCopy({ 'src/posts/img/': 'assets/img/' }); config.addPassthroughCopy({ 'src/work/img/': 'assets/img/' }); config.addPassthroughCopy('src/assets/files/'); config.addWatchTarget("...
$(document).ready(function () { startSlider(0); }); function startSlider(idx) { $img = $("#slide div img").eq(idx); $img.fadeIn('slow', function () { $img.delay(5000).fadeOut('slow', function () { if ($("#slide div img").length - 1 == idx) { startSlider(0); ...
import React from 'react'; import { sizeHandler } from '../utils/utils'; export default function AlertCircle(props) { return <svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height={sizeHandler(props)} width={sizeHandler(props)}><circle cx="...
import React from 'react'; import PropTypes from 'prop-types'; import { Mutation } from 'react-apollo'; import gql from 'graphql-tag'; import { WidgetForm } from '../components'; export const INSERT_WIDGET_MUTATION = gql` mutation InsertWidget($widget: InsertWidget) { insertWidget(widget: $widget) { id ...
var contains = function(needle) { // Per spec, the way to identify NaN is that it is not equal to itself var findNaN = needle !== needle; var indexOf; if(!findNaN && typeof Array.prototype.indexOf === 'function') { indexOf = Array.prototype.indexOf; } else { indexOf = function(needl...
class String { constructor(bodyA, pointB){ var options = { bodyA: bodyA, pointB: pointB, stiffness: 0.04, length: 10 } this.pointB = pointB this.string= Constraint.create(options); World.add(world, this.sling...
/** * 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. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
import * as React from "react" import { Link } from "gatsby" import { BlogItemStyles } from "./BlogStyles" import Button from "../Button/Button" const BlogItem = ({ blog }) => { const { slug, title, published, introduction } = blog return ( <BlogItemStyles> <h2> <Link to={slug}>{title}</Link> ...
// Copyright (c) YugaByte, Inc. import { formValueSelector, reduxForm } from 'redux-form'; import { connect } from 'react-redux'; import { RollingUpgradeForm } from '../../../common/forms'; import { closeDialog } from '../../../../actions/modal'; import { rollingUpgrade, rollingUpgradeResponse, closeUniverseDial...
/* * /MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js * * Copyright (c) 2012 Design Science, Inc. * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the ...
import mongodb from "mongodb"; const ObjectId = mongodb.ObjectId; let movies; export default class MoviesDAO { // Establish connection handle in moviesDAO static async injectDB(conn) { if (movies) { return; } try { const database = await conn.db(process.env.MFLIX_NS); movies = database.collection("m...
// Copyright 2021 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. const appName = 'com.google.chrome.test.echo'; const kExtensionURL = 'chrome-extension://knldjmfmopnpolahpmmgbagdohdnhkik/'; var sentMessage = {text: 'te...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const enhanced_resolve_1 = require("enhanced-resolve"); const path = require("path"); function resolveUser(id) { return new Promise((resolve, reject) => { if (id.startsWith('/')) { id = '.' + id; } resol...
module.exports = { extends: ['cz'], rules: { 'type-empty': [2, 'never'], 'subject-empty': [2, 'never'], 'scope-case': [1, 'always', 'pascal-case'], 'subject-case': [0], 'subject-full-stop': [0], }, };
/*! * * simple-keyboard v2.27.56 * https://github.com/go-keyboard/keyboard * * Copyright (c) Francisco Hodge (https://github.com/hodgef) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ !function(t,e){"object"===...
import React from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' import {Link} from 'react-router-dom' import {logout} from '../store' const Navbar = ({handleClick, isLoggedIn}) => ( <div> <div> <Link to="/home"> <h1 className="logo">Go Games</h1> </Link> <...
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{341:function(t,e,n){"use strict";var i=n(6),r=n(60),a=n(212),o=n(13),c=n(65),s=n(158),l=n(213),u=n(38);i({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(th...
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{eyxc:function(n,e,t){"use strict";t.r(e),t.d(e,"DistinctuntilchangedModule",(function(){return v}));var i=t("iInd");class c{constructor(){this.fruits=["banana","apple","apple","banana","banana"],this.expectedFruits=["banana","apple","banana"],this.code='const fr...
import mongoose from 'mongoose'; // We are establishing a 1-1 relationship here, where one user account can only map back to one profile // Can an account have more than one profile. Sure. You can make your design choices in your own project on this matter. But for now, we will establish this as a 1-1 relationship. c...
/*! videojs-wavesurfer v1.3.1 * https://github.com/collab-project/videojs-wavesurfer * Copyright (c) Collab 2014-2017 - Licensed MIT */ !function(a,b){"function"==typeof define&&define.amd?define(["videojs","wavesurfer"],b):"object"==typeof module&&module.exports?module.exports=b(require("video.js"),require("wavesurfer...
var waktu = $('#waktu').val(); var oldDate = new Date(waktu); var hour = oldDate.getHours(); var newDate = oldDate.setHours(hour + 24); console.log(newDate); // Set the date we're counting down to = tujuan = 24 jam var countDownDate = newDate; // console.log(countDownDate); // Update the count down every 1 second v...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPropChange = exports.isLatLngChange = exports.toTuple = void 0; var toTuple = function (latLng) { return (Array.isArray(latLng) ? latLng : [latLng.lat, latLng.lng]); }; exports.toTuple = toTuple; var isLatLngChange = function (latLng...
/* global chai */ import sinonChai from 'sinon-chai' import chaiAsPromised from 'chai-as-promised' import dirtyChai from 'dirty-chai' chai.use(sinonChai) chai.use(chaiAsPromised) chai.use(dirtyChai)
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { AuthenticationError, BadRequest, DDoSProtection, ExchangeError, ExchangeNotAvailable, InsufficientFunds, InvalidOrder, OrderNotFound, PermissionDenied } = require ('./bas...
import { all, fork, takeLatest, takeEvery, call, put, delay } from 'redux-saga/effects'; import axios from 'axios'; import { LOG_IN_SUCCESS, LOG_IN_FAILURE, LOG_IN_REQUEST, SIGN_UP_SUCCESS, SIGN_UP_FAILURE, SIGN_UP_REQUEST, LOG_OUT_SUCCESS, LOG_OUT_FAILURE, LOG_OUT_REQUEST, LOAD_USER_SUCCESS, LOAD_USER_FAILURE, LOAD_US...
/** * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ ( function() { function noBlockLeft( bqBlock ) { for ( var i = 0, length = bqBlock.getChildCount(), child; i < length && ( child = bqBlock.getChild(...
// COPYRIGHT © 201 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute ...
import * as React from 'react'; import PropTypes from 'prop-types'; import NextLink from 'next/link'; import Button from '@mui/material/Button'; import Divider from '@mui/material/Divider'; import { styled, alpha } from '@mui/material/styles'; import List from '@mui/material/List'; import Drawer from '@mui/material/Dra...
import { hapticSelectionChanged } from '../../utils'; import { clamp } from '../../utils/helpers'; import { createThemedClasses } from '../../utils/theme'; /** @hidden */ export class PickerColumnCmp { constructor() { this.optHeight = 0; this.pos = []; this.rotateFactor = 0; ...
import Http from '../../utils/Http' import Transformer from '../../utils/Transformer' import * as articleActions from './store/actions' function transformRequest(parms) { return Transformer.send(parms) } function transformResponse(params) { return Transformer.fetch(params) } export function articleAddRequest(par...
/** * Copyright 2015 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 appli...
'use strict'; let mongoose = require('mongoose'); let note = require('../models/noteModel'); // Get /note function getNotes(req, res) { let query = Note.find({}); query, exec((err, notes) => { if (err) res.send(err); res.json(notes); }); } // Post /note/:id function postNote(req, res)...
const Issue = require('../../models/IssueModel'); module.exports = function (req, res) { const { id } = req.params; Issue.findById(id).populate("project").then(issue => { res.json(issue); }) }
const CHECK = 'planner/login/credentials/CHECK'; const CREATE = 'planner/login/credentials/CREATE'; const initialState = [ { email: 'xmartinez@gmail.com', password: 'skyhigh87', }, ]; // Action Creators export const fetchCredentials = () => ({ type: CHECK, }); export const createCredentials = (email, p...
// fetch() is built in to Next.js 9.4 (you can use a polyfill if using an older version) /* global fetch:false */ import { useState, useEffect, useContext, createContext, createElement } from 'react' const DEFAULT_BASE_URL_COOKIE_NAME = 'next-auth.base-url' const DEFAULT_SITE = '' const DEFAULT_BASE_PATH = '/api/auth'...
module.exports={A:{A:{"2":"J D E F A B tB"},B:{"2":"C K L G M N O","194":"P Q R S V W X Y Z a b c d e f g h i j T H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 iB I k J D E F A B C K L G M N O l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB jB PB kB QB RB U SB TB UB VB WB XB YB ZB aB bB cB dB eB fB P Q R l...
import React from 'react' import {StaticImage} from "gatsby-plugin-image" import styled from "@emotion/styled" import {css, jsx} from '@emotion/react' import DownScrollIcon from './DownScrollIcon' import bgGradient from "./AboutPage/bgGradient.jpeg" import CurriculumTimelineMobile from './AboutPage/CurriculumTimelineMo...
var app = new Vue({ el:'#section-list', data:{ sectionList: [], keyword: "" }, methods:{ sectionDetails: function(item_id){ window.location.href = '/wechat/course/sectionIntroduction?item_id=' + item_id; }, index: function() { window.location.href = "/wechat"; }, myCenter: function() { window...
// Checks to see if given row-column pair are in snake const isSnakeSegment = (snake, row, col) => { const reducer = (acc, val) => acc || (val[0] === row && val[1] === col); return snake.reduce(reducer, false); } export default isSnakeSegment;
// @flow import {observable} from 'mobx'; import ResourceStore from '../../../stores/ResourceStore'; import FormInspector from '../FormInspector'; import FormStore from '../stores/FormStore'; jest.mock('../../../stores/ResourceStore', () => jest.fn(function(resourceKey, id, options) { this.resourceKey = resourceKe...
/** * Session Configuration * (sails.config.session) * * Use the settings below to configure session integration in your app. * (for additional recommended settings, see `config/env/production.js`) * * For all available options, see: * https://sailsjs.com/config/session */ module.exports.session = { /*****...
// @flow import React from 'react' import { StyleSheet, View } from 'react-native' import { Paragraph, Portal } from 'react-native-paper' import normalize from '../../../lib/utils/normalizeText' import SimpleStore from '../../../lib/undux/SimpleStore' import CustomButton from '../buttons/CustomButton' import ErrorIcon ...
"use strict"; class Time { static get current() { let hrtime = process.hrtime(); return (hrtime[0] * 1000000 + hrtime[1] / 1000) / 1000; } } Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Time; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC...
var http = require('http'); var fs = require('fs'); var hostname = '127.0.0.1'; // var hostname = '192.168.14.254'; var port = 3000; console.log(1); // 创建服务器 var server = http.createServer(function(req, res){ // 跳过了 chrome 的收藏夹图标的请求 if (req.url == '/favicon.ico') return; // 获取用户的IP ...
/* Modernizr 2.7.2 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-a_download */ ;window.Modernizr=function(a,b,c){function t(a){i.cssText=a}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function v(a,b){return typeof a===b}function w(a,b){return!!~(""+a).indexOf(b)}function x(a,b,d){for(v...
// ==UserScript== // @name Open CDN MenuCommand // @namespace https://github.com/Cologler/monkeys-javascript // @version 0.1.1 // @description register open CDN MenuCommand // @author Cologler (skyoflw@gmail.com) // @match https://github.com/* // @...
'use strict'; /******************************************************************************************** * * * Plese read the following tutorial before implementing tasks: * * https://developer.mo...
import React from "react"; const dom = (eq) => ({ type: "math", subtype: "summationSymbol", children: [{ text: "\u00b7" }], }); const Element = (attributes, children) => { return <span {...attributes}>{children}</span>; }; const icon = (attributes, children) => { return <span {...attributes}> &#183;{child...
$(function () { $(document).ready(function () { var map; var bounds; var $hsLatitude, $hsLongitude; var infowindow = new google.maps.InfoWindow(); var markersCollection = [] $("#Scontainter").draggable(); Readhs(); setlanguage(); ...
import * as lib from "./lib/lib.js"; import CONSTANTS from "./constants.js"; import { itemPileSocket, SOCKET_HANDLERS } from "./socket.js"; import { ItemPileInventory } from "./formapplications/item-pile-inventory.js"; import DropItemDialog from "./formapplications/drop-item-dialog.js"; import HOOKS from "./hooks.js"; ...
// META: script=/common/get-host-info.sub.js // META: script=./resources/common.js // META: timeout=long 'use strict'; assert_true(self.crossOriginIsolated); promise_test(async testCase => { const {iframes, windows} = await build([ { id: 'cross-site-1', window_open: true, children: [ {...
var searchData= [ ['ddualquat',['ddualquat',['../a00189.html#ga3d71f98d84ba59dfe4e369fde4714cd6',1,'glm']]], ['decompose',['decompose',['../a00204.html#ga0f1245817507156b337798a253577c8b',1,'glm']]], ['degrees',['degrees',['../a00151.html#gabccdcc282134fd62af0ff3d6e4bb21f1',1,'glm']]], ['determinant',['det...
// Código responsa por proceder com o req, res que foi passado pela rota /* Abaixo dentro do yup (framework de schema validation), não temos export.default, portanto procedemos com o seguinte:*/ import * as Yup from 'yup' import User from '../models/User' class UserController { // store: responsa por cr...
import axios from 'axios/dist/axios' export const register = newUser => { return axios .post('http://localhost:5000/users/register', { genre: newUser.genre, tranche_d_age: newUser.tranche_d_age, pays: newUser.pays, ville: newUser.ville, email: newUser.email, password: newUser....
/* globals simulant chai DocumentTouch */ var expect = chai.expect /** * This file represents perfectly how you should not do a unit test! * I will clean this up once */ function check(done, f) { f() done() } var testDiv = document.createElement('div'), isTouch = 'ontouchstart' in window || window.D...
/* * Copyright 2020 Poly Forest, LLC * * 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 or agree...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{ /***/ "./node_modules/@ionic/core/dist/esm/ion-alert-ios.entry.js": /*!******************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm/ion-alert-ios.entry.js ***! \************************************...
import React from 'react' import * as Survey from '@core/survey/survey' import * as DateUtils from '@core/dateUtils' import { useI18n } from '@webapp/commonComponents/hooks' const SurveyListRow = props => { const { row: surveyRow, isRowActive } = props const surveyInfoRow = Survey.getSurveyInfo(surveyRow) con...
import React from 'react'; import { useRouter } from 'next/router'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faSearch } from '@fortawesome/free-solid-svg-icons'; import HeaderSearchModal from './HeaderSearchStyle'; import InputSearch from './searchBox'; function HeaderSearch() { co...
String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1) }