text
stringlengths
2
1.05M
import React from 'react' import styled from "@emotion/styled" import {css, jsx} from '@emotion/react' import {StaticImage} from "gatsby-plugin-image" const Wrapper = styled("div")` width: 100%; min-height: 100vh; ` const FirstInnerWrapper = styled("div")` display: flex; flex-direction: column; align-items: center; wi...
/** * Copyright (c) 2014-2018, FrontEndART Software Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
import React from 'react'; import styled from '@emotion/styled'; import { GatsbyImage, getImage } from 'gatsby-plugin-image'; import Iconos from './iconos'; import Layout from './Layout'; import { graphql } from 'gatsby'; export const query = graphql` query($id: String!) { allStrapiPropiedades(filter: {id: { eq:...
define([ "skylark-threejs", "../threex" ], function ( THREE, threex ) { 'use strict'; var DeviceOrientationControls = function (object) { var scope = this; this.object = object; this.object.rotation.reorder('YXZ'); this.enabled = true; this.deviceOrientati...
function solve(input) { let string = input.shift(); let command = input.shift(); let charsToSumUpper = ''; let charsToSumLower = ''; for (const char of string) { let check = isUpper(char); if (check) { charsToSumUpper += char; } else { let lower = is...
module.exports = { env: { // server-wallet runs in Node.JS environments node: true, // We expect to be able to use Promise and Set es6: true, }, plugins: ['jest', 'import', 'unicorn'], extends: [ '../../.eslintrc.js', 'plugin:jest/recommended', 'plugin:jest/style', 'plugin:import...
import { login, logout, getInfo } from '@/api/user' import { getToken, setToken, removeToken } from '@/utils/auth' import router, { resetRouter } from '@/router' const state = { token: getToken(), name: '', avatar: '', introduction: '', roles: [] } const mutations = { SET_TOKEN: (state, token) => { st...
/** * Represents an Ext JS application, which is typically a single page app using a * {@link Ext.container.Viewport Viewport}. * * An application consists of one or more Views. The behavior of a View is managed by its * corresponding {@link Ext.app.ViewController ViewController} and {@link Ext.app.ViewModel * Vi...
import React, { Component } from 'react'; import {Row, Col, ContainerFluid} from './Wrappers'; import AbilityScores from './AbilityScores'; import CharName from './CharName'; import SkillList from './SkillList'; import { getInitialState } from './data'; import { map, get, find, matches, } from 'lodash/fp'; ...
module.exports = function (Schema) { /*<define>*/ /** * 创建联合类型 * * @param {number} size 联合类型总大小 * @param {Object} schema 联合类型中出现的字段 * @return {Schema} 返回联合类型 '''<example>''' * @example unionCreator():base ```js var _ = jpacks; var _schema = _.union({ length: _.byte, cont...
var express = require('express'); var app = express(); var axios = require("axios"); var cheerio = require("cheerio"); var cors = require('cors'); const config = require('./config.json'); const Redis = require('ioredis'); const csv = require('csvtojson') let basePathHistory = "https://raw.githubusercontent.com/CSSEGIS...
Highcharts.maps["countries/cn/430502"] = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":430502,"name":"双清区","center":[111.479756,27.240001],"centroid":[111.546436,27.241775],"childrenNum":0,"level":"district","acroutes":[100000,430000,430500],"parent":{"adcode":430500},"longitude":111....
const createRedditCommand = require("../utils/createRedditCommand"); module.exports = { cromch: createRedditCommand("cromch"), puppies: createRedditCommand("puppies"), };
import Logger from './Logger'; const QueryString = { make: function(params) { if (!params) { return ''; } const esc = encodeURIComponent; const query = Object.keys(params) .filter(x => params[x] !== null) .map(k => esc(k) + '=' + esc(params[k])) .join('&'); return query...
import React, { useState } from "react"; import "../style/patterns/contact.scss"; import enter from "../assets/icons/enter.svg"; import loading from "../assets/icons/loading.svg"; import circleUp from "../assets/icons/circleUp.svg"; import circleDown from "../assets/icons/circleDown.svg"; import Button from "../compon...
const key = 'protected-screens-table'; const TITLE = `${key}.title`; const EMPTY_PLACEHOLDER_MESSAGE = `${key}.empty-placeholder-message`; const HEADER_NAME_TITLE = `${key}.header-name-title`; export default { TITLE, EMPTY_PLACEHOLDER_MESSAGE, HEADER_NAME_TITLE, };
import React from "react" import { PropTypes } from "prop-types" import "normalize.css" import layoutStyles from "./Layout.module.scss" import "./../../styles/defaults.scss" import Navbar from "../navbar/Navbar" const Layout = ({ children }) => { return ( <div className={layoutStyles.container}> <Navbar /...
/** * @fileoverview added by tsickle * Generated from: base.module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; impor...
// Interface for tracking the number and/or latency of episodes and steps. class _EventTimer { // Example event timer to measure step and observation times. __enter__() { //eslint-disable-line //pass } __exit__(unused_exception_type, unused_exc_value, unused_traceback) { //eslint-disable-line //pass ...
// 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 un...
const expect = require('chai').expect; const Accounts = require('../../src/accounts').Accounts; const Account = require('../../src/accounts').Account; describe('Accounts Manager', () => { it('should exist', () => { expect(Accounts).to.be.ok; }); describe('Getting Accounts', () => { const Manager = new...
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
// Código del cuadrado console.group("Cuadrados"); // const ladoCuadrado = 5; // console.log("Los lados del cuadrado miden: " + ladoCuadrado + "cm"); function perimetroCuadrado(lado) { return lado * 4; } // console.log("El perímetro del cuadrado es: " + perimetroCuadrado + "cm"); function areaCuadrado(lado) { ret...
import { __awaiter } from 'tslib'; import { ContentContainerComponentHarness, HarnessPredicate, ComponentHarness, parallel } from '@angular/cdk/testing'; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE fi...
"use strict"; /** * @license * Copyright Google LLC 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 */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if...
const { servers, yta, ytv } = require('../lib/y2mate') let yts = require('yt-search') let fetch = require('node-fetch') let handler = async (m, { conn, command, text, usedPrefix }) => { if (!text) throw `uhm.. what are you looking for?\n\nExample:\n${usedPrefix + command} Bad Boy` let chat = global.db.data.chats[m....
/* ------------------------------------------------------------------------------ * * # Advanced Velocity.js examples * * Specific JS code additions for extension_velocity_examples.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * ------------------------------------------------------------------...
const mouse = { state: { x: 0, y: 0, click: null }, init: (canvas, callback) => { canvas.addEventListener("contextmenu", event => event.preventDefault()) canvas.addEventListener("mousemove", event => { mouse.state.x = event.layerX ...
(function($) { $.fn.popup = function(options) { var defaults = { animation: 'fadeAndPop', //fade, fadeAndPop, none animationspeed: 500, //how fast animtions are closeonbackgroundclick: true, //if you click background will modal close? dismissmodalclass: 'close-popup-modal' //the c...
'use strict'; /** * Adds commas to a number * @param {number} number * @param {string} locale * @return {string} */ module.exports = function(number, locale) { console.log('%d == %s', number, number.toLocaleString(locale)); return number.toLocaleString(locale); };
import React, { useState } from "react" import PropTypes from "prop-types" import { Button, Label, Row, UncontrolledAlert, Input } from "reactstrap" function EmailPick({ nextPage }) { const [email, setEmail] = useState(null) const [isSend, setIsSend] = useState(false) const regExp = /^(([^<>()[\]\\.,;:\s@"]+(\.[...
/* Copyright (c) 2020-2021, Salih Selim Sekerci. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar","bg",{euro:"Евро знак",lsquo:"Лява маркировка за цитат",rsquo:"Дясна маркировка за цитат",ldquo:"Лява двойна кавичка за цитат",rdquo:"Дясна двой...
'use strict'; /* global app:false */ app.controller('MainCtrl', function () { });
/* Picross 3D round 2 for HTML5 Save Editor v20160704 by Marc Robledo 2016 */ SavegameEditor={ Name:'Picross 3D: round 2', Filename:'SAVEDATA', AmiiboOffset:0x1a4c, unlockAmiiboPuzzles:function(){ for(var i=0; i<9; i++){ var offset=this.AmiiboOffset+i*16; var b=tempFile.readU8(offset); if(!(b & 0x09...
import OrderFormMenu from './OrderFormMenu' export default OrderFormMenu
/** * @license * Visual Blocks Editor * * Copyright 2011 Google Inc. * https://developers.google.com/blockly/ * * 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:...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Tokenizer = void 0; var TextRange_1 = require("./TextRange"); var Token_1 = require("./Token"); var Tokenizer = /** @class */ (function () { function Tokenizer() { } /** * Given a list of input lines, this returns an a...
const Times = (count, cb, thisArg) => { return new Array(count).fill().map( thisArg ? function(_, index) { return cb.bind(thisArg)(index); } : function(_, index) { return cb(index) } ); }; export default Times
/* @generated */ // prettier-ignore if (Intl.DisplayNames && typeof Intl.DisplayNames.__addLocaleData === 'function') { Intl.DisplayNames.__addLocaleData({"data":{"types":{"language":{"long":{"aa":"Afar","ab":"Abkhazian","ace":"Achinese","ach":"Acoli","ada":"Adangme","ady":"Adyghe","ae":"Avestan","aeb":"Tunisian Arab...
/** * @namespace Sk * */ // this is stored into sys specially, rather than created by sys Sk.sysmodules = new Sk.builtin.dict([]); Sk.realsyspath = undefined; /** * @param {string} name to look for * @param {string} ext extension to use (.py or .js) * @param {Object=} searchPath an iterable set of path strings ...
import View from 'girder/views/View'; export default View;
var searchData= [ ['kstatusdelaying_41',['kStatusDelaying',['../classace__routine_1_1CoroutineTemplate.html#a673ca8db9f3bf62a2f3be8d394358e6a',1,'ace_routine::CoroutineTemplate']]], ['kstatusending_42',['kStatusEnding',['../classace__routine_1_1CoroutineTemplate.html#a14912dd5c52d2a3963a377aae4059dc1',1,'ace_routin...
module.exports=function(context){ context.args[0]=__dirname+"/../sounds/FUCKHER.mp3"; return require('./../commands/play')(context); }
/** * Created by Alex on 05/02/14. */ import { computeLine2Intersection } from "../geom/LineSegment2.js"; const Utils = {}; function pointBetweenEdges(edge1, edge2, node, thickness) { const other1 = edge1.other(node); const other2 = edge2.other(node); const delta1 = other1.clone().sub(node); const...
const Discord = require('discord.js'); exports.run = (client, message, args) => { message.delete(); message.channel.send('<a:confuseddoggo:498045545911156736>') } exports.conf = { enabled: true, guildOnly: false, aliases: ["cdog"], permLevel: 0 }; exports.help = { name...
export const round = (value, decimals) => { return Number(Math.round(Number(`${value}e${decimals}`)) + `e-${decimals}`) }; export const floor = (value, decimals) => Number(`${Math.floor(`${value}e${decimals}`)}e-${decimals}`);
const { AppState } = require('react-native') module.exports = { init: client => { const explicitlyDisabled = client.config.appStateBreadcrumbsEnabled === false const implicitlyDisabled = client.config.autoBreadcrumbs === false && client.config.appStateBreadcrumbsEnabled !== true if (explicitlyDisabled ||...
const options = require('./lib/arg-options.js') const fileWriter = require('./lib/file-writer.js') const git = require('./lib/git.js') const version = require('./lib/version.js') const { exact, major, minor, patch, tag } = options let newVersion if (exact) { if (!version.isValid(exact)) { console.log('Error: Inc...
import path from 'path'; import 'isomorphic-fetch'; import 'ignore-styles'; import fs from 'fs-extra'; import { queryPages, buildPageTree } from 'citation-react-router'; import winston from 'winston'; import requireComponents from './require'; import urls from './urls'; import load from './load'; import prepare from '...
const { runQuery } = require('../../../../../common/bigquery/test-utils'); const version = require('../../package.json').version; test('VERSION returns the proper version', async () => { const query = 'SELECT `@@BQ_PREFIX@@s2.VERSION`() as v'; const rows = await runQuery(query); expect(rows.length).toEqual...
mycallback( {"CONTRIBUTOR OCCUPATION": "CEO", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "OMEGA WORLD TRAVEL", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "1129 CREST LANE", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONO...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ /***/ "./node_modules/@babel/runtime/helpers/arrayLikeToArray.js": /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! \***************************************...
const { SENTRY_DSN } = require("../config"); if (SENTRY_DSN) { const Sentry = require("@sentry/node"); // eslint-disable-next-line no-unused-vars const Tracing = require("@sentry/tracing"); Sentry.init({ dsn: SENTRY_DSN, tracesSampleRate: .1, }); }
function initMap() { // https://snazzymaps.com/explore // https://github.com/atmist/snazzy-info-window var mapStyle = [ { "featureType": "all", "elementType": "labels", "stylers": [ { "visibility": "off" } ] }, { "featureType": "poi.park", "elementType": "geometry.fill", "stylers": [ { "color": "#aadd55" }...
/** * © 2022 Abraham Mitiku * Open Source MERN Dashboard Template * */ // ----------------------------------------------------------------- import React from "react"; import { useRoutes} from "react-router-dom"; import { createTheme, ThemeProvider } from '@mui/material/styles'; import routes from './routes/r...
const dotenv = require("dotenv"); dotenv.config(); const { getTeleportInCollection, getTeleportOutCollection, } = require("./mongo"); const { known: { saveKnownHeights, closeKnownClient }, } = require("@statescan/common"); async function main() { const heights = []; let heightSet, col, arr; col = await g...
const path = require('path'); const merge = require('webpack-merge'); const baseConfig = require('./webpack.base.js'); module.exports = merge(baseConfig, { entry: { cookieconsent: './src/components/cookie-consent/index.js', burger: './src/components/burger-header/index.js', messagebox: './src/components...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
/* eslint-disable no-unused-vars */ import moment from 'moment'; // import Hackathon from '../api/models/Hackathon'; const Hackathon = require('../api/models/Hackathon'); module.exports = { up: async (queryInterface, _Sequelize) => { await Hackathon.create({ name: 'FLAM-NOV-2020', startDate: moment...
window.peopleAlsoBoughtJSON = [{"cover":"61iKfMrisQS","asin":"B097TV6P59","subHeading":"A LitRPG Series Box Set","title":"Life in Exile Books 1-3","authors":"Sean Oswald","narrators":"Peter Berkrot","length":"59 hrs and 23 mins"},{"cover":"51GrOYW9krL","asin":"B09LVSWGZ7","subHeading":"An Apocalyptic LitRPG","title":"I...
var C = { basePath : function(){ if(window.URL_ROOT){ return window.URL_ROOT; } return document.location.href.replace(/\/[^\/]+$/, ''); }, staticPath : function(){ return C.basePath() + '/static'; }, modURL : function(c, a){ return C.basePath() + '...
const VALID_NUMBER = /^-\d+(?:\.\d+)?$/ const { SI_SYMBOL } = require("../../../utils/Constants") module.exports = async d => { const { code } = d.command const inside = d.unpack() const err = d.inside(inside) if (err) return d.error(err) const abbrNumber = inside.inside.toUpperCase() le...
// The following are in class JS teachings // const - constance something where the value will not change let name = 'Corrina' console.log(name) const numOne = 12 const numTwo = 5 const result = numTwo % numOne console.log(result) // switch statement let groceryItem = 'papaya'; switch(groceryItem) { case 'to...
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e=e||self).ReactTransitionGroup={},e.React,e.ReactDOM)}(this,function(e,t,n){"use strict";var r="default"in t?t.default:...
module.exports = { name: 'apostrophe-events-page', label: 'Events Page', extend: 'apostrophe-pieces-pages', piecesFilters: [ { name: 'year' }, { name: 'month' }, { name: 'day' }, ], construct: function (self, options) { // Append upcoming flag by extendi...
// The Tern server object // A server is a stateful object that manages the analysis for a // project, and defines an interface for querying the code in the // project. (function(root, mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS return mod(exports, require("./infer"), require...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z" }), 'SwapHoriz');
/* * * * (c) 2010-2021 Torstein Honsi * * License: www.highcharts.com/license * * Dark theme for highcharts JS * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../../Core/Globals.js'; import O from '../../Core/Options.js'; var setOptions = O....
import React, { useState, useMemo, useEffect, useRef } from 'react'; import { graphql, navigate } from 'gatsby'; import ChapterList from './components/chapter/ChapterList'; import useChapters from '../hooks/use-chapters'; import { getChaptersIndex } from '../utils/index'; import NavBar from './components/chapter/NavBar...
import React from 'react'; import { Show, SimpleShowLayout, TextField, } from '../../core'; import PreQuestionTitle from './PreQuestionTitle'; const PreQuestionDetails = props => ( <Show title={<PreQuestionTitle />} {...props}> <SimpleShowLayout> <TextField source="text" /> ...
/* * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
'use strict'; var app = angular.module('AlpGatewayApp', [ 'ngRoute', 'mobile-angular-ui', 'mobile-angular-ui.gestures', 'mobile-angular-ui.core.sharedState', 'oc.lazyLoad' ]); app.config(function($routeProvider) { $routeProvider.when('/', {templateUrl: '../javascripts/home.html', reloadOnSearch...
/** * Copyright 2018 IBM All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ 'use strict'; const rewire = require('rewire'); const ClientUtils = rewire('../lib/client-utils'); const chai = require('chai'); const sinon = require('sinon'); const should = chai.should(); describe('client-utils', () => {...
import Vue from 'vue'; import { createComponentWithStore } from 'helpers/vue_mount_component_helper'; import { createStore } from '~/ide/stores'; import newDropdown from '~/ide/components/new_dropdown/index.vue'; describe('new dropdown component', () => { let store; let vm; beforeEach(() => { store = create...
var fs = require('fs') , util = require('util') , crypto = require('crypto') , stream = require('stream') , path = require('path') , mime = require('mime') , rfc822 = require('./rfc822') ; function File (options) { stream.Stream.call(this) this.writable = true this.readable = true this.buffers =...
function initializevbox2060628854115() { vbox2060628854115 = new kony.ui.Box({ "id": "vbox2060628854115", "isVisible": true, "orientation": constants.BOX_LAYOUT_VERTICAL, "position": constants.BOX_POSITION_AS_NORMAL }, { "containerWeight": 100, "layoutType": const...
(this.webpackJsonpclient=this.webpackJsonpclient||[]).push([[0],{104:function(n,t){},127:function(n,t,e){"use strict";e.r(t);var a=e(0),r=e.n(a),o=e(60),i=e.n(o);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9]...
var class_mechanism_parameters = [ [ "MECHANISM_PARAM_TYPE", "class_mechanism_parameters.html#a33645fbdee2537b07f48e371662ab14e", [ [ "MECHANISM_PARAM_UNKNOWN", "class_mechanism_parameters.html#a33645fbdee2537b07f48e371662ab14ea308877e2743e85bce63fa0a77bd2c575", null ], [ "LEGAL_STARTING_ANGLE", "cl...
export default value => typeof value === 'number' && !Number.isNaN(value);
var searchData= [ ['setup_5fio',['setup_io',['../gpio_8c.html#ac64388911fd8e6e1c8756c9abb8b3824',1,'gpio.c']]], ['status',['status',['../classstatus.html',1,'']]] ];
const Chunks = require('prismarine-chunk') const mcData = require('minecraft-data') function columnKey (x, z) { return `${x},${z}` } function posInChunk (pos) { pos = pos.floored() pos.x &= 15 pos.z &= 15 return pos } function isCube (shapes) { if (!shapes || shapes.length !== 1) return false const sha...
const test = require("tape"); const fs = require("fs"); const testUtils = require("../../../bin/tools/utils"); const path = require("path"); const testDir = path.join(__dirname, "test-qx-package"); const appDir = path.join(testDir, "myapp"); // set DEBUG envvar to get colorized verbose output const debug = Boo...
// TODO: is there a different ability if the shield duty action isn't used properly? // TODO: is there an ability from Raiden (the bird) if you get eaten? // TODO: maybe chain lightning warning if you get hit while you have system shock (8B8) let noOrb = (str) => { return { en: str + ' (no orb)', de: ...
module.exports = { parser: '@typescript-eslint/parser', extends: [ 'torchbox', 'plugin:@typescript-eslint/recommended', ], parserOptions: { ecmaVersion: 2018, sourceType: 'module', }, rules: { '@typescript-eslint/explicit-member-accessibility': 'off', '@typescript-eslint/explic...
enyo.kind({ name: "Analyzer", kind: "Component", events: { onIndexReady: "" }, create: function() { this.index = new Indexer(); this.inherited(arguments); }, analyze: function(inPaths) { this.walk(inPaths); }, walk: function(inPaths) { var modules = []; var next = function(inSender, inData) { if...
//Class representing an e-commerce cart class ECommerceCart { constructor() { this.cart_id = ""; this.products = []; } addProducts(productsToBeAdded) { if (productsToBeAdded) { //add only if not-null this.products.push(...productsToBeAdded); } return this; //to aid builder pattern...
'use strict'; function Airport(weather){ this._weather = typeof weather !== 'undefined' ? weather : new Weather(); this._hangar = []; }; Airport.prototype.planes = function(){ return this._hangar; }; Airport.prototype.clearForLanding = function(plane){ if(this._weather.isStormy()) { throw new Error('ca...
var _ = require('lodash'); var Type = require('../../lib/type'); var elasticsearch = require('elasticsearch'); module.exports = new Type('string', { help: 'Some letters strung together. Words and such', to: { stringList: function (str) { return str.split(',').map(function (trimmable) { return tri...
function detectKey(measures) { // Information for sharps and flats in each key var majorKeys = [ // ["A", "B", "C", "D", "E", "F", "G"] { name: "Ab", notes: ["b", "b", "n", "b", "b", "n", "n"], points: 0 }, { name: "A", ...
;(function(Agent) { Agent.serializeElement = function (element, uiName, recurse) { var obj = {}; var $el; //detect a jQuery object //todo: support zepto if (_.isObject(element) && !(element instanceof HTMLElement) && element.jquery) { $el = element } else { $el = ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.touch = void 0; var MIN_DISTANCE = 10; function getDirection(x, y) { if (x > y && x > MIN_DISTANCE) { return 'horizontal'; } if (y > x && y > MIN_DISTANCE) { return 'vertical'; } return ''; } exports...
import Vue from 'vue' import App from './App.vue' import router from './router' import store from "./store"; import FastClick from "fastclick" import vueLazyLoad from "vue-lazyload" import VueLazyload from "vue-lazyload"; Vue.config.productionTip = false Vue.prototype.$bus = new Vue() //移动端300ms的延迟 FastClick.attach(d...
var Exporter = require('./exporter'), SwaggerExporter = require('./swagger'), _ = require('lodash'); function StopLightX() {} var prefix = 'x-stoplight'; var testsPrefix = 'x-tests'; StopLightX.prototype = new Exporter(); StopLightX.prototype._mapEndpoints = function() { var self = this; self.project.E...
var searchData= [ ['textfield_2ecpp',['TextField.cpp',['../_text_field_8cpp.html',1,'']]], ['textfield_2eh',['TextField.h',['../_text_field_8h.html',1,'']]], ['textfileutil_2ecpp',['TextFileUtil.cpp',['../_text_file_util_8cpp.html',1,'']]], ['textfileutil_2eh',['TextFileUtil.h',['../_text_file_util_8h.html',1,'...
import axios from "axios"; const api = axios.create({ baseURL: "http://192.168.0.11:3333", }); export default api;
export const createMovielike = async (itemId) => { const data = JSON.stringify({ item_id: itemId }); const resp = await fetch('https://us-central1-involvement-api.cloudfunctions.net/capstoneApi/apps/pk9RMX2Es1GYRfVPhxJy/likes/', { method: 'POST', headers: { 'Content-type': 'application/json; Charset=U...
(function(){ 'use strict'; angular.module('RoofRunnerApp') .factory('modeService', modeService); modeService.$inject = ['$http', 'SweetAlert', '$q', 'expIdService']; function modeService($http, SweetAlert, $q, expIdService){ var modeService = {}; //modeService.mode; modeService.getMode = function(){ v...
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r...
(function(e){const t=e["hu"]=e["hu"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 / %1","Align cell text to the bottom":"Szöveg igazítása a cellában alulra","Align cell text to the center":"Szöveg igazítása a cellában középre","Align cell text to the left":"Szöveg igazítása a cellában balra","Align c...
import { filter, get, groupBy, map, reverse, sortBy } from 'lodash-es'; export default /* @ngInject */ ($stateProvider, $urlRouterProvider) => { $stateProvider.state('app.dashboard', { url: '/?expand', params: { expand: { value: null, squash: true, dynamic: true, }, },...