text
stringlengths
2
1.04M
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
import axios from 'axios'; const api = axios.create({ baseURL: 'YOUR LOCALHOST', }); export default api;
// ParsleyConfig definition if not already set // Validation errors messages for Parsley import Parsley from '../parsley'; Parsley.addMessages('es', { defaultMessage: "Este valor parece ser inválido.", type: { email: "Este valor debe ser un correo válido.", url: "Este valor debe ser una URL ...
/** * @flow */ const widgetRole: ARIARoleDefinition = { abstract: true, accessibleNameRequired: false, baseConcepts: [], childrenPresentational: false, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], ...
let transactions = []; let myChart; fetch("/api/transaction") .then(response => { return response.json(); }) .then(data => { // save db data on global variable transactions = data; populateTotal(); populateTable(); populateChart(); }); function populateTotal() { // reduce transactio...
/** * 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. * * @emails react-core */ 'use strict'; describe('when Trusted Types are available in global object', () => { let React; let R...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
/******************************************************************************* * @license * Copyright (c) 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials are made * available under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/e...
var FileList = (function() { var exists_files = []; return { hasExistsFile: function(exists_file) { return $.inArray(exists_file, exists_files) > -1; }, setExistsFiles: function(new_exists_files) { exists_files = new_exists_files; }, addExistsFile: function(exists_file) { exists_files.push(exists_...
import * as tslib_1 from "tslib"; import { Pipe, NgModule } from '@angular/core'; var IsLessOrEqualPipe = /** @class */ (function () { function IsLessOrEqualPipe() { } IsLessOrEqualPipe.prototype.transform = function (first, second) { return first <= second; }; IsLessOrEqualPipe = tslib_1.__...
/** Detect free variable `global` from Node.js. */ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; module.exports = freeGlobal;
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const fs = require('fs-extra'); const path = require('path'); const {generate, posixPath} = require('@docusaurus/utils'); module.export...
// flow-typed signature: b3dc355715fe48d9f9617e16f11ea939 // flow-typed version: <<STUB>>/@babel/plugin-transform-runtime_v^7.6.2/flow_v0.111.1 /** * This is an autogenerated libdef stub for: * * '@babel/plugin-transform-runtime' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we...
"use strict"; // The MIT License (MIT) // // Copyright (c) 2017 Firebase // // 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 // ...
import path from "path"; import fs from "fs"; import { FileImport } from "./FileImport.js"; import { Settings } from "./Settings.js"; /** * A regular expression that detects import statements of the form: * `import a from "b"`. * * @type {RegExp} * @private */ const importRegExp = /import\s*(\w*)\s*from\s*["']...
var _ = require('underscore') var BaseStore = require('./BaseStore') var Promise = require("bluebird") var TwitterSearchManager = require('NativeModules').TwitterSearchManager; var query = "#nortal" class TwitterStore extends BaseStore { static fetch() { return new Promise(function (resolve, reject) { co...
import NavBar from './NavBar' describe('NavBar', () => { let component; beforeEach(() => { component = shallow(<NavBar/>); }); test("it renders", () => { expect(component.find('.habits-nav')).toHaveLength(1); }); test('it has 3 NavLinks'), () => { expect(component.fin...
// @flow /* eslint-env mocha */ import assert from 'power-assert' import lastDayOfISOWeekYear from '.' describe('lastDayOfISOWeekYear', function() { it('returns the date with the time set to 00:00:00 and the date set to the last day of an ISO year', function() { var result = lastDayOfISOWeekYear(new Date(2009, ...
/* Croatian (Latin) LANGUAGE ================================================== */ if (typeof VMM != 'undefined') { VMM.Language = { lang: "hr", api: { wikipedia: "hr" }, date: { month: ["siječnja", "veljače", "ožujka", "travnja", "svibnja", "lipnja", "srpnja", "kolovoza", "rujna", "listopada", "studenog...
define(["game/UserAreaController", "game/CardController"], function(UserAreaController) { "use strict"; CardActionsdispatcher = function() { }; CardActionsdispatcher.prototype.cardActionSelected = function(card, callback) { //TODO this will have to come from the description to know which palyers can be selected...
var Tensor = require('adnn/tensor') var ad = require('adnn/ad') var nn = require('adnn/nn') var opt = require('adnn/opt') // Linear regression test // Build training data by putting random inputs through a known function var trueFunc = nn.linear(5, 5); ad.value(trueFunc.weights).fromArray( [[1, 0, 0, 0, 0], [0, 2,...
// Returns an IE-style attribute name from a CSS property name. function _convertPropertyToIEAttribute(name) { var i = 1, ar = name.split('-'), len = ar.length; for (; i < len; i++) { ar[i] = ar[i].substring(0,1).toUpperCase() + ar[i].substring(1); } return ar.join(''); } d3_selectionPrototype.style = func...
(function($){ module("datalist"); asyncTest("datalist", function(){ var options = $('#dlist').prop('options') || $('#dlist select').prop('options'); var options2 = $('#dlist option'); if(options && !options.length){ options = $('#dlist select').prop('options'); } equals(options.length, options2.length, 'datalis...
function graduetionPt2(input) { let name = input.shift(); let grade = 1; let summark = 0; let badgrade = 0; while (grade <= 12) { let mark = Number(input.shift()); if (mark >= 4.0) { grade++; summark += mark; } else { badgrade++; ...
// Karma configuration // Generated on Tue May 30 2017 05:06:13 GMT+0800 (CST) module.exports = function (config) { config.set({ plugins: [ 'karma-mocha', 'karma-chai', 'karma-webpack', 'karma-chrome-launcher' ], webpack: { // resolve: { root: __dirname + '/src' }, mod...
require('dotenv').config({ path: `.env.${process.env.NODE_ENV}` }) module.exports = { siteMetadata: { title: `Ecommerce`, description: `An Awesome Ecommerce Website created with Gatsby and React`, author: `@sudipt1999`, }, plugins: [ `gatsby-plugin-react-helmet`, { resolve: `gatsby-so...
/* JS for WATS 3020 Text Adventure */ let playerName = ""; let choiceList = []; let currentPage = null; playerName = prompt("What is your name?"); function getCurrentPage(slug){ currentPage = storyData[slug]; return currentPage; } function recordChoice(slug){ choiceList.push(slug); console.log('Added ${slu...
(function($) { "use strict"; $(document).ready(function(){ //substr so there isn't a '#' var hashFilter = location.hash.substr(1); var mainEl = $('#grid'); var transitionDuration = 800; var columnWidth = 0; mainEl.isotope({ filter: hashFilter, animationEngine: 'best-available...
/** * @license * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris) * * This sofware is provided under multiple licenses. Please see below for * links to appropriate usage. * * Free amCharts linkware license. Details and conditions: * https://github.com/amcharts/amcharts4/blob/master/LICENSE *...
import React from 'react'; import ReactDOM from 'react-dom'; import Docs from './docs/Docs'; import registerServiceWorker from './registerServiceWorker'; // import './index.css'; ReactDOM.render(<Docs />, document.getElementById('root')); registerServiceWorker();
'use strict'; const { artifacts, contract, web3 } = require('hardhat'); const { toBN } = web3.utils; const { assert, addSnapshotBeforeRestoreAfterEach } = require('./common'); const { toUnit, currentTime, fastForward, multiplyDecimalRound, divideDecimalRound, } = require('../utils')(); const { toBytes32 } = requ...
const inquirer = require("inquirer"); const generateMarkdown = require("./utils/generateMarkdown.js"); const fs = require("fs"); const questions = [ { type: "input", name: "title", message: "Please enter Project Title", projectTitle: "projectTitle", }, { type: "input", name: "description"...
const {Cu} = require("chrome"); const {OS} = Cu.import("resource://gre/modules/osfile.jsm", {}); const extensionDataDirName = "HttpReplay"; const extensionDataDirPath = OS.Path.join(OS.Constants.Path.profileDir, extensionDataDirName); const observationsDirName = "obs"; const observationsDirPath = OS.Path.join(extens...
'use strict'; let app = angular.module('app', ['ngRoute', 'ngResource', 'ngCookies', 'ngSanitize', 'smart-table', 'ui.bootstrap', 'ngFileUpload', 'thatisuday.dropzone']); app.config(['$provide', '$routeProvider', '$locationProvider', '$resourceProvider', 'dropzoneOpsProvider', function ($provide, $routeProvider, ...
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
import React, { Component } from 'react'; import { EditorState, convertToRaw } from 'draft-js'; import { Editor } from 'react-draft-wysiwyg'; import draftToHtml from 'draftjs-to-html'; import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; export default class EditorConvertToHTML extends Component { state = {...
import React from 'react'; import '../styles/Card.css'; import fitness from '../assets/fitnesspic2.jpg'; import newTown from '../assets/new2town2.jpg'; import budget from '../assets/Capture.JPG'; import quizGame from '../assets/quizgame.jpg' import aidanArt from '../assets/AidansArtBlog.jpg' // import employee from '.....
import PropTypes from 'prop-types' import React from 'react' import { LW_BLUE_DARK, WHITE } from '../theme' const Icon = ({ size, style, className }) => ( <svg width={size} height={size} style={style} className={className} viewBox='0 0 40 40' > <path fill={LW_BLUE_DARK} d='M20 0...
module.exports = require('../isEmpty');
var gulp = require('gulp'); var browserSync = require('browser-sync').create(); var pkg = require('./package.json'); // Copy third party libraries from /node_modules into /vendor gulp.task('vendor', function() { // Bootstrap gulp.src([ './node_modules/bootstrap/dist/**/*', '!./node_modules/bootstrap/d...
import React from 'react'; const Pokemon = ({pokeId, pokemon}) => ( <li className="pokemon list-group-item"> <span className="number">{pokeId}</span> <span className="icon"> <img src={`http://www.pokestadium.com/assets/img/sprites/misc/icons/${pokemon.toLowerCase()}.png`} alt={`${pokemon}sprite`} onLoad={e => ...
/** * Hydrogen Nucleus API * The Hydrogen Nucleus API * * OpenAPI spec version: 1.9.5 * Contact: info@hydrogenplatform.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.2.3 * * Do not edit the...
/* eslint-disable global-require */ const getArgv = () => require('yargs') .command('$0 <seed>', 'Generate a random Color with seed') .usage('Usage: npm start [options]') // env: // If this method is called with no argument or with an empty string or with true, // then all env vars will be applied to argv. ...
require('./angular-locale_so-dj'); module.exports = 'ngLocale';
class GenreServices { constructor(query, queryString) { this.query = query; this.queryString = queryString; } search() { this.query = this.query.find(); return this; } } export default GenreServices;
import nToggle from './src/index.vue'; nToggle.install = function (Vue) { Vue.component(nToggle.name, nToggle); }; export default nToggle;
/** * Auto-generated action file for "PI Web API 2017 Swagger Spec" API. * * Generated at: 2019-09-24T15:37:46.525Z * Mass generator version: 1.0.0 * * flowground :- Telekom iPaaS / pi-web-api-2017-swagger-spec-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of...
const mongoose = require('mongoose'); const express = require('express'); const config = require('config'); const { dbName, portNb, host, password } = config.get('db'); const app = express(); const user = require('./routes/user'); const movie = require('./routes/movie'); const room = require('./routes/room'); const se...
/** * Auto-generated action file for "Magento Enterprise" API. * * Generated at: 2019-06-06T13:12:39.830Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / magento-com-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector are license...
import { app, shell, Menu } from 'electron' import {checkForUpdates} from './updater.js'; let template = [ { label: '帮助', role: 'help', submenu: [ { label: `版本` + app.getVersion(), id: 'version', click: (e) => { checkForUpdates(e) } }, { ...
console.log('Running as process ' + process.pid); // call the packages we need var express = require('express'); var app = express(); var bodyParser = require('body-parser'); var connection = require('./config/db'); // configure bodyParser() app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyPar...
(function($){ $.fn.scrollingTo = function( opts ) { var defaults = { animationTime : 1000, easing : '', callbackBeforeTransition : function(){}, callbackAfterTransition : function(){} }; var config = $.extend( {}, defaults, opts ); $(...
require('dotenv').config() const AWS = require('aws-sdk') const fs = require('fs') const velocityMapper = require('amplify-appsync-simulator/lib/velocity/value-mapper/mapper') const velocityTemplate = require('amplify-velocity-template') const { GraphQL, registerFragment } = require('../lib/graphql') const myProfileFr...
//collection address coronazombies const POINT_PER_OWN = 1; .filter(i=>i!=="0x338ad1918362025f34b3701dac1e9648e8e8268f")//decentraland .filter(i=>i!=="0x598f8af1565003ae7456dac280a18ee826df7a2c")//pablo ; const ownerScores = owners.reduce((acc, current)=>{ acc[current] = { address:current, score:(...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
var generatorOf = require('../../generator-of'); module.exports = generatorOf(function generator$miscellaneous$plants() { i = Math.floor(this.random() * 10); { rnd = Math.floor(this.random() * nm1.length); rnd2 = Math.floor(this.random() * nm2.length); names = nm1[rnd] + " " + nm2[rnd2]; return names; } }...
const checkVariant = { JSONPath: require('./JSONPath'), JSONPathValue: require('./JSONPathValue'), Regex: require('./Regex'), Text: require('./Text'), CODING: require('./CODING'), } module.exports = checkVariant
const trycatch = (func, handleError = (err) => console.error(err)) => async (...args) => { const result = { result: null, error: null }; try { result.result = await func(...args); } catch (err) { result.error = err; await handleError(err); } return result; } module.exports ...
var test = require('tape') var abstractBlobTests = require('abstract-blob-store/tests') var levelBlobStore = require('../src') var os = require('os') var rimraf = require('rimraf') var path = os.tmpdir() + '/level' var common = { setup: function (t, cb) { var store = levelBlobStore(path) cb(null, store) }...
import React, { Fragment, useContext } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import Link from 'next/link'; // Import TWUI resources import { Popover, Transition } from '@headlessui/react'; import { MenuIcon, XIcon } from '@heroicons/react/outline'; // Contexts import {...
function productSum(array, multiplier = 1) { } module.exports = productSum;
var click1; var month = $("#active_month").val(); var page=1; var expenses = []; var user_id = $("active_account").val(); var user_id_billing = null; function toObject(e, t) { for (var a = {}, s = 0; s < e.length; s++) a[e[s]] = t[s]; return a } function activeSelect() { alert(1); var e = $("#active_se...
/*! FileSaver.js * A saveAs() FileSaver implementation. * 2014-01-24 * * By Eli Grey, http://eligrey.com * License: X11/MIT * See LICENSE.md */ /*global self */ /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */ /*! @source http://purl.eligrey.com/githu...
/** * @fileoverview Tests for undefined rule. * @author Ilya Volodin */ //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var eslint = require("../../../lib/eslint"), ESLintTester = r...
//AFC Leste var buills = { nome: "Bills", vitorias: 1, empates: 0, derrotas: 1, pontos: 1 }; var dolphins = { nome: "Dolphins", vitorias: 1, empates: 0, derrotas: 1, pontos: 1 }; var patriots = { nome: "Patriots", vitorias: 1, empates: 0, derrotas: 1, pontos: 1 }; var jets = { nome: "Jet...
/*! * Ext JS Library 3.2.0 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.data.ArrayReader * @extends Ext.data.JsonReader * <p>Data reader class to create an Array of {@link Ext.data.Record} objects from an Array. * Each element of that Array repr...
const helpCommand = require('./help') const geofenceTileGenerator = require('../../geofenceTileGenerator') const trackedCommand = require('./tracked') exports.run = async (client, msg, args, options) => { try { // Check target const util = client.createUtil(msg, options) const { canContinue, target, languag...
const keys = Object.keys; export default reactiveFunctions => { const state = {}; const functions = {}; const edges = {}; const invoke = property => { functions[property](); }; const allDefined = dependencies => { const arg = {}; return dependencies.every(property => { if (state[propert...
export default "M9,7H15A2,2 0 0,1 17,9V17H15V9H13V16H11V9H9V17H7V9A2,2 0 0,1 9,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"
var callbackArguments = []; var argument1 = function callback(){callbackArguments.push(arguments)}; var argument2 = function callback(){callbackArguments.push(arguments)}; var argument3 = function callback(){callbackArguments.push(arguments)}; var argument4 = [122,"yI`TjV",25,"6(gh",403,"BjG)i%",59,"ke",","]; var argum...
// Initializes the `rooms` service on path `/rooms` const { Rooms } = require('./rooms.class') const createModel = require('../../models/rooms.model') const hooks = require('./rooms.hooks') module.exports = async function (app) { const options = { Model: createModel(app), paginate: app.get('paginate'), m...
(function() {var implementors = {}; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
import { flip } from './flip'; import { test } from 'ava'; test('Flipped paths area reversed.', t => { t.deepEqual(flip([[[1, 2], [3, 4]], [[5, 6], [7, 8]]]), [[[3, 4], [1, 2]], [[7, 8], [5, 6]]]); }); test('Open paths are preserved.', t => { t.deepEqual(flip([[nul...
$(document).ready(function() { $('#travel').DataTable(); } );
// DESCRIPTION = disallow unnecessary function binding // STATUS = 2 /* eslint no-console: 0*/ /* eslint one-var: 0*/ // <!START // Bad /* var boundGetName = (function getName() { return 'ESLint'; }).bind({ name: 'ESLint' }); console.log(boundGetName()); // "ESLint" */ // Good var boundGetName2 = function getName() ...
import { Component, Vue, Watch } from 'vue-property-decorator'; import PropTypes from 'vue-types'; import Modal from '../Modal'; import { Icon } from '../Icon'; @Component({ props: { prefixCls: PropTypes.string.def('to-landscape'), value: PropTypes.bool.def(false), maskClosable: PropTypes.bool.def(true),...
(function(){ var _self = this; var colorset = []; var table1 = null; var clearbtn = null; var lenr = 10; var lenc = 15; var width_table = 750; var height_table = 500; var width_box = 40; var offset_box = 3; var socketServer = window.location.protocol + '//bereketabraham.com:...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
'use strict'; module.exports.handler = function(event, context) { return context.done(null, event); };
import {Model as ORMModel} from "@vuex-orm/core"; import {createStore} from "./helpers"; import mockServer from "./mock-schema" import { buildClientSchema } from 'graphql'; export class User extends ORMModel { static entity = 'users'; static fields () { return { id: this.increment(0), name: this.s...
var isIterateeCall = require('../internal/isIterateeCall'), keys = require('./keys'); /** Used for native method references. */ var objectProto = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; /** * Creates an object composed of the inverted k...
/* Outlook Web specific API library */ /* osfweb version: 16.0.12219.10000 */ /* office-js-api version: 20191022.2 */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419. This fi...
'use strict'; // To run the tests: $ mocha -R spec regtest/ritod.js var path = require('path'); var index = require('..'); var log = index.log; var chai = require('chai'); var ritocore = require('ritocore-lib'); var BN = ritocore.crypto.BN; var async = require('async'); var rimraf = require('rimraf'); var ritod; /*...
let example = { @logger logMe() { console.log('I want to be logged'); } }; // Decorator function for logging function logger(target, name, descriptor) { // obtain the original function let fn = descriptor.value; // create a new function that sandwiches // the call to our original function between ...
'use strict' const {commonConfigs,productionConfig,devConfig} = require("./configs"); function getConfig(type){ let finalConfig; finalConfig = type === "prod"? {...commonConfigs, ...productionConfig}: {...commonConfigs, ...devConfig} finalConfig.dbConfig.finalUrl = `mongodb://${finalConfig.dbConfig.url}${fi...
import { Debug } from '../../../core/debug.js'; import { math } from '../../../math/math.js'; import { Color } from '../../../math/color.js'; import { Vec2 } from '../../../math/vec2.js'; import { Vec4 } from '../../../math/vec4.js'; import { LAYERID_WORLD, SPRITE_RENDERMODE_SLICED, SPRITE_RENDERMODE_TILED } ...
;(function(angular) { "use strict"; angular .module('myAwesomeApp') .factory('TodoResource', ['$resource', function($resource) { var _url = '/api/todos/:id'; var _params = {}; var _methods = {}; return $resource(_url, _params, _methods); }]); }(window.angular));
import React from 'react'; import PropTypes from 'prop-types'; import { Button as MuiButton, Tooltip, IconButton, useMediaQuery, makeStyles, } from '@material-ui/core'; import classnames from 'classnames'; import { useTranslate } from 'ra-core'; const useStyles = makeStyles({ button: { ...
/*! * froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2017 Froala Labs */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory)...
import React from 'react'; import PropTypes from 'prop-types'; import { SEO } from '@newrelic/gatsby-theme-newrelic'; import { useStaticQuery, graphql, withPrefix } from 'gatsby'; function DevSiteSeo({ description, meta, title, tags, location, type }) { const { site } = useStaticQuery( graphql` query { ...
import _ol_transform_ from '../../../../../src/ol/transform.js'; import Map from '../../../../../src/ol/Map.js'; import ImageLayer from '../../../../../src/ol/layer/Image.js'; import ImageSource from '../../../../../src/ol/source/Image.js'; import WebGLImageLayerRenderer from '../../../../../src/ol/renderer/webgl/Image...
[ "package.json", "test/unit/top-level-await/input.js", "test/unit/top-level-await/module.js" ]
var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', user : 'test', password : 'test_123', database : 'test', }); connection.connect(function(err) { if (err) throw err; console.log("Connected!"); }); module.exp...
import {HttpClient} from 'aurelia-fetch-client'; export class View { static inject() { return [HttpClient]; } constructor(http) { this.http = http; this.id = "Unknown"; this.selected = null; this.messages = []; this.isAttached = false; } update() { thi...
"use strict"; module.exports = function(sequelize, DataTypes){ var attributesectiondescription = sequelize.define("attributesectiondescription",{ language: { type: DataTypes.STRING }, /** description. It can only contain alphanumeric characters (letters A-Z, numbers 0-9), hyphens ( - ) and under...
// Karma configuration // Generated on Wed Sep 10 2014 15:06:40 GMT-0700 (PDT) function func(config){ // level of logging // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG func.defaultConfig.logLevel = config.LOG_INFO; config.set(func...
/** * @docs https://docs.mollie.com/reference/v2/subscriptions-api/cancel-subscription */ (async () => { const mollie = require('@mollie/api-client'); const mollieClient = mollie({ apiKey: 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' }); try { const subscription = await mollieClient.customers_subscriptions.delete...
/** * @license Angular v8.2.11 * (c) 2010-2019 Google LLC. https://angular.io/ * License: MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("...
document.addEventListener('DOMContentLoaded', () => { document.getElementById('tessst').onclick = (evt) => { let test = document.getElementById('add-elem'); test.children[0].children['password'].value = 'Testsada;'+test.children[0].children['password'].value; test.submit(); } });
var searchData= [ ['wait',['wait',['http://en.cppreference.com/w/cpp/thread/condition_variable_any/wait.html',1,'std::condition_variable_any::wait()'],['http://en.cppreference.com/w/cpp/thread/condition_variable/wait.html',1,'std::condition_variable::wait()'],['http://en.cppreference.com/w/cpp/thread/shared_future/wa...