text
stringlengths
2
1.04M
/** * @class application.editZp * Singleton to build the editZp window * * @singleton */ application.editZp = function() { // private variables /** * Property: map * {OpenLayers.Map} */ var map = null; /** * Property: toolbar * {mapfish.widgets.ToolBar} */ var to...
import StatefulEntity from 'lib/state/StatefulEntity'; import capitalize from 'utilities/capitalize'; export default class CreatureEntity extends StatefulEntity { constructor(creature) { super({ actionTaken: false, ad: creature.armor, armor: creature.armor, hp: creature.health, isBo...
import React from 'react'; import { render, screen} from '@testing-library/react'; import {NavBar} from "../components/NavBar"; import '@testing-library/jest-dom/extend-expect'; describe('NavBar', function () { it("Renders Successfully",() => { render(<NavBar/>); }) it('Contains Logo', function () ...
export const SAVE_USER = 'SAVE_USER'; export const SET_USER = 'SET_USER'; export const UPDATE_USER_PASS = 'UPDATE_USER_PASS'; export const LOGOUT_USER = 'LOGOUT_USER'; export const PURGE = 'PURGE'; export const CHANGE_SETTING = 'CHANGE_SETTING'; export const UPDATE_USER_MOBILE = 'UPDATE_USER_MOBILE';
'use strict'; var Utils = require('./../utils') , Helpers = require('./helpers') , Transaction = require('../transaction'); module.exports = (function() { var HasOne = function(srcDAO, targetDAO, options) { this.associationType = 'HasOne'; this.source = srcDAO; this.target = targetDAO; this.opti...
import React from "react" import { graphql } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import BackgroundSection from "../Global/BackgroungSection" import Info from "../components/Home/Info" import Menu from "../components/Home/Menu" import Products from "../components/...
var structEnergyPlus_1_1DataRoomAirModel_1_1CVData = [ [ "CVData", "structEnergyPlus_1_1DataRoomAirModel_1_1CVData.html#aa7e37ec7c8a34082951dd31c5f994287", null ], [ "SchedGainsName", "structEnergyPlus_1_1DataRoomAirModel_1_1CVData.html#a5c547615514bb5b1ee22cfecc6f7b7a0", null ], [ "SchedGainsPtr", "structE...
module.exports = (sequelize, DataTypes) => { const Task = sequelize.define('Task', { uuid: { type: DataTypes.UUID, defaultValue: DataTypes.UUIDV4, primaryKey: true }, name: { type: DataTypes.STRING, allowNull: false, validate: { len: [1] } }, description: { ...
const antlr4 = require('./antlr4/index') function toText(ctx) { if (ctx !== null) { return ctx.getText() } return null } function mapCommasToNulls(children) { if (children.length === 0) { return [] } const values = [] let comma = true for (const el of children) { if (comma) { if (t...
import React from 'react' import PropTypes from 'prop-types' import './styles.scss' // Images import EmailIcon from '../../images/email-icon.png' // Components import { CTAButton } from '../buttons' import Grid from '../grid' /** * The newsletter email signup cta section */ const NewsletterCTA = () => ( <div cla...
/** * Jeeliz Face Filter - https://github.com/jeeliz/jeelizFaceFilter * * Copyright 2018 Jeeliz ( https://jeeliz.com ) * * 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....
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const resource_1 = __importDefault(require("../../src/resource")); const models_1 = require("../utils/mo...
class <class-name> { exampleFunction () { console.log(" exampleFunction function !"); } } module.exports = <class-name>;
import React from 'react'; const MobilePhones = props => ( <svg viewBox="0 0 15 15" width="1em" height="1em" {...props}> <path d="M4.51 8.88a.51.51 0 0 0 0 .72l.72.72-2.16 2.18-.37-.37a2.24 2.24 0 0 1-.7-1.44V9.24a2.24 2.24 0 0 1 .7-1.45l.36-.36 4.35-4.35.36-.36A2.24 2.24 0 0 1 9.22 2h1.45a2.24 2.24 0 0 1 ...
import { FlowRouter } from "meteor/kadira:flow-router"; import { BlazeLayout } from "meteor/kadira:blaze-layout"; import "/imports/ui/pages/settings/settings.js"; import "/imports/ui/pages/settings/settings_Meta/settings_Meta.js"; import "/imports/ui/pages/settings/settings_MyProjects/settings_MyProjects.js"; // ****...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ import React, { useContext } from "react"; import { RequestContext } from "../../contexts/RequestContext"; import { TypesContext } from "../../contexts/...
const express = require ('express'); const router = express.Router(); const { ensureAuthenticated } = require('../config/auth'); //Welcome page router.get('/', (req, res) => res.render('welcome')); //Dashboard router.get('/dashboard', ensureAuthenticated, (req, res) => res.render('dashboard', { user: req.user ...
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return ...
import React from 'react' import { useTranslation } from 'react-i18next' import { useLocation } from 'react-router-dom' import { useWeb3React } from '@web3-react/core' import styled from 'styled-components' import { useBondByAssetAndPlatform } from '../../contexts/Bonds' import Dialog from './Dialog' import WithdrawFo...
/* eslint-disable no-param-reassign */ export default { set_list(state, value) { state.list = value; }, set_loading(state, value) { state.loading = value; }, set_campaign(state, value) { const defaultCampaign = { id: '', timestamp: '', business: '', name: '', descript...
/* * Copyright © 2016-2019 The Thingsboard 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 applicabl...
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); const Items = { aguavberry: { inherit: true, naturalGift: { basePower: 60, type: "Dragon", }, }, apicotberry: { inherit: true, naturalGift: { basePower: 80, type: "Ground", }, }, aspearberry: { inherit: true, natu...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; /** * Get a {@link Location}'s query parameters. * @param {Location} location * @returns {Map<string, Array<string>>} queryParameters */ function getQueryParameters(location) { return (location.search.split('?')[1] || '').split...
import React from 'react'; const Thead = () => { return ( <thead> <tr> <th></th> <th>n°Lancement</th> <th>Référence</th> <th>Début</th> <th>Fin</th> <th>id</th> <th>Quantité</th> <th>Description</th> </tr> </thead> ); }; export de...
import React, { createContext, forwardRef, useContext } from 'react'; import useRouter from 'lib/useRouter'; import { LocalRouterProvider } from 'lib/LocalRouter'; /** * `useHistory` is just a global `useRouter` * and we call it `history` to distinguish it within a local router. * (see Invite.js for an example) *...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides the base implementation for all model implementations sap.ui.define(['jquery.sap.global', 'sap/ui/core/format/NumberForma...
'use strict' // Template version: 1.2.6 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path') module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { '/api': { target: 'http://118.24.151.245:8080',/...
/** * * ProjectStoreInteractingItemList * */ import { Map, List } from 'immutable'; import ContentEditable from 'react-contenteditable'; import PropTypes from 'prop-types'; import React from 'react'; import styled from 'styled-components'; import { Comment, Input, Icon, Label, Button, Modal, Dimmer,...
window._ = require('lodash'); /** * We'll load the axios HTTP library which allows us to easily issue requests * to our Laravel back-end. This library automatically handles sending the * CSRF token as a header based on the value of the "XSRF" token cookie. */ window.axios = require('axios'); window.axios.default...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("babylonjs")); else if(typeof define === 'function' && define.amd) define("babylonjs-post-process", ["babylonjs"], factory); else if(typeof exports === 'objec...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
import React, { Component } from "react" import { CButton, CRow, CCol, CCard, CCardTitle, CCardBody, CAlert, } from "@coreui/react" import { withRouter } from "react-router" import { getAdress } from "src/service/apiActions/addressAction/addressAction" import { clearMessage } from "src/service/apiActions/...
"use strict"; angular.module("app.directives", ["ui.load"]).directive("uiModule", ["MODULE_CONFIG", "uiLoad", "$compile", function(MODULE_CONFIG, uiLoad, $compile) { return { restrict: "A", compile: function(el, attrs) { var contents = el.contents().clone(); return function(s...
$(function() { working_hours(); price_list(); //ajax ////////////////////////////////////////////////////////////////////// var client=1; $(document).on('click', function(e) { if($(e.target).closest('td').length === 0) { $('.fa_hours').removeClass('hidden'); $('.select_fa_hours').addClass('hidde...
// configure requirejs to load jide.js library require.config({ "packages": [{ name: 'jidejs', location: '../../../jidejs' }] }); require([ 'jidejs/base/Class', 'jidejs/base/ObservableProperty', 'jidejs/base/DOM', 'jidejs/base/Util', 'jidejs/ui/bind', 'jidejs/ui/Control', 'jidejs/ui/Skin', 'jidejs/ui/Tem...
import React from 'react'; import moment from 'moment'; import numeral from 'numeral'; import { Line } from 'react-chartjs-2'; import PageHeader from './PageHeader'; const i18n = { t: str => str, }; const BungalowAccount = ({ result }) => { if (!result || !result.account) { return React.createElement( ...
/* Copyright 2020-2021 Lowdefy, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
/* eslint-disable ghost/ember/alias-model-in-controller */ import $ from 'jquery'; import Controller from '@ember/controller'; import Ember from 'ember'; import RSVP from 'rsvp'; import { UnsupportedMediaTypeError, isRequestEntityTooLargeError, isUnsupportedMediaTypeError } from 'ghost-admin/services/ajax';...
import React from "react"; import { connect } from "react-redux"; import { withRouter } from "react-router-dom"; import { SideBarWrapper, StyledClose, StyledDashboard, StyledPeople, StyledBuild, StyledAssignment, StyledPermIdentity, StyledMessage, ImgNameWrapper } from "./SideNavStyles"; function Si...
import React, { useState } from 'react'; import { useParams } from 'react-router-dom'; import logo from '../img/logo-earth.svg'; import { Collapse, Navbar, NavbarToggler, NavbarBrand, Nav, NavItem, NavLink, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem, NavbarText } from 'reac...
/*! jQuery UI - v1.11.4 - 2015-03-13 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function(e){"function"==typeof define&&define.amd?define(["../datepicker"],e):e(jQuery.datepicker)})(function(e){return e.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#...
module.exports = { title: 'Task', type: 'object', description: 'This editor allows you to edit the various aspects of a task. All the data in this editor is organized as a JSON object, whose properties represent each task part. Some properties are optional, and are hidden by default in the editor; to displa...
/* * App Actions * */
import React from 'react' import NavigationBar from '../NavigationBar' import Combobox from '../Combobox' import styles from './style.module.css' const Navigation = (props) => ( <section className={styles.navigation}> <NavigationBar activeTab={props.activeTab} /> <Combobox /> </section> ) export default ...
import "../styles/h5p-hello-world.css"; import HelloWorld from "../scripts/h5p-hello-world"; // Load library H5P = H5P || {}; H5P.HelloWorld = HelloWorld;
import React, { useState } from "react"; import { Container } from "react-bootstrap"; import { useHistory } from "react-router-dom"; import Prompt from "./prompt"; const Home = () => { const history = useHistory(); const [username, setUsername] = useState("Anonymous"); const [room, setRoom] = useState("General...
#!/usr/bin/env node 'use strict'; var app = require('commander'); var project = require('../lib/commands/project'); var codegen = require('../lib/commands/codegen'); var apiUtil = require('../lib/commands/apiUtil'); var mock = require('../lib/commands/mock'); var frameworks = Object.keys(project.frameworks).join('|'...
"use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "sym...
const Employee = require('../lib/Employee'); describe('Employee class', () => { it("should create an object with a name, id, and email if provided valid arguments", () => { const empName = "John Doe"; const empId = 41; const empEmail = "johnd@fakemail.com"; ...
var apiEndPoint = 'https://api.getmo.com.br', defaultIcon = '/lib-default-icon.png'; function indexedDb() { return new Promise(function(resolve, reject) { var request = self.indexedDB.open('webpush.db', 1); request.onsuccess = function(e) { resolve(e.target.result); }; ...
import { readTask, writeTask } from '@stencil/core/internal/client'; import { c as componentOnReady } from './helpers.js'; const startStatusTap = () => { const win = window; win.addEventListener('statusTap', () => { readTask(() => { const width = win.innerWidth; const height = win.innerHeight; ...
module.exports = class AbstractCommand { constructor(client, options = {}) { this.client = client; this.name = options.name; this.aliases = options.aliases || []; this.description = options.description || 'No description provided.'; this.category = options.category || 'General'; this.usage = o...
'use strict'; const stripIndent = require('common-tags').stripIndent; const { messages, ruleName } = require('..'); testRule({ ruleName, config: [true], accept: [ { code: 'a { grid-template-areas: "a a a" "b b b"; }', }, { code: 'a { GRID-TEMPLATE-AREAS: "a a a" "b b b"; }', }, { code: stripIn...
const passport = require('passport'); const jsonwebtoken = require('jsonwebtoken'); const adminModel = require('../models/admins'); const articleRoutes = require('./articles'); const affiliateLinksRoute = require('./affiliateLinks') const adminRoute = require('./admin'); class MyRoutes { constructor(app, db) { ...
var $ = require('jquery'); function Slave(storeName) { this.root = "/stores/" + storeName + "/"; return { get: function (callback) { $.getJSON({ url: this.root, success: function(data){ callback(data); }, error: function (xhr, ajaxOptions, thrownError) { console.log("XHR Statu...
/** * @license * Copyright (c) 2014, 2019, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 * @ignore */ define(["ojs/ojlogger"],function(e){"use strict";class t{}return t.getConverterInstance=function(t){let o="",r={},n=null;if(t&&("object"==typeof t&&(t.parse&&"function"==typeo...
import React, {Component} from "react"; class Increment extends Component { render() { return( <div> <h1>Count here</h1> <button>Click Me</button> </div> ) } } export default Increment;
// Copyright 2013 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
const add = require('./add.js') const remove = require('./remove.js') const delivered = require('./delivered.js') const list = require('./list.js') const action = (comObj) => { console.log('comobj', comObj) const { command, name, two, three } = comObj; //filter by command switch (command) { case `ls`: ...
const PAGES = require('../../ui/constants/pages'); // Uncomment as you add metadata module.exports.CATEGORY_METADATA = { [PAGES.BIG_HITS]: { title: 'Big Hits', description: 'Animation, pop culture, comedy, and all the other weird on Odysee', image: '', }, [PAGES.COMMUNITY]: { title: 'The Univers...
import { expect } from 'chai'; import * as geolocation from '../src/util/geolocation'; describe('geolocation', () => { context('have coordinates', () => { it('gets latitude and longitude from position', () => { let position = { coords: { latitude: 1, longitude: 2 } }; let expected =...
import React from 'react'; import { LinearProgress, AppBar, IconButton, Toolbar, Typography } from '@material-ui/core'; import { BrowserRouter as Router, Route } from "react-router-dom"; import { menuList, routes } from './constants'; import MenuIcon from '@material-ui/icons/Menu'; import Sidebar from '../com...
var mongoose = require('mongoose'); var ApiKeySchema = new mongoose.Schema({ key: String, desc: String, scope: String, dataset: [String] },{ collection: "apiKey", }); module.exports = mongoose.model('apiKey', ApiKeySchema);
function jiraQARules(q) { $.get("/jira/tickets", {q: q, full: $("#full")[0].checked}) .done(function (data) { //let result = $("#result"); //result.empty(); //result.jsonView(JSON.stringify(data), {collapsed: true}); let value = ""; data.forEach(fu...
function ValueList(min, max, initial) { this.min = min; this.max = max; this.value = initial; } ValueList.prototype.increment = function(amount) { if(amount >= 0) { this.value = Math.min(this.value+amount, this.max); } else { this.value = Math.max(this.value+amount, this.min); } } var x = new ...
var ns; import _class_call_check from "@swc/helpers/lib/_class_call_check.js"; !function(ns1) { var nested, NestedClass, Class = function() { "use strict"; _class_call_check(this, Class); }; ns1.Class = Class, ns1.Value = "", nested = ns1.nested || (ns1.nested = {}), NestedClass = function()...
const path = require('path'); const fs = require('fs'); let ROOT = process.env.PWD; if (!ROOT) { ROOT = process.cwd(); } const config = { // Your website's name, used for favicon meta tags site_name: 'Loretta Lee Portfolio', // Your website's description, used for favicon meta tags site_description: 'Lore...
// Generated by IcedCoffeeScript 1.7.1-e (function() { var BaseScraper, GlobalHunter, Lock, PREFIX, RedditScraper, SUBREDDIT, constants, iced, make_esc, proof_text_check_to_med_id, sncmp, v_codes, __iced_k, __iced_k_noop, _global_hunter, _ref, __hasProp = {}.hasOwnProperty, __extends = function(child, parent)...
import * as tslib_1 from "tslib"; import { WebPlugin } from './index'; var AppPluginWeb = /** @class */ (function (_super) { tslib_1.__extends(AppPluginWeb, _super); function AppPluginWeb() { var _this = _super.call(this, { name: 'App', platforms: ['web'] }) || this; ...
import React from 'react'; import PropTypes from 'prop-types'; import {slate} from '../variables/colors'; const Folder = ({ className, width, height, color, ...props }) => ( <svg xmlns="http://www.w3.org/2000/svg" w...
var status = 0; function complete(mode, type, selection) { status++; switch (status) { case 1: qm.forceCompleteQuest(); qm.introEnableUI(1); qm.sendNextS("The ship should be beyond the portal. That's our ticket out of here... if we can get in.", 9); break...
import React, { useState, Fragment } from 'react'; import { EuiButton, EuiButtonEmpty, EuiFieldText, EuiForm, EuiFormRow, EuiModal, EuiModalBody, EuiModalFooter, EuiModalHeader, EuiModalHeaderTitle, EuiRange, EuiSwitch, EuiSuperSelect, EuiText, } from '../../../../src/components'; import {...
/** * @overview datejs * @version 1.0.0-rc3 * @author Gregory Wild-Smith <gregory@wild-smith.com> * @copyright 2014 Gregory Wild-Smith * @license MIT * @homepage https://github.com/abritinthebay/datejs */ /* * DateJS Culture String File * Country Code: es-SV * Name: Spanish (El Salvador) * Format: "key" : ...
const requireRel = require('../require-rel') const { execCommands, commandsFromScripts } = require('../exec') module.exports = async function commandBuild () { const cwd = process.cwd() const { Jamsite } = requireRel(cwd, 'node_modules', '@jamsite', 'jamsite') const jamsite = new Jamsite(cwd) // execute u...
const awardsList={awards:[[{title:"1<sup>st</sup> Place Citython 2021 by the Urban Mobility. Category: Make the city healthy.",link:"https://www.citython.eu/2021eindhoven"},{title:"Distinguished Toastmaster (DTM) by Toastmasters International in 2020",link:"https://www.toastmasters.org/education/distinguished-toastmast...
const { MessageEmbed } = require('discord.js'); exports.testembed = new MessageEmbed () .setColor('#ffffff') .setTitle('setTitle') .setURL('https://discordjs.guide/popular-topics/embeds.html#using-the-embed-constructor') .setAuthor('draken97') .setDescription('setDescription') .setThumbnail('https://cdn.discorda...
/** * Applica (www.applicadoit.com). * User: bimbobruno * Date: 2/21/13 * Time: 1:25 PM * Applica */ define(["framework/core", "framework/ui"], function(core, ui) { var exports = {}; var AjaxService = core.AObject.extend({ ctor: function() { this.data = {}; this.url = nu...
var gulp = require('gulp'); var ts = require('gulp-typescript'); var tsProject = ts.createProject("tsconfig.json"); module.exports = function(gulp, env) { gulp.task('tsc', function () { return gulp.src(env.config.paths.tsSrc + '**/*.ts') .pipe(ts({ noImplicitAny: true, ou...
const maxTweetLength = 280; const urlLength = 23; const url_placeholder = '{URL}'; const urlRegex = /(http|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?/g; var overLimit = false; var diff = 0; var virtualMaxTweetLength = maxTweetLength; var inputs = document.getElementsByTagName('input')...
new Vue({ el: '#desafio', data: { array: ['Pedro', 'Bia', 'Ana', 'Rebeca'], livro: { titulo: 'O Senhor dos Anéis', autor: 'J.R.R. Tolkiens', volume: '3' }, aluno: { id: 10, nome: 'Maria', notas: [7.67, 8.33, 6.98, 9.21] }, boleano : false, linguagens: [ {nome: 'Java', anoLancamento:...
import angular from 'angular'; import ngOvhTelecomUniverseComponents from '@ovh-ux/ng-ovh-telecom-universe-components'; import '@uirouter/angularjs'; import '@ovh-ux/ng-translate-async-loader'; import 'angular-translate'; import 'ovh-api-services'; import routing from './easy-pabx.routing'; const moduleName = 'ovhMan...
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict"; define(["ojs/ojcore","jquery"],function(b,f){b.X=function(a,b,c){this.Init(a,b,c)};o_("Message",b.X,b);b.X.Xj={CONFIRMATION:"confirmation",INFO:"info",WARNING:"warning",ERROR:"error",F...
export const c_tile_TranslateY = { "name": "--pf-c-tile--TranslateY", "value": "calc(-1 * 2 * 3px)", "var": "var(--pf-c-tile--TranslateY)" }; export default c_tile_TranslateY;
'use strict'; const angular = require('angular'); import { StageConstants, ACCOUNT_SERVICE } from '@spinnaker/core'; module.exports = angular .module('spinnaker.oraclebmcs.pipeline.stage.resizeAsgStage', [ ACCOUNT_SERVICE, require('core/application/modal/platformHealthOverride.directive.js').name, ]) ....
// Karma configuration for running unit tests on dist folder // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '../../', // testing framework to use (jasmine/mocha/q...
'use strict'; const stripe = require('../../../testUtils').getSpyableStripe(); const expect = require('chai').expect; describe('Sigma', () => { describe('ScheduledQueryRun Resource', () => { describe('retrieve', () => { it('Sends the correct request', () => { stripe.sigma.scheduledQueryRuns.retrie...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var argument_1 = require("./argument"); exports.Argument = argument_1.Argument; var jsonArgument_1 = require("./jsonArgument"); exports.JSONArgument = jsonArgument_1.JSONArgument; const comment_1 = require("./comment"); exports.Comment = comme...
import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; Enzyme.configure( { adapter: new Adapter() } );
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2021, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
module.exports = require('./facade/Facade')
import { createGdevelopTheme } from '../CreateTheme'; import darkStyles from './DarkThemeVariables.json'; import './DarkThemeVariables.css'; export default createGdevelopTheme(darkStyles, 'DarkTheme', 'dark');
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Paper from '@material-ui/core/Paper'; import Grid from '@material-ui/core/Grid'; import DiamondTabInfo from './DiamondTabInfo'; import EmeraldTabInfo from './EmeraldTabInfo'; import Typography from '@material-ui/core/Typography'; i...
jQuery(document).ready(function() { jQuery('#vmap').vectorMap({ map: 'ventura2', enableZoom: false, // showTooltip: false, onRegionClick: function(element, code, region){ if (code != "r...
let parent = null; let doubleClickLocationDisplay = null; let cells = []; window.addEventListener("load", function() { parent = document.createElement("div"); parent.id = "parinte"; parent.appendChild(createInputGroup()); parent.addEventListener("click", function onClickParent() { // Nu adaug celulele de...
import React, { useContext } from "react"; import Navbar from "react-bootstrap/Navbar"; import Nav from "react-bootstrap/Nav"; import Form from "react-bootstrap/Form"; import FormControl from "react-bootstrap/FormControl"; import InputGroup from "react-bootstrap/InputGroup"; import { FontAwesomeIcon } from "@fortawesom...
/** * Given a damageStat object and a targetStat object, return updated * targetStat object. * * INPUTS: * damageStat { * } * targetStat { * } */ export default function calculateDamage(damageStat, targetStat) { }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _ = require("lodash"); var bignumber_js_1 = require("bignumber.js"); var utils_1 = require("./utils"); var common_1 = require("../common"); var pathfind_1 = require("./parse/pathfind"); var NotFoundError = common_1.errors.NotFoundError; va...
import Menu from "./Menu" import MenuItem from './MenuItem' import SubMenu from './SubMenu' Menu.MenuItem = MenuItem Menu.SubMenu = SubMenu export { default as Menu } from "./Menu" export default Menu
/******/ (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...
import getPadding from '../node/getPadding'; const getContentArea = page => { const height = page.style?.height; const { paddingTop, paddingBottom } = getPadding(page); return height - paddingBottom - paddingTop; }; export default getContentArea;