text stringlengths 2 1.04M |
|---|
'use strict';
function tableInit(ctx){
if (ctx.url.length === 0) {
throw "No url supplied for retreiving data";
}
var tableChromeDone = false;
var tableTotal = 0;
var tableParams = {
limit : 25,
page : 1,
orderby : null,
filter : null,
search : null,
};
var defaultHiddenCols =... |
//# sourceMappingURL=13.e7c3a24f.chunk.js.map |
export default class ValidationError extends Error {
constructor(message, status = 400) {
super(message);
this.name = 'Validation error';
this.status = status;
}
} |
var testImage = document.getElementById('canvasCircleImage')
drawImage.circleDraw(testImage); |
(function(self) {
function bootstrap() {
function Transitional() {
}
Transitional.prototype.foo = function() {
var message = 'PhantomJS test runner: 1 tests of 1 passed, 0 failed';
var tt = document.createElement('tt');
tt.appendChild(document.crea... |
import CartModel from '../models/cart'
export default class Cart {
cartModel = new CartModel();
// 判断是否存在
async exist(goods_sku_id, userToken) {
return await this.cartModel.exist({
goods_sku_id: goods_sku_id,
userToken
})
}
async save(goods_sku_id, quantity,... |
import axios from 'axios';
import Vue from 'vue';
import Util from '../../../common/util';
export default function (settings) {
const defaultBody = settings['default-body'];
const defaultBodyTemplate = settings['default-body-template'];
const defaultBodyUrl = settings['default-body-url'];
const defaultBodyUrlT... |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... |
import { LitElement, html, css } from 'lit-element';
import 'fa-icons';
export class SearchBox extends LitElement {
static get properties() {
return {
value: { type: String },
placeholder: { type: String }
}
}
static get styles() {
return css`
:host {
margin: 10px;
... |
import React, { useEffect, useState } from 'react'
import {useHistory} from 'react-router-dom'
export const Viajes = ({}) => {
const [listViajes, setList] = useState([])
useEffect(() => {
let mounted = true;
})
const usuario = JSON.parse(localStorage.getItem('logueado'))
var his... |
module.exports = {
user: {
'first': 'David',
'last': 'Doe',
'display': 'David Doe',
'img_url': 'https://ssl.gstatic.com/images/branding/product/1x/avatar_square_grey_512dp.png',
'stories': [
{
'type': 'image/jpeg',
'src': 'https://s3-us-west-1.amazonaws.com/vrstories/360-pano... |
/**
* SEEDS THE DATABASE WITH SERVICE PROVIDERS
*
* Uses Faker: https://www.npmjs.com/package/Faker
*
* Run this script with `node <filename>`
*/
require('./app');
const mongoose = require('mongoose');
const faker = require('Faker');
const Service = mongoose.model('Service');
// Indicies of states, postcodes, ... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'font', 'lv', {
fontSize: {
label: 'Izmērs',
voiceLabel: 'Fonta izmeŗs',
panelTitle: 'Izmērs'
},
label: 'Šrifts',
panelT... |
if (typeof Number.trim != "function") {
Number.trim = function(s) {
if (typeof(s) != 'string') {
return s;
}
var h = '1234567890';
var z = '1234567890';
var ss = s.replace(/,/g, '').split('');
for (i = 0; i < ss.length; i++) {
var j = z.indexOf(ss[i]);
if (j >= 0) {
ss[i] = h[j];
}
}
re... |
'use strict';
module.exports = function debugDeployment(getVersion) {
return {
name: 'debug',
examples: {
commonFiles: {
scripts: ['../../../angular.js']
},
dependencyPath: '../../../'
},
scripts: [
'../angular.js',
'../angular-resource.js',
'../angular-rou... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "constants/5.2.0";
//# sourceMappingURL=_version.js.map |
function save_options() {
var color = document.getElementById('color').value;
var likesColor = document.getElementById('like').checked;
chrome.storage.sync.set({
favoriteColor: color,
likesColor: likesColor
}, function() {
// Update status to let user know options were saved.
var status = docume... |
/**
* Convert unix date time into custom date object
* @param {number} unixDateTime - string to capitalise
* @return {object} custom date object
**/
export const convertUnixDateTime = (unixDateTime) => {
var date = new Date(unixDateTime * 1000);
var months = [
"Jan",
"Feb",
"Mar",
"Apr",
"M... |
'use strict';
var setup = require('../common/data-setup');
var page = require('./players-map.po');
var RSVP = require('rsvp');
describe('The playersMap page has teams on it, and... ', function () {
describe('when there are no teams... ', function () {
describe('and there are no players... ', function () {
... |
const BaseRoute = require('./base/baseRoute');
const Joi = require('joi');
const failAction = (request, headers, erro) => {
throw erro;
};
class HeroRoutes extends BaseRoute {
constructor(db) {
super();
this.db = db;
}
list() {
return {
path: '/herois',
method: 'GET',
config: {
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutOfCanvasUpdater = void 0;
const Utils_1 = require("../../Utils");
const Enums_1 = require("../../Enums");
const Utils_2 = require("./Utils");
class OutOfCanvasUpdater {
constructor(container) {
this.container = container... |
const client = require('nekos.life');
const animals = require('random-animals-api');
const { sfw } = new client();
module.exports = async (method, msg) => {
let sendt, user;
let mention = msg.mentions.users.first();
if(mention){
mention = mention.toString();
}
user = msg.author.toString(... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
/**
* Next, we will create a fresh Vue application instance and attach ... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Card from '@material-ui/core/Card';
import CardActionArea from '@material-ui/core/CardActionArea';
import CardActions from '@material-ui/core/CardActions';
import CardContent from '@material-ui/core/CardContent';
import CardMedia f... |
import React, { Component } from 'react';
import { DetailPage } from '../components/generic';
import { observer } from 'mobx-react';
import { observable } from 'mobx';
import { ref } from '../../api/Auth/_constants';
import { firebaseAuth } from '../../api/Auth/_constants';
@observer
class DetailPageWindSpeed exten... |
/*
Copyright (c) 2011 Ijor, Segher Boessenkool, Ed Spittles
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, ... |
const formidable = require('formidable')
const Image = require('./../models/ImageSchema')
const Tag = require('./../models/TagSchema')
const fs = require('fs')
let handleImageForm = (res) => {
fs.readFile('./views/index.html', (err, data) => {
if (err) {
console.log(err);
return
}
res.writeHe... |
// Dependencies
var db = require("../models");
var path = require("path");
module.exports = function (app) {
// Sends the user to the index page
app.get("/", function(req, res){
res.sendFile(path.join(__dirname, "index.html"));
})
// Sends the user to the flash-card topic selection page
app.get("/flas... |
goog.module('os.unit.YardUnits');
goog.module.declareLegacyNamespace();
const BaseUnit = goog.require('os.unit.BaseUnit');
const Multiplier = goog.require('os.unit.Multiplier');
/**
* Responsible for receiving, logging and reporting alerts
*/
class YardUnits extends BaseUnit {
/**
* Constructor.
*/
const... |
exports.seed = async function (knex) {
await knex('scheduling').insert([
{
transaction: 1,
customer_id: '00ultwz1n9ORpNFc04x6',
groom_id: '00ultx74kMUmEW8054x6',
date: '10-18-2021',
startTime: '13:30:00',
endTime: '00:00:00',
},
{
transaction: 2,
customer_id... |
const rawFile = require('./find.json')
const network = process.env.REACT_APP_NETWORK
module.exports = rawFile.networks[network] |
import enUSAntd from 'antd/lib/locale-provider/en_US'
import zhTWAntd from 'antd/lib/locale-provider/zh_TW'
import 'moment/locale/zh-cn'
import 'moment/locale/zh-tw'
import Cookie from 'js-cookie'
import dataEn from 'react-intl/locale-data/en'
import dataZh from 'react-intl/locale-data/zh'
import enUS from './local... |
/**
* EasyUI for jQuery 1.8.6
*
* Copyright (c) 2009-2019 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
var _1=0;
function _2(_3){
var _4=$.data(_3,"fil... |
import ShovelerDashboard from '../views/ShovelerDashboard';
import UserProfile from '../views/UserProfile';
import axios from 'axios';
import {useEffect, useState} from 'react';
import Header from "../components/Header"
import {useHistory} from "react-router-dom";
const Profile = () => {
const [myJobs, setMyJobs]... |
import App, { Container } from 'next/app';
import Head from 'next/head';
import React from 'react';
import { Provider } from 'react-redux';
import flagsmith from 'flagsmith/isomorphic';
import withRedux from 'next-redux-wrapper';
import withReduxSaga from 'next-redux-saga';
import createStore from '../common/store';
... |
var currentMood;
// Get elements from DOM
var pageheader = $("#page-header")[0];
var pagecontainer = $("#page-container")[0];
// The html DOM object has been casted to a input element (as defined in index.html) as later we want to get specific fields that are only avaliable from an input element object
var imgSelecto... |
const people = [
{ name: 'Wes', cool: true, country: 'Canada' },
{ name: 'Scott', cool: true, country: 'Merica' },
{ name: 'Snickers', cool: false, country: 'Dog Country' },
];
/* Victor Mono */
// New Font!
people.forEach((person, index) => {
console.log(person.name);
});
// console.table(people);
// Consol... |
import React, { useEffect, useState } from "react";
import { Link } from "react-router-dom";
import { Button } from "antd";
import { LoginOutlined, GoogleOutlined } from "@ant-design/icons";
import { Form, Input } from "antd";
import { useDispatch, useSelector } from "react-redux";
import { message } from "antd";
/... |
Package.describe({
name: "smartix:tour",
summary: "",
version: "0.0.1",
documentation:'README.md'
});
Package.onUse(function(api) {
api.versionsFrom("1.2");
api.use('ecmascript');
api.use('iron:router');
api.use('tap:i18n');
api.use('reactive-var','client');
api.use('session', 'cl... |
import React from 'react'
import CssBaseline from '@material-ui/core/CssBaseline'
import {Navbar, Footer} from './components'
import Routes from './routes'
const App = () => {
return (
<div>
<CssBaseline />
<Navbar />
<Routes />
<Footer />
</div>
)
}
export default App |
import { computeLayout as faberComputeLayout } from './faberjs';
import { getComputedStyleWithoutDefaults } from './css';
import { chainedTransition } from './transition';
import * as d3 from 'd3';
import { select, transition } from 'd3';
// The CSS properties that are needed for layouting
var layoutProperties = [
'... |
var IndexTable = (function (exports) {
'use strict';
(function(){ if(typeof document !== 'undefined'){ var head=document.head||document.getElementsByTagName('head')[0], style=document.createElement('style'), css=".no-card[data-v-be5268ae] { border: 0; background-color: transparent; } "; style.type='text/css'; ... |
import React from 'react';
import Footer from '../components/Footer';
import picture from '../images/pic04.jpg';
export default function Generic() {
return (
<div id="wrapper">
<header id="header">
<h1>Generic</h1>
<p>Ipsum dolor sit amet nullam</p>
</header>
<div id="main">
... |
import dva from 'dva';
import createLoading from 'dva-loading';
const runtimeDva = window.g_plugins.mergeConfig('dva');
let app = dva({
history: window.g_history,
...(runtimeDva.config || {}),
});
window.g_app = app;
app.use(createLoading());
(runtimeDva.plugins || []).forEach(plugin => {
app.use(plugin);
})... |
'use strict';
var path = require('path');
var util = require('util');
var ScriptBase = require('../script-base.js');
var angularUtils = require('../util.js');
var Generator = module.exports = function Generator() {
ScriptBase.apply(this, arguments);
};
util.inherits(Generator, ScriptBase);
Generator.prototype.cre... |
/**
* Take a version from the window query string and load a specific
* version of React.
*
* @example
* http://localhost:3000?version=15.4.1
* (Loads React 15.4.1)
*/
var REACT_PATH = 'react.js';
var DOM_PATH = 'react-dom.js';
function parseQuery(qstr) {
var query = {};
var a = qstr.substr(1).split('&');... |
#!/usr/bin/env node
const chalk = require('chalk')
const log = console.log
module.exports.help = function () {
log('\n\n')
log(chalk.bold.rgb(147, 213, 216)('\t o-O-o o o--o o o o '))
log(chalk.bold.rgb(147, 213, 216)('\t | | | | | | / '))
log(chalk.bold.rg... |
const router = require("express").Router();
const Trolls = require("./trolls-model");
const axios = require("axios");
// Fetch a list of all trolls
router.get("/", async (req, res) => {
try {
const result = await Trolls.find();
res.status(200).json(result);
} catch {
res.status(500).json({ message: "S... |
module.exports = function(grunt) {
// 1. All configuration goes here
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
dist : {
src : [
'src/skippr.js',
],
dest: 'dist/skippr.js'
}... |
angular.module('loginlist', ['ionic','loginlist.controllers'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
... |
/**
* Generated bundle index. Do not edit.
*/
export * from './index';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aDAtYW5ndWxhci1qd3QuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYXV0aDAvYW5ndWxhci1qd3QvIiwic291cmNlcyI6WyJhdXRoMC1hbmd1bGFyLWp3dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R... |
/*Copyright 2010-2018 Simplemaps.com
html5countrymapv3.81
Use pursuant to license agreement at https://simplemaps.com/license */
/* shifty (tweaked to avoid AMD conflict) - v1.5.2, Copyright (c) 2013 Jeremy Kahn, MIT license http://jeremyckahn.github.io/shifty */
/* Raphaël 2.1.2 (tweaked, always global)- JavaScrip... |
module.exports = {
collectCoverageFrom: ["src/**/*.{js,jsx,ts,tsx}", "!src/**/*.d.ts"],
roots: ["<rootDir>/src/"],
testEnvironment: "node",
testPathIgnorePatterns: ["/dist/", "/examples/", "/node_modules/"],
} |
var mongojs = require('mongojs');
/* istanbul ignore next */
var Mongo = (function() {
'use strict';
var _connection = function(env) {
var username = env.MONGO_USERNAME || '',
password = env.MONGO_PASSWORD || '',
server = env.MONGO_SERVER || '192.168.1.5',
port = env.MONGO_PORT || '2701... |
'use strict';
var Video = require('twilio-video');
var activeRoom;
var previewTracks;
var identity;
var roomName;
var screenTrack;
function isFirefox() {
var mediaSourceSupport = !!navigator.mediaDevices.getSupportedConstraints()
.mediaSource;
var matchData = navigator.userAgent.match(/Firefox\/(\d+)/);
va... |
const fs = require("fs");
const test = false;
const {USet} = require("./utils");
const input = fs.readFileSync(__dirname + `/../input/input_23${test ? "_sample" : ""}.txt`, "utf8").trim().split("\n");
const parse = /pos=<(-?\d+,-?\d+,-?\d+)>, r=(\d+)/;
const [X, Y, Z] = [0, 1, 2];
const totalRange = {
minx: null, m... |
import React from "react"
import Post from "./Post"
import Banner from '../Banner'
const Posts = ({ posts, title }) => {
return (
<section className="posts">
<h3 className="posts-title">{title}</h3>
<div className="posts-center">
<article>
{posts.map(post => {
return <Pos... |
// run this application before next app
var topologyData = {
"nodes": [
{"id": 0, "x": 410, "y": 100, "name": "12K-1"},
{"id": 1, "x": 410, "y": 280, "name": "12K-2"},
{"id": 2, "x": 660, "y": 280, "name": "Of-9k-03"},
{"id": 3, "x": 660, "y": 100, "name": "Of-9k-02"},
{"id": 4, "x": 180, "y": 190, "name": "... |
export default {
read({Meteor, LocalState}, notificationId) {
if (!notificationId) {
LocalState.set('INTERNAL_NOTIFICATION_CREATION_ERROR', 'notification Id is required.');
return;
}
Meteor.call('notifications.read', notificationId, (err) => {
if (err) {
alert(`Notification crea... |
import React from "react";
// nodejs library that concatenates classes
import classNames from "classnames";
// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
// @material-ui/icons
// core components
import Header from "../../components/Header/Header.js";
import Footer from "../../... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Disc = void 0;
const tslib_1 = require("tslib");
/* eslint-disable no-underscore-dangle, @typescript-eslint/unbound-method, @typescript-eslint/restrict-plus-operands */
const discord_js_1 = require("discord.js");
const path_1 = require... |
// import CardBox from './assert/cardBox'
// import SoldiersBox from './assert/soldiers'
import GameFun from './assert/game'
export default class GameControl extends Laya.Script {
constructor() {
super();
}
onEnable() {
this.data = newGame()
this.owner.getChildByName('surrender').on... |
import { React } from 'mva';
import JoinPopup from '../popup/join';
import SplitPopup from '../popup/split';
import { SetPopup } from '../../actions/flow';
export default ({ measure, note }) => {
const showNotePopup = popup => event => {
const x = event.clientX;
const y = event.clientY;
co... |
const routes = [
{
index: true,
label: 'Eric Muchogo',
path: '/',
},
{
label: 'About',
path: '/about',
},
{
label: 'Resume',
path: '/resume',
},
{
label: 'Projects',
path: '/projects',
},
{
label: 'Stats',
path: '/stats',
},
{
label: 'Contact',
p... |
/*******************************/
/* ASISTENTE */
/*******************************/
class Asignatura {
constructor(id, nombre, abreviatura, creditos) {
this.id = id;
this.nombre = nombre;
this.abreviatura = abreviatura;
this.creditos = creditos;
}
}
class Clase... |
/*!
* remark (http://getbootstrapadmin.com/remark)
* Copyright 2016 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
!function(global,factory){if("function"==typeof define&&define.amd)define("/Plugin/floatthead",["exports","jquery","Plugin"],factory);else if("undefined"!=typeof exports)factory(exp... |
'use strict';
var express = require('express');
var controller = require('./biblesvc.controller');
var router = express.Router();
router.get('/', controller.getTestaments);
router.get('/:testament', controller.getBooks);
router.post('/:testament', controller.getBooks);
router.get('/:book/:chapter', controller.index);... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
(function () {
'use strict';
MyOD.module('DatasetsModule', function (DatasetsModule, App, Backbone, Marionette, $, _) {
//Router for the module
DatasetsModule.Router = Backbone.Marionette.AppRouter.extend({
appRoutes:{
'datasets/:id(/)': 'show',
}
});
//Add the rout... |
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable("Cotizaciones", {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
c_monedaOrigemDestino: {
type: Sequelize.STR... |
var setData = require('@progress/kendo-angular-intl').setData;
setData({
name: "es-PY",
identity: {
language: "es",
territory: "PY"
},
territory: "PY",
numbers: {
symbols: {
decimal: ",",
group: ".",
list: ";",
percentSign: "%",... |
// $("li").on('click', function () {
// console.log("clicked li");
// var gValue = $(this).attr('class');
// if (gValue == 'orange') {
// $(this).removeClass("blue");
// $(this).addClass("red");
// } else {
// $(this).removeClass("red");
// $(this).addClass("blue");
// ... |
import React from 'react';
import ReactDOM from 'react-dom';
import './styles/index.css';
import App from './components/App';
import * as serviceWorker from './serviceWorker';
import { BrowserRouter } from 'react-router-dom';
import { ApolloProvider } from 'react-apollo';
import { ApolloClient } from 'apollo-client';... |
const router = require('express').Router();
const {
count, add, total,
} = require('./db');
const { getHREF } = require('./utils');
router.get('/c/*', async (req, res) => {
res.json({ count: await count(getHREF(req)) });
});
router.get('/total/*', async (req, res) => {
res.json({ count: await total(getHREF(req)... |
/**
* Extends the base karma config with es5 syntax compilation and es2015 babel
* polyfills. Also adds custom elements polyfills.
*
* Use this to run tests on browsers which do not support es6 or custom elements
* Status:
* Nov 2018: Edge and IE11
*
* See demo/karma.es5.config.js for an example implementatio... |
// Strict Mode
var timer;
// Window Load Event
$(window).on("load", function() {
return false;
});
// Document Ready event
$(document).on("ready", function() {
$(".lx-hero-item").each(function(){
$(this).css({"background":"url("+$(this).attr("data-bg")+") no-repeat","background-size":"cover","height":($(this).w... |
module.exports = {
'eastmoney.com': {
_name: '东方财富',
fundbarmob: [
{
title: '天天基金用户动态',
docs: 'https://docs.rsshub.app/finance.html#dong-fang-cai-fu',
source: ['/'],
target: (_param, url) => `/eastmoney/ttjj/user/${new URL(u... |
import React, { Component } from 'react'
import Helmet from 'react-helmet'
import urljoin from 'url-join'
import config from '../../data/SiteConfig'
export default class SEO extends Component {
render() {
const { postNode, postPath, postSEO } = this.props
let title
let description
let image = ''
... |
var searchData=
[
['m_5fpi',['M_PI',['../_angle_8hpp.html#ae71449b1cc6e6250b91f539153a7a0d3',1,'Angle.hpp']]],
['modern_5fcpp',['MODERN_CPP',['../_common_8hpp.html#a08219e0770b3b0fb69df6d61f2195a51',1,'Common.hpp']]]
]; |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
v... |
gj.dialog.messages['it-it'] = {
Close: 'Chiudi',
DefaultTitle: 'Dialogo'
};
gj.grid.messages['it-it'] = {
First: 'Primo',
Previous: 'Precedente',
Next: 'Successivo',
Last: 'Ultimo',
Page: 'Pagina',
FirstPageTooltip: 'Prima pagina',
PreviousPageTooltip: 'Pagina precedente',
NextPa... |
/* jshint expr:true */
import { expect } from 'chai';
import { describe, it, beforeEach } from 'mocha';
import Ember from 'ember';
import <%= classifiedModuleName %>Initializer from '<%= dasherizedModulePrefix %>/initializers/<%= dasherizedModuleName %>';
describe('<%= friendlyTestName %>', function() {
let applicat... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.11/esri/copyright.txt for details.
//>>built
define("require exports ./core/tsSupport/assignHelper ./core/tsSupport/declareExtendsHelper ./core/tsSupport/decorateHelper ./geometry ./PopupTemplate ./symbols ./... |
import Mixin from '@ember/object/mixin';
import { isNone } from '@ember/utils';
import $ from 'jquery';
export default Mixin.create({
/**
* Returns the parsley context based on fields passed.
* @param fields
* @returns {*}
*/
getParsleyContext(fields) {
return {
/**
* Reset the parsley form or fie... |
/**
* Email token object prototype
* The EmailToken entity represents the email and token tuple for email verification link or password reset
*
* @author Muhammad Aditya Hilmy
*/
const Utils = require('../utils');
function EmailToken(email, expires, token) {
this.email = email;
this.expires = expires;
... |
'use strict'
const { isMetric } = require('../test-validators')
const t = (module.exports = require('../tester').createServiceTester())
t.create('module downloads').get('/camptocamp/openssl.json').expectBadge({
label: 'downloads',
message: isMetric,
})
t.create('module downloads (not found)')
.get('/notarealus... |
// test that authzGetMore gets called.
if (TestData.testData !== undefined) {
load(TestData.testData + '/audit/_audit_helpers.js');
} else {
load('jstests/audit/_audit_helpers.js');
}
var testDBName = 'audit_authz_get_more';
auditTest(
'authzGetMore',
function(m) {
createAdminUserForAudit(m);... |
import {FocusHandler} from '../focus-handler';
import {Messaging} from '../messaging/messaging';
const data = {
bottom: 0,
height: 10,
left: 1,
right: 2,
top: 0,
width: 100,
x: 100,
y: 100,
};
function fakeFocusEvent(type) {
return {
type,
target: {
getBoundingClientRect: () => {
... |
var velocidad = 5000;
var indicecapa = 0;
var var_timer;
var capa_actual = '';
var lista_coberturas = [];
var listado_capas = [];
/*var map;
var url_mapas = 'http://localhost:8070/visor/geojson/';
var url_base = 'http://localhost:8070/visor/';
*/
//$( window ).on( "load", function() {
$(function(){
/*load_ge... |
import Util from '../../_util';
if (document.getElementById('vue-toastDemo')) {
const TYPES = [
{ label: 'Default', value: '' },
{ label: 'Info', value: 'info' },
{ label: 'Error', value: 'error' },
{ label: 'Success', value: 'success' },
];
new Vue({
el: '#vue-toas... |
var $ = require('jquery');
var _ = require('underscore');
var cdb = require('cartodb.js');
/**
* Factory to create a cdb.admin.TileLayer from a given URL and access token tuple for Mapbox.
* Extracted from mapbox_basemap_pane to maintain current logic, since it's rather complex…
*/
module.exports = cdb.core.Model.e... |
import React from 'react';
import PropTypes from 'prop-types';
import {
onceNextCssLayout,
onceTransitionEnd,
onceAnimationEnd,
} from 'web-animation-club';
import { getClassName, MediaLoader } from '../helpers/components';
import {
getRootClassName,
setupClassNames,
transformChildren,
} from './helpers';
i... |
const Discord = require ("discord.js"); // eslint-disable-line no-unused-vars
const Command = require("../base/Command.js");
const fs = require("fs");
class BotBan extends Command {
constructor (client) {
super(client, {
name: "botban",
description: "Bans a user from bot.",
category: "Bot Admin... |
/*!
Copyright (c) 2011 Peter van der Spek
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, me... |
const helper = require('think-helper');
const {Parser} = require('think-model-abstract');
module.exports = class MysqlParser extends Parser {
/**
* parse key
* @param {String} key []
* @return {String} []
*/
parseKey(key = '') {
key = key.trim();
if (helper.isEmpty(key)) return '';
if ... |
import React, { Component } from 'react';
class List extends Component {
state = {
response: '',
};
componentDidMount() {
this.callApi()
.then(res => this.setState({ response: res.express }))
.catch(err => console.log(err));
console.log(this.state.response);
};
callApi = async () =>... |
import styled from 'styled-components'
export const Header = styled.div`
height: 6vh;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
div {
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: flex-start;
justify-content: f... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
/**
* -prefix-free plugin for rudimentary CSS variables support
* @author Lea Verou
*/
(function() {
if(!window.StyleFix || !window.PrefixFree) {
return;
}
// Feature test
var prefix = PrefixFree.prefix, dummy = document.createElement('_').style;
dummy.cssText = '--foo: red; background: var(--foo);';
if (dummy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.