text
stringlengths
2
1.04M
export { default as DateRange } from './components/DateRange'; export { default as Calendar } from './components/Calendar'; export { default as DateRangePicker } from './components/DateRangePicker'; export { default as DefinedRange } from './components/DefinedRange'; export { defaultInputRanges, defaultStaticRanges, cr...
// Example predicate: // // const hash = window.location.hash; // const queryParams = queryParamsHelper.getQueryParamsFromHash(hash); // // const queryParamsKeys = Object.keys(queryParams); // if (queryParamsKeys.length === 0) { // return; // } // // // const predicate = (element) => { // const field = $(eleme...
const CustomError = require("../extensions/custom-error"); class VigenereCipheringMachine { constructor(flag = true) { this.flag = flag; } encrypt(message, key) { if (message === undefined || key === undefined) return Error; let nMessage = String(message); let nKey = String(key); nKey = ''.p...
"use strict"; var fs = require("fs"); var path = require("path"); var Promise; /** * We receive the dbmigrate dependency from dbmigrate initially. * This enables us to not have to rely on NODE_PATH. */ exports.setup = function (options) { Promise = options.Promise; }; exports.up = function (db) { var filePath...
addLayer("O", { startData() { return { // startData is a function that returns default data for a layer. unlocked: true, // You can add more variables here to add them to your layer. points: new Decimal(0), Goal: new Decimal(0.0001), rew...
import webpack from 'webpack' import HtmlWebpackPlugin from 'html-webpack-plugin' import autoprefixer from 'autoprefixer' import dotEnv from 'dotenv-webpack' import path from 'path' export default { resolve: { extensions: ['*', '.js', '.jsx', '.json'] }, devtool: 'eval-source-map', // more info:https://webpa...
function projectA() {} module.exports = { projectA };
import { AppRegistry } from 'react-native'; import React from 'react'; import { Provider } from 'react-redux'; import { name as appName } from './app.json'; import configureStore from './store'; import App from './components/App'; // eslint-disable-next-line no-lone-blocks { /* <script src="http://localhost:8097"></sc...
exports.level = { "goalTreeString": "%7B%22branches%22%3A%7B%22master%22%3A%7B%22target%22%3A%22C3%27%22%2C%22id%22%3A%22master%22%7D%2C%22newImage%22%3A%7B%22target%22%3A%22C2%22%2C%22id%22%3A%22newImage%22%7D%2C%22caption%22%3A%7B%22target%22%3A%22C3%22%2C%22id%22%3A%22caption%22%7D%7D%2C%22commits%22%3A%7B%22C0%22...
import status from '../helpers/StatusCode' import lodash from 'lodash'; import Model from '../models/db'; import encryptedPassword from '../helpers/Encryptor'; import Token from '../helpers/tokens'; import response from '../helpers/responseHandler'; import comparePassword from '../helpers/decryptor'; class UserContro...
const fs = require('fs'); const $ = require('jquery'); const url = require('url'); const electron = require('electron'); const BrowserWindow = electron.remote.BrowserWindow; const path = require('path'); function getMusic() { $("#music_list").children().remove(); fs.readdir(__dirname + '../../../../music_goes_...
const axios = require('axios'); const itemFormatter = async invArr => { // let finalInventory = []; // to do this in a less push-y way... let finalInventory = await Promise.all(invArr.map(async item => { let itemResp = await axios.get(`https://www.dnd5eapi.co${item.equipment.url}`); let itemInfo = itemR...
const i18n = require('./i18n'); const { shell } = require('electron'); const { get, post } = require('powercord/http'); const { Plugin } = require('powercord/entities'); const { inject, uninject } = require('powercord/injector'); const { PersonShield } = require('powercord/components/Icons'); const { getModule, Rea...
'use strict' let deprecationHandler = null function warnOnce (oldName, newName) { let warned = false const msg = newName ? `'${oldName}' is deprecated and will be removed. Please use '${newName}' instead.` : `'${oldName}' is deprecated and will be removed.` return () => { if (!warned && !process.noD...
/*global defineSuite*/ defineSuite([ 'Renderer/DrawCommand', 'Core/PrimitiveType', 'Scene/Pass' ], function( DrawCommand, PrimitiveType, Pass) { "use strict"; /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn*/ ...
/*global QUnit */ (function qUnitAugmentations(global, undefined) { function makeModuleTestBasedOn(qunitTestFunction) { return function (testName, mainModuleFactoryFunction) { qunitTestFunction(testName, function () { global.module.declare([], mainModuleFactoryFunction); ...
//# sourceMappingURL=main.e9d936c0.js.map
const base = require("./webpack.config"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const path = require("path"); module.exports = Object.assign({}, base, { mode: "production", entry: { example: "./example.tsx", }, output: { path: path.resolve(__dirname, "doc"), }, plugins: [ new...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js'); var React = require('react'); var React__default = _interopDefault(React); var classNames = _interopD...
// @flow import React, { Component } from 'react'; import { BrowserRouter as Router, Route, Link } from 'react-router-dom'; import logo from './logo.svg'; import './App.css'; class App extends Component<any, any> { render() { return ( <Router> <div> <img src={logo} className="App-logo" ...
angular.module('portainer.rest') .factory('TeamMemberships', ['$resource', 'API_ENDPOINT_TEAM_MEMBERSHIPS', function TeamMembershipsFactory($resource, API_ENDPOINT_TEAM_MEMBERSHIPS) { 'use strict'; return $resource(API_ENDPOINT_TEAM_MEMBERSHIPS + '/:id/:action', {}, { create: { method: 'POST', ignoreLoadingBar:...
//= require chart.js/dist/Chart.min.js this.Inquiry_Chart = (function() { function Inquiry_Chart() {} Inquiry_Chart.drawBar = function(selector) { $(selector).each(function(){ var dataColumns = $.parseJSON($(this).attr("data-columns")); var labels = []; var data = []; var backgroundCol...
function assertThrownEquals(x, func) { var actualError; try { func(); } catch (err) { actualError = err; } assert.equal(x, actualError); } function assertClosed(g) { assert.throw(() => g.next(), '"next" on closed generator'); } //--------------------------------------------------------------------...
import 'react-native'; import React from 'react'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; import ReadhubClient from '../src/index'; it('renders correctly', () => { // eslint-disable-next-line no-unused-vars const tree = renderer.create( <ReadhubC...
'use strict'; import * as ActionTypes from '../constants/ActionTypes'; export default function tags (state = { tags: [], isFetching: false }, action) { switch (action.type) { case ActionTypes.REQUEST_TAGS: return Object.assign({}, state, { isFetching: true }); case ActionTypes.RECEIV...
"use strict"; const nunjucks = require("nunjucks"); const commentTemplate = `## {{ title }} **{{ "✅" if results.fmt.isSuccess else "❌" }} &nbsp; Terraform Format:** \`{{ "success" if results.fmt.isSuccess else "failed" }}\` **{{ "✅" if results.plan.isSuccess else "❌" }} &nbsp; Terraform Plan:** \`{{ "success" if resul...
module.exports={A:{A:{"2":"I D E F A B sB"},B:{"2":"C J K G L M N O P Q R V W X Y Z a b c d e f g h i S T"},C:{"2":"0 1 2 3 4 5 6 7 8 9 tB iB H j I D E F A B C J K G L M N k 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 jB OB kB PB QB U RB SB TB UB VB WB XB YB ZB aB bB cB dB eB O P Q lB R V W ...
/*! * OpenUI5 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['sap/m/semantic/SemanticButton'], function(SemanticButton) { "use strict"; /** * Constructor for a new GroupAction. * @param {string} [sId] ID for...
module.exports = require("./wrong");
/* Copyright 2014, KISSY v5.0.0 MIT Licensed build time: Jul 18 13:59 */ KISSY.add("editor/plugin/maximize",["./maximize/cmd","./button"],function(f,b,g,d){function c(){}var e=b("./maximize/cmd");b("./button");c.prototype={pluginRenderUI:function(a){e.init(a);a.addButton("maximize",{tooltip:"\u5168\u5c4f",listeners:{cl...
/* * /MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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 * * ...
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ module.exports = str => str;
import styled from 'styled-components'; export const Header = styled.header` text-align: center; margin: 30px 0; `;
Page({ /** * 页面的初始数据 */ data: { dataList: {}, content: "", more_question: "", flag: false, shortArr: [], longArr: [] }, /** * 生命周期函数--监听页面加载 */ onLoad: function(options) { let id = options.id; this.setData({ id: id }) //let id = 9704683; let _thi...
'use strict' const fetch = require('node-fetch'); const { dependencies } = require('../appDependencies'); const { getDatabasesTablesCode, getClusterData, getDocuments } = require('./ScalaGeneratorHelper') let activeContext; const destroyActiveContext = () => { destroyContext(activeContext.connectionInfo, activeContex...
const TAG = '[Watson]'; const express = require('express'); const router = express.Router(); const watson = require('./service/Conversation'); const Errors = require('../Common/service/Errors'); router.get('/', (req, res, next)=>{ //initial context let init = { context: {}, input: {} }; res.render('in...
import React from "react"; import { useParams } from "react-router-dom"; import { gql } from "apollo-boost"; import { useQuery } from "@apollo/react-hooks"; import ApolloClient from 'apollo-boost'; import "./blogpage.scss"; import "./BlogCopy.scss"; import "../copy.scss"; import Moment from "react-moment"; import Reac...
const { RESTDataSource } = require("apollo-datasource-rest"); class TrackAPI extends RESTDataSource { constructor() { super(); // the Catstronauts catalog is hosted on this server this.baseURL = "https://odyssey-lift-off-rest-api.herokuapp.com/"; } getTracksForHome() { return this.get("tracks");...
export { default, emberLeafletEq } from 'ember-leaflet/helpers/ember-leaflet-eq';
import React, { useEffect, useState } from "react"; import { useParams } from "react-router-dom"; import "./Activity.css" import API from "../../utils/API"; import { Row, Col } from "rsuite"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faStar } from "@fortawesome/free-solid-svg-ic...
const shop = () => import('@/views/shop/index'); const Tabbar = () => import('@/components/Tabbar/'); export default [ { path: '/shop', name: 'shop', meta: { // keepAlive: true, login: true, showHeader:false, // title:"二手市场" }, components: { default: shop, tabbar: Tabbar }...
define( function ( require ) { var b = require( './b' ); var e = require( './e' ); return { name: 'amd/complexCircleDependency3/d', check: function () { var valid = b.name == 'amd/complexCircleDependency3/b' &&...
module.exports = { siteMetadata: { title: 'Gatsby Default Starter' }, plugins: [ 'gatsby-plugin-react-helmet', { resolve: 'gatsby-source-contentful', options: { spaceId: 'zne00v7thima', accessToken: '706046b3c4047c7d84e52c8254245c8739e91927c49d1742e7f75aed6cfb4c51...
/* behavior tree node Wait */ define ([ '1401/settings', '1401/objects/behaviors/nodes/base', '1401/objects/behaviors/nodes/action' ], function ( SETTINGS, BN, Action ) { /// Action: Wait /// /// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /* subclass from Action */ function Wa...
/*jslint regexp: true */ var _ = require('lodash'), colors = require('colors'), config = require('./config'), path = require('path'), when = require('when'), hbs = require('express-hbs'), errors, // Paths for views defaultErrorTemplatePath = pat...
/** * Copyright (c) 2015-present, Pavel Aksonov * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * */ import React, { Component, PropTypes, } from 'react'; import { BackHandler } from 'react-native'; imp...
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
/** * IndexController * @namespace schreib.layout.controllers */ (function () { 'use strict'; angular .module('schreib.layout.controllers') .controller('IndexController', IndexController); IndexController.$inject = ['$scope', 'Authentication', 'Posts', 'Snackbar']; /** * @namespace IndexController ...
const { google } = require("googleapis"); const moment = require("moment"); const oAuth2Client = require("./googleClient"); oAuth2Client.setCredentials({ access_token: process.env.SHEETS_ACCESS_TOKEN, refresh_token: process.env.SHEETS_REFRESH_TOKEN, scope: process.env.SHEETS_SCOPE, token_type: process.env.SHEE...
module.exports = api => { const presets = []; if (api.env("test") || api.env("cjs")) { presets.push([ "@babel/preset-env", { targets: { node: "current", chrome: 55 } } ]); } presets.push("@babel/preset-flow"); const plugins = [ "@babel/plugin-...
var json_JumlahPendudukJiwa_3 = { "type": "FeatureCollection", "name": "JumlahPendudukJiwa_3", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "DESA": "Klino", "q2wHide_Jml_Pddk": "4355" }, "geometry": { "type": "Point", "coordinat...
import resolve from '@rollup/plugin-node-resolve'; import { createFilter } from '@rollup/pluginutils'; import copy from 'rollup-plugin-copy'; import alias from '@rollup/plugin-alias'; import path from 'path'; import fs from 'fs'; const prodEnv = process.env.ENVIRONMENT !== 'dev'; // inline chunk files const chunks =...
'use strict'; import $ from 'jquery'; /** * The model storing the current state of the lanes to be rendered by the view components */ export default class ViewModel_Lanes { // Events that his class can trigger static get EV_LANE_COLLAPSED() { return 'lane-collapsed'; } static get EV_LANE_UNC...
import React, { useState } from "react" import { Link } from "gatsby" // import styled from "styled-components" import { useFlexSearch } from "react-use-flexsearch" import * as queryString from "query-string" import { rhythm } from "../utils/typography" // const SearchBar = styled.div` // display: flex; // border...
import useTranslation from 'next-translate/useTranslation'; import classes from '/styles/contact.module.css'; import ContactForm from './contact-form/contact-form'; import ContactSocials from './contact-socials/contact-socials'; import ContactCv from './contact-cv/contact-cv'; const Contact = () => { const { t } = ...
import{Controller as e}from"@hotwired/stimulus";import"@kanety/stimulus-static-actions";class t extends e{get menus(){return this.scope.findAllElements("ul")}get isActive(){return null!=this.scope.findElement(".st-menu--opened")}toggle(e){let t=e.target.closest("li");if(t&&this.hasMenu(t)){if(this.isOpened(t)){let e=Ar...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function GrCaretNext (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"polygon","attr":{"fill":"none","stroke":"#000","strokeWidth":"2","points":"6 2 18 12 6 22"}}]})(props); };
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CsvFileReader = void 0; var fs_1 = __importDefault(require("fs")); var CsvFileReader = /** @clas...
var label = "Quoin Marker"; var version = "1348272510"; var name_single = "Quoin Marker"; var name_plural = "Quoin Markers"; var article = "a"; var description = ""; var is_hidden = false; var has_info = false; var has_infopage = false; var proxy_item = null; var is_routable = false; var adjusted_scale = 1; var stackma...
require('es6-shim'); const BRACKET_MINIMUM_UPDATE_INTERVAL = 2 * 1000; const AUTO_DISQUALIFY_WARNING_TIMEOUT = 30 * 1000; var TournamentGenerators = { roundrobin: require('./generator-round-robin.js').RoundRobin, elimination: require('./generator-elimination.js').Elimination }; var Tournament; exports.tourn...
define(["mvc/relationalmodel"],function(a){"use strict";var b=new a({productId:null,locale:null,ids:null,flat:!1,url:function(){var a="/admin/api/products/"+this.productId+"/variants",b={};return this.id&&(a+="/"+this.id),this.ids&&this.ids.length>0&&(b.ids=this.ids.join(",")),this.locale&&(b.locale=this.locale),this.f...
'use strict'; // Codewars - Andreas Sosilo // 7 kyu - Categorize New Member /* Task: ----- The Western Suburbs Croquet Club has two categories of membership, Senior and Open. They would like your help with an application form that will tell prospective members which category they will be placed. To be a senior, a mem...
mycallback( {"CONTRIBUTOR OCCUPATION": "Assistant Director Legislative & Polit", "CONTRIBUTION AMOUNT (F3L Bundled)": "20.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "INT'L ASSOC. OF MACHINISTS", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "10717 KINLOCH ROAD", "CONTRIBUTOR MIDDLE NAME":...
import React from "react"; import PropTypes from "prop-types"; import AppBar from "@material-ui/core/AppBar"; import Toolbar from "@material-ui/core/Toolbar"; import IconButton from "@material-ui/core/IconButton"; import Typography from "@material-ui/core/Typography"; import InputBase from "@material-ui/core/InputBase"...
var mongoose = require("mongoose"); var Restaurant = require("./models/restaurant"); var Comment = require("./models/comment"); var data = [ { name: "The Pink Door", image: "https://s3-media3.fl.yelpcdn.com/bphoto/c_vzRF4h3ywnyeM116QFuA/ls.jpg", description: "Lorem ips...
/*! * jQuery QueryBuilder 2.4.0 * Locale: Brazilian Portuguese (pr-BR) * Author: Leandro Gehlen, leandrogehlen@gmail.com; Marcos Ferretti, marcosvferretti@gmail.com * Licensed under MIT (http://opensource.org/licenses/MIT) */ (function(root, factory) { if (typeof define == 'function' && define.amd) { ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = _interopDefault(require('react')); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "sym...
(function(){var d;window.AmCharts?d=window.AmCharts:(d={},window.AmCharts=d,d.themes={},d.maps={},d.inheriting={},d.charts=[],d.onReadyArray=[],d.useUTC=!1,d.updateRate=60,d.uid=0,d.lang={},d.translations={},d.mapTranslations={},d.windows={},d.initHandlers=[]);d.Class=function(a){var b=function(){arguments[0]!==d.inher...
'use strict'; [{ zoneId: ZoneId.EdensGateResurrectionSavage, timelineFile: 'e1s.txt', timeline: [ function(data) { let chance = 0.4; let time = '275'; if (Math.random() >= chance) return; let goofs = { en: [ 'brb', ':zzz:', 'LA HEE', ...
'use strict' const page = require('./page') const middlewares = require('../middlewares') module.exports = function app (config) { config = Object.assign({root: true, isolate: 'middlewares'}, config) return page(config) .useOnContent(middlewares.observe) .useOnContent(middlewares.interpolate) .useOnC...
import React, { useEffect, useContext } from "react"; import { Link } from "react-router-dom"; import ReactTooltip from "react-tooltip"; import DispatchContext from "../DispatchContext"; import StateContext from "../StateContext"; function HeaderLoggedIn(props) { const appDispatch = useContext(DispatchContext); co...
// 基本配置 exports.conf = { host: '127.0.0.1', // 主域 port: 7770, // 端口 apiVersion: '/api', // 支持上传文件类型 uploadSuffix: ['.jpg', '.png', '.gif', '.psd', '.xlsx', '.jpeg'], limitTime: 1000 // 频繁请求接口限制 }; // 数据库配置 exports.dbConf = { user: 'root', password: '123456', host: '127.0.0.1', p...
// button hide and show effect function myFunction() { var x = document.getElementById("main1"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } } function myFunction2() { var x = document.getElementById("main2"); if (x.style.disp...
deepmacDetailCallback("bc3400a00000/28",[{"a":"Room 102, Building No.7 Beijing CN 102200","o":"AURALIC LIMITED","d":"2015-10-16","t":"add","s":"ieee","c":"CN"}]);
/** * @license Copyright (c) 2003-2022, CKSource - Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import SwitchButtonView from '../../src/button/switchbuttonview'; import View from '../../src/view'; describe( 'SwitchButtonView', () => {...
define("bitbucket/internal/layout/branch/branch","module exports jquery lodash bitbucket/util/navbuilder bitbucket/internal/feature/repository/revision-reference-selector/revision-reference-selector bitbucket/internal/layout/branch/branch-layout-analytics bitbucket/internal/model/page-state bitbucket/internal/model/rev...
/** * [PrintSql 置換Prepared SQL] * @param {[type]} sql [SQL語句] * @param {[type]} params [變數] */ var PrintSql = function (sql, params){ var _sql = sql, regex = null; // 取代不正常空白 _sql = encodeURI(_sql); _sql = _sql.replace(/%09/gi, ""); _sql = decodeURI(_sql); for(var key in params){ i...
/* File: gulpfile.js */ // grab our gulp packages const gulp = require('gulp'); const bs = require('browser-sync').create(); const path = require('path'); const karma = require('karma').Server; const browserify = require('gulp-browserify'); const rename = require('gulp-rename'); const reload = bs.reload; gulp.task('...
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow */ import React from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstruct...
// From https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/ba3dbd71cec7becec0fbf529833204425f66efde/src/parseUtils.js // Modified by Guillaume Chau (Akryum) const acorn = require('acorn'); const walk = require('acorn/dist/walk'); const mapValues = require('lodash.mapvalues'); const transform = require('lo...
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function"); } function _getPrototypeOf(o) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ ||...
'use strict'; // Live Stream Connector. // Reads the Adobe Live Stream and emits data over a callback. Also handles // reconnecting and reauthentication. // var es = require('event-stream'); var https = require('https'); var url = require('url'); var zlib = require('zlib'); // Constructs a new LiveStream. // @param {...
let gulp = require("gulp"); let del = require("del"); let config = require("../config").clean; gulp.task("clean", () => del(config.dest));
/** * Vue Plugin Install. */ function install(Vue) { var AlertConstructor = Vue.extend(require('./alert.vue')); var alertInstance = null; Object.defineProperty(Vue.prototype, '$alert', { get: function() { return (opt) => { if (alertInsta...
var box2d = window.box2d = (function (exports) { 'use strict'; /* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this softwar...
class CountdownTimer { #timerId = null; constructor({ selector, targetDate}) { this.selector = selector; this.targetDate = targetDate; } updateTimer(time) { const timer = document.querySelector(this.selector); const refs = { days: timer.querySelector('[data-value="days"...
webpackHotUpdate('static/development/pages/contact.js', { /***/ './node_modules/css-loader/dist/cjs.js?!./node_modules/next/dist/compiled/postcss-loader/index.js?!./src/styles/header.module.css': /*!*******************************************************************************************************************...
version https://git-lfs.github.com/spec/v1 oid sha256:93b83a19463b213647fa95bc73cd6dfec8ec124a38c89b31ddc10a5676aff6a4 size 2051
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/BaseTypes.js * @requires OpenLayers/B...
//Polyfill Node.js core modules in Webpack. This module is only needed for webpack 5+. const NodePolyfillPlugin = require("node-polyfill-webpack-plugin"); /** * Custom angular webpack configuration */ module.exports = (config, options) => { config.target = 'electron-renderer'; if (options.fileReplacements) { ...
class LabelDisplay { constructor(ids, label) { this.label = label; this.elements = []; console.log('nodes:', ids); for(var i=0; i<ids.length; i++) { this.elements.push(cy.$(`#${ids[i]}`)); } } show() { for(var i=0; i<this.elements.length;...
"use strict"; /* MIT License Copyright (c) 2017 Igor Kroitor 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, m...
import React, {Component} from 'react'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import {selectUser} from '../actions/index'; class UserList extends Component { createListItems() { return this.props.users.map((user) => { return ( <li ...
/*! For license information please see main.js.LICENSE.txt */
const Koa = require('koa') const bodyParser = require('koa-bodyparser') const logger = require('koa-logger') const helmet = require('koa-helmet') const http = require('http') const cors = require('@koa/cors') const { initDb } = require('./services/mongo') const config = require('../config') const Socket = require('sock...
import React from "react"; const StylesDecorator = (storyFn) => ( storyFn() ); export default StylesDecorator;
import { Alert } from "@mui/material"; const NothingHereBanner = ({ ...props }) => { return ( <Alert severity="info" {...props}> Nothing here yet! </Alert> ); }; export default NothingHereBanner;
/** * Copyright 2015 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...
import validateConstants from './validate/validate_constants.js'; import validate from './validate/validate.js'; import latestStyleSpec from './reference/latest.js'; import validateGlyphsURL from './validate/validate_glyphs_url.js'; import validateSource from './validate/validate_source.js'; import validateLight from ...
var CartService = angular.module('CartService', []) .service('Cart', function () { var cart = []; this.get = function () { return cart; }; this.remove = function (index) { cart.splice(index, 1); }; this.add = function (name, price) { cart.push({ name: name, pr...