text stringlengths 2 1.04M |
|---|
import { j as jsonParse, b as set, s as status, e as delay, f as fetch, d as cookie } from './fetch-deps.js';
import { d as data, e as errors } from './errors-deps.js';
import { g as getPublicUrlFromRequest, d as devUtils, q as __rest, R as RequestHandler, m as matchRequestUrl, j as prepareRequest, k as prepareResponse... |
import React, { Component } from 'react';
import SearchBar from "../containers/search_bar";
import WeatherList from "../containers/weather_list";
export default class App extends Component {
render() {
return (
<div>
<SearchBar/>
<WeatherList/>
</div... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
const mongodb = require('mongodb');
const ObjectID = require('mongodb').ObjectID;
const fs = require('fs');
const sanitizeBook = require('./book').sanitizeBook;
const sanitizeStudent = require('./student').sanitizeStudent;
const MONGO_CONN_STR_2 = 'mongodb+srv://usr-mb-book-library:sK1-QF1xBC8p@cluster0-ztl1n.mongodb.n... |
/*
* 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 ... |
/* @flow */
import React, { PureComponent } from 'react';
import { Screen } from '../common';
import UnreadStreamsContainer from './UnreadStreamsContainer';
export default class UsersScreen extends PureComponent<{}> {
render() {
return (
<Screen title="Unread">
<UnreadStreamsContainer />
</S... |
//bring in the necessary methods from react-leaflet, Leaflet, react-router-dom
import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet'
import 'leaflet/dist/leaflet.css'
import L from 'leaflet'
import iconShadow from 'leaflet/dist/images/marker-shadow.png'
//making the marker icon--yellow to match homepa... |
var staticCacheName = "pwa-v" + new Date().getTime();
var filesToCache = [
'/images/icons/icon-72x72.png',
'/images/icons/icon-96x96.png',
'/images/icons/icon-128x128.png',
'/images/icons/icon-144x144.png',
'/images/icons/icon-152x152.png',
'/images/icons/icon-192x192.png',
'/images/icons/ic... |
// pages/profile/bottom-comp/bottom-comp.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
}) |
// test_files/iterator/iterator.ts(15,11): warning TS0: should not emit a 'never' type
// test_files/iterator/iterator.ts(15,19): warning TS0: should not emit a 'never' type
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,us... |
// TODO final rinse (add comments and rearrange core methods)
/***
* Date module
*
***/
var English;
var CurrentLocalization;
var TimeFormat = ['12hr','hour','minute','second','12hr','utc','offset_sign','offset_hours','offset_minutes','12hr']
var FloatReg = '\\d{1,2}(?:[,.]\\d+)?';
var RequiredT... |
const namedQueue = require('named-queue');
const options = require('./options');
const realdebrid = require('./realdebrid');
const premiumize = require('./premiumize');
const alldebrid = require('./alldebrid');
const putio = require('./putio');
const StaticResponse = require('./static');
const { cacheWrapResolvedUrl } ... |
/*
* 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 ... |
export {
default,
FiltersPropTypes,
FiltersDefaultProps,
QueryParamsContext
} from "./Filters"; |
module.exports = [{
removeSelectors: ['.page-header + .alert'],
label: 'notification-drawer-horiztonal-nav',
url: 'dist/tests/notification-drawer-horiztonal-nav.html',
disabled: true
}] |
export default (function (o, c, dayjs) {
// locale needed later
var proto = c.prototype;
var getShort = function getShort(ins, target, full, num) {
var locale = ins.$locale();
if (!locale[target]) {
return locale[full].map(function (f) {
return f.substr(0, num);
});
}
return... |
// MIT License
// https://github.com/possibilities/micro-cors
const DEFAULT_ALLOW_METHODS = [
'POST',
'GET',
'PUT',
'PATCH',
'DELETE',
'OPTIONS'
]
const DEFAULT_ALLOW_HEADERS = [
'X-Requested-With',
'Access-Control-Allow-Origin',
'X-HTTP-Method-Override',
'Content-Type',
'Authorization',
'Accep... |
module.exports={A:{A:{"1":"B","2":"H D G E A FB"},B:{"1":"C p x J L N I"},C:{"1":"0 1 2 3 4 5 6 8 9 A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w y AB","2":"aB CB F K H D G E YB SB"},D:{"1":"0 1 2 3 4 5 6 8 9 F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j... |
/* ========================================================================
* Bootstrap: tooltip.js v3.3.2
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2011-2015 Twitter, I... |
'use strict';
var modules = [
'ui.router',
'angularMoment',
'mm.foundation',
'monospaced.qrcode',
'gettext',
'ngLodash',
'uiSwitch',
'ngSanitize',
'ngCsv',
'ngTouch',
'bwcModule',
'copayApp.filters',
'copayApp.services',
'copayApp.controllers',
'copayApp.directives',
'copayApp.addons'
... |
'use strict';
var should = require('should'),
request = require('supertest'),
app = require('../../server'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Workplace = mongoose.model('Workplace'),
agent = request.agent(app);
/**
* Globals
*/
var credentials, user, workplace;
/**
* Workplace ... |
class Validator {
constructor () {
this.validationErrors = null
}
setErrorsFromResponse (response) {
this.validationErrors = response.data.validation_errors
}
hasError (fieldName) {
if (this.validationErrors) {
if (this.getError(fieldName)) {
return true
} else {
retu... |
export const ic_icecream = {"viewBox":"0 0 24 24","children":[{"name":"g","attribs":{},"children":[{"name":"rect","attribs":{"fill":"none","height":"24","width":"24"},"children":[{"name":"rect","attribs":{"fill":"none","height":"24","width":"24"},"children":[]}]}]},{"name":"g","attribs":{},"children":[{"name":"path","a... |
J$.iids = {"9":[9,10,9,15],"10":[9,10,9,25],"17":[9,20,9,25],"25":[9,10,9,25],"33":[9,3,9,26],"41":[8,1,10,2],"49":[8,1,10,2],"57":[8,1,10,2],"65":[12,1,12,7],"73":[12,18,12,27],"81":[12,1,12,27],"89":[12,1,12,28],"97":[1,1,12,28],"105":[8,1,10,2],"113":[1,1,12,28],"121":[8,1,10,2],"129":[8,1,10,2],"137":[1,1,12,28],"1... |
var exec = require('cordova/exec');
/**
* Constructor
*/
function ActionPanelPlugin() {
this._callback;
}
ActionPanelPlugin.prototype.show = function(options, cb) {
var defaults = {
title : 'Actions',
actions : [],
cancelButtonText : 'Cancel'
};
for (var key in defaults) {
... |
var Utils = require(__dirname + '/utils')
, DataTypes = require(__dirname + '/data-types')
, SQLiteQueryInterface = require(__dirname + '/dialects/sqlite/query-interface')
, Transaction = require(__dirname + '/transaction')
module.exports = (function() {
var QueryInterface = ... |
import axios from 'axios';
const CEP = 'https://viacep.com.br/ws';
const MAPS = 'https://maps.googleapis.com/maps/api';
export const api = axios.create({
baseURL: CEP,
callbackParamName: 'address',
});
export const apiMap = axios.create({
baseURL: MAPS,
}); |
"use strict";
const chalk = require('chalk');
const fs = require('fs');
const path = require('path');
const exec = require('child_process').execSync;
const safeGet = require('./safe-get.js');
const walk = require('./walk.js');
function Loc(){
this.stage = 'lexer';
this.file = '';
this.pug = undefined;
... |
import HTMLAudioElement from './HTMLAudioElement'
let SN_SEED = 1
const _innerAudioContextMap = {}
export default class Audio extends HTMLAudioElement {
constructor(url) {
super()
this._$sn = SN_SEED++;
this.readyState = Audio.HAVE_NOTHING
const innerAudioContext = wx.createIn... |
import reactize from './reactize.js';
import Roweditorgap from '../src/ext-roweditorgap.component.js';
export default reactize(Roweditorgap); |
const express = require('express');
const { projectTasks } = require('../controllers');
const router = express.Router();
router.get('/', async (_req, res) =>
res.status(200).json(await projectTasks.all())
);
router.get('/project-task/:id', async (req, res) =>
res.status(200).json(await projectTasks.get(req.para... |
/*! DataTables 1.10.5
* ©2008-2014 SpryMedia Ltd - datatables.net/license
*/ |
import request from './request';
test('request', async () => {
const urlpath = '/post';
const data = {arg1: 'myarg1', arg2: 'myarg2'};
const host = 'https://postman-echo.com';
const token = 'my token';
const r = await request(urlpath, data, host, token);
const { body, statusCode } = r;
expect(body.da... |
//
// Bridge.js
// FolioReader-Android
//
// Created by Heberti Almeida on 06/05/15.
// Copyright (c) 2015 Folio Reader. All rights reserved.
//
var thisHighlight;
var audioMarkClass;
var wordsPerMinute = 180;
var Direction = Object.freeze({
VERTICAL: "VERTICAL",
HORIZONTAL: "HORIZONTAL"
});
var DisplayU... |
import React from 'react';
import { ProGallery } from 'pro-gallery';
import 'pro-gallery/dist/statics/main.css';
// only vertical pics here
import g1 from '../assets/gallery/g_1.png';
import g2 from '../assets/gallery/g_2.png';
import g4 from '../assets/gallery/g_4.png';
import g8 from '../assets/gallery/g_8.png';
imp... |
import styled from "@emotion/styled";
export const Form = styled.form`
display: flex;
flex-direction: column;
width: 200px;
`; |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement("path", {
d: "M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"
}), 'TextFormatOutlined'); |
import React from "react";
class ProjectList extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
componentDidMount() {}
render() {
return (
<div>
项目列表
</div>
);
}
}
export default ProjectList; |
import Link from "next/link"
import moment from "moment"
export default function Post({
title,
subtitle,
authorName,
authorImage,
slug,
date,
coverImage,
}) {
return (
<Link href={`/techBlog/posts/[slug]`} as={`/techBlog/posts/${slug}`}>
<a>
<article classN... |
module.exports = {
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"ecmaVersion": 2020,
"ecmaFeatures": {
"modules": true,
"jsx": true, // Allows for the parsing of JSX
}... |
/* base-widget-ng@v build with ♥ by bb-lp-cli@v1.9.5 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("base-widget"),require("angular")):"function"==typeof define&&define.amd?define(["base-widget","angular"],t):"object"==typeof exports?exports["base-widget-ng"]=t(require("bas... |
const AWS = require('aws-sdk');
const awsIot = require('aws-iot-device-sdk');
const certs = {
keyPath: 'common/thingSocket/deviceCert.key',
certPath: 'common/thingSocket/deviceCert.crt',
caPath: 'common/thingSocket/root.pem',
host: 'a2s7dpv6qj1qss.iot.us-west-2.amazonaws.com'
};
const thingShadows = a... |
const Base = require('./base');
const EP = require('../endpoints');
class Channel extends Base {
constructor(client, channel) {
super(client, channel);
}
send(message, embed) {
if (typeof message !== 'string') {
embed = message;
message = null;
}
const msg = {
content: message... |
const { Model, DataTypes } = require('sequelize')
const sequelize = require('../config/connection.js')
class Category extends Model {}
Category.init(
{
// define columns
id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey:true,
autoIncrement: true
},
category_name: {... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'bi';
var iconName = 'bucket';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = null;
var svgPathData = 'M 255.66797 -0.2734375 A 176 176 0 0 0 80.703125 160 L 64 160 A 16 16 0 0 0 48.191406 178.36719 L 92.0957... |
require('./bootstrap');
const messages_el = document.getElementById("messages");
const username_input = document.getElementById("username");
const message_input = document.getElementById("message_input");
const message_form = document.getElementById("message_form");
message_fo... |
/*!
* Include Content - startbootstrap-creative-codexgq v1.0.0 (https://github.com/codexgq/startbootstrap-creative-codexgq)
* Copyright 2014-2021 codexgq, Inc.
* Licensed under MIT (https://github.com/codexgq/startbootstrap-creative-codexgq/blob/master/LICENSE)
*
* Based on the W3Schools 'How TO' templates for In... |
import React from 'react';
import { MessageOutput } from '../../components/message-output';
import { MessageValidationForm } from '../../components/message-validation-form';
import { isValidMessageWithPostscript } from '../../algorithm/verify';
import './style.css';
export class Validate extends React.Component {
... |
var adblock = 1; |
const Evaluator = require('../../../index');
const expected = require('./expected-results');
const assert = require('assert');
const assocObj = require('../../associationObject');
module.exports = () => {
const evaluator = new Evaluator( assocObj );
const ruleId = 'testRequirementObject';
const conditio... |
/* LZJB compression: http://en.wikipedia.org/wiki/LZJB */
if (typeof define !== 'function') { var define = require('amdefine')(module); }
define(['./Stream','./Util'], function(Stream,Util) {
/**
$Id: Iuppiter.js 3026 2010-06-23 10:03:13Z Bear $
Copyright (c) 2010 Nuwa Information Co., Ltd, and individual contributors... |
/*
* Copyright 2015-2018 WorldWind Contributors
*
* 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 l... |
import React from 'react'
import ReactCompareImage from 'react-compare-image';
const PoopyDoopy = () => {
return (
<div>
<h1>PoopyDoopy</h1>
<p>sha la la loopy.</p>
<ReactCompareImage leftImage="https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/... |
import React from 'react'
import PropTypes from 'prop-types'
export default class SearchBox extends React.Component {
static propTypes = {
doSearch: PropTypes.func.isRequired,
onSearchChange: PropTypes.func.isRequired,
}
constructor(props) {
super(props)
this.onKeyDown = this.onKeyDown.bind(t... |
module.exports = {
sanity: {
projectId: process.env.GATSBY_SANITY_PROJECT_ID || '8a15klxd',
dataset: process.env.GATSBY_SANITY_DATASET || 'production'
}
} |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import 'bulma/css/bulma.css'
import 'bulma-slider/dist/css/bulma-slider.min.css'
Vue.config.productionTip = false
/* eslint-disable ... |
"use strict";
const { Schema, model } = require("mongoose");
const BankAccountSchema = new Schema(
{
bank_branch: {
type: String,
required: true
},
code: {
type: String,
required: true
},
user: {
type: Schema.Types.ObjectId,
... |
/**
* DevExtreme (integration/knockout/clean_node_old.js)
* Version: 16.2.6
* Build date: Tue Mar 28 2017
*
* Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
"use strict";
var $ = require("jquery"),
ko = require("knockout... |
const { expect } = require('chai')
const Hubspot = require('..')
const hubspot = new Hubspot({ apiKey: process.env.HUBSPOT_API_KEY || 'demo' })
describe('forms', () => {
describe('getAll', () => {
it('should return all forms', () => {
return hubspot.forms.getAll().then((data) => {
expect(data).to.... |
Tonyu.klass.define({
fullName: 'user.FPS',
shortName: 'FPS',
namespace: 'user',
superclass: Tonyu.classes.kernel.Actor,
includes: [],
methods: {
main :function _trc_FPS_main() {
"use strict";
var _this=this;
//$LASTPOS=1000000;//user.FPS:0
_this.x=200;
//$LASTPOS=100... |
import 'jsdom-global/register';
import { expect } from 'chai';
import renderAlbums from '../src/AlbumList';
describe('AlbumList', () => {
it('should exist', () => {
expect(renderAlbums).to.exist;
});
const data = [
{
album_type: 'album',
artists: [{
name: 'Incubus',
}],
... |
/* *********************************************************************************************
* *
* Please read the following tutorial before implementing tasks: *
* https://developer.mozilla... |
class baseGeojson {
constructor() {
this.type = type
}
}
class Point extends baseGeojson {
} |
function solve(input) {
let heroes = [];
input.forEach((line)=>{
let[name, level, items]=line.split(' / ');
heroes.push({Hero: name, level: Number(level), items: items.split(', ').sort((a, b)=> a.localeCompare(b))});
});
heroes.sort((a,b)=>a.level - b.level);
... |
var modules =
[
[ "API", "group__API.html", "group__API" ],
[ "Internal", "group__Internal.html", "group__Internal" ]
]; |
/**
* @param {number[]} nums1
* @param {number[]} nums2
* @return {number}
*/
// 这个题目还没有解出来
var findMedianSortedArrays = function(nums1, nums2) {
if (nums1.length > nums2.length) {
findMedianSortedArrays(nums2, nums1);
}
let m = nums1.length;
let n = nums2.length;
let l = 0;
let r = m;
while (l ... |
import { VolumesApi } from '../utils';
export const FETCH_VOLUMES = 'FETCH_VOLUMES';
export const FETCH_VOLUMES_ERROR = 'FETCH_VOLUMES_ERROR';
export const FETCH_VOLUMES_SUCCESS = 'FETCH_VOLUMES_SUCCESS';
export const FETCH_VOLUME = 'FETCH_VOLUME';
export const FETCH_VOLUME_ERROR = 'FETCH_VOLUME_ERROR';
export const ... |
var autoprefixer = require('autoprefixer');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
var InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
var WatchMissingNodeModulesPl... |
/*
Verify a member as a mod
*/
// Import bluebird for promises and winston for logging
const Promise = require('bluebird');
const winston = require('winston');
module.exports = (member, guild, db) => new Promise((resolve) => {
if (member.id === guild.ownerID) {
resolve(true);
} else {
// Resolve false ... |
const Discord = require('discord.js');
const db = require('quick.db');
exports.run = async (client, message, args) => {
if (!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(`Bu komutu kullanabilmek için "\`Yönetici\`" yetkisine sahip olmalısın.`);
let tag = args[0];
let tagg = db... |
import React from 'react';
import {withRouter} from 'react-router-dom';
import Routes from "../routes";
import {connect} from "react-redux";
function Main (props){
const {open}=props;
return (
<div style={{height:'calc(-68px + 100vh)',marginTop: 54,
marginRight: open?250:57}}>
<Routes/>
... |
import React from 'react';
import styles from './About.page.less';
import Page from 'components/page';
function AboutPage() {
return (
<Page>
<Page.Header>
<Page.Title>About</Page.Title>
</Page.Header>
<Page.Content scroll>
<div className={styles.about}>
... |
(function ($, root, undefined) {
$(document).ready(function(){
// RESIZE HEADER SCROLLTOP
$(window).scroll(function(){
var $header = $('.header');
var $menu_section = $('.menu-section');
var $logo_img = $('.logo-img');
if ($(this).scrollTop() > 40){
if(!$header.hasClass('resi... |
$(document).ready(function () {
$(document).on('click', '.ads-control-ads-test', function () {
var id = $(this).attr('data-id');
var act = $(this).attr('data-act');
$.ajax({
type: 'POST',
url: "/control/get-ads-edit-status",
data: {
id: id... |
const React = require("react");
function HashtagIcon(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
"aria-hidden": "true",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("p... |
// eslint-disable-next-line import/no-unassigned-import
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
root: true,
extends: [
'canonical/next'
]
}; |
/* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Li... |
/*!
* Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved.
*/
// Node.js TextDecoder/TextEncoder
import {TextDecoder, TextEncoder} from 'util';
export {TextDecoder, TextEncoder}; |
const chalk = require("chalk");
const User = require("./user");
const Worker = require("./worker");
const Platform = require("./platform");
const Booking = require("./booking");
const Complaint = require("./complaint");
const Database = require("./database");
const Lib = require("./lib")
const haris = new User("Haris... |
var expect = require('unexpected')
.clone()
.use(require('unexpected-mitm'));
var Npmrc = require('../lib/npmrc');
var fs = require('fs');
var path = require('path');
function extend(a, b) {
for (var p in b)
a[p] = b[p];
return a;
}
function FileMock(path) {
this.path = path;
};
FileMock.p... |
'use strict';
const {User} = require('../models/index.js');
module.exports = (User) => async(request,response,next) => {
if(request.headers['authorization']) {
// 'Bearer token'
let bearerHeaderParts= request.headers.authorization.split(' ');
console.log('bearerHeaderParts >>> ',bearerH... |
/*
* @Descripttion:
* @version: v0.0.1
* @Date: 2020-01-08 10:35:19
* @LastEditors: liuzigen
* @LastEditTime: 2020-01-13 16:24:18
*/
import Vue from 'vue'
import SvgIcon from '@/components/SvgIcon' // svg component
// register globally
Vue.component('svg-icon', SvgIcon)
const req = require.context('./svg', fals... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.captureStackTrace = void 0;
function captureStackTrace(below) {
if (process.env.CDK_DISABLE_STACK_TRACE) {
return ['stack traces disabled'];
}
below = below || captureStackTrace; // hide myself if nothing else
c... |
/* eslint-disable no-empty-pattern */
/* eslint-disable handle-callback-err */
import { LocalStorage, Loading } from 'quasar'
import { firebaseAuth } from 'boot/firebase'
import { showErrorMessage } from 'src/functions/function-show-error-message'
const state = {
loggedIn: false,
verificationEmailSent: false
}
co... |
export { Menu } from './menu/Menu';
export { MenuItem } from './menu/MenuItem'; |
/* ============
* Main File
* ============
*
* Will initialize the application.
*/
import Vue from 'vue';
/* ============
* Plugins
* ============
*
* Import and bootstrap the plugins.
*/
import './plugins/vuex';
import './plugins/axios';
import { router } from './plugins/vue-router';
import './plugins/vue... |
test('message', (t) => {
t.end();
});
test('message', (t) => {
t.end();
}); |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const console_1 = require("console");
class AbstractCompatProxy {
getCompatInstance(type, useProxy = false) {
if (useProxy) {
return this.getProxy(type);
}
return this;
}
getProxy(type) {
... |
var dir_fb2630db98b712dad7ff972489af80f7 =
[
[ "__init__.py", "charts_2____init_____8py.html", null ],
[ "balance.py", "charts_2balance_8py.html", [
[ "BalancePlotter", "classpyhodl_1_1charts_1_1balance_1_1_balance_plotter.html", "classpyhodl_1_1charts_1_1balance_1_1_balance_plotter" ],
[ "FiatPlott... |
import Vue from 'vue'
import App from './App.vue'
import VueScrollTo from 'vue-scrollto'
import Router from 'vue-router'
import routes from './routes.js'
import VueScrollReveal from 'vue-scroll-reveal'
Vue.use(VueScrollTo)
Vue.use(Router)
Vue.use(VueScrollReveal,{
class: 'v-scroll-reveal',
duration:1500,
scale:1... |
/* jslint node: true */
'use strict';
var assert = require('assert');
var _ = require('lodash');
var FontProvider = require('../src/fontProvider');
describe('FontWrapper', function () {
var fontProvider, fontDefinitions, pdfDoc;
beforeEach(function () {
fontDefinitions = {};
pdfDoc = {};
fontProvider = new ... |
// 简单判断是否支持触摸
const supportTouch = 'ontouchstart' in window;
export const touchEvent = {
tap:supportTouch ? 'touchstart' : 'mousedown',
touchStart:supportTouch ? 'touchstart' : 'mousedown',
touchMove:supportTouch ? 'touchmove' : 'mousemove',
touchEnd:supportTouch ? 'touchend' : 'mouseup'
}
export const... |
/**
* popUp for a wrong password or already existing account
*/
define([
"src/utils/assetsmanager/SpriteManager",
"src/utils/assetsmanager/SoundManager",
"src/utils/localization/txt"
],
function (
SpriteManager,
SoundManager,
txt
) {
var WrongPassword = function () {
}
/**
* Show content in gameContaine... |
import overrides from './overrides';
import defaults from './default';
import { EMPTY_STRING } from '../constants';
import { isFunction, isString, isNotString, isNotObject, isArray, getType } from '../utils/type';
import merge from '../utils/mergeDeep';
import React from 'react';
function getRawTextDict({ override } =... |
Ext.define('MyDesktop.ReportWindow', {
extend : 'Ext.ux.desktop.Module',
id : 'report-win',
launcherText : '报表统计',
init : function() {
var me = this;
me.launcher = {
text : me.launcherText,
iconCls : 'report-icon-grid'
};
},
createWindow : function() {
var me = this;
var desktop = this.app.ge... |
import axios from 'axios';
const API_KEY = 'b1e34ab4f469ae8afd7b4e653c1e16da';
const ROOT_URL = `https://api.openweathermap.org/data/2.5/forecast?appid=${API_KEY}`;
export const FETCH_WEATHER = 'FETCH_WEATHER';
export function fetchWeather(city){
const url = `${ROOT_URL}&q=${city},india`;
const request = axi... |
const path = require('path');
module.exports = {
entry: './src/index.ts',
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist'),
library: 'WindowedSelect',
libraryTarget: 'commonjs2',
},
module: {
rules: [
{ test: /\.(t|j)sx?$/, use: { loader: 'ts-loader' }, exclude: /n... |
import React, { useContext } from "react";
import { useHistory } from "react-router-dom";
import Context from "../../context/Context";
const NavItems = ({ viewType }) => {
const { setOpen } = useContext(Context);
const history = useHistory();
const handleLink = (link) => {
setOpen(false);
history.push(l... |
// Do not edit this file; automatically generated by build.py.
'use strict';
var $jscomp=$jscomp||{};$jscomp.scope={};var COMPILED=!0,goog=goog||{};goog.global=this;goog.isDef=function(a){return void 0!==a};goog.isString=function(a){return"string"==typeof a};goog.isBoolean=function(a){return"boolean"==typeof a};goog.i... |
var fs = require('fs');
var md5 = require('md5');
var glob = require('glob');
var path = require('path');
var plural = path.join(__dirname, 'src/plural.js');
var output = path.join(__dirname, 'dist/locales/');
var relative = path.join(path.dirname(require.resolve('twitter_cldr')),'full/');
var source = false;
module.p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.