text
stringlengths
2
1.04M
/* eslint no-use-before-define: ["error", { "variables": false }] */ import PropTypes from 'prop-types'; import React from 'react'; import { StyleSheet, TextInput } from 'react-native'; import { MIN_COMPOSER_HEIGHT, DEFAULT_PLACEHOLDER } from './Constant'; import Color from './Color'; export default class Composer e...
'use strict' var path = require('path') var fs = require('graceful-fs') var rimraf = require('rimraf') var asyncMap = require('slide').asyncMap var mkdirp = require('gentle-fs').mkdir var npm = require('../../npm.js') var andIgnoreErrors = require('../and-ignore-errors.js') var move = require('../../utils/move.js') var...
window.onresize = function() {displayFunction()}; function displayFunction() { if (window.innerWidth < 992) { document.getElementById("first-navbar").style.top = "0"; } else { document.getElementById("first-navbar").style.top = "-60px"; } } window.onscroll = function() {scrollFunction()}; function ...
import http from 'http' import express from 'express' import webpack from 'webpack' import mongoose from 'mongoose' import socketio from 'socket.io' import webpackDevMiddleware from 'webpack-dev-middleware' import webpackHotMiddleware from 'webpack-hot-middleware' import socket from './socket' import handleRoutes from...
'use strict'; let gulp = require('gulp'); let reload = require('browser-sync').reload; let src = require('./sources'); module.exports = watch; function watch() { gulp.watch(src.scripts.all, ['scripts', reload]); }
const CustomError = require("../extensions/custom-error"); module.exports = function createDreamTeam(members) { if ( members === null || typeof(members) !== 'object' || "foo" in members === true ) { members = []; } let a = members.map(function name(params) { if (typeof(params) === 'string'){ fo...
var mysql = require("mysql"); var connection; if(process.env.JAWSDB_URL){ connection = mysql.createConnection(process.env.JAWSDB_URL); } else{ var connection = mysql.createConnection({ host: "localhost", port: process.env.PORT || 3306, user: "root", password: "Platypus3!", database: "pokemon_db" }); }; // ...
const { Element } = require('@neft/core') const parseNForSyntax = (nFor) => { if (!nFor.includes(' in ')) return null const inParts = nFor.split(' in ') let left = inParts[0] if (left[0] === '(' && left[left.length - 1] === ')') { left = left.slice(1, -1) } // set binding scope const parts = left.sp...
export { default as useConfigureLeaflet } from './useConfigureLeaflet'; export { default as useMapServices } from './useMapServices'; export { default as useRefEffect } from './useRefEffect'; export { default as useSiteMetadata } from './useSiteMetadata';
var searchData= [ ['_5fprivate_39',['_private',['../structkoishi__coroutine__t.html#aa7cd7be1e654f74d2a3587a0d3c5dcd7',1,'koishi_coroutine_t']]] ];
// @flow import jss from 'jss' import preset from 'jss-preset-default' console.warn(`The JSS Starter Kit is for learning and experimentation. It's not optimized for production deployment. If you'd like to use JSS in production, try including the "jss" and "jss-preset-default" modules directly. See an example at htt...
chrome.tabs.query({active:true, windowId: chrome.windows.WINDOW_ID_CURRENT}, function(tabs) { for (var i=0; i<tabs.length; ++i) { chrome.tabs.sendMessage(tabs[i].id, {method: "getCanonical"}, function(response){ var d = document; var i = d.getElementById('canonical'); i.value = response.data; ...
(function() { function SongPlayer($rootScope, Fixtures) { var SongPlayer = {}; var currentAlbum = Fixtures.getAlbum(); var currentBuzzObject = null; var setSong = function(song) { if (currentBuzzObject) { stopSong(song); } ...
$('[data-toggle="tooltip"]').tooltip(); $('#form-users').on('beforeSubmit', function (e) { let form = $(this); let formData = form.serialize(); let url = form.attr('action'); let dataUrl = $('#reloadDiv').attr('data-url'); $.post(url, formData).done(function (res) { console.log(res); ...
define([], function () { return { "GeneralGroupName": "全般", "AppIdFieldLabel": "アプリ ID", "AuthUrlFieldLabel": "認可 URL", "ResourceUrlFieldLabel": "リソース URL" } });
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.errCode = f()}...
const BASE_URL = 'https://maps'; const DEFAULT_URL = `${BASE_URL}.googleapis.com`; const API_PATH = '/maps/api/js?callback=_$_google_map_initialize_$_'; let $script_ = null; let loadPromise_; let resolveCustomPromise_; const _customPromise = new Promise((resolve) => { resolveCustomPromise_ = resolve; }); // TODO...
/*! highlight.js v9.0.0 | BSD3 License | git.io/hljslicense */
const path = require("path"); exports.createPages = ({ graphql, boundActionCreators }) => { const { createPage } = boundActionCreators return new Promise((resolve, reject) => { const blogPostTemplate = path.resolve(`src/templates/blog-post.js`) resolve( graphql( ` { blog...
const config = require("./config"), invokeRoutes = require("./routes"), favicon = require('serve-favicon'), db = require("./db.js"), bodyParser = require("body-parser"), //a module to parse request bodies from the frontend http = require('http'), path = require("path"), //a node-core module to help you read file ...
const portfinder = require('portfinder') module.exports = async () => { return await portfinder.getPortPromise() }
(function (exports) { exports.isArray = isArray; exports.isDate = function(obj){return Object.prototype.toString.call(obj) === '[object Date]'}; exports.isRegExp = function(obj){return Object.prototype.toString.call(obj) === '[object RegExp]'}; exports.inspect = function(obj, showHidden, depth, colors) { ...
const cheerio = require('cheerio'); const program = require('commander'); const pkg = require('../package.json'); const Promise = require('bluebird'); const fs = Promise.promisifyAll(require('fs')); const ncp = Promise.promisifyAll(require('ncp')); const path = require('path'); program .version(pkg.version) .option...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const bcrypt = require('bcrypt-nodejs'); const instructorSchema = new Schema({ fullName: String, username: String, password: String, }); instructorSchema.methods.comparePassword = function comparePassword( password, cb ) { bcrypt.compar...
const axios = require('axios') const API_BASE = 'https://api.github.com' const SEARCH_URL = `${API_BASE}/search/repositories` const LIMIT_URL = `${API_BASE}/rate_limit` module.exports = class GitHub { constructor(token) { this.token = token this.headers = { Authorization: `token ${this.token}` } } asyn...
"use strict"; /** * @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 */ Object.defineProperty(exports, "__esModule", { value: true }); require("../zone"); require("./events");...
import React from 'react'; import API from './API'; import './App.css'; import Navigation from './components/Navigation'; import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'; import Home from './pages/Home'; import Planets from './pages/Planets'; import Starships from './pages/Starships'; import S...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-142.js * @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing an exponential number (15.4.5.1 step 3.c) *...
System.register(['angular2/core', '../rd-loading/rd-loading', '../rd-widget/rd-widget', '../rd-widget-header/rd-widget-header', '../rd-widget-body/rd-widget-body', '../rd-widget-footer/rd-widget-footer', '../server-list-view/server-list-view', '../../services/server_list'], function(exports_1, context_1) { "use str...
/*! * filename: ej.spellcheck.min.js * version : 19.1.0.63 * Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecut...
const router = require('express').Router(); const verify = require('../controllers/AuthController'); let Jacuzzi = require('../models/jacuzzi.model'); let ReviewInvite = require('../models/reviewInv.model'); const upload = require('./uploadImages').upload; const updateImageFiles = require('./uploadImages').onUpdate; co...
import * as Globals from '../../animated/Globals' import Animation from '../../animated/Animation' import AnimatedValue from '../../animated/AnimatedValue' import SpringAnimation from '../../animated/SpringAnimation' import controller from '../../animated/AnimatedController' import Interpolation from '../../animated/In...
import socket from '@core/services/routes/emitter' import Filter from '@apps/maha/models/filter' const destroyRoute = async (req, res) => { const filter = await Filter.query(qb => { qb.where('team_id', req.team.get('id')) qb.where('owner_id', req.user.get('id')) qb.where('code', req.params.code) qb....
/** * Title: react-redux-calculator * Author: Jaehyun Park * History: * Aug/19/2019 - creates file. * Aug/20/2019 - toInfix(). */ import stack from "./stack"; /** * Token Types and Seperator */ const tknT = { UNKNOWN: -1, OPERAND: 0, OPERATOR: 1, SEPERATOR: ' ' } /** * Operator Typ...
/* * @Author: qiaozp * @LastEditors: qiaozp * @Description: 全局过滤 将后台需要转换的数据进行处理 * @Date: 2019-02-26 16:21:55 * @LastEditTime: 2019-04-08 09:18:07 */
import './admin-user'; import './profile-edit-profile'; import './profile-edit-password'; import './product'; import './category'; import './brand'; import './inventory'; import './cart'; import './user'; import './order'; import './order-item';
/* parser generated by jison 0.4.18 */ /* Returns a Parser object of the following structure: Parser: { yy: {} } Parser.prototype: { yy: {}, trace: function(), symbols_: {associative list: name ==> number}, terminals_: {associative list: number ==> name}, productions_: [...], perfo...
import { CONFIG_DEFAULTS } from "../const"; import { ConfigStore } from "../ConfigStore"; export function SetSize(width = 800, height = 600, resolution = 1) { if (resolution === 0) { resolution = window.devicePixelRatio; } ConfigStore.set(CONFIG_DEFAULTS.SIZE, { width, height, resolution }); }
import {BaseElement} from './base-element'; // TODO(#31915): completely eliminate this class. export class ElementStub extends BaseElement {}
function searchArticle(){ $search = document.getElementById("searchArticle").value; $result = document.getElementById("searchResult"); //$result.innerHTML = $search; var req = new XMLHttpRequest();; //URL para uso local var url = "http://localhost/bc-api/public/api/articles/search/...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function IoIosBowtie (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M290.8 213.5C286 205 277 202.2 266 202.2v-.2c-6 0-14.3 1.3-22.6 2.9-11.9 2.3-19.7 7.1-19.7 7.1s3.6 27.3.1 58.5-7.9 42....
const compact = require('lodash/compact'); const webpack = require('webpack'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const BundleAnalyzePlugin = require('./lib/BundleAnalyzerPlugin'); module.exports = opts => { opts = Object.assign({ env: 'dev', analyze: false }, opts); const isDev ...
'use strict'; let http = require('http'); http.createServer((request, response) => { // 傳送 HTTP header // HTTP Status: 200 : OK // Content Type: text/plain response.writeHead(200, { 'Content-Type': 'text/plain' }); // 傳送回應內容。 response.end('Hello World!\n'); console.log('request.headers: \n', re...
describe("ExceptionFormatter", function() { describe("#message", function() { it('formats Firefox exception messages', function() { var sampleFirefoxException = { fileName: 'foo.js', lineNumber: '1978', message: 'you got your foo in my bar', name: 'A Classic Mistake' ...
import React, { useEffect } from 'react'; import { Container, Form, Button } from 'react-bootstrap'; import PropTypes from 'prop-types'; import './ReservationForm.css'; const ReservationForm = ({ reservationDate, handleSubmit, title, park, username, email, newReservationErrors, }) => { useEffect(() => ...
const path = require('path'); const AnswerEntity = require(__dirname + '/../AnswerEntity'); const TelenorAPIClient = require(__dirname + '/../../TelenorAPIClient'); const FacebookButtons = require(path.join(__dirname, '..', '..', 'FacebookMessage', 'FacebookButtons')); const FacebookMessageAPI = require(path.join(_...
/** * @param {number[]} nums * @param {number} k * @return {boolean} */ var containsNearbyDuplicate = function (nums, k) { let hashmap = {}; for (let i = 0; i < nums.length; i++) { if ( (hashmap[nums[i]] || hashmap[nums[i]] === 0) && i - hashmap[nums[i]] <= k ) return true; hashmap...
'use strict'; (function() { xdescribe('authInterceptor', function() { // Initialize global variables var authInterceptor, $q, $state, Authentication, httpProvider; // Load the main application module beforeEach(module(ApplicationConfiguration.applicationModuleName)); // ...
(function() { 'use strict'; angular .module('thinkster.posts', [ 'thinkster.posts.controllers', 'thinkster.posts.directives', 'thinkster.posts.services' ]); angular .module('thinkster.posts.controllers', []); angular .module('thinkst...
const { setupThenCommand: ingestV2Command } = require('./ingestV2'); const { setupThenCommand: deleteActivityCommand } = require('./deleteActivity'); const { setupThenCommand: migrateStatsCommand } = require('./migrateStats'); const { setupThenCommand: recalculateStatsCommand } = require('./recalculateStats'); const { ...
import {canvas as reducer} from '../../src/reducers/reducers.js'; import createAction from '../../src/actions/ActionFactory.js'; /** * Builder pattern for canvas state * * @param past * @param present * @param future * @returns {{past: Array, present: *, future: Array}} */ const buildCanvasState = (past = [], p...
/* Subcommand to export the metadata from a Salesforce Org. Replicates the 'export' subcommand functionality from the Force.com CLI. */ var path = require("path"); var fse = require('fs-extra'); var child_process = require('child_process'); var allMetadataNames=new Array(); function ExportCommand(opts) { ...
import React, { useState, useEffect } from "react" import { collection, query, orderBy, onSnapshot } from "firebase/firestore" import { db } from "./firebase" import AddTask from "./AddTask" import Task from "./Task" function TaskManager() { const [openAddModal, setOpenAddModal] = useState(false) const [tasks, set...
import { celebrate, Segments, Joi } from 'celebrate'; export const IncidentsGet = celebrate({ [Segments.QUERY]: Joi.object().keys({ page: Joi.number(), }), }); export const IncidentsPost = celebrate({ [Segments.BODY]: Joi.object().keys({ title: Joi.string().required(), description: Joi.string().requ...
const EMPTY_OBJ = Object.freeze({}) ; const EMPTY_ARR = Object.freeze([]) ; const extend = Object.assign; const hasOwnProperty = Object.prototype.hasOwnProperty; const hasOwn = (val, key) => hasOwnProperty.call(val, key); const isArray = Array.isArray; const isMap = (val) => toTypeString(val) === '[object Map]'; ...
/* @flow */ import 'babel-polyfill'; import filtersToName from '../filtersToName'; const sets = { case: { '24601': 'Set Name', }, }; const filterEq = { op: 'in', content: { field: 'field', value: ['one'] }, }; const filterIn2 = { op: 'in', content: { field: 'field', value: ['one', 'two'] }, }; cons...
"use strict"; /* * eslint-plugin-sonarjs * Copyright (C) 2018-2021 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * v...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // clang-format off // #import {VolumeInfo} from '../../../externs/volume_info.m.js'; // #import {VolumeManager} from '../../../externs/volume_manager...
import { test } from "uvu"; import * as assert from "uvu/assert"; import nanoSymbols from "./index.js"; for (const [key, value] of Object.entries(nanoSymbols)) { console.log(value, key); } console.log(); test("returns log symbols", () => { assert.ok( nanoSymbols.success.includes("✔") || nanoSymbols.success.i...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Vector2 = /** @class */ (function () { function Vector2(x, y) { this.x = x || 0; this.y = y || 0; } return Vector2; }()); exports.Vector2 = Vector2; var Vector3 = /** @class */ (function () { function Vector...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["dialog"] = factory(); else root["cube"]...
// import data from '../../static/js/data.js'; // import filter from "../../components/filter"; import cart from "../../components/cart"; import catalog from "../../components/catalog"; import slider from "../../components/slider"; import libs from "./script"; const init = () => { libs(); catalog(); slider(); ...
// @flow // // Copyright (c) 2018-present, GM Cruise LLC // // This source code is licensed under the Apache License, Version 2.0, // found in the LICENSE file in the root directory of this source tree. // You may not use this file except in compliance with the License. import naturalSort from "webviz-core/src/uti...
'use strict'; const autoprefixer = require('autoprefixer'); const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); const InterpolateHtmlPlugin = require('react-dev-utils...
/** * @fileoverview added by tsickle * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * f...
const { assert } = require('chai') const { assertSuccess, assertError } = require('@chainlink/external-adapter') const { execute } = require('../adapter') describe('execute', () => { const jobID = '1' context('successful calls @integration', () => { const requests = [ { name: 'empty data', ...
// The goal of these tests is to avoid deploying unwanted changes in the calculations. We run a number // of simulations and persist their results in a snapshot (ie, a file commited in git). Our test runner, // Jest, then compare the existing snapshot with the current Engine calculation and reports any difference. // /...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.GiProtectionGlasses = function GiProtectionGlasses (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M256 146.572c-30.972 0-61.944 1.244-92.914 3.703H160c-.032.082-.063.165-.0...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
/* @generated */ // prettier-ignore if (Intl.DateTimeFormat && typeof Intl.DateTimeFormat.__addLocaleData === 'function') { ) }
import React from 'react'; import UnderConstruction from './lib'; import logo from './logo3.png'; const App = () => ( <UnderConstruction background={{ image:'http://images.ctfassets.net/fo9twyrwpveg/4DT5khTSA8y4248cMsA8U/066a63b6ff135f43bc3b116372b31016/20180817_guide_static_sites_react_gatsby_contentful_n...
import React, { Component } from 'react'; import { Text, TouchableWithoutFeedback, View } from 'react-native'; import { Actions } from 'react-native-router-flux'; import { CardSection } from './common'; export default class ListItem extends Component { onRowPress(){ Actions.employeeEdit({ employee: this.props.em...
/** * @overview 工具库 * * ============================================================================= * 扩展工具 * ============================================================================= * * API: * 1. $.util.deparam(urlParam); // 地址参数反序列化 * 2. $.util.render(tmpl, json, [con...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=ua_i_sr_class.js.map
// Default options IconPicker.Init({ // Required: You have to set the path of IconPicker JSON file to "jsonUrl" option. e.g. '/content/plugins/IconPicker/dist/iconpicker-1.5.0.json' jsonUrl: '/plugins/fontawesome-iconpicker/iconpicker-1.5.0.json', // Optional: Change the buttons or search placeholder text a...
module.exports = { root: true, parserOptions: { ecmaVersion: 2017, sourceType: 'module' }, plugins: [ 'ember' ], extends: [ 'eslint:recommended', 'plugin:ember/recommended' ], env: { browser: true }, globals: { // Mirage server server: true, }, rules: { 'ember...
import React, { PureComponent } from 'react'; import './App.css'; import 'bootstrap/dist/css/bootstrap.min.css'; // import AdSense from 'react-adsense-ad'; import { SocialIcon } from 'react-social-icons'; import Tab from 'react-bootstrap/Tab' import Tabs from 'react-bootstrap/Tabs' import './index.css' import Resum...
/** * Site stats utilities. * * Site Kit by Google, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * ...
/** * Copyright 2013-2014 Facebook, 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 agree...
'use strict' const sh = require('../utils/sh-basic') const DEFAULT_VERSION = '0.0.1' const REGEX = /^((\w{1}|[1-9]{1}\w+)\.){2}(\w{1}|[1-9]{1}\w+)$/g const isValid = val => REGEX.test(val) const def = val => val === undefined || val === '' ? DEFAULT_VERSION : val function ask () { return sh.input('Version: (' + D...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _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]; } } }...
/* main.js Initialize the SDK and get a reference to the project */ var API_KEY = "grandeurktso04c509be01xtfjp7enlc"; var ACCESS_KEY = "accessku9sk8t800by01t5ci9icuni"; var ACCESS_TOKEN = "eyJ0b2tlbiI6ImV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUpwWkNJNkltRmpZMlZ6YzJ0MU9YTnJPSFE0TURCaWVUQXhkRFZqYV...
// Function to linearly interpolate between a0 and a1 // Weight w should be in the range [0.0, 1.0] function lerp(a0, a1, w) { return (1.0 - w)*a0 + w*a1; // as an alternative, this slightly faster equivalent formula can be used: // return a0 + w*(a1 - a0); } // Computes the dot product of the distance an...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class JsletManager { constructor() { this._jsletContextMap = null; this.init(); } init() { this._jsletContextMap = new Map(); } addContext(ref, context) { this._jsletContextMap.set(ref, conte...
stage(async () => ({ foo: 1 })); test('staged foo should be 1', async () => { const { foo } = await stage(); expect(foo).toEqual(1); }); describe('with nested stage', () => { stage(async () => ({ foo: 2 })); test('staged foo should be 2', async () => { const { foo } = await stage(); expect(foo).toEqu...
import React from "react"; import renderer from "react-test-renderer"; import LinkedinIcon from "../Linkedin"; describe("LinkedinIcon", () => { const children = <title>Linkedin Icon</title>; it("renders correctly", () => { const component = renderer.create( <LinkedinIcon size={22}>{children}</LinkedinI...
(function(undefined) { if (!("Intl"in self&&Intl.PluralRules&&Intl.PluralRules.supportedLocalesOf&&function(){try{return 1===Intl.PluralRules.supportedLocalesOf("sc").length}catch(l){return!1}}() )) { // Intl.PluralRules.~locale.sc /* @generated */ // prettier-ignore if (Intl.PluralRules && typeof Intl.PluralRules.__ad...
$(window).bind('resize', function(e) { loadParticles(); }); function loadParticles() { var options = { "particles": { "number": { "value": 80, "density": { "enable": true, "value_area": 800 } }, "color": { "value": ["#aa73ff", "#f8c210", "#8...
/*! * global/window.min.js * https://github.com/RobinHerbots/Inputmask * Copyright (c) 2010 - 2017 Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 3.3.8-5 */ "function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&...
const _ = require('lodash'); const polls = require('../../../lib/polls'); const logger = require('../../../lib/logger'); const ndSchedules = require('../../../lib/ndSchedules'); let numSeasonsPlayed = 0; let firstLossOfSeasonsIndexTotal = 0; const undefeatedSeasons = []; const firstLossOfSeasonIndexes = []; const wee...
function getTablePrecoEstados() { return "tb_preco_estado"; } function dbLoad() { var db = Ti.Database.open(Ti.App.Properties.getString(DATABASE_FILE)); return db; } function createPrecoEstados() { db = dbLoad(); db.execute("CREATE TABLE IF NOT EXISTS " + getTablePrecoEstados() + "(\n id INTEGER ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _inte...
/* * Copyright (с) 2015-present, SoftIndex LLC. * 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 toPromise from '../../common/toPromise'; import {parents, pick, escape, last, isDefined, pairs} from...
/** * Copyright 2018 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...
/* * Copyright (C) 2007, 2008 Apple Inc. 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, this list of ...
/*! ramp-pcar Plugins 26-05-2015 18:39:34 : v. 5.4.0-9 * * RAMP GIS viewer - Elk; Sample of an implementation of RAMP **/ RAMP.plugins.projectionLookup.epsgio=function(a){"use strict";var b,c,d,e=/urn:ogc:def:crs:EPSG::(\d+)/,f=/EPSG:(\d+)/,g=$.Deferred();return b=a.match(e),b?d=b[1]:(c=a.match(f),c&&(d=c[1])),d?...
/** @typedef {import('../definitions').UserSettings} UserSettings */ /** * @typedef State * @property {string} host * @property {UserSettings} settings * @property {boolean} isLoading */ /** @type {State} */ const state = { host: null, settings: null, isLoading: true, }; export function getState() {...
const { divEdit, spanTime, uiPaging, mDropdown } = require('../component.js'); const viewSubject = { data(){ return { offset: 0, limit: 5, asc: false } }, props:{ subject: { type: Object, required: true } }, ...
var moment = require("../../moment"); exports.is_valid = { "array bad month" : function (test) { test.expect(2); test.equal(moment([2010, -1]).isValid(), false, 'month -1'); test.equal(moment([2100, 12]).isValid(), false, 'month 12'); test.done(); }, "array good month" : ...
/** * @type {import('@stryker-mutator/api/core').StrykerOptions} */ module.exports = { packageManager: 'yarn', reporters: ['html', 'clear-text', 'progress'], mutate: [ 'src/lib/**/*.js', ], jest: { projectType: 'custom', configFile: 'jest.config.stryker.js', config: { testEnvironment: ...