text
stringlengths
2
1.04M
/* scrollorama - The jQuery plugin for doing cool scrolly stuff by John Polacek (@johnpolacek) Dual licensed under MIT and GPL. */ (function($) { $.scrollorama = function(options) { var scrollorama = this, blocks = [], browserPrefix = '', ieVersion = '', onBlockChange = function() {}, latestK...
"use strict"; var d3 = require("d3"); var _ = require("underscore"); // Build a legend in the given div showing the top-level categories. // Div must be a jQuery selector. The div will be emptied. exports.makeViz = function(categories, div) { // Copy skeleton from the template. div.empty(); div.append($("...
// @flow import React, { Component, PropTypes } from 'react'; export default class App extends Component { static propTypes = { children: PropTypes.element.isRequired, }; render() { return ( <div> {this.props.children} </div> ); } }
module.exports = { preset: 'ts-jest', testEnvironment: 'node', rootDir: "src", coverageDirectory: "../coverage", };
var searchData= [ ['value_5ftype',['value_type',['../classlua_1_1_valset.html#a110ac4f055f3ef20cc6537e4a7736ac1',1,'lua::Valset']]] ];
define({ /* This is an auto generated file and any modifications to it may result in corruption of the action sequence. */ /** onClick defined for flxBack **/ AS_FlexContainer_c16b07fb0c9b4aeb9c6374a231976144: function AS_FlexContainer_c16b07fb0c9b4aeb9c6374a231976144(eventobject) { var se...
$(function() { //图片延迟加载 try { $(".lazy").lazyload( { threshold: 100, effect: "fadeIn", skip_invisible: false }); }catch(e){} /*header dropdown*/ $('.dropdown').hover(function() { $(this).addClass('hover'); }, function() { $(this).removeClass('hover'); }); /*nav menu*/ $('#...
var S = require('sanctuary'); var Maybe = require('./shared/Maybe'); var R = require('..'); var eq = require('./shared/eq'); var as = [[1], [3, 4]]; var bs = [[1, 2], [3]]; var cs = [[1, 2], [3, 4]]; describe('commuteMap', function() { var plus10map = R.map(function(x) { return x + 10; }); it('"pivots" a list ...
// Application Boot Directive import angular from 'angular' import ngRedux from 'ng-redux' // Css Loaders import '../style/app.css' import '../../node_modules/angular-material/angular-material.css' import '../../node_modules/angular-material-data-table/dist/md-data-table.min.css' // Import External Dependencies imp...
'use strict'; const test = require('tape'); const proxyquire = require('proxyquire'); test('export test', (t) => { const cli = require('../bin/cli'); t.equal(typeof cli, 'function', 'cli should be a function'); t.end(); }); test('default goal', (t) => { const cli = proxyquire('../bin/cli', { '../lib/nod...
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
/*! * use <https://github.com/jonschlinkert/use> * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; var utils = require('./utils'); module.exports = function base(app, opts) { if (!utils.isObject(app) && typeof app !== 'function') { throw new TypeError('use: expect ...
/* @generated */ // prettier-ignore if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') { }
const Polyhedral = require("../lib/index"); describe("Polyhedral", () => { it("returns this", () => { const instance = {}; expect(Polyhedral.bind(instance)()).toBe(instance); }); it.each(["plus", "minus", "roll", "rollEach", "sample", "stringify"])( "binds %s", fn => { const polyhedral = P...
import React from 'react'; import { StyleSheet, SafeAreaView, ScrollView} from 'react-native'; import PreservationHeader from '../PreservationHeader' import {connect} from 'react-redux'; import TagInfoModule from '../../../Modules/TagInfoView' import Icon from 'react-native-vector-icons/Ionicons' import NavigationHeade...
#!/usr/bin/env node const commander = require('commander'); const Config = require('../src/config'); const collect = require('../src/collect'); const { InitCommand } = require('../src/commands'); const { LogService } = require('../src/services'); const command = `${Config.COMMAND} init`; const program = new commande...
'use babel' import fs from "fs"; class FM { write (file, data) { fs.writeFile(`./${file}`, data, {flag: "a"}, (err) => { if (err) this.error(err); });; } writeFile (file, data) { fs.writeFile(`./${file}`, data, (err) => { if (err) this.error(err); }); } getTests () { return fs.readdirSync("./test...
/* //! version : 3.1.3 ========================================================= bootstrap-datetimepicker.js https://github.com/Eonasdan/bootstrap-datetimepicker ========================================================= The MIT License (MIT) Copyright (c) 2014 Jonathan Peterson Permission is hereby granted, free of c...
'use strict'; var _ = require('lodash'); var Address = require('./address'); var Base58Check = require('./encoding/base58check'); var BN = require('./crypto/bn'); var JSUtil = require('./util/js'); var Networks = require('./networks'); var Point = require('./crypto/point'); var PublicKey = require('./publickey'); var ...
import PropTypes from 'prop-types'; import React from 'react'; import ReactDataTable from '../data-table'; import MessageHandler from '../../../message.ts'; import ThemeHandler from '../../../theme.ts'; const Container = ({ serviceApi, serviceEndpointPath, action }) => { // eslint-disable-next-line no-unused-vars ...
const common = require('./webpack.config.common.js'); const createApp = common.createApp; module.exports = [ createApp('viewer', 'molstar') ];
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-mouseenter', function (Y, NAME) { /** * <p>Adds subscription and delegation support for mouseenter and mouseleave * events. Unlike mouseover and mouseout, t...
"use strict"; var electron = require('electron'); // Module to control application life. var app = electron.app; // Module to create native browser window. var BrowserWindow = electron.BrowserWindow; // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaS...
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{4054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.icon=void 0,n(9),n(5),n(6),n(7);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0));function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++)...
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
Clazz.declarePackage ("JS"); Clazz.load (["JU.M4"], "JS.SymmetryOperation", ["java.lang.Float", "JU.Matrix", "$.P3", "$.PT", "$.SB", "$.V3", "JU.Logger", "$.Parser"], function () { c$ = Clazz.decorateAsClass (function () { this.xyzOriginal = null; this.xyz = null; this.doNormalize = true; this.isFinalized = false; this...
/** * dojox - A version of dojox.js framework that ported to running on skylarkjs. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/dojox/ * @license MIT */ define(["dojo/_base/lang","dojo/on","dijit/registry","dojo/date/stamp"],function(e,t,i,o){var n=[];return{init:func...
'use strict'; import {PIPELINE_CONFIG_PROVIDER} from 'core/pipeline/config/pipelineConfigProvider'; const angular = require('angular'); module.exports = angular.module('spinnaker.core.pipeline.stage.resizeAsgStage', [ PIPELINE_CONFIG_PROVIDER, ]) .config(function(pipelineConfigProvider) { pipelineConfigProvi...
'use strict'; var _ = require( 'lodash' ), validator = require( 'validator' ), moment = require( 'moment' ), routeUtils = require( '../route-utils' ), Envelope = require( '../envelope' ), User = require( '../models/user' ), AccessToken = require( '../models/token' ),...
import React, { Component } from "react"; import actuatorImage from "../../../../images/actuator.png"; import PropTypes from "prop-types"; import Card from "@material-ui/core/Card"; import CardActions from "@material-ui/core/CardActions"; import EditIcon from "@material-ui/icons/Edit"; import DeleteIcon from "@material...
import React, { Component } from 'react'; import { View, Text, Image, TouchableOpacity, TextInput, ScrollView, DeviceEventEmitter, InteractionManager } from 'react-native'; import styles from '../../../css/styles'; import Config from '../../../config/config'; import ScreenInit from '../../../config/sc...
exports.run = async (client,message, args) =>{ const Discord = require("discord.js"); const async = require("async_hooks") // Most of this command is identical to kick, except that here we'll only let admins do it. // In the real world mods could ban too, but this is just an example, right? ;) if(!m...
import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import { DateTime } from 'luxon'; import { dateToStr } from '../components/DatePicker'; import ForexRateEndDateOption from '../components/ForexRateEndDateOption'; describe('<ForexRateEndDateOption />', () => { it('should render wi...
/*global define*/ define([ '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/Event', './createDynamicPropertyDescriptor' ], function( defaultValue, defined, defineProperties, Devel...
import React from "react"; import { navigate } from "gatsby"; import Seo from "../components/seo"; import CrossButton from "../components/crossButton"; import Layout from "../components/layout"; import styled from "styled-components"; const FaqContainer = styled.section` display: flex; flex-direction: row; over...
const DrawCard = require('../../../drawcard.js'); class Astapor extends DrawCard { setupCardAbilities(ability) { this.action({ title: 'Kneel to give character -STR', condition: () => this.game.currentChallenge, cost: ability.costs.kneelSelf(), target: { ...
"use strict"; exports.__esModule = true; exports.c_toolbar = { ".pf-c-toolbar": { "c_toolbar_PaddingTop": { "name": "--pf-c-toolbar--PaddingTop", "value": "1rem", "values": [ "--pf-global--spacer--md", "$pf-global--spacer--md", "pf-size-prem(16px)", "1rem" ]...
toCamelCase = (str) => { return str.replace(/[_-]\w/gi, (ch) => ch[1].toUpperCase()); }; module.exports = toCamelCase;
function validate(container_id){var final_flag=[];var final_answer;$(container_id+' .input-group').each(function(k3,v3){if($(this).children('input').length!=0) {method='text';} else if($(this).children('select').length!=0) {method='select';} else if($(this).children('textarea').length!=0) {method='textarea';} else{meth...
import React from "react"; import { Flex, Box, Text, Stack, Link } from "@chakra-ui/core"; import { ArrowRight } from "react-feather"; import { Link as BrowserLink } from "react-router-dom"; export default function Home() { return ( <Stack m="6" spacing="6"> <PageLink url="/launches">Browse SpaceX Launches...
/* istanbul ignore file */ export default function defaultScenario(server) { function createProvider(name, packages = []) { let provider = server.create('provider', { packagesTotal: packages.length, name }); packages.forEach((pkg) => { server.create('package', 'withTitles', { ...pkg, pr...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { fetchWeather } from '../actions/index'; class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; this.onInputChange = this.onInputC...
import { useState, useEffect } from 'react' import { useSelector, shallowEqual } from 'react-redux' import _ from 'lodash' import moment from 'moment' import AssetSelect from './asset-select' import TimelyTransactions from './charts/timely-transactions' import TimelyVolume from './charts/timely-volume' import Transac...
var app = new Vue({ el: '#invoice', data: { isProcessing: false, form: {}, errors: {} }, created: function () { Vue.set(this.$data, 'form', _form); }, methods: { addLine: function() { this.form.products.push({hsn_code:'', name: '', price: 0, qty: 1}); }, remove: function(pr...
import { formatISO, fromUnixTime, formatDistanceToNow, format, getUnixTime, parseISO } from "date-fns"; // two options for observed_on_string in uploader are: // 2020-03-01 00:00 or 2021-03-24T14:40:25 // this is using the second format // https://github.com/inaturalist/inaturalist/blob/b12f16099fc8ad0c0961900d644507f...
'use strict'; var mongoose = require('mongoose'); var Schema = mongoose.Schema; var uuid = require('uuid-v4'); var loginTokenSchema = new Schema({ email: {type: String, required: true } , series: {type: String, required: true } , token: {type: String, required: true } , ip: { type: String, required: true } ...
const isPalindrome = function isPalindrome(text) { }; module.exports = isPalindrome;
#pragma strict private var anim : Animator; public var grabPoint : Transform; public var grabRadius : float = 0.2; private var legs : GameObject; public var ClawDown : AudioClip; public var ClawGrab : AudioClip; public var ClawUp : AudioClip; private var sfx : AudioSource; function Awake () { anim = GetComponent...
function applySearchTargetsTab(context, searchContext, urlTo) { if (searchContext !== undefined) { var resultMap = {}; $('#search-query').typeahead({ remote: { url: context + '/' + searchContext + '/filterbyjson/%QUERY', filter: function(items) { var searchResults = []; for (var i = 0; i <...
// This code will go away in later versions of Meteor, this is just a "polyfill" // until the next release of Meteor maybe 1.0.3? // if (typeof DDPCommon === 'undefined') { DDPCommon = {}; DDPCommon.MethodInvocation = function (options) { var self = this; // true if we're running not the actual method, bu...
const express = require('express'); let router = express.Router(); const authenticateOwner = require('../middlewares/authenticateOwner'); const visitsController = require('../controllers/VisitsController'); const placesController = require('../controllers/PlacesController'); const jwtMiddleware = require('express-jwt...
import { isBlock, isVoid, hasVoid, isMeaningfulWhenBlank, hasMeaningfulWhenBlank } from './utilities' export default function Node (node, options) { node.isBlock = isBlock(node) node.isCode = node.nodeName === 'CODE' || node.parentNode.isCode node.isBlank = isBlank(node) node.flankingWhitespace = flankingWhite...
/* * * jQuery Editables 1.0.1 * * Date: Aug 11 2012 * Source: www.tectual.com.au, www.arashkarimzadeh.com * Author: Arash Karimzadeh (arash@tectual.com.au) * * Copyright (c) 2012 Tectual Pty. Ltd. * http://www.opensource.org/licenses/mit-license.php * */ (function($){ $.fn.editables = function(options){ ...
import BackgroundTimer from 'react-native-background-timer' import React, { Component } from 'react'; import Icon from 'react-native-vector-icons/FontAwesome'; import {TouchableOpacity, Platform, Alert, Text, View, TextInput, Button, StyleSheet, TouchableHighlightBase} from 'react-native'; import {Picker, Image,CustomI...
function previewImages() { var preview = document.querySelector('#preview'); if (this.files) { [].forEach.call(this.files, readAndPreview); } function readAndPreview(file) { // Make sure `file.name` matches our extensions criteria if (!/\.(jpe?g|png|gif)$/i.test(file.name))...
document.getElementById('contact-btn').addEventListener('click', ()=>{ alert('Contact page javascript working'); });
import React from "react"; import { createDrawerNavigator } from "react-navigation-drawer"; import { HeaderButtons, Item } from "react-navigation-header-buttons"; import HeaderButton from "./HeaderButton"; import NavegacaoBottomTab from "./NavegacaoBottomTab"; import AvaliacaoScreen from "./Avaliacao"; import Configur...
import hasInterface from '../../../../hasInterface'; import Collection from '../../../../java/util/Collection'; import OrientedCoordinateArray from './OrientedCoordinateArray'; import extend from '../../../../extend'; import SegmentString from './SegmentString'; import CoordinateArrays from '../geom/CoordinateArrays'; ...
// note: this will require a install of the rollup utility to process // our plugin code import babel from 'rollup-plugin-babel'; import commonjs from 'rollup-plugin-commonjs'; export default { input: 'src/index.js', plugins: [ babel({ externalHelpers: false, exclude : 'node_modules/**' }), commonjs() ...
define(["mvc/dataset/states","mvc/collection/collection-li","mvc/collection/collection-view","mvc/base-mvc","utils/localization"],function(a,b,c,d,e){"use strict";var f=b.DCListItemView,g=f.extend({className:f.prototype.className+" history-content",_setUpListeners:function(){f.prototype._setUpListeners.call(this),this....
process.env.BENCHMARK_FOLDER = 'scripts/run-benchmarks/benchmarks/benchmark_results' import { createBenchmark, scanFolder } from 'helpers-fn' import { parse, resolve } from 'path' import { mapAsyncLimit } from 'rambdax' const benchmarksDir = resolve(__dirname, '../../source/benchmarks') async function getAllBenchma...
export default { appName: 'Help Scout Challenge', appWelcomeMessage: 'Check out some books.', toggleNav: 'Toggle Navigation', books: 'Books', destroy: '(D)estroy', edit: 'Edit', cancel: 'Cancel', ok: 'OK', submit: 'Submit', back: 'Back', confirmBookDestroyTitle: 'Confirm Book Destruction', co...
import React from 'react'; export default function Caption(props) { const { caption } = props; return ( <div className='caption'> {caption} </div> ); }
function formatResponse(id, result, error) { return { id, result, error, jsonrpc: "2.0" } } module.exports = formatResponse
const InitialState = { cartVisible: false, order: [], totalCost: 0, totalItems: 0, view: 'categories', payment: false, activeCategory: undefined, activeProduct: undefined, } const updateItem = (cartItem = {}, product, diff) => { const { id = product.id, title = product.title, price = prod...
"use strict"; let Promise; if (process.env.Q_PROMISE) Promise = require('q').Promise; else Promise = require('promise'); const redis = require('redis'); const Redlock = require('redlock'); const redisClient = redis.createClient(6379, 'localhost'); const options = { delayMs: 100, maxStaleRetries: 2 }; const ...
export const geoJSON = { "type": "Polygon", "coordinates": [ [ [3652, 2330], [3652, 2332], [3652, 2334], [3652, 2336], [3654, 2338], [3652, 2340], [3652, 2342], [3652, 2344], [3652, 2346], ...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
/* globals require */ import loadEmberExam from 'ember-exam/test-support/load'; /** * Equivalent to ember-qunit or ember-mocha's loadTest() except this does not create a new TestLoader instance * * @function loadTests * @param {*} testLoader */ function loadTests(testLoader) { if (testLoader === undefined) { ...
import netflix from "./netflix.png"; import whatsapp from "./whatsApp.jpg"; import air from "./airBnd.png"; import admin from "./admin.jpg"; import gmail from "./gmail.png"; import chat from "./chatUi.png"; import amazon from "./amazon.jpg"; import trans from "./translator.png"; import coin from "./bitcoin.jpg"; import...
/*********************************************************************/ /* function create_state belongs to https://github.com/DutchmanNL */ /* Thanks for sharing! */ /*********************************************************************/ const stateAttr = require(__dir...
import PluginId from '../pluginId' import Embed from '@editorjs/embed' import Table from '@editorjs/table' import List from '@editorjs/list' import Warning from '@editorjs/warning' import Code from '@editorjs/code' import LinkTool from '@editorjs/link' import Raw from '@editorjs/raw' import Header from '@editorjs/head...
const fs = require('fs'); const path = require('path'); // 基地址 const basePath = path.join(__dirname, '../db'); // 读取数据 module.exports = { getArticle() { try { return JSON.parse(fs.readFileSync(path.join(basePath, 'article.json'), 'utf-8')); } catch (err) { const article = [ { id:...
var path = require('path'), bodyParser = require('body-parser'), helmet = require('helmet'), express = require('express'), doteEnv = require('dotenv').config(); console.log('Welcome to '+ process.env.appName); // Create global app object const app = express(); // Set various HTTP headers to help protect your ...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function(){function t(b){return CKEDITOR.env.ie?b.$.clientWidth:parseInt(b.getComputedStyle("width"),10)}function n(b,i){var a=b.getComputedStyle("border-"+i+"-width"),g={...
const path = require("path"); const merge = require("webpack-merge"); const dev = require("./webpack/config/dev"); const prod = require("./webpack/config/prod"); const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); const destDir = path.join(__dirname, "./umd"); const contextPath = path.join(__dirname, "./src"); ...
/** * Kendo UI v2019.2.514 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
load("1d8ada728956c1a3d52d68d1d4d6dd52.js"); // Copyright 2008 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the a...
/* * colorbar plugin (March 8, 2016) */ /*global $, JS9, Uint8Array */ "use strict"; // create our namespace, and specify some meta-information and params JS9.Colorbar = {}; JS9.Colorbar.CLASS = "JS9"; // class of plugins (1st part of div class) JS9.Colorbar.NAME = "Colorbar"; // name of this plugin (2nd par...
const {both} = require('../Utils/Ethereum'); const { makeComptroller, makeCToken } = require('../Utils/Compound'); describe('assetListTest', () => { let root, customer, accounts; let comptroller; let allTokens, OMG, ZRX, BAT, REP, DAI, SKT; beforeEach(async () => { [root, customer, ...accounts] = sadd...
import React, { Component } from 'react'; export class FetchData extends Component { static displayName = FetchData.name; constructor(props) { super(props); this.state = { product: [], loading: true }; } componentDidMount() { this.populateWeatherData(); } static renderproductTable(produc...
//______Data-Table $('#crypto-data-table').DataTable({ "order": [ [0, "desc"] ], order: [], columnDefs: [{ orderable: false, targets: [0, 4, 5] }], language: { searchPlaceholder: 'Search...', sSearch: '', } }); // Select2 $('.dataTables_length select').select2({ minim...
let http = require("http"); let appInsights = require("applicationinsights"); appInsights.setup("60ce4968-3f13-4fdf-9904-74aebec88735"); appInsights.start(); let client = appInsights.defaultClient; client.trackEvent({name: "my custom event", properties: {customProperty: "custom property value"}}); client.trackExcepti...
/** * Copyright 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. * ...
import React, { Component } from 'react'; class Footer extends Component { render() { if(this.props.data){ var networks= this.props.data.social.map(function(network){ return <li key={network.name}><a href={network.url}><i className={network.className}></i></a></li> }) } return ( ...
import React, {Component} from 'react'; import '../../css/reset.css'; import '../../css/animations.css'; import StyleSheet from 'nestingstyles'; export default class H13 extends Component { constructor(props) { super(props); this.state = { color: props.color, colorRev: props....
import Tag from '../Tag.vue' import { mount } from '@vue/test-utils' describe('Tag.vue', () => { describe('props', () => { it('text', () => { const wrapper = mount(Tag, { slots: { default: () => '标签' } }) expect(wrapper.text().length).toBeGreaterThanOrEqual(2) }) ...
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); } f...
const prefix = '/inventories'; export default [ { path: prefix, name: 'inventories-index', component: () => import('./index.component.vue'), meta: { level: 'parent', title: 'Inventories' } }, { path: prefix+"/create", name: 'inventories-create', component: () => import...
var idi = localStorage.getItem("data"); const articleLists = document.querySelector('.articlesView'); const hidethisonelist = document.querySelector('.hidethisone'); const hidethislist = document.querySelector('.anotherhide'); const singlearticleLists = document.querySelector('.SingleArticleView'); let brr = document.c...
import React from 'react' import metaMaskLogo from '../../assets/images/meta-mask-logo.png' import './incorrect-network.css' const IncorrectNetwork = () => ( <div className="IncorrectNetwork"> <img alt="MetaMask Logo" className="IncorrectNetwork-logo" src={metaMaskLogo} /> <div classNam...
YUI.add('widget-position-ext', function(Y) { /** * Provides extended/advanced XY positioning support for Widgets, through an extension. * * It builds on top of the widget-position module, to provide alignmentment and centering support. * Future releases aim to add constrained and fixed positioning support. * * @...
import { useState, useEffect } from "react"; import { fromEvent, interval } from "rxjs"; import { map, bufferCount, distinctUntilChanged, throttle, filter, } from "rxjs/operators"; const useScrollDirection = ($dom = document) => { const [dir, setDir] = useState("up"); const scroll$ = fromEvent($dom || wi...
var structtype__caster_3_01Type_00_01enable__if__t_3_01is__eigen__sparse_3_01Type_01_4_1_1value_01_4_01_4 = [ [ "Index", "structtype__caster_3_01Type_00_01enable__if__t_3_01is__eigen__sparse_3_01Type_01_4_1_1value_01_4_01_4.html#a9ce3b790dd5bdeb5578419053e450feb", null ], [ "Scalar", "structtype__caster_3_01Typ...
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.ca'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Afegeix un comentari"; Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%...
const Error = require('./Error') class NotEnoughBalanceError extends Error { constructor() { super('Not enough balance.', NotEnoughBalanceError.code) this.setName(NotEnoughBalanceError.name) } } NotEnoughBalanceError.name = 'NotEnoughBalanceError' NotEnoughBalanceError.code = 'not-enough-balance' module.e...
// // Copyright 2012 Wade Alcorn wade@bindshell.net // // 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 ...
Package.describe({ name: "telescope:kadira", summary: "Telescope Kadira package", version: "0.25.2", git: "https://github.com/TelescopeJS/telescope-kadira.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); api.use([ 'telescope:core@0.25.2', 'meteorhacks:kadira@2.23.6', ...
import express from 'express' const MongoClient = require('mongodb').MongoClient import { red, yellow } from '../logger' const router = express.Router() router.get('/', async (req, res) => { try { const url = 'mongodb://localhost:27017' const client = await MongoClient.connect(url, { useNewUrlParser: true }...
//# sourceMappingURL=2-legacy.3d5d50f6.js.map