text
stringlengths
2
1.04M
function updateSize () { canvas.width = innerWidth * devicePixelRatio; canvas.height = innerHeight * devicePixelRatio; canvas.style.width = innerWidth + 'px'; canvas.style.height = innerHeight + 'px'; } updateSize(); window.addEventListener('resize', updateSize); function render() { var t = performance.now(); d...
'use strict' const express = require('express'); const produtos = express.Router(); const produtoController = require('../controllers/produtoController') const get = produtos.get('/:id',produtoController.get); const gets = produtos.get('/',produtoController.gets); const create = produtos.post('/',produtoControlle...
// end point of JavaScript $(function(){ 'use strict'; // global setting for ajax $.ajaxSetup({ dataType: 'json', timeout: 60000, error : function(jqXHR, textStatus) { var data; if (textStatus === 'abort') { return; } ...
var lists = Alloy.Collections.list; function createListWithTitle(title) { var list = Alloy.createModel('List'); // TODO if there is a userID set, add it to the list list.save({ title: title }, { success: function() { lists.fetch(); }, error: function(e) { Ti.UI.createAlertDialog({ ...
function mensageiroIniciar() { document.getElementById("main-block-component-body-card-form-0").classList.add('main-block-component-body-card-form-hidden'); document.getElementById("main-block-component-body-card-form-0").classList.remove('main-block-component-body-card-form'); document.getElementById("main...
import { expect } from "chai"; import Graph from "../../src"; function weightFn(g) { return e => g.edge(e); } export default function tests(sp) { describe("allShortestPaths", () => { it("returns 0 for the node itself", () => { const g = new Graph(); g.setNode("a"); expect(sp(g)).to.eql({ a:...
import React from 'react'; import Locales from '../../../../strings'; import { passEventForKeys, focusOnMainContent } from '../../../../services/events'; const SkipContent = () => ( <a data-skip-link // eslint-disable-next-line no-script-url href="javascript:void(0)" onClick={focusO...
import{p as s,a,f as t,c as p,b as e,d as o,t as r,u as d}from"./vendor.82ab3a02.js";s("data-v-725a3895");const c={class:"split time"};a();const i={props:{id:Number},setup(s){const a=s,i=t(),n=p((()=>i.getters.splitOfId(a.id)));return(s,a)=>(e(),o("p",c,r(d(n)),1))},__scopeId:"data-v-725a3895"};export{i as _};
import React from "react"; import PropTypes from "prop-types"; import { graphql } from "gatsby"; import Layout from "../components/Layout"; import Features from "../components/Features"; import BlogRoll from "../components/BlogRoll"; export const IndexPageTemplate = ({ intro }) => ( <main> <div className="l-con...
import React from 'react'; import { connect, useDispatch, useSelector } from 'react-redux'; import Window from '../../Window'; import Field from './Field'; import FriendlyUnit from './FriendlyUnit'; import EnemyUnit from './EnemyUnit'; import ReduxActions from '../../../js/redux/actions'; import WindowLocation from '.....
import Document, { Head, Main, NextScript } from "next/document"; /** * Default lang code * * @type {string} * @private */ const _defaultLang = "en-US"; /** * Custom document for nextjs that includes the lang attribute */ export default class MyDocument extends Document { /** * Loads in the initial query ...
"use strict"; var SixFlagsPark = require("./index"); /** * Six Flags Hurricane Harbor, Arlington * @class * @extends SixFlagsPark */ class SixFlagsHurricaneHarborArlington extends SixFlagsPark { /** * Create a new SixFlagsHurricaneHarborArlington object */ constructor(options = {}) { opt...
module.exports = { "39.0.2171.65": [ "0.20.0", "0.20.1", "0.20.2", "0.20.3", "0.20.4", "0.20.5", "0.20.6", "0.20.7", "0.20.8" ], "40.0.2214.91": [ "0.21.0", "0.21.1", "0.21.2" ], "41.0.2272.76": [ "0.21.3", "0.22.1", "0.22.2", "0.22.3", "0.23.0", "0.24.0" ], "42.0.2311.107": [...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId])...
import React from 'react' import {useObservableState} from '@/common/hooks/useObservableState' import {useExperimentGraph} from "@/common/model/task-graph"; import {EdgeContextMenu} from './context-menu/edge-context-menu' import {GraphContextMenu} from './context-menu/graph-context-menu' import {NodeContextMenu} from '...
export default class Cart { constructor(selector) { this.cart = document.querySelector(selector); } get cartNode() { return this.cart; } set cartNode(selector) { console.log(selector); this.cart = document.querySelector(selector) } }
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
import React from "react"; import { Icon } from "components"; import Label from "utils/translationNode"; const items = { citizen: { sections: { one: { items: [ { primaryText: <Label label="CS_HOME_HOMEHEADER" />, route: "/citizen", leftIcon: <Icon actio...
import { createMuiTheme } from '@material-ui/core'; const palette = { primary: { main: '#303388', light: '#635db9', dark: '#000e5a', contrastText: '#ffffff', }, secondary: { main: '#22a2dd', light: '#6ad3ff', dark: '#0073ab', contrastText: '#FFFDE7', }, error: { main: '#f44336...
//# sourceMappingURL=component---src-pages-package-js-aec94942e390df9c5511.js.map
'use strict' const { User } = require('lib/models') const getAuthResponse = require('./get-auth-response') const signin = require('./signin') const parse = require('co-body') module.exports = async (ctx) => { try { // try signing in to see if the user already exists await signin(ctx) return } catch (...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{ /***/ "./frontend/src/views/settings/create_categories.vue": /*!***********************************************************!*\ !*** ./frontend/src/views/settings/create_categories.vue ***! \*********************************************************...
/* eslint-env node */ //add extra modules root process.env.NODE_PATH = 'src'; module.constructor._initPaths(); //debug log global.dump = require('debug')('allure-face:test'); //jsdom const jsdom = require('jsdom').jsdom; global.document = jsdom('<html><head></head><body></body></html>', { url: 'http://localhost'...
import React from 'react'; import { TouchableOpacity, View } from 'react-native'; import { TabView, SceneMap } from 'react-native-tab-view'; import BackButton from '../../components/BackButton'; import styles from '../../constants/Connections/ConnectionTabs'; import Animated from 'react-native-reanimated'; import Peop...
"use strict"; var _MiniProfiler = (function() { var _arguments = arguments; var options, container, controls, fetchedIds = (window.MiniProfiler && window.MiniProfiler.fetchedIds) || [], fetchingIds = (window.MiniProfiler && window.MiniProfiler.fetchingIds) || [], // so we never pull down ...
/* global $, QUnit, swal */ QUnit.test('dialog aria attributes', (assert) => { swal('Modal dialog') assert.equal($('.swal2-modal').attr('role'), 'dialog') assert.equal($('.swal2-modal').attr('aria-live'), 'assertive') assert.equal($('.swal2-modal').attr('aria-modal'), 'true') }) QUnit.test('toast aria attribu...
import isTimeSignatureString from '../../../../src/parser/matchers/isTimeSignatureString'; describe('isTimeSignatureString', () => { test('Module', () => { expect(isTimeSignatureString).toBeInstanceOf(Function); }); }); describe.each([ ['2/2', true], ['3/2', true], ['2/4', true], ['3/4', true], ['4/4', true...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var esprima = require("esprima"); var Tapable = require("tapable"); var BasicEvaluatedExpression = require("./BasicEvaluatedExpression"); function Parser(options) { Tapable.call(this); this.options = options; this.in...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[91],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Admin/customers/show.vue?vue&type=script&lang=js&": /*!*************************************************************************************...
describe('theme', function() { it('can be changed dynamically', function() { affix('#cal'); $('#cal').fullCalendar({ defaultView: 'agendaWeek' }); expect($('.fc')).toHaveClass('fc-unthemed'); expect($('.fc')).not.toHaveClass('ui-widget'); expect($('.fc-toolbar button .fc-icon').length).toBeGreaterThan...
import React, { useEffect, useState } from "react" import { useStateValue } from '../StateProvider' import Layout from "../components/layout" import FormController from "../components/FunnelForm/FormController" const Funnel = () => { return ( <Layout> <FormController/> </Layout> ...
const mongoose = require('mongoose'); const moment = require('moment'); const PostSchema = new mongoose.Schema({ title: { type: String, unique: true, required: true, trim: true }, description: { type: String, required: true, trim: true }, auth...
function TableViewWindow(tabbed_window,show_navbar,title,acs_win_id,acs_table_root_id) { var win = Ti.UI.createWindow({ title:title, backgroundColor:'white', navBarHidden:false }); var osname = Ti.Platform.osname, version = Ti.Platform.version, height = Ti.Platform.displayCaps.platformHeight, width = Ti...
module.exports={A:{A:{"2":"H D G E A B eB"},B:{"1":"N I","2":"0 C p J L"},C:{"1":"1 4 5 7 8 9 u v w x y z AB BB CB","2":"0 2 3 cB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t aB UB"},D:{"1":"1 4 5 7 8 9 j k l m n o M q r s t u v w x y z AB BB CB OB GB fB JB HB KB LB MB","2":...
module.exports = function(config) { config.set({ files: [ 'node_modules/jquery/dist/jquery.js', 'dist/jquery.boilerplate.min.js', 'test/setup.js', 'test/spec/*' ], frameworks: ['qunit'], autoWatch: true }); };
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------------------------------------------------...
/* * Copyright 2020 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, *...
// create the about section const generateAbout = aboutText => { if (!aboutText) { return ''; } return ` <section class="my-3" id="about"> <h2 class="text-dark bg-primary p-2 display-inline-block">About Me</h2> <p>${aboutText}</p> </section> `; }; const ...
define([ './defined' ], function( defined) { 'use strict'; var a; /** * Given a URL, determine whether that URL is considered cross-origin to the current page. * * @private */ function isCrossOriginUrl(url) { if (!defined(a)) { a = document.c...
import $ from "jquery"; import resizeCallbacks from "core/utils/resize_callbacks"; import responsiveBoxScreenMock from "../../helpers/responsiveBoxScreenMock.js"; import keyboardMock from "../../helpers/keyboardMock.js"; import typeUtils from "core/utils/type"; import browser from "core/utils/browser"; import domUtils ...
var googleDocURL = 'https://docs.google.com/spreadsheets/d/1qaLgv4ZomJS6ZlAE5S6Ps5DS04xI3j88MxCeCt_cC0M/edit#gid=0';
'use strict'; (function() { function AuthService($location, $http, $cookieStore, $q, appConfig, Util, User) { var currentUser = {}; var safeCb = Util.safeCb; var currentUser = {}; var smallgroup = {}; var userRoles = appConfig.userRoles || []; if ($cookieStore.get('token') && $location.path() !=...
import apisauce from 'apisauce' // our "constructor" const create = (baseURL = 'https://gofdrones.herokuapp.com/api/v1') => { // ------ // Configuration // ------ const api = apisauce.create({ baseURL, headers: { 'Cache-Control': 'no-cache', }, timeout: 10000, }) // ------ // Servi...
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /** * This test is designed to test responsiveness while performing actions * on various context menus in both content and chrome. */ Components.utils.import("resource://mozmill/driver/mozmill.js"); let c = ...
import assert from 'assert'; import fs from 'fs'; import { format } from 'util'; import vm from 'vm'; import validator from '../src/index'; let validator_js = fs.readFileSync(require.resolve('../validator.js')).toString(); function test(options) { let args = options.args || []; args.unshift(null); if (options.e...
// Require the Express Module var express = require('express'); // Create an Express App var app = express(); // Require body-parser (to receive post data from clients) var bodyParser = require('body-parser'); var mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/ArrakisSandworms'); mongoose.Prom...
import React, { useEffect, useState } from "react" //redux import { connect } from "react-redux" //axios import { getRecipe } from "../actions" import Recipe from './Recipe' import '../App.scss' //props = state from mapstatetoprops //{getRecipe} is an action from redux (actions.js) for the reducer const RecipeList = ...
var InputMnagement; (function (InputMnagement) { var GameButtonID; (function (GameButtonID) { GameButtonID[GameButtonID["start"] = 0] = "start"; GameButtonID[GameButtonID["up"] = 1] = "up"; GameButtonID[GameButtonID["right"] = 2] = "right"; GameButtonID[GameButtonID["down"] = 3] ...
'use strict'; var fbSeating = new Firebase('https://hrr-kitchen.firebaseio.com/seating'); /* App Module */ var kitchenApp = angular.module('kitchenApp', [ 'ui.bootstrap', 'ngRoute', 'appControllers' ], function($interpolateProvider) { $interpolateProvider.startSymbol('{%'); $interpolateProvider.en...
const hexDump = require('hexy').hexy; /** * Prints an hexadecimal dump in console */ exports.hexDump = function (data) { console.log(hexDump(data)) } /** * Get file extension * * @param {String} name Filename * @returns {String} Extension (without the dot) */ exports.ext = function (name) { if (!name) ...
import { Chin } from './Chin' import { Full } from './Full' import { FullMajestic } from './FullMajestic' import { FullMedium } from './FullMedium' import { Goatee } from './Goatee' import { GoateeCircle } from './GoateeCircle' import { MoustacheDali } from './MoustacheDali' import { MoustacheHandlebar } from './Mousta...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _superagent = _interopRequireDefault(require("superagent")); var _querystring = _interopRequireDefault(require("querystring")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : ...
import m from 'mithril' import { Sprite } from 'Components/Sprite' import { hooks } from './hooks' import style from './enemies.scss' export function Enemies() { const state = { options: {}, sprites: [], } return { ...hooks, ...state, view() { return ( <div class={ style.body...
define(['pubsub', 'site/pubSubTable', 'rcap/js/ui/controls/gridControl', 'rcap/js/ui/properties/textProperty', 'rcap/js/ui/properties/stringValueProperty', 'utils/variableHandler', 'text!controlTemplates/dataUpload.tpl' ], function (PubSub, pubSubTable, GridControl, TextProperty, StringValueProperty, variab...
var i, j; for (i = 2; i < 100; i++) { for (j = 2; j <= i; j++) if (!(i % j)) { //if dividable by any integer break; } if (j > i / j) { console.log(i, "is prime"); } }
export { css } from './css' export { cx } from './cx' export { jsx } from './jsx' export { createGlobalStyle } from './createGlobalStyle' export { styled as default } from './styled' export * from './Box' export * from './colorModes' export { withEmotionCache, CacheProvider, ThemeContext, Global, ClassNames, ...
'use strict'; // +---------------------------------------------------------------------- // | 项目:InsunAPIServer // | 版权:Copyright (c) 1974~2019 http://insunsoft.com All rights reserved. // | 授权:Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // | 作者: insunsoft-濮堂.陈剑 <951241056@QQ.com> // | 用途: token权限认证中间件 // |...
// build time:Thu Nov 29 2018 18:19:15 GMT+0800 (GMT+08:00) //rebuild by neat
module.exports = api => ({ presets: [ [ 'babel-preset-jason/esm', { modules: api.env() !== 'esm', useBuiltIns: 'usage', }, ], '@babel/typescript', ], });
//crear objeto XMLHttpRequest function creaObjetoAjax () { var obj; //variable que recogerá el objeto if (window.XMLHttpRequest) { //código para mayoría de navegadores obj=new XMLHttpRequest(); } else { //para IE 5 y IE 6 obj=new ActiveXObject(Microsoft.XMLHTTP); } r...
/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function( global, factory ) { if ( typeof module ...
/* eslint-disable prettier/prettier */ const User = require('../models/userModel'); const catchAsync = require('../helpers/catchAsync'); const AppError = require('../helpers/appError'); const factory = require('../controllers/handlerFactory'); const filterObj = (obj, ...allowedFields) => { const newObj = {}; ...
// Copyright (c) 2015 - 2017 Uber Technologies, Inc. // // 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...
// utils const logger = require("../../utils/logger"); exports.up = knex => { return knex.schema .table("settings", table => { table.text("labs").defaultTo("{}"); }) .then(() => { logger.info({ code: "DATABASE_MIGRATIONS", message: "Insert column 'labs' into settings" }); }) .then(() => { ...
// Create a new panel chrome.devtools.panels.create("XPath Finder", "icon.png", "panel.html", function(extensionPanel) { function log(){alert('I am log function.');} chrome.devtools.panels.elements.onSelectionChanged.addListener(llog); // var _window; // Going to hold the reference to panel.html...
import React, { Component } from 'react'; import ReactRouterPropTypes from 'react-router-prop-types'; import PropTypes from 'prop-types'; import { NoteEditPage } from '@folio/stripes/smart-components'; import { formatNoteReferrer, urls } from '../components/utils'; export default class NoteEditRoute extends Componen...
module.exports = require('../images/2/1f52c.png');
const mongoose = require('mongoose'); mongoose.Promise = global.Promise; //require('../models/ImageSchema'); //require('../models/TagSchema'); module.exports = (settings) => { mongoose.connect(settings.db, err => { if (err) { console.log(err); return; } console...
import homeRouter from './home-router' const routes = [ { path: '/', name: 'Home', redirect: '/main', component: () => import('@/view/home/home'), children: [...homeRouter], }, { path: '/login', name: 'login', component: () => import('@/view/login/login'), }, { redirect: '...
import "./bottomnavpage.css"; import bottomnavpage from "./bottomnavpage.html"; export default { title: "Pages/Nav Page" }; export const BottomNavPage = () => bottomnavpage;
'use strict' // Tab functionality const openTab = (tabName) => (event) => { var i, x, tablinks x = document.getElementsByClassName('content-tab') for (i = 0; i < x.length; i++) { x[i].style.display = 'none' } tablinks = document.getElementsByClassName('tab') for (i = 0; i < tablinks.length; i++) { ...
var webpack = require("webpack") var WebpackDevServer = require("webpack-dev-server") var config = require("./webpack.config") new WebpackDevServer(webpack(config), { publicPath: config.output.publicPath, hot: true, historyApiFallback: true }).listen(5000, "localhost", function (err, result) { if (err)...
import 'moment/locale/it'; import { cardinal } from 'locale/grammars/italian'; const phrases = { 'action-badge-add': "aggiungere", 'action-badge-approve': "approvare", 'action-badge-archive': "archiviare", 'action-badge-disable': "disattivare", 'action-badge-reactivate': "riattivare", 'action-b...
const category = state => state.category; export default { category };
import React, { Component } from "react"; import Avatar from "../assets/avatar.svg"; class Aboutme extends Component { state = {}; render() { return ( <div className="face-rec"> <div className="text-button-wrapper"> <h2>Who I am and What I do</h2> <p>I am Elaheh and currently ...
import React, {useState} from 'react'; import useFormless from "react-useformless"; import classnames from "classnames" import { Textarea, Checkbox } from "../Elements"; import { ProfileForm } from "./ProfileForm"; import { AddressForm } from "./AddressForm"; import { StateDataFormless } from "./StateDataFormless"; e...
/** @type {import('vls').VeturConfig} */ module.exports = { // **optional** default: `{}` // override vscode settings // Notice: It only affects the settings used by Vetur. settings: { 'vetur.useWorkspaceDependencies': true, 'vetur.experimental.templateInterpolationService': true }, // **optional** ...
/** * Auto-generated action file for "Cloud SQL Admin" API. * * Generated at: 2019-05-23T09:13:42.479Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / googleapis-com-sqladmin-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector ar...
import React from 'react' import { Link } from "gatsby" import { css } from '@emotion/core' import fallBackImage from '../images/cape-makers-things.png'; const style = css` margin-bottom: 1.5rem; display: flex; flex-direction: column; background-color: rgba(0, 147, 208, 0.2); @media (min-width: 768px) { ...
import gql from 'graphql-tag'; export default gql` subscription data { suscribe_to_patch_propuesta_delete_moderador { id propuesta { id titulo descripcion } usuario { id nombre avatar } } } `;
'use strict'; require('../common'); var assert = require('assert'); var r = process.memoryUsage(); assert.ok(r.rss > 0); assert.ok(r.heapTotal > 0); assert.ok(r.heapUsed > 0);
$(document).ready(() => { // Getting references to our form and input var signUpForm = $("form.signup"); var emailInput = $("input#email-input"); var passwordInput = $("input#password-input"); // When the signup button is clicked, we validate the email and password are not blank signUpForm.on("submit", fun...
/*! * OpenUI5 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.MessageListItem. sap.ui.define([ "sap/ui/core/library", "sap/ui/core/InvisibleText", "./library", './StandardListItem', './Link', "./Mes...
const express = require('express') const path = require('path') const port = process.env.PORT || 8080 const app = express() app.use(express.static(__dirname + '/dist')) app.get('*', (req, res) => { res.sendFile(path.resolve(__dirname, 'index.html')) }) console.log("Listen on 'localhost:8080...'") console.log('Ctrl...
'use strict'; const types = require('../utils/types'); const ember = require('../utils/ember'); //------------------------------------------------------------------------------ // General rule - Use brace expansion //------------------------------------------------------------------------------ module.exports = { ...
/* jshint node: true */ 'use strict'; var path = require('path'); var Funnel = require('broccoli-funnel'); var merge = require('broccoli-merge-trees'); module.exports = { name: 'ember-mobiledoc-dom-renderer', treeForAddon: function(tree) { var libRoot = require.resolve('mobiledoc-dom-renderer/lib'); var ...
import UniversalDate from "@ui5/webcomponents-core/dist/sap/ui/core/date/UniversalDate.js"; import Locale from "@ui5/webcomponents-core/dist/sap/ui/core/Locale.js"; import LocaleData from "@ui5/webcomponents-core/dist/sap/ui/core/LocaleData.js"; const calculateWeekNumber = (oDate, iYear, oLocale, oLocaleData) => { le...
/** * emojiarea - A rich textarea control that supports emojis, WYSIWYG-style. * Copyright (c) 2012 DIY Co * * 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/license...
function initUI() { $("#slides_panel").resizable({ containment: "#wrapper", start: function(){ iframe = $('iframe'); var div = $('<div></div>'); $('#slides_panel').append(div[0]); div[0].id = 'temp_div'; div.css({position:'absolute'}); div.css({top: ifram...
const configMainnet = require('./networks/ark/mainnet.json') const configDevnet = require('./networks/ark/devnet.json') const configTestnet = require('./networks/ark/testnet.json') /** * The Arktoshi base. * @type {Number} */ exports.ARKTOSHI = Math.pow(10, 8) /** * Available transaction types. * @type {Object} ...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /*! * @license * Copyright 2019 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
define([ "jquery", "vo", "permissions", "options" ], function( $, vo, permissions, options ) { "use strict"; var FOLDER_NAME = "favorites", fs, curURI, count = 0; function errorHandler( error ) { console.error( "File Operations error.", error ); } function createFavFolder( errorB...
import React from 'react'; import PropTypes from 'prop-types'; import {CSSTransitionGroup} from 'react-transition-group'; import Question from '../components/Question'; import AnswerOption from '../components/AnswerOption'; import ProgressBar from "react-bootstrap/ProgressBar"; function Quiz(props) { function rend...
'use strict'; //Wettkampf service used for wettkampf REST endpoint angular.module('mean.wettkampf').factory('Wettkampf', ['$resource', function($resource) { return $resource('api/wettkampf', { }, { update: { method: 'PUT' } }); } ]);
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); module.exports = { entry: [path.join(__dirname, 'src', 'public/js/index.js')], output: { filename: '[name].bundle.js', path: path.resolve(__dirname, 'src/dist'...
/* -*- mode: javascript; tab-width: 4; indent-tabs-mode: nil; -*- * * Copyright (c) 2011-2013 Marcus Geelnard * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted t...
import styled from 'styled-components'; const QuestionStyled = styled.div` padding: 2rem; `; const QuestionCounter = styled.div` font-size: 0.9rem; margin-bottom: 0.5rem; `; const QuestionLabel = styled.div` font-weight: 900; font-size: 1.5rem; `; export { QuestionStyled, QuestionCounter, QuestionLabel };
// @flow import type { Interpolation } from '../types' const stringifyRules = ( rules: Array<Interpolation>, selector: ?string, prefix: ?string, ): string => rules.reduce( (str: string, partial: Interpolation, index: number): string => str + // NOTE: This is to not prefix keyframes with the ani...
/* * Javascript Quadtree * @version 1.1.1 * @licence MIT * @author Timo Hausmann * https://github.com/timohausmann/quadtree-js/ */ /* Copyright © 2012 Timo Hausmann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...