text
stringlengths
2
1.05M
import BaseView from 'js/view/base'; export default class NotFoundIndexView extends BaseView { run(c) { this._setMeta(c); this._render(c); console.log('#run done'); } // private methods _setMeta() { $('title').text(`Page Not Found | ${this.siteName}`); } _render() { $('#message').appe...
import initialState from './World.state'; import { Actions } from './World.actions'; export default (state = initialState, action) => { switch (action.type) { case Actions.TOGGLE_TRACKING: return { ...state, tracking: !state.tracking }; case Actions.TOGGLE_PAUSE: return { ...state, paused: !state.paused }; ...
/** * Hilo * Copyright 2015 alibaba.com * Licensed under the MIT License */ /** * @class View View is the base class of all display objects * @mixes EventMixin * @borrows EventMixin#on as #on * @borrows EventMixin#off as #off * @borrows EventMixin#fire as #fire * @param {Object} properties The properties to ...
var searchData= [ ['default_947',['DEFAULT',['../class_clickable_character.html#a082ddbc94df1b44eb43edd477fbec3cea5b39c8b553c821e7cddc6da64b5bd2ee',1,'ClickableCharacter.DEFAULT()'],['../class_clickable_hex.html#aec287a75c6a2ff260226d82df58b56f3a5b39c8b553c821e7cddc6da64b5bd2ee',1,'ClickableHex.DEFAULT()']]], ['def...
export { default } from 'osf-components/components/registries/finalize-registration-modal/manager/component';
var json_MilwaukeePercentNonWhite_2 = { "type": "FeatureCollection", "name": "MilwaukeePercentNonWhite_2", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "NonWhte": 96.765 }, "geometry": { "type": "MultiPolygon", "coordinates...
export { default } from './action'; export { COMMAND_GENERATE } from './action';
import headers from './headers' export { headers, }
"use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([["fonts/free-solid-svg-icons-faFistRaised-js"],{ /***/ "./node_modules/@fortawesome/free-solid-svg-icons/faFistRaised.js": /*!************************************************************************!*\ !*** ./node_modules/@fortawesome/free-solid...
"use strict"; var fx = require("framework"); var Class = fx.import("framework.Class"); var App = fx.import("framework.app.App"); var View = fx.import("framework.ui.view.View"); var CompositeView = fx.import("framework.ui.view.CompositeView"); var FlowLayout = fx.import("framework.ui.layout.FlowLayout"); var FlowLayoutP...
'use strict'; /** * Users controller for user profile relation operations. */ var route = require('koa-route'), parse = require('co-body'), mongo = require('../config/mongo'); // register koa routes exports.init = function (app) { app.use(route.post('/api/users', createUser)); }; /** * ...
const express = require("express"); const router = express.Router(); var cors = require('cors'); const UserService = require("../../services/user"); const userService = new UserService(); var corsOptions = { "origin": "*", "methods": "POST", "preflightContinue": false, "optionsSuccessStatus": 204 }; ...
var setPrototypeOf = require('setprototypeof') exports.init = function(app) { return function expressInit(req,res, next) { setPrototypeOf(res, app.response); next(); } };
/** * @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 */ import { Compiler, Injectable, Injector } from '@angular/core'; import { NgModuleResolver } from '../index'; import {...
import React from 'react'; import { Field, reduxForm } from 'redux-form'; import { compose } from 'recompose'; // Components import Button from 'components/Button'; import Textarea from '../components/Textarea'; // Styles import styles from './Form.scss'; const QueryForm = ({ handleSubmit, }) => ( <form clas...
const { ObjectId } = require('mongoose').Types; const { constructorBasicOneExtraFields } = require('../consts/migrations'); module.exports = { async up(db, _) { await db.collection('constructorbasics').updateOne( { _id: ObjectId('604e329bb17ecf65048afd6c') }, { $set: constructorBasicOneExtra...
//= link_tree ../images //= link_directory ../javascripts .js //= link_directory ../stylesheets .css
// Copyright 2021 Google 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 agreed to in ...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
import React, { useState } from 'react' import { AppBar, Tabs, Tab, makeStyles } from '@material-ui/core' import { OrganizationsSection } from './components/OrganizationsSection' import { MeasurementsSection } from './components/MeasurementsSection' import { AdminUserSection } from './components/AdminUserSection' impor...
(function() { 'use strict'; module.exports = function(gulp) { gulp.task('default', ['help']); }; }());
import * as types from '../mutation-types' export default { namespaced: true, state: { name: 'ARK', rate: 1, symbol: 'Ѧ', lastConversion: { to: 'USD', timestamp: 1, rate: 1 } }, mutations: { [types.SET_CURRENCY_NAME] (state, payload) { state.name = payload.value ...
var searchData= [ ['insert_5fclicked_0',['insert_clicked',['../classgomaengine_1_1_sound_component.html#a5e770e785dfed3dc5259dbe3c92f4c96',1,'gomaengine::SoundComponent']]], ['is_5fclicked_1',['is_clicked',['../classgomaengine_1_1_game_object.html#a22b648b13c2bb159647510adcdc6ef08',1,'gomaengine::GameObject']]] ];
const Pending = require('../../../Schemas/user_pending') const { parseImg } = require('../../../Schemas/query') const { ErrorHandler, dbCatch } = require('../../../error') const asyncHandler = require('express-async-handler') /** * @api {post} /register_step2 registerStep2 * @apiName RegisterStep2 * @apiGroup Out/a...
import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import WindiCSS from 'vite-plugin-windicss' // https://vitejs.dev/config/ export default defineConfig({ plugins: [WindiCSS(), svelte()] })
const notFoundMiddleware = (req, res) => { res.status(404).send("Route does not exist"); }; export default notFoundMiddleware;
import { __rest } from "tslib"; import React from 'react'; export function Image(_a) { var { sourceSet, source, crossOrigin } = _a, rest = __rest(_a, ["sourceSet", "source", "crossOrigin"]); const finalSourceSet = sourceSet ? sourceSet .map(({ source: subSource, descriptor }) => `${subSource...
/* * 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 agreed to in writing, * software distributed...
Search.setIndex({docnames:["_site/index","index"],envversion:50,filenames:["_site/index.rst","index.rst"],objects:{"pcat.main":{init:[1,0,1,""]}},objnames:{"0":["py","function","Python function"]},objtypes:{"0":"py:function"},terms:{"2_i":[],"2_k":[],"2nd":[],"3rd":[],"3x8000":[],"4th":[],"9th":[],"boolean":[],"byte":[...
/** When your routing table is too long, you can split it into small modules **/ import Layout from '@/layout' // const componentsRouter = { // path: '/components', // component: Layout, // redirect: 'noRedirect', // name: 'ComponentDemo', // meta: { // title: 'Components', // icon: 'component' // ...
(function(){var a=function(a){"use strict";a=a?a:{};var b={bgColor:"#d00",textColor:"#fff",fontFamily:"sans-serif",fontStyle:"bold",type:"circle",position:"down",animation:"slide",elementId:false};var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;o={};o.ff=typeof InstallTrigger!="undefined";o.chrome=!!window.chrome;o.opera=!!window.op...
(function(){var m=Math,mround=function(r){return r>>0;},vendor=(/webkit/i).test(navigator.appVersion)?'webkit':(/firefox/i).test(navigator.userAgent)?'Moz':'opera'in window?'O':'',isAndroid=(/android/gi).test(navigator.appVersion),isIDevice=(/iphone|ipad/gi).test(navigator.appVersion),isPlaybook=(/playbook/gi).test(nav...
var glossary = [ // runes { "name": "dot", "symbol": ".", "usage": "Nock", "link": "/docs/reference/hoon-expressions/rune/dot/", "desc": "Runes used for carrying out Nock operations in Hoon." }, { "name": "dotket", "symbol": ".^", "usage": "Nock", "link": "/docs/reference/hoo...
'use strict'; const fs = require('fs'); const sysPath = require('path'); const isBinaryPath = require('is-binary-path'); const { promisify } = require('util'); const open = promisify(fs.open); const stat = promisify(fs.stat); const lstat = promisify(fs.lstat); const close = promisify(fs.close); const fsrealpath = pro...
const merge = require("webpack-merge"); const path = require("path"); const sharedConfig = { watch: true, mode: "development", module: { rules: [ { test: /(\.ts|\.tsx|\.jsx)/, exclude: /node_modules/, use: [ { loader: "babel-loader", options: { presets: [ ["babel-pre...
import React from 'react'; import PropTypes from 'prop-types'; import { Tooltip, TooltipPosition } from '@patternfly/react-core'; import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon'; import { useRouteDetail } from '../../hooks/useRouter'; import { ProductViewContext } from './productView...
var express = require('express'); var router = express.Router(); var bodyParser = require('body-parser'); router.use(bodyParser.urlencoded({ extended: true })); router.use(bodyParser.json()); var User = require('./User'); router.post('/', function (req, res) { User.create({ userid : req.body.userid, ...
var map = require('map-stream') , zmq = require('zmq') , client = zmq.socket('sub') , port = GLOBAL.pjconfig.acceptor.port , address = GLOBAL.pjconfig.acceptor.address , service = GLOBAL.pjconfig.acceptor.subscribe; /** * dispatcher * @returns {Stream} */ module.exports = function () { var stream = map(...
Clazz.declarePackage("java.util.regex"); Clazz.declareInterface(java.util.regex,"MatchResult");
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}r...
function BrowserslistError (message) { this.name = 'BrowserslistError' this.message = message || '' this.browserslist = true if (Error.captureStackTrace) { Error.captureStackTrace(this, BrowserslistError) } } BrowserslistError.prototype = Error.prototype module.exports = BrowserslistError
var data = require("../data.json"); var today = new Date().toLocaleDateString(undefined, { day:'numeric', month: 'numeric', year: 'numeric' }) exports.addLog = function(request, response) {
 // Your code goes here json = {'task': request.query.inputLog,'description': today}; console.log(json); da...
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { CollectiveCategory } from '../constants/collectives'; const TranslatedTags = defineMessages({ [CollectiveCategory.ASSOCIATION]: { id: 'Tags.ASSOCIATION', defaultMessage: 'Associati...
import metarule from '../metarule'; import Advice from '../../Advice'; // 2.3 Use Neo4j with an LDAP Auth Provider // Description: // Configuring Neo4j to use an LDAP Auth provider offloads management of // federated users to the LDAP service. The LDAP service facilities are used // for administration. // // Ratio...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'image', 'is', { alt: 'Baklægur texti', border: 'Rammi', btnUpload: 'Hlaða upp', button2Img: 'Do you want to transform...
const require_import = require('../src/InfluxDBClient') let client beforeEach(() => { client = new require_import.InfluxDBClient() UrlFetchApp = jest.fn() UrlFetchApp.fetch = jest.fn() let httpResponse = jest.fn() httpResponse.getContentText = jest.fn() httpResponse.getResponseCode = jest.fn() httpResp...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ retu...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const Dependency = require("../Dependency"); const { UsageState } = require("../ExportsInfo"); const HarmonyLinkingError = require("../HarmonyLinkingError"); const InitFragment = require("../InitFragment"...
import Vuex from 'vuex' import Vue from 'vue' import { createStore } from '../../src' Vue.use(Vuex) describe('Store->create', () => { it('create twice', () => { expect(Vuex.Store.prototype.reset).toBe(undefined) // first createStore(Vuex.Store) var firstReset = Vuex.Store.prototype.reset ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
const inquirer = require("inquirer"); const table = require("console-table-printer"); module.exports = { deleteEmployee: function (connection, start) { connection.query("SELECT * FROM employee", function (err, employeeData) { var allEmployees = employeeData.map( (employee) => employee.first_name + ...
class tpccom_inksettings_1 { constructor() { } // System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType) CreateObjRef() { } // bool Equals(System.Object obj) Equals() { } // int GetHashCode() GetHashCode() { } // System.Object GetLifetimeService() GetL...
/* Atividade: Crie uma calculadora Atividade I: Crie operações matemática para a calculadora. O controlador deve ser capaz de: ( ) Multiplicar; ( ) Dividir; ( ) Somar; ( ) Subtrair. Obs.: Crie um módulo chamado operações.js contendo as funções de callback. Atividade II: Cr...
/* eslint-disable react/jsx-curly-newline */ import React, { useState, useEffect, useReducer } from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/core/styles'; import KeyboardReturnIcon from '@material-ui/icons/KeyboardReturn'; import { useHistory } from 'react-router-dom'; impor...
(function ($, window, document, undefined) { "use strict"; var pluginName = 'countDown'; var defaults = { css_class: 'countdown', always_show_days: false, with_labels: true, with_seconds: true, with_separators: true, label_dd: 'hari...
$(document).ready(function() { //Timepicker $('.timepicker').timepicker({ showInputs: false, minuteStep: 5, showMeridian: false }) //Date picker $('#datepicker').datepicker({ autoclose: true, orientation: 'bottom', format: 'yyyy/mm/dd', }) });
import { createGlobalStyle } from 'styled-components'; import { colors } from './colors'; import { fonts, weights, sizes } from './typography'; /** * Creates the global files for this app */ export const GlobalStyles = createGlobalStyle` html, body { margin: 0; padding: 0; width: 100...
'use strict'; angular.module('modalExercise', [ 'ngRoute', 'ngTouch', 'ngAnimate', 'ui.bootstrap', 'modalExercise.productList', 'modalExercise.version' ]). config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider.oth...
var docs = require("../../index.js"), fs = require('fs'), rimraf = require('rimraf').sync, firstProcess = process.cwd(); describe("Test docsBuilder", function(){ afterEach(function(){ process.chdir(firstProcess); if (fs.existsSync("./docs/")){ rimraf("./docs/"); } }); it("should be defined", function...
/** * Flickr available licenses * * Flickr available licenses used to filter photos by license * * @export array */ export default [ { id: "0", label: "All Rights Reserved", checked: false }, { id: "4", label: "Attribution License", checked: false }, { id: "6", label: "Attribution-NoDerivs License", checked...
/* eslint-env qunit */ import window from 'global/window'; import Component from '../../src/js/component.js'; import * as Dom from '../../src/js/utils/dom.js'; import DomData from '../../src/js/utils/dom-data'; import * as Events from '../../src/js/utils/events.js'; import * as Obj from '../../src/js/utils/obj'; import...
'use strict' var baraa = 'hello' console.log(baraa); console.log(baraa); var baraa = 'hello' *// is declaerated is the same thing *// use console .log brfore the varible or after or var baraa; console.log(baraa); hero = 'hello'; let baraa 'hello'; let baraa; var x =10; var x =3; let user = 'baraa'; if(t...
/** * OscilloscopeConnectionTest.c - for LibTiePie 0.7+ * * This example performs a connection test. * * Find more information on http://www.tiepie.com/LibTiePie . */ "use strict"; const libtiepie = require('libtiepie'); const sleep = require('sleep'); // Enable network search: libtiepie.api.NetSetAutoDetectEn...
export const cisWifiSignalLock2 = ["512 512"," <defs> <style> .cls-1{fill:currentColor} </style> </defs> <path d='M317.9556,229.7471a255.88,255.88,0,0,0-188.4822,25.8393l-78.241-111.74A389.8461,389.8461,0,0,1,256,86.1279q18.6263,0,37,1.7393V39.7024q-18.4278-1.5531-37-1.5745A439.8435,439.8435,0,0,0,8,114.7...
var data=[['19960626',3.335], ['19960627',4.113], ['19960628',3.721], ['19960701',3.562], ['19960702',3.622], ['19960703',3.609], ['19960704',3.769], ['19960705',3.692], ['19960708',3.575], ['19960709',3.609], ['19960710',3.573], ['19960711',3.447], ['19960712',3.445], ['19960715',3.367], ['19960716',3.416], ['19960717...
/* eslint-disable linebreak-style */ import 'bootstrap/dist/css/bootstrap.min.css'; import './style.css'; import 'bootstrap'; import { format } from 'date-fns'; import DOM from './dom'; import Project from './project'; import App from './app-logic'; import ToDo from './todo'; if (App.getProject('Default') == null) { ...
(function () { 'use strict' document.querySelector('[data-bs-toggle="offcanvas"]').addEventListener('click', function () { document.querySelector('.offcanvas-collapse').classList.toggle('open') }) })()
module.exports = { collectCoverageFrom: [ 'app/**/*.{js,jsx}', '!app/**/*.test.{js,jsx}', '!app/*/RbGenerated*/*.{js,jsx}', '!app/app.js', '!app/components/ScrollToTop/*.js', '!app/components/ErrorBoundary/*.js', '!app/global-styles.js', '!app/*/*/Loadable.{js,jsx}', '!**/loadable....
var _ = require('@sailshq/lodash'); // This module establishes `apos.db`, the mongodb driver connection object. // // ## Options // // ### `uri` // // The MongoDB connection URI. See the [MongoDB URI documentation](https://docs.mongodb.com/manual/reference/connection-string/). // // ### `connect` // // If present, thi...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js // declare global: coffeelint (function(mod) { if (typeof exports == "object" && typeof module == "object") /...
/*! * Select2 4.0.1 * https://select2.github.io * * Released under the MIT license * https://github.com/select2/select2/blob/master/LICENSE.md */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['../../../oclazyload/examples/example...
import gql from "graphql-tag"; export default gql(` query { listEventsPublic(limit: 1000) { items { id name where when description comments { items { commentId } } } } }`);
const Folder = require('lib/models/Folder'); const BaseModel = require('lib/BaseModel'); let shared = {}; function folderHasChildren_(folders, folderId) { for (let i = 0; i < folders.length; i++) { let folder = folders[i]; if (folder.parent_id === folderId) return true; } return false; } function folderIsVisi...
/** * Copyright 2017 Google Inc. * * 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 agreed to i...
/* * jQuery Touch Optimized Sliders "R"Us * Drag addon * * Copyright (c) Fred Heusschen * www.frebsite.nl */ !function(e){if("function"==typeof Hammer){var n,s,t,i,r,a="tosrus",o="drag",d=!1;e[a].prototype["_addon_"+o]=function(){d||(n=e[a]._c,s=e[a]._d,t=e[a]._e,i=e[a]._f,r=e[a]._g,d=!0);var l=this;if(this.opts...
/* global JXPSchema ObjectId Mixed */ // const shared = require("../libs/shared"); const TouchbaseTransactionalSchema = new JXPSchema({ name: String, touchbase_transactional_id: String, data_fn: Mixed, bcc: String, }, { perms: { admin: "crud", owner: "crud", user: "", ...
import { connect } from 'react-redux'; import Table from '../components/Table'; const mapStateToProps = (state, ownProps) => { return { cards: ownProps.cards, hand: ownProps.hand }; }; const ContainerTable = connect( mapStateToProps )(Table); export default ContainerTable;
/** * 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. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
import auth from '@react-native-firebase/auth'; import firestore from '@react-native-firebase/firestore'; export async function signUp(username,email, pass, name,phone) { await auth().createUserWithEmailAndPassword( email, pass).catch((error) => { throw error }); const currentUser = auth().current...
export { default as BottomHud } from './BottomHud'; export { default as Defeat } from './Defeat'; export { default as Leaderboard } from './Leaderboard'; export { default as Menu } from './Menu'; export { default as MusicButton } from './MusicButton'; export { default as PauseMenu } from './PauseMenu'; export { default...
const Queue = require('../src/structures/Queue'); test('check default queue content', () => { const testQueue = new Queue(); const EMPTY_ARRAY = []; expect(testQueue._elements).toStrictEqual(EMPTY_ARRAY); }); test('check strict sequence of added items', () => { const rightSequence = ['milk', 'apple', 'meat']; c...
'use strict'; require('./suggestion.service'); require('./suggestionList.html'); angular.module('suggestionModule').directive('suggestionList', [ 'suggestionService', function (suggestionService) { return { template: require('./suggestionList.html'), //TODO this is a big ch...
var interface_nakama_1_1_i_client = [ [ "AddFriendsAsync", "interface_nakama_1_1_i_client.html#a1815cb121e4a5d378a6d80f1415b056d", null ], [ "AddGroupUsersAsync", "interface_nakama_1_1_i_client.html#ae1ff844c653602abf4c72666e98cf6d8", null ], [ "AuthenticateAppleAsync", "interface_nakama_1_1_i_client.html#a...
import ParsedDay from "./helpers/parsed-day/parsed-day.js" import ParsedMonth from "./helpers/parsed-month/parsed-month.js" export default class UpdateAriaLabel { constructor(month, day, year, content) { /** * see comments in ../../update.js (Update) class-file * helper classes: UpdateAriaLabel (this),...
const express = require('express'); const { celebrate, Segments, Joi } = require('celebrate'); const ONGController = require('./controllers/ONGController'); const IncidentController = require('./controllers/IncidentController'); const ProfileController = require('./controllers/ProfileController'); const SessionControl...
export const layersEditable16 = "M13.423 8.208l.734-.734 1.866 1.05-8 4.5-8-4.5L5.6 5.386l-.65 1.513-2.887 1.624 5.96 3.353 3.01-1.693.371-.16a1.983 1.983 0 0 0 .545-.355l2.034-1.145zm-5.4 6.668l-6.98-3.926-1.02.573 7.915 4.452a.175.175 0 0 0 .171 0l7.914-4.452-1.02-.573zm-1.99-5.422l.285-.667 1.47-3.43L12.84.307a.965....
const fs = require("fs"); const path = require("path"); const config = require("./config.json"); // 設定檔 const pokaLog = require("./log") // 可愛控制台輸出 const playlist = fs.existsSync("./playlist.json") ? require("./playlist.json") : []; // 歌單 const router = require("express").Router(); const bodyParser = require("body-pars...
/*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(UI) { "use strict"; var Animations; UI.component('switcher', { defaults: { connect : false, toggle : ">*", active : 0, animation : false, ...
/*! elementor-pro - v3.6.0 - 31-01-2022 */ (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["woocommerce-menu-cart"],{ /***/ "../modules/woocommerce/assets/js/frontend/handlers/menu-cart.js": /*!***********************************************************************!*\ !*** ../mod...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow * @emails oncall+relay */ // flowlint ambiguous-object-type:error 'use strict'; const RelayNetwork = requir...
/** * bootbox.js v4.2.0 * * http://bootboxjs.com/license.txt */ !function(a,b){"use strict";"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof exports?module.exports=b(require("jquery")):a.bootbox=b(a.jQuery)}(this,function a(b,c){"use strict";function d(a){var b=q[o.locale];return b?b[a]:...
const Discord = require('discord.js'); module.exports.run = (client, message, args) => { //code starts here const msg = client.snipes.get(message.channel.id); if(!msg) return message.channel.send("No recently deleted messages!") const embed = new Discord.MessageEmbed() .setAuthor(`Deleted by ${msg.author.t...
var position = require('./') var test = require('tape') var src = [ 'lorem', 'ipsum', 'dolor', 'samet' ].join('\n') test('file-position', function(t) { var get = position(src) t.equal(get(2, 0), src.indexOf('dolor')) t.equal(get(3, 1), src.indexOf('amet')) t.equal(get(1, 4), src.indexOf('m\ndolor')) ...
import { Flex, Heading, Divider, Stack, Text, Link } from "@chakra-ui/react"; import { ArrowSquareOut } from "phosphor-react"; // export default function Item({ date, description, link }) { // return ( // <Box my={3}> // <Text mb={1} fontSize="sm" color="trueGray.500"> // {date} // ...
import React from "react"; import "./CountryPage.css"; import { useHistory } from "react-router-dom"; import foodData from "./../data/food.json"; import Navbar from "./Navbar"; export default function CountryPage({ countrySelected, SetSelectedDish, updateFavorites, favorites, }) { // on click, change the dis...
import Vuex from 'vuex'; import { VueI18n } from '@justeat/f-globalisation'; import { shallowMount, createLocalVue } from '@vue/test-utils'; import CheckoutFormField from '../CheckoutFormField.vue'; import { i18n, createStore } from './helpers/setup'; import { VALIDATIONS } from '../../constants'; const localVue = cre...
'use strict'; function Search(menu) { this.menu = menu; this.$search = document.getElementById('menu-search'); this.$searchBox = document.getElementById('menu-search-box'); this.$searchResults = document.getElementById('menu-search-results'); this.loadBiblio(); document.addEventListener('keydown', this.do...
import React, { Fragment, Component } from 'react'; import {Row,Col,Card,Empty,Button,Modal} from 'antd' import {connect} from 'dva' import {WellHeader,WellHandovers} from '@/components/Well/Tables' import WellStat from '@/components/Well/Statistics' import WellForm from '@/components/Well/Forms/WellDetail' const Well...
"use strict"; (function (albumbImageSize) { albumbImageSize[albumbImageSize["LARGE"] = "large"] = "LARGE"; albumbImageSize[albumbImageSize["MEDIUM"] = "medium"] = "MEDIUM"; albumbImageSize[albumbImageSize["SMALL"] = "small"] = "SMALL"; })(exports.albumbImageSize || (exports.albumbImageSize = {})); var album...
/* Fill the screen with the X character by printing a single string */ var stdin = process.stdin; stdin.setRawMode(true); var stdout = process.stdout; var readline = require('readline'); readline.cursorTo(stdout, 0, 0); readline.clearScreenDown(stdout); var total = stdout.columns * stdout.rows; var microtime = req...