text
stringlengths
2
1.04M
'use strict'; System.register(['./components/assets', './components/credentials', './components/config'], function (_export, _context) { "use strict"; var AssetPageCtrl, CredentialPageCtrl, ExampleAppConfigCtrl; return { setters: [function (_componentsAssets) { AssetPageCtrl = _componentsAssets.AssetP...
/** * date: 2018-05-24 16:11 * auth: XuQiang **/ export default (date) => { if (date && typeof date !== 'number') { throw new Error('Syntax error, parameter types can only be time stamp or null.'); } date = date || Date.now(); const week = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; const month = ['...
/*! * tablesort v5.1.0 (2018-09-14) * http://tristen.ca/tablesort/demo/ * Copyright (c) 2018 ; Licensed MIT */ !function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})/,"$3-$2-$1"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(-1!==b.sea...
/* eslint @typescript-eslint/no-var-requires: 0 */ const config = require("./webpack.config.dev.js"); module.exports = { ...config, resolve: { extensions: config.resolve.extensions, // Reset resolution back to defaults. Required for 'dist' mode. We want everything to be loaded from 'node_modules', // ...
module.exports = new Date(2010, 0, 9)
var path = require('path') var utils = require('./utils') var config = require('../config') var vueLoaderConfig = require('./vue-loader.conf') function resolve (dir) { return path.join(__dirname, '..', dir) } module.exports = { entry: { app: './src/main.ts' }, output: { path: config.build.assetsRoot, ...
import jQuery from 'jquery'; export default function checkInView() { if (jQuery.fn.checkInView) { return; } jQuery.fn.checkInView = function(partial = false) { const elem = this; if (!elem.length) { return false; } const container = elem.parent(); const contHeight = container.he...
const mix = require('laravel-mix'); mix.browserSync('127.0.0.1:8001'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack bu...
define(function (require, exports, module) { //搜索 require('search/index'); //from page var active = 0, as = document.getElementById('indicator').getElementsByTagName('li'); for (var i = 0; i < as.length; i++) { (function () { var j = i; as[i].onclick = funct...
/* @flow */ import * as React from 'react'; import { Localized } from '@fluent/react'; /** * Marks term expressions from Fluent syntax. * * Documentation: https://projectfluent.org/fluent/guide/terms.html * * Example matches: * * {-brand} * { -brand } * { -brand-name } */ const fluentTerm = { rule...
import React from "react"; import { IndexLink, Link } from "react-router"; export default class Navigation extends React.Component{ constructor(){ super(); this.state = { collapsed: true, }; } toggleCollapse(){ const collapsed =!this.state.collapsed; this....
import React from 'react'; import configureStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { Provider } from 'react-redux'; import promiseMiddleware from 'redux-promise-middleware'; import { Route, MemoryRouter } from 'react-router-dom'; import { act } from 'react-dom/test-utils'; import notifica...
(function (jQuery) { // Variable var $ = jQuery; $.fn.ripple = function () { $(this).click(function (e) { var rippler = $(this), ink = rippler.find(".ink"); if (rippler.find(".ink").length === 0) { rippler.append("<span class='ink'></span>");...
export default class DomHandler { static innerWidth(el) { if (el) { let width = el.offsetWidth; let style = getComputedStyle(el); width += parseFloat(style.paddingLeft) + parseFloat(style.paddingRight); return width; } return 0; } st...
import React, { useState, useEffect } from 'react'; import { Feather } from '@expo/vector-icons' import { useNavigation } from '@react-navigation/native' import { View, FlatList, Image, Text, TouchableOpacity } from 'react-native'; import api from '../../services/api' import logoImg from '../../assets/logo.png' impo...
import React from 'react'; import { useSelector } from 'react-redux'; import { useLocation } from 'react-router-dom'; import cx from 'classnames'; import { t, BraytechText, BungieText } from '../../../utils/i18n'; import manifest from '../../../utils/manifest'; // import OberservedImage from '../../../components/Obse...
import React, { Fragment, useState, useEffect } from 'react'; import { useStyles } from './DeleteEquipmentStyles'; import { useSelector, useDispatch } from 'react-redux'; import { deleteEquipment, getEquipment } from '../../redux/actions/equipmentActions'; import Spinner from '../../components/Spinner/Spinner'; import ...
/** * The Fibonacci sequence is defined by the recurrence relation: * * Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1. * Hence the first 12 terms will be: * * F1 = 1 * F2 = 1 * F3 = 2 * F4 = 3 * F5 = 5 * F6 = 8 * F7 = 13 * F8 = 21 * F9 = 34 * F10 = 55 * F11 = 89 * F12 = 144 * The 12th term, F12, is the fi...
import React, { Component, Console } from 'react'; import { StyleSheet, Text, View, TextInput, ImageBackground, TouchableOpacity, ToastAndroid } from 'react-native'; //import IndexLogin from '../../../indexLogin'; import NetworkService from '../../../networks/NetworkService' import AsyncStorage from 'react-native'; ex...
/* --- START --- */ $(".insert-produto").hide(); $("#cancel_add-produto").hide(); /* --- FUNCTIONS --- */ //PRODUTO_INFO var content_info = function(id){ var obj = { "img": $("tr#"+id).find("img").attr("src"), "nome": $("tr#"+id).find(".nome").text(), "categoria": $("tr#"+id).find(".catego...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * If ToBoolean(x) is true, return x * * @path ch11/11.11/11.11.2/S11.11.2_A4_T4.js * @description Type(x) or Type(y) vary between Null and Undefined */ //CHECK#1 if ((true || undefined) !== true) { $ERROR('#1: (true || undefined) === true'); } //...
import { createIcon } from '../createIcon'; export const FireAltIconConfig = { name: 'FireAltIcon', height: 512, width: 448, svgPath: 'M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163....
function makeLogging(f, log) { function wrapper() { log.push([].slice.call(arguments)); return f.apply(this, arguments); } return wrapper; }
'use strict'; const mongoose = require('mongoose'); const usersSchema = mongoose.Schema({ username: { type: String, required: true }, password: { type: String, required: true }, }); const Users = mongoose.model('users', usersSchema); module.exports = Users;
(function (config, vendorPath) { "use strict"; var paths = { 'jquery': vendorPath + '/static/bower_components/jquery/dist/jquery', 'require.js': vendorPath + '/static/require.js/require', 'socket.io': vendorPath + '/static/socket.io/socket.io.min', 'react': vendorPath + '/static...
search_result['2436']=["topic_00000000000005D4.html","ApplicantDetailHistoryResponseDto Constructor",""];
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export var Text = (function () { function Text(value, sourceSpan) { this.value = value; this.sour...
"use strict"; /** * validators service * * @module services/validators **/ var _requestObj = null; /** * validators constructor * * @constructor */ const Validators = function(requestObj){ const oThis = this; // Assign request object _requestObj = requestObj; // Define the url prefix oThis.urlPref...
exports.up = function(knex) { return knex.schema.table('images', function(t) { t.string('external_url') }) .then(() => { console.log('added external_url to images') }) .catch((err) => { throw err} ) .finally(() => { knex.destroy() }) }; exports.down = function(knex) { return knex.schema.table('images...
'use strict'; import format from 'errors/format'; export function assertJSON(json, config, path = '') { for (const prop in config) { if (!config.hasOwnProperty(prop) || typeof config[prop] !== 'object' || config[prop] === null) { continue; } const { type, checks, children } = config[prop];...
angular.module('ovh-api-services').service('OvhApiTelephonyEasyHuntingV6', ($resource, $cacheFactory) => { const cache = $cacheFactory('OvhApiTelephonyEasyHuntingV6'); const queryCache = $cacheFactory('OvhApiTelephonyEasyHuntingV6Query'); const interceptor = { response(response) { cache.remove(response...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sleep = async (ms) => { return new Promise(resolve => setTimeout(resolve, ms)); }; exports.busyWaitForNanoSeconds = (duration) => { return new Promise(res => { const start = process.hrtime.bigint(); let isWaitin...
define([ './defaultValue', './defined', './defineProperties', './DeveloperError' ], function( defaultValue, defined, defineProperties, DeveloperError) { 'use strict'; /** * Determines visibility based on the distance to the camera. *...
import React, { Component } from 'react' import { Redirect } from 'react-router-dom' import $ from 'jquery' import { toast } from 'react-toastify' import Http from '../Http' class ModalDelete extends Component { constructor(){ super() this.state = { isLoadingBtn: false, isD...
// 获取时间yyy-mmm-ddd export function getNowFormatDate() { let date = new Date(); let seperator1 = "-"; let year = date.getFullYear(); let month = date.getMonth() + 1; let strDate = date.getDate(); if (month >= 1 && month <= 9) { month = "0" + month; } if (strDate >= 0 && strDate <=...
import React, { Component } from 'react' import { Container, Icon, Segment, Header } from 'semantic-ui-react' import { Link } from 'react-router-dom' export default class Home extends Component { render() { return ( <Container className="page"> <Header as='h1'> <Icon name='rocket'/> ...
/** * @author Dmitry Malakhov */ 'use strict'; const { resolve } = require('path'), webpack = require('webpack'), omit = require('lodash.omit'); const Package = require('../package.json'); const PATH_SOURCES = resolve(__dirname, '../app'); const PATH_DIST = resolve(__dirname, '..', 'public'); const dependenc...
import React, { useState, useEffect } from 'react' import { Form, Input, Button, Select, Spin, message, Row, Col } from 'antd/lib'; import { authHeader, handleError } from "../../common/AuthHeader.js"; import { useSelector, useDispatch } from "react-redux"; import { assetsActions } from '../../../redux/actions/Assets';...
/* * Kendo UI Web v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx * If you do not own a commercial license, this file shall be governed by the * GN...
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import LinearProgress from '@material-ui/core/LinearProgress'; const styles = { root: { flexGrow: 1, }, }; class LinearBuffer extends React.Component { state = { completed: 0, buffer...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_definePr...
import React from 'react' import Link from 'gatsby-link' const SecondPage = () => ( <div> <h1>Lear to design code</h1> <p>Welcome to page 2</p> <Link to="/">Go back to the homepage</Link> </div> ) export default SecondPage
export default { 'ADD_PREFIX': 'Add', 'ADD_PREFIX_2': 'Add another', 'ADD_SUFFIX': '', 'ADD_TO_PREFIX': 'Add to', 'ADD_TO_SUFFIX': '', 'less 10MB': '< 10MB', 'more 1GB': '> 1GB', 'SEARCH_PLACEHOLDER': 'Search', 'PHAIDRA_IS': 'Phaidra is the repository for the permanent secure storage of digital assets...
import { Public } from '../public' import { ForgotPasswordForm } from '../../forms/forgot-password-form' import { SignInPage } from './sign-in-page' export class ForgotPasswordPage extends Public { pageUrl() { return '/user/forgot_name' } constructor() { super() ...
import PropTypes from 'prop-types' import Icon from './Icon' const CelebrateIcon = ({ viewBox }) => ( <Icon fill> <svg viewBox={viewBox} xmlns="http://www.w3.org/2000/svg"> <g> <path d="M72.1,51.9L48.3,32.8c-1.1-0.9-2.6-1.3-4-0.9c-1.4,0.4-2.6,1.5-3,2.8l-16.6,45l-0.1,0.2c-0.6,1.8,0.1,3.8,1...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
import Transform2D from 'components/Transform2D.js'; import MainLoop from 'system/MainLoop.js'; import Canvas from 'canvas/Canvas.js'; import GetContext from 'canvas/GetContext.js'; import AddToDOM from 'dom/AddToDOM.js'; import CLS from 'canvas/graphics/Clear.js'; import DrawImage from 'canvas/DrawImage.js'; import Se...
require("babel-register"); require('./server.js');
import React from "react"; import { BrowserRouter } from "react-router-dom"; // hydrate is responsible for server rendering going forward import { hydrate as render } from "react-dom"; import App from "./app"; import { Provider } from "react-redux"; import store from "./store"; import registerServiceWorker from "./regi...
importScripts("lunr.min.js"); addEventListener('message', function (e) { var index = lunr(function () { this.field('title', {boost: 10}) this.field('body') this.ref('id') e.data.forEach(function (doc) { this.add(doc) }, this); }); self.postMessage(JSON....
'use strict'; describe('applicationCreate', function() { var scope, _utils, location, controller, _apiService, _window, q; beforeEach(module('app')); beforeEach(inject(function($controller, $location, $rootScope, $q, apiService, utils) { controller = $controller; scope = $rootScope.$new()...
import WidgetSettings from "../templates/widget-settings.html"; export default { name: "template-settings", props: ["widget", "form", "config"], template: WidgetSettings, };
'use strict' module.exports = { gitRawCommitsOpts: { // null => 所有 commit 上的 tag 计入 changelog // true => 仅 merge commit 上的 tag 计入 changelog // null => 仅非 merge commit 上的 tag 计入 changelog merges: null } }
var should = require('should') var mockFS = require('mock-fs') var envRestorer = require( 'env-restorer' ) var authenticator = require('../lib/authenticator') var testHelper = require('./_helper') // Restore File system mocks, authentication state and environment variables var restoreAll = function () { mockFS.resto...
import vhttp from './index' // 是否是登录用户 export const get_whoami = params => vhttp('/whoami', params, 'GET') //注册 export const register = params => vhttp('/v1/register/', params, 'POST') //登陆 export const login = params => vhttp('/v1/login/', params, 'POST') //发表文章 export const publishArticle = params => vhttp('/v1/artic...
'use strict' const co = require('co') const prompt = require('co-prompt') const config = require('../templates.json') const chalk = require('chalk') const fs = require('fs') const path = require('path') module.exports = () => { co(function* () { const tplName = yield prompt(chalk.green('Please input will delete...
var searchData= [ ['walldirection_2509',['WallDirection',['../structdg_1_1geo_1_1_wall_direction.html#a19b7dd3e978f1cb73eabdfb7c113ccdb',1,'dg::geo::WallDirection']]], ['walldistance_2510',['WallDistance',['../../../dg/html/structdg_1_1_wall_distance.html#a4b28821101928d2250225b2e30546ef2',1,'dg::WallDistance']]], ...
import {fetch, post} from '../http'; /** * @param params 对象参数 * @returns {*} */ // 查询列表 export function findVideoList (params) { return fetch('video/findList', params); } export function delVideo (params) { return fetch('video/del', params); } export function addVideo (params) { return post('video/add...
/*! Copyright (c) 2011, Lloyd Hilaiel, ISC License */ /* * This is the JSONSelect reference implementation, in javascript. */ (function(exports) { var // localize references toString = Object.prototype.toString; function jsonParse(str) { try { if(JSON && JSON.parse){ return...
const Base = require('../base') class Add extends Base { /** * 添加歌曲到歌单 * @param {number} playlistId 歌单 ID * @param {string|number|Array<number>} songIds 音乐 ID */ async addSongs (playlistId, songIds) { if (typeof songIds === 'string' || typeof songIds === 'number') { // 如果是 string or Number ...
'use strict' class ParserInterface { constructor () { if (new.target === ParserInterface) { throw new Error('ParserInterface cannot be directly constructed') } } parse () { throw new Error('Unimplemented method') } } module.exports = ParserInterface
/* eslint-disable max-len */ import React, { Component, Fragment } from 'react'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import Preloader from '@components/shared/Preloader/Preloader'; import { authPropTypes } from '@helpers/proptype...
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.widget.FloatingPane"); dojo.provide...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; // create a schema for live data from Device var deviceStatusSchema = new Schema({ sensor_name: String, sensor_id: String, IsActive: Boolean, created_at: Date, updated_at: Date }); // on every save, add the date deviceStatusSchema.pre('save',...
jQuery.sap.registerPreloadedModules({ "version":"2.0", "modules":{ "library/d/some.js":function(){/*! * ${copyright} */ console.log("HelloWorld"); } }});
// Bootstrap & Popper.js try { window.Popper = require('popper.js').default; window.$ = window.jQuery = require('jquery'); require('bootstrap'); } catch (e) {} // Lbc import LazyLoad from "vanilla-lazyload"; import Prism from 'prismjs' require('prismjs/components/prism-haxe') let codes = document.querySelect...
OC.L10N.register( "core", { "Please select a file." : "請選擇檔案", "File is too big" : "檔案太大", "Invalid image" : "無效的圖檔", "Preparing update" : "更新準備中", "Sunday" : "星期日", "Monday" : "星期一", "Tuesday" : "星期二", "Wednesday" : "星期三", "Thursday" : "星期四", "Friday" : "星期五", "Satur...
import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import { COLORS } from '../../constants'; import Anchor from "../anchor/Anchor"; const Article = ({children}) => <div>{children}</div>; const articleTitleStyle = { display: 'flex', alignItems: 'center', color: COL...
/** * Copyright 2019 The AMPHTML Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/** * Function to load the current version from json file */ function loadVersion() { $.ajax({ datatype: "json", url: 'version.json', contentType: 'application/json', beforeSend: function (xhr) { if (xhr.overrideMimeType) { xhr.overrideMimeType("applicat...
import React, {Component} from 'react'; import {render} from 'react-dom'; import {SortableContainer, SortableElement, arrayMove} from 'react-sortable-hoc'; import {List} from 'react-virtualized'; const SortableItem = SortableElement(({value}) => { return ( <li> {value} </li> ); }); class VirtualList...
import PropTypes from 'prop-types' import React, {Component} from 'react' import NextSeo from 'next-seo' import groq from 'groq' import imageUrlBuilder from '@sanity/image-url' import Layout from '../components/Layout' import client from '../client' import RenderSections from '../components/RenderSections' const build...
var rutassierraleona = [ { "origen":"sierra leona", "ip_origen":"197.157.232.1", "destino":"www.google.com", "ip_destino":"216.58.206.68", "saltos":[ { "salto":1, "ip":"197.157.232.1", "tipo":"publica", "lat":8.5, "lng":-11.5, "time1":0.649 , "time2":0.790 , "time3":0.584 ...
import './styles.scss' import { Link } from 'react-router-dom' import { FaFacebook, FaLinkedin, FaTwitter } from 'react-icons/fa' const Footer = (props) => { return ( <footer className="footer"> <div className="wrap-footer1"> <h4 style={{ fontWeight: '400' }}> &copy; Acrotech {new Date()....
'use strict'; import {Comment} from './comment'; import {Param} from './param'; export function PostData(opts = {}) { // internal properties Object.defineProperties(this, { _params: { enumerable: false, configurable: false, writable: true, value: [] } }); Comment.call(this, op...
import { fromJS } from 'immutable'; import { ENTITIES_LOADED } from 'entities/constants'; import { CLUE_UPDATED } from 'entities/Clues/constants'; import { PUZZLE_DELETED } from 'containers/DeletePuzzleModal/constants'; import { PUZZLE_TITLE_UPDATED, PUZZLE_NOTES_EDITED, PUZZLE_SYMMETRY_SET, } from './constants';...
import { createSelector } from '@reduxjs/toolkit'; import { rolesByName, twoFAStates } from '../constants/userConstants'; import { getDemoDeviceAddress as getDemoDeviceAddressHelper } from '../helpers'; const getAppDocsVersion = state => state.app.docsVersion; const getFeatures = state => state.app.features; const get...
exports.$ = (id) => document.getElementById(id)
import React, { Component } from "react"; import { Button, Icon } from "components"; import Label from "egov-ui-kit/utils/translationNode"; import { SuccessMessage } from "modules/common"; import CommonSuccessMessage from "../../modules/CommonSuccessMessage"; import { connect } from "react-redux"; class AssignToDriver...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 ...
//# sourceMappingURL=ej2-react-progressbar.umd.min.js.map
webpackJsonp([44],{"5wFO":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"complexTable",components:{listPage:n("68S3").default}},s={render:function(){var e=this.$createElement;return(this._self._c||e)("listPage")},staticRenderFns:[]},a=n("VU/8")(l,s,!1,null,null,null);t.defaul...
import React, { Component } from 'react'; import momment from "moment"; export default class App extends Component { render() { return ( <div className='app'> <h1>React thingy</h1> <h2>Dope</h2> <div> {momment().format('MMMM Do YYYY, h:mm:ss a')} </div> </div...
export function l10n(s) { const language = l10n.locale.substring(0, 2); let result = ''; // Attempt to find a match for the current locale if (l10n.strings[l10n.locale]) result = l10n.strings[l10n.locale][s]; // If none is found, attempt to find a match for the language if (!result && l10n.st...
'use strict'; //we want some specific information from postData (our entire request) //so we'll use querystring to get it. var querystring = require("querystring"); var fs = require("fs"); var formidable = require("formidable"); function start(response, postData) { console.log("requestHandler 'start' called"); ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[283],{732:function(module,exports,__webpack_require__){module.exports=__webpack_require__(1)("FnO0")}}]);
var Future = Npm.require("fibers/future"); AppConfig = {}; AppConfig.findGalaxy = _.once(function () { if (!('GALAXY' in process.env || 'ULTRAWORLD_DDP_ENDPOINT' in process.env)) { return null; } return Follower.connect(process.env.ULTRAWORLD_DDP_ENDPOINT || process.env.GALAXY); }); var ultra = AppConfig....
'use strict' const fs = require('fs') const { selectedRanges, shortListOfRanges } = require('./code-point-ranges') const Measurer = require('./measurer') const { format, formatRange } = require('./format') const { compact } = require('./compact') const { eachCharOfRanges } = require('./range') async function computeW...
const assert = require('assert') const UnityAuthenticationClient = require('../').UnityAuthenticationClient const constants = require('./constants') describe('UnityAuthenticationClient', () => { it('should construct', () => { new UnityAuthenticationClient('') new UnityAuthenticationClient('', '') ...
var struct___t_o_p_s_e_n_s___j_o_i_n_t = [ [ "Orientation", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#adc2d7dce255f281b0debb5823f8f69f1", null ], [ "Position", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#a2903185f44307386081a2311648cc313", null ], [ "Rotation", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#ab5e3d8ff...
import React from 'react'; import bgImage from './img/hero-bg.jpg' const Hero = () => { return ( <section> <div className="p-24 bg-cover bg-center" style={{ backgroundImage: `url(${bgImage})` }}></div> <div className="max-w-5xl mx-auto"> <div className="flex flex...
$(document).ready(function () { $('.dropdown-toggle').dropdown(); $(".collapse").collapse(); $('.date-ago').each(function (index, value) { var el = $(value); var date = moment(el.html()); el.html(date.fromNow()); }); $('.at-on-date').each(function (index, value) { ...
const clonedeep = require('lodash.clonedeep'); const env = process.env.DEPLOYMENT_ENV || 'development'; const development = { frameworks: { minExitPeriod: process.env.MIN_EXIT_PERIOD || 60 * 10, // The minimum exit period for testing is 10 minutes. initialImmuneVaults: 2, // Allow 2 vaults (ETH a...
(function() { function addListener(callback) { if (wbinfo.proxy_magic) { window.addEventListener("__wb_to_event", callback); } else { window.addEventListener("message", callback); } } function getMessage(event) { if (wbinfo.proxy_magic) { ...
import React from "react"; import ReactDOM from "react-dom"; import { createMemoryHistory, createBrowserHistory } from "history"; import App from "./App"; const mount = (el, { onSignIn, onNavigate, defaultHistory, initialPath }) => { const historyFn = defaultHistory || createMemoryHistory; const history = historyF...
// This file is part of React-Invenio-Deposit // Copyright (C) 2020 CERN. // Copyright (C) 2020 Northwestern University. // // React-Invenio-Deposit is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for more details. export { AccessRightField } from './A...
'use strict'; let matrix = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]; function spin ( matrix ) { let temp_index = matrix[0].length - 1; let matrix_index = 0; let matrix_clone = matrix.slice(); while ( temp_index >= 0 ) { let temp = []; for ( let i=0; i<matrix_clone.length; i++) { temp.push( m...
// Your task is to create functionisDivideBy (or is_divide_by) to check if an integer number is divisible by each out of two arguments. // A few cases: // (-12, 2, -6) -> true // (-12, 2, -5) -> false // (45, 1, 6) -> false // (45, 5, 15) -> true // (4, 1, 4) -> true // (15, -5, 3) -> true funct...
/*var json = { "string": "foo", "number": 5, "array": [1, 2, 3], "object": { "property": "value", "subobj": { "arr": ["foo", "ha"], "numero": 1 } } };*/ function printJSON() { $('#json').val(JSON.stringify(json)); } function updateJSON(data) { ...
/** * @license Highmaps JS v9.0.1 (2021-02-16) * @module highcharts/modules/heatmap * @requires highcharts * * (c) 2009-2021 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import '../../Core/Axis/ColorAxis.js'; import '../../Mixins/ColorMapSeries.js'; import '../../Series/Heatmap/Heatma...