text
stringlengths
2
1.04M
const UNBORN = {}; export default class Commit { static createUnborn() { return new Commit('', '', UNBORN); } constructor(sha, message, unbornRef = null) { this.sha = sha; this.message = message.trim(); this.unbornRef = unbornRef === UNBORN; } getSha() { return this.sha; } getMessa...
function calculate() { const inp_alpha = document.querySelector("#alpha"); const inp_fs = document.querySelector("#fs"); const inp_radius = document.querySelector("#radius"); if(!inp_alpha.value.length && !inp_fs.value.length && !inp_radius.value.length) { console.log("Nie wprowadzono potrzebnych danych"); } ...
const express = require('express'); const nunjucks = require('nunjucks'); const routes = require('./routes'); const methodOverride = require('method-override') //para usar o method PUT no formulario da edição do instrutor const server = express(); server.use(express.urlencoded({ extended: true })) //linha respons...
var xenhance_8h = [ [ "XENH_ENHSTRENGTH_MAX", "group__enhance__v7__1.html#ga1a3021cc07f92785cdc43cf2986ebae9", null ], [ "XENH_ENHSTRENGTH_MIN", "group__enhance__v7__1.html#gab80d8355bd99e713ecef3b21ce642fd2", null ], [ "XENH_HALOSUPPRESS_MAX", "group__enhance__v7__1.html#ga5914b63ba5fb09d1154226b814acb845"...
const { richEmbed} = require('discord.js'); const request = require('node-superfetch'); module.exports.run = async (bot, message, args, funcs) => { if (!message.channel.nsfw) return funcs.send(`Cannot send NSFW content in a SFW channel.`); try { const { body } = await request .get("https://www.r...
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requ...
var FLYERBD = angular.module('FLYERBD',[ 'ngRoute' ]); FLYERBD.config(['$routeProvider', function ($routeProvider){ $routeProvider .when('/', { templateUrl: 'Home', controller: 'HomeCtrl' }) .when('/about', { templateUrl: 'About', controller: 'AboutCtrl' }) ...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.FaBell = function FaBell (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-5...
import React, { useState, useEffect, } from 'react'; import { useParams, } from 'react-router-dom'; import JobScheduler from '../JobScheduler'; import JobSettings from '../JobSettings'; import ActionGraph from '../ActionGraph'; import { getJobColor, fetchFromApi } from '../../utils/utils'; function jobDisplay(jo...
import React from "react"; import { ProjectWrapper } from "../../../ui"; import More from "../portfolio/More"; import ChatApp from "./projects/ChatApp"; import Fileup from "./projects/Fileup"; function Projects() { return ( <ProjectWrapper> <Fileup /> <ChatApp /> <More /> </ProjectWrapper> ...
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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.apache.org/licenses/LICENSE-2.0 * * Unless required ...
'use strict' Object.defineProperty(exports, '__esModule', { value: true }) var _index = require('../../../_lib/buildFormatLongFn/index.js') var _index2 = _interopRequireDefault(_index) function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj } } var dateFormats = { full: 'EE...
import React from 'react' import Link from 'next/link' import Svg from '../../Svg' function MenuBreadCrumb(props) { // console.log(props.cattitle) return ( <div className="content-center menu-breadcrumb text-1"> <Link href='/'><a className='font-a8'>Home</a></Link> <Svg svg={'chevright'} /> <Link h...
'use strict'; /** * Create a markdown-formatted listitem. */ module.exports = [ ['Level 1 list item', 1], ['Level 2 list item', 2], ['Level 3 list item', 3] ];
import { get, upperFirst, cloneDeep, set, omit, includes, } from 'lodash'; import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import queryString from 'query-string'; import Link from 'react-router-dom/Link'; import SafeHTMLMessage from '@folio/react-intl-safe-html'; import { Form...
// @flow import React, { useState, useEffect } from "react"; import { View, TouchableOpacity, Image, ImageBackground } from "react-native"; import Realm from "realm"; import { useNavigation, useRoute } from "@react-navigation/native"; import { SafeAreaView } from "react-native-safe-area-context"; import type { ...
// @flow import invariant from "invariant"; import { Observable, from, of } from "rxjs"; import { mergeMap } from "rxjs/operators"; import eip55 from "eip55"; import { BigNumber } from "bignumber.js"; import { log } from "@ledgerhq/logs"; import { FeeNotLoaded } from "@ledgerhq/errors"; import Eth from "@ledgerhq/hw-a...
//>>built define( "dijit/nls/el/loading", //begin v1.x content ({ loadingState: "Φόρτωση...", errorState: "Σας ζητούμε συγνώμη, παρουσιάστηκε σφάλμα" }) //end v1.x content );
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; Object.defineProperty(ex...
import hbs from 'htmlbars-inline-precompile'; import { find, triggerEvent } from 'ember-native-dom-helpers'; import { isVisible } from 'ember-attacher'; import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('ember-attacher', 'Integration | Component | showOn "focus"', { integration: true }); te...
const { Router } = require('express'); const createCustomerService = require('./services/CreateCustomerService'); const loginCustomerService = require('./services/LoginCustomerService'); const createMovieService = require('./services/CreateMovieService'); const availableMovieService = require('./services/AvailableMovi...
initSidebarItems({"mod":[["client","Client implementation of the HTTP/2.0 protocol."],["server","Server implementation of the HTTP/2.0 protocol."]],"struct":[["Error","Represents HTTP/2.0 operation errors."],["Ping","Sent via [`PingPong`][] to send a PING frame to a peer."],["PingPong","A handle to send and receive PIN...
import { __assign } from "tslib"; import { isGetForgePluginsFullfilledAction, isGetForgePluginsFailedAction, } from '../actions/getForgePlugins'; export var getForgePluginsStarted = function (state, action) { return state; }; export var getForgePluginsFullfilled = function (state, action) { if (isGetForgePlugin...
import React from 'react'; const VideoDetail = ({ video }) => { if (!video) { return <div>Loading...</div> } const videoSrc = `https://www.youtube.com/embed/${video.id.videoId}` return ( <div> <div className="ui embed"> <iframe src={videoSrc} title="video player"></iframe> </div> ...
//# sourceMappingURL=runtime-main.1bdf6c76.js.map
import React from 'react' import Gallery from "react-photo-gallery"; import { photos3, indwand, stdwand } from './pics3' //import IndWand from '../industrialwand'; //import StdWand from '../standardwand' //const Modalpics101 = () => ( class Modalpics103 extends React.Component { render() { return ( ...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global'],function(q){"use strict";return{_getViewWithGlobalId:function(o){function c(){return sap.ui.view(o...
const express = require('express') const { now } = require('mongoose') const Post = require('../models/post') const User = require('../models/user') const router = express.Router() const imgur = require('imgur'); imgur.setClientId(process.env.IMGUR_ID) imgur.setAPIUrl('https://api.imgur.com/3/') const fetch = requi...
var webpack = require('webpack'); var WebpackDevServer = require('webpack-dev-server'); var config = require('./webpack.client'); var port = config.__options.hotServerPort; var debug = require('debug')('server'); new WebpackDevServer(webpack(config), { publicPath: config.output.publicPath, hot: true, historyApiF...
const withAuth = (req, res, next) => { // TODO: If the user is not logged in, redirect the user to the login page // TODO: If the user is logged in, allow them to view the paintings if (!req.session.loggedIn) { res.redirect('/menu'); } else { next() } }; module.exports = withAuth;
'use strict'; const questions = []; function Question(questionStr, answerVarName, answerType, choices, defaultVal) { this.message = questionStr; this.name = answerVarName; this.type = answerType; if (choices !== undefined && Array.isArray(choices)) { this.choices = choices; } if (defaultVal !== undefin...
'use strict'; var firebase = require('@firebase/app-compat'); var component = require('@firebase/component'); var remoteConfig = require('@firebase/remote-config'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var firebase__default = /*#__PURE__*/...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
// jQuery plugin to handle local data using local storage or DOM data, // depending on the browser // -------------------------------------------------------------------------- (function ($) { // check for jQuery if (!$ || !($.toJSON || Object.toJSON || window.JSON)) { throw new Error("jQuery MUST ...
var snmp = require('snmpjs');
var app = angular.module('AppMock', []);
'use strict'; const common = require('../common'); const PassThrough = require('stream').PassThrough; const assert = require('assert'); const Interface = require('readline').Interface; class FakeInput extends PassThrough {} function extend(k) { return Object.assign({ ctrl: false, meta: false, shift: false }, k); } ...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 *...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import './sandboxed_load_time_data.js'; import {assertCast, MessagePipe} from './message_pipe.m.js'; import {FileContext, LoadFilesMessage, Message, Open...
/** * SPDX-License-Identifier: Apache-2.0 */ const helper = require('../../common/helper'); const logger = helper.getLogger('CRUDService'); /** * * * @class CRUDService */ class CRUDService { constructor(sql) { this.sql = sql; } /** * Get transactions count by block number * * @param {*} channel...
'use strict'; var _ = require('lodash'); var $ = require('preconditions').singleton(); var Constants = require('./constants'); function Utils() {}; Utils.formatAmount = function(bytes, unit, opts) { $.shouldBeNumber(bytes); $.checkArgument(_.includes(_.keys(Constants.UNITS), unit)); function addSepa...
module.exports = { name: 'progress', load: (cb) => { require.ensure([], require => { cb(require('./component')) }, 'progress') } }
/** * @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 */ /* 2014 Gregory Wild-Smith @license MIT @homepage https://github.com/abritinthebay/datejs 2014 Gregory ...
'use strict'; /** * Module dependencies. */ var judgementsPolicy = require('../policies/judgements.server.policy'), judgement = require('../controllers/judgements.server.controller'); module.exports = function(app) { // Judgements collection routes app.route('/api/judgements').all(judgementsPolicy.isAllowed) ...
import styled from "styled-components" export const Col = styled.div` flex-grow: 1; flex-basis: 0; `
/*global describe, it */ (function () { "use strict"; describe( 'Base mixin: Backbone.Cycle.Model', function () { var Model, m1, m2, m3, collection; beforeEach( function () { Model = Backbone.Model.extend( { initialize: function () { Backbone.Cy...
'use strict'; const angular = require('angular'); import { ACCOUNT_SERVICE, StageConstants } from '@spinnaker/core'; module.exports = angular .module('spinnaker.gce.pipeline.stage..disableAsgStage', [ACCOUNT_SERVICE]) .config(function(pipelineConfigProvider) { pipelineConfigProvider.registerStage({ pro...
module.exports={A:{A:{"132":"J D E F A B qB"},B:{"1":"P Q R S V W X Y Z a b c d e f g T H h","4":"C K L G M N O"},C:{"1":"DB EB FB GB HB IB JB KB LB MB hB NB iB OB PB U QB RB SB TB UB VB WB XB YB ZB aB bB cB dB P Q R jB S V W X Y Z a b c d e f g T H h","2":"rB gB I i J D E F A B sB tB","33":"0 1 2 3 4 5 6 7 8 9 C K L G...
"use strict"; var Long = require('bson').Long , Logger = require('./connection/logger') , MongoError = require('./error') , f = require('util').format; /** * This is a cursor results callback * * @callback resultCallback * @param {error} error An error object. Set to null if no error present * @param {obje...
/* ----------------------------------------------- /* Author : Vincent Garreau - vincentgarreau.com /* MIT license: https://opensource.org/licenses/MIT /* GitHub : https://github.com/VincentGarreau/particles.js /* How to use? : Check the GitHub README /* v1.0.3 /* ----------------------------------------------- */ v...
var RadJav; (function (RadJav) { var Crypto; (function (Crypto) { var CipherMultipart = (function () { function CipherMultipart() { this._storage = null; if (this._init != null) this._init.apply(this, arguments); } C...
import { Component } from 'react'; import PropTypes from 'prop-types'; import carto from '@carto/carto.js'; class BusLayer extends Component { static contextTypes = { map: PropTypes.object, }; static propTypes = { source: PropTypes.string, style: PropTypes.string, client: PropTypes.object, h...
const mongoose = require("mongoose"); const Schema = mongoose.Schema; const tokenSchema = new Schema({ userId: { type: Schema.Types.ObjectId, required: true, ref: "user", }, token: { type: String, required: true, }, createdAt: { type: Date, default: Date.now, expires: 3600, /...
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; import Ext_button_Segmented from './Ext/button/Segmented.js'; import HTMLParsedElement from './HTMLParsedElement.js'; var ExtSegmentedbutton = /*#__PURE__*/ function (_Ext_button_Segmented) { _inheritsLoose(ExtSegmentedbutton, _Ext_button_Segmented);...
'use strict' const Shared = require('@mojaloop/central-services-shared') const BaseError = Shared.BaseError const ErrorCategory = Shared.ErrorCategory class RecordExistsError extends BaseError { constructor (message = 'Participant currency has already been registered') { super(ErrorCategory.UNPROCESSABLE, messa...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
const path = require('path') const {messages, ruleName} = require('../plugins/no-scale-colors') testRule({ plugins: ['./plugins/no-scale-colors.js'], ruleName, config: [ true, { files: [path.join(__dirname, '__fixtures__/color-vars.scss')] } ], accept: [ {code: '.x { color: var(--color...
/** * coon.js * extjs-lib-core * Copyright (C) 2021 Thorsten Suckow-Homberg https://github.com/coon-js/extjs-lib-core * * 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 restrict...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function generateShortname(seed) { if (typeof seed === "string") throw new Error("Seed must be a number"); if (seed < 0) throw new Error("Seed must be at least 0"); const library = "abcdefghijklmnopqrstuvwxyz"; ...
define([ 'jquery', 'underscore', 'backbone', './UIView', './UIButton', './UILabel', './UITextField' ], function($, _, Backbone, UIView, UIButton, UILabel, UITextField ) { // UIPromptView return function(options) { var UIPromptView; var promptView...
/** * Created by marija on 22.02.18. */ var p1 = Promise.resolve(18); var p2 = Promise.reject(17); var callbackArguments = []; var base_0 = p2 var r_0= undefined try { r_0 = base_0.catch() } catch(e) { r_0= e.message } function serialize(array){ return array.map(function(a){ if (a === null || a == undefine...
export default { en: 'fr', about: 'a-propos', artworks: 'oeuvres', demo: 'formulaire-demo', account: 'mon-compte', login: 'connexion', createAccount: 'creation-de-compte', forgotPassword: 'mot-de-passe-oublie', resetPassword: 'nouveau-mot-de-passe', editAccount: 'modifier-compte', notFound: 'page-...
import {Entity} from 'aframe-react'; import React from 'react'; export default props => { const geometry = { primitive: 'ring', radiusInner: 0.01, radiusOuter: 0.016 }; const material = { color: props.color, shader: 'flat', opacity: props.opacity || 0.9, transparent: true }; retur...
import _createClass from "@babel/runtime/helpers/createClass"; import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; import Ext_Base from '../../Ext/Base.js'; var Ext_data_Record = /*#__PURE__*/ function (_Ext_Base) { _inheritsLoose(Ext_data_Record, _Ext_Base); Ext_data_Record.PROPERTIES = function P...
/** * @author jonobr1 / http://jonobr1.com * * Creates a one-sided polygonal geometry from a path shape. Similar to * ExtrudeGeometry. * * parameters = { * * curveSegments: <int>, // number of points on the curves. NOT USED AT THE MOMENT. * * material: <int> // material index for front and back faces * uvGen...
macDetailCallback("685e6b000000/24",[{"d":"2011-07-09","t":"add","a":"7F-1, No 190, Sec 2, Chung Hsing Road, Sindian District\nNew Taipei City 231\n\n","c":"TAIWAN, REPUBLIC OF CHINA","o":"PowerRay Co., Ltd."},{"d":"2012-11-29","t":"change","a":"7F-1, No 190, Sec 2, Chung Hsing Road, Sindian District\nNew Taipei City ...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { fetchWeather } from '../actions/index'; class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; } onInputChange = (e) => { ...
const { app, BrowserWindow, Menu, dialog, MenuItem, ipcMain } = require('electron'); const { menuTemplate } = require("./app/menutemplate"); let wins = []; var open = require('open'); let menuIsConfigured = false; function createWindow(filename = null) { // Create the browser window. let win = new BrowserWindow({ ...
import React, { Component } from 'react'; import TestComponent from './TestComponent'; import Money from './Money'; import logo from './logo.svg'; import './App.css'; class App extends Component { // demo1 // constructor(props){ // super(props); // this.state = {value: ''}; // this.handleChange = thi...
function showLocation(province , city , town) { var loc = new Location(); var title = ['省份' , '地级市' , '市、县、区']; $.each(title , function(k , v) { title[k] = '<option value="">'+v+'</option>'; }) $('#loc_province').append(title[0]); $('#loc_city').append(title[1]); $('#loc_town').app...
import React, { useEffect, useState } from 'react' import Header from '../../components/Header/Header' import Footer from '../../components/Footer/Footer' import { handleSignup } from '../../asset/js/handleSignup' import { useRouter } from 'next/router' import axios from 'axios' import bcrypt from 'bcryptjs' export de...
module.exports = { tags: [String], finish: String, colors: [String], status: String, cmc: Number, cardID: String, type_line: String, };
import { all } from 'redux-saga/effects'; import { testsRegister } from '../features/redux/saga/testsSagas'; import { reportsRegister } from '../features/redux/saga/reportsSagas'; import { jobsRegister } from '../features/redux/saga/jobsSagas'; import { configRegister } from '../features/redux/saga/configSagas'; expor...
const getters = { visitedViews: state => state.tagsView.visitedViews, cachedViews: state => state.tagsView.cachedViews } export default getters
/* eslint-disable react-native/no-inline-styles */ /** Messages screen for broadcast messages */ //importing libraries import React from 'react'; import { View, StatusBar, TouchableOpacity, ToastAndroid, Text, BackHandler, } from 'react-native'; import { GiftedChat, Bubble, InputToolbar, Send, Co...
// flow-typed signature: 5426aecfd786b94d78c313bffc12a259 // flow-typed version: <<STUB>>/dotenv-safe_v^8.2.0/flow_v0.147.0 /** * This is an autogenerated libdef stub for: * * 'dotenv-safe' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with t...
import React from "react"; // plugin that creates slider import Slider from "nouislider"; // react component plugin for creating beatiful tags on an input import TagsInput from "react-tagsinput"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import InputAdornment from "@material...
CKEDITOR.plugins.setLang("colordialog","sq",{clear:"Pastro",highlight:"Thekso",options:"Përzgjedhjet e Ngjyrave",selected:"Ngjyra e Përzgjedhur",title:"Përzgjidh një ngjyrë"});
/*! * Qoopido.js library v3.6.4, 2015-4-29 * https://github.com/dlueth/qoopido.js * (c) 2015 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("emitter",e,["./base"])}(function(e,t,n,r,i,s,l){"use strict";function o(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1);return e._mapped[t]=e...
import React from 'react' export default class AmericanExpressIcon extends React.Component{ render(){ return( <svg viewBox="0 0 60 40"> <g> <g> <path fill="#60C1ED" d="M60,35c0,2.75-2.25,5-5,5H5c-2.75,0-5-2.25-5-5V5c0-2.75,2.25-5,5-5h50c2.75,0,5,2.25,5,5V35z"/> <path fill="#5DBBE6" d="M58.53...
import axios from 'axios' import { MessageBox, Message, Loading } from 'element-ui' import store from '@/store' import { getToken, removeToken } from '@/utils/auth' import { downloadServerFile } from '@/utils/index' // create an axios instance const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // ...
load("test-common.js"); try { assert(Array.prototype.push.length === 1); var a = ["hello"]; var length = a.push(); assert(length === 1); assert(a.length === 1); assert(a[0] === "hello"); length = a.push("friends"); assert(length === 2); assert(a.length === 2); assert(a[0] === ...
'use strict'; var chuppy = require('../application/lib/javascript/chuppy.js'); /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected,...
// jscs:disable disallowMixedSpacesAndTabs /** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @fileOverview Defines the "virtual" dialog, dialog content and dialog button * definitio...
let defaultConfig = ` Luigi.setConfig({ navigation: { validWebcomponentUrls:['.*?'], nodes: [{ pathSegment: 'home', label: 'h', hideFromNav: true, children: [{ pathSegment: 'overview', ...
const axios = require('axios') require('dotenv').config() const app = require("../bot.js"); const { log } = require('../modules/log.js'); const {checkIfAPIAccess, checkIfProd} = require("../modules/apiAccess"); const {updateStats} = require("../modules/updateStats"); module.exports = async (client, guild) => { // t...
import D6 from '../models/d6.js' import {applyStyles} from './helpers/applyStyles.js' export default class extends HTMLElement { // shadowRoot; applyStyles = applyStyles; css = [ `.d-6 { width: 50px; height: 50px; display: inline-block; }`, ] d6 = new D6() constructor(props = {}) { ...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
import Vue from 'vue' import Component from './src/notification.js' const NotificationConstructor = Vue.extend(Component) let instances = [] let seed = 1 const notify = options => { const { autoClose, ...rest } = options const instance = new NotificationConstructor({ propsData: { ...rest }, da...
'use strict'; const validUrl = require('valid-url'); function isValid(url) { return validUrl.isWebUri(url) === url; }; module.exports = isValid;
/** @babel */ /** @jsx etch.dom */ const etch = require('etch') const Style = require('./style') export default class View { constructor(init, display) { this.style = new Style(display, {}, () => this.attributesChanged()) this.classes = [] this.initialized = false this.destroyed = false if (in...
exports.rotateRightTwoToneImpl = require('@material-ui/icons/RotateRightTwoTone').default;
/** * The URL for Google Privacy Policy. */ export const GOOGLE_PRIVACY_POLICY = 'https://policies.google.com/privacy'; /** * The URL that is the main landing page for YouTube live streaming and should * have a user's live stream key. */ export const YOUTUBE_LIVE_DASHBOARD_URL = 'https://www.youtube.com/live_dash...
const fs = require('fs'); const { Collection } = require('discord.js'); const Sebedius = require('../Sebedius'); const Util = require('../utils/Util'); const RollTable = require('../utils/RollTable'); const { __ } = require('../utils/locales'); const { CatalogNotFoundError } = require('../utils/errors'); const { SOURCE...
const webpack = require('webpack'); const path = require('path'); const config = { mode: 'production', entry: './src/index.js', target: 'node', output: { path: path.resolve(__dirname, 'bin'), filename: 'bundle.js' } } module.exports = config;
import gql from 'graphql-tag'; export const LOGIN_USER = gql` mutation login($email: String!, $password: String!) { login(email: $email, password: $password) { token user { _id username } } } `; export const ADD_USER = gql` mutation addUser($username: String!, $email: S...
#!/usr/bin/env node var fs = require('fs'); var nearley = require('../lib/nearley.js'); var nomnom = require('nomnom'); var randexp = require('randexp'); var Unparse = require('../lib/unparse.js'); var opts = nomnom .script('nearley-unparse') .option('file', { position: 0, help: "A grammar .js...
{"type":"FeatureCollection", "features": [ ]}
import Vue from 'vue' import QList from '../list/QList.js' import QMarkupTable from '../table/QMarkupTable.js' import VirtualScroll from '../../mixins/virtual-scroll.js' import { listenOpts } from '../../utils/event.js' export default Vue.extend({ name: 'QVirtualScroll', mixins: [ VirtualScroll ], props: { ...
import React from 'react' import '../App.css' export default function Tapparel () { return ( <> <h1 className="tapparel"> T-Apparel</h1> </> ) }