text stringlengths 2 1.04M |
|---|
import styles from './template.css';
import template from './template';
import AoflElement from '@aofl/web-components/aofl-element';
/**
* @summary IconTwotoneAnnouncementElement
* @class IconTwotoneAnnouncementElement
* @extends {AoflElement}
*/
class IconTwotoneAnnouncementElement extends AoflElement {
/**
... |
/**
* List all Pokemon
*/
module.exports = [
"bulbasaur",
"ivysaur",
"venusaur",
"charmander",
"charmeleon",
"charizard",
"squirtle",
"wartortle",
"blastoise",
"caterpie",
"metapod",
"butterfree",
"weedle",
"kakuna",
"beedrill",
"pidgey",
"pidgeotto... |
(function($){
/**
* For images lacking explicit dimensions and needing them, try to add them.
*/
var restore_dims = function() {
$( 'img[data-recalc-dims]' ).each( function() {
if ( this.complete ) {
var width = this.width,
height = this.height;
if ( width && height ) {
$( this ).attr( {
... |
//# sourceMappingURL=app.min.js.map |
"use strict";
var models = require('../models');
var draft = require('./draftFunctions');
var draftOrder = [
[0,1,2,3,4,5],
[5,4,3,2,1,0],
[4,5,0,1,2,3],
[3,2,1,0,5,4],
[2,3,4,5,0,1],
[1,0,5,4,3,2],
[0,1,2,3,4,5],
[5,4,3,2,1,0],
[4,5,0,1,2,3],
[3,2,1,0,5,4]
];
var draftPositions = [{},{},{},{},{}... |
const { compareAsc, format } = require ('date-fns')
console.log(format(new Date(2014, 1, 11), 'yyyy-MM-dd'))
//=> '2014-02-11'
const dates = [
new Date(1995, 6, 2),
new Date(1987, 1, 11),
new Date(1989, 6, 10),
]
dates.sort(compareAsc)
//=> [
// Wed Feb 11 1987 00:00:00,
// Mon Jul 10 1989 00:00:00,
// S... |
import { React, useState, useEffect } from 'react';
import BootstrapTable from 'react-bootstrap-table-next';
import paginationFactory from 'react-bootstrap-table2-paginator';
import { Table, Button, Modal } from 'react-bootstrap';
import '../../css/adminpage.css'
import 'bootstrap/dist/css/bootstrap.min.css';
import 'r... |
/**
* for
* PrimitiveCollection
* BillboardCollection
* LabelCollection
* PointPrimitiveCollection
* PolylineCollection
*/
import cmp from '../virtualCmp'
import mergeDescriptors from '../../utils/mergeDescriptors'
import mixinPickEvent from '../event/mixinPickEvent'
const methods = {
async mount () {
con... |
const { remote } = require('electron');
// If allowing remote module then tween methods can be called from
// renderer process. This is NOT advisable though and common practice
// of disabling remote access and requesting Window Changes via IPC
// events is recommended.
const BrowserWindow = remote.BrowserWindow;
cons... |
class Calculator {
constructor() {
this.operand1
this.operand2
this.operation
}
setOperand1(_operand1) { this.operand1 = _operand1 }
setOperand2(_operand2) { this.operand2 = _operand2 }
getOperand1() { return this.operand1 }
getOperand2() { return this.operand2 }
set... |
import reactize from './reactize.js';
import EWCLoadmask from '@sencha/ext-web-components/src/ext-loadmask.component.js';
export default reactize(EWCLoadmask); |
const dummy = {
graphqlUrl: 'https://localhost:8000/graphql/',
};
export const customFetch = async (method, query, headers = {}) => {
const res = await window.fetch(dummy.graphqlUrl, {
method,
headers: {
Authorization: 'bearer ' + window.localStorage.getItem('jwt'),
'Cont... |
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransit... |
import React,{ useState, useEffect, useReducer, useMemo } from 'react';
import { useHistory, useLocation } from 'react-router-dom';
import { vibrate, morphologicalAPIClient, wordCount, spawnNotification } from '../common/util';/* morphologicalAnalysis */
import MIC from '../assets/img/mic.png';
import STOP from '../a... |
const fs = require('fs-extra');
const pathManager = require('./path-manager');
function updateProjectConfig(projectPath, label, data) {
let projectConfig;
const projectConfigFilePath = pathManager.getProjectConfigFilePath(projectPath);
if (fs.existsSync(projectConfigFilePath)) {
projectConfig = JSON.parse(fs... |
const path = require('path');
const chalk = require('chalk');
// @see https://github.com/yeoman/generator
const Generator = require('yeoman-generator');
// @see https://github.com/gridonic/log
const {info, success, error} = require('@gridonic/log');
// Import supported plugins
const plugins = require('./plugins');
... |
const express = require('express')
const { server: configuration } = require('./config')
const api = require('./api')
const app = express()
app.use('/', api)
app.listen(configuration.port, () => {
console.log('Server Ready')
})
module.exports = app |
var Changepassword=function(){
var changepass=function(){
var form = $('#changepassword');
var rules = {
oldpassword: {required: true},
newpassword: {required: true},
confirmpassword: {required: true,equalTo: "#newpassword"},
};
handleFormValidate(fo... |
import React, { useContext } from "react";
import Fade from "react-reveal/Fade";
import { context } from "../../store";
function Pagination(props) {
const {
pages,
nextChapterHandler,
previousChapterHandler,
currentPageHandler,
} = useContext(context);
const pageElements = [];
if (pages) {
... |
ig.module(
'game.entities.levelgalaxyselect'
)
.requires(
'game.entities.levelscene'
)
.defines(function(){
EntityLevelgalaxyselect = EntityLevelscene.extend({
name: 'Galaxyselect',
//problemsInLevel: ['41','42','43','44','45','46'],
//problemSolvedNeeded: 5,
//nextLevel: 'Spaceship',
cutscene: {
},... |
(function(b,a){typeof exports==="object"&&typeof module!=="undefined"&&typeof require==="function"?a(require("../moment")):typeof define==="function"&&define.amd?define(["moment"],a):a(b.moment)}(this,function(a){var b=a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nov... |
var express = require('express');
var app = express();
var port = process.env.PORT || 3000;
var staticAsset = require('static-asset');
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');
app.use(require('connect-redirecthost').redirectHost('www.devopsbookmarks.com'));
app.use(require('morgan')('sho... |
/* Parallax Images Scroll - by
╱╱╱╱╱╱╱╱╱╱╭╮╭╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭╮
╱╱╱╱╱╱╱╱╱╭╯╰┫┃╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱┃┃
╭━━┳╮╱╭┳━╋╮╭┫╰━┳┳━━╮╭━━┳━━┳━╮╭━━┫╰━┳━━┳━━━╮
┃╭━┫┃╱┃┃╭╮┫┃┃╭╮┣┫╭╮┃┃━━┫╭╮┃╭╮┫╭━┫╭╮┃┃━╋━━┃┃
┃╰━┫╰━╯┃┃┃┃╰┫┃┃┃┃╭╮┃┣━━┃╭╮┃┃┃┃╰━┫┃┃┃┃━┫┃━━┫
╰━━┻━╮╭┻╯╰┻━┻╯╰┻┻╯╰╯╰━━┻╯╰┻╯╰┻━━┻╯╰┻━━┻━━━╯
╱╱╱╭━╯┃////////////////////////////////////... |
var EventHandler = {
internalEvents: [
'statusScans',
'statusHostiles',
'statusMembers',
'statusEvents',
'statusSelf',
'statusFleet',
'memberAccepted',
'memberJoined',
'memberLeft',
'memberTimedOut',
'memberUpdated',
'updateSystemMap'
],
dispatchEvents: function (... |
const footerSiteMapData = {
en: [
{
url: '/themes/permits-tickets',
text: 'Permits and tickets',
id: 'VGhlbWVOb2RlOjE=',
description: '',
topics: [
{
url: '/topics/building-permits',
text: 'Building permits',
description: '',
services: ... |
/**
* @license
* Copyright 2017 The FOAM Authors. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _accounts = require('./accounts');
Object.defineProperty(exports, 'AccountsResource', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_accounts).default;
}
});
var _blocks = require('./blocks');
Obj... |
import {observable, action} from 'mobx'
class Store {
@observable activeCourse = undefined
@observable activeSubject = undefined
@observable
courses = [
{id: 'ASE-1000', name: 'Hydrauliikan perusteet'},
{id: 'ASE-6030', name: 'Tietoverkkopohjainen automaatio'},
{id: 'ASE-6050', name: 'Hydrauliikan... |
// @flow
import React from 'react'
import { createRefetchContainer, graphql } from 'react-relay/compat'
import DataTable from 'shared/DataTable'
import Link from 'found/lib/Link'
import type { Institutes_viewer } from './__generated__/Institutes_viewer'
type Props = {
viewer: Institutes_viewer,
relay: $FlowFixMe
}... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Diagnostic Radiologist", "CONTRIBUTION AMOUNT (F3L Bundled)": "500.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Wayne Radiologists PA", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "110 Veranda Pl", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FE... |
const routerBase = process.env.DEPLOY_ENV === 'GH_PAGES' ? {
router: {
base: '/CfB-websiteV3/'
}
} : {}
export default {
mode: 'spa',
/*
** Headers of the page
*/
head: {
title: process.env.npm_package_name || '',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=de... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["addaddress"],{"2d3d":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-ress"},[a("nav-bar",{attrs:{title:"新增地址"},on:{onLeft:e.goBack}}),a("van-address-edit",{attrs:{"area-list":e... |
exports.vuessr = {
enable: true,
package: 'egg-view-vue-ssr'
};
exports.mysql= {
enable: true,
package: 'egg-mysql',
}; |
import { setLastN } from '../../base/conference';
import { setVideoMuted } from '../../base/media';
import {
_SET_APP_STATE_LISTENER,
_SET_BACKGROUND_VIDEO_MUTED,
APP_STATE_CHANGED
} from './actionTypes';
/**
* Sets the listener to be used with React Native's AppState API.
*
* @param {Function} listene... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const load_assets_1 = __importDefault(require("../../load-assets"));
const http_1 = require("../../utils... |
layui.use(['form', 'layedit', 'laydate', 'element', 'layer'], function(){
var form = layui.form
,layer = layui.layer;
});
var selfid = "",conThisId = "" ;//树节点id, 工序id
//组织结构树
var setting = {
view: {
showLine: true, //设置 zTree 是否显示节点之间的连线。
selectedMulti: false, //设置是否允许同时选中多个节点。
... |
/**
* @param {JSEvent} event
*
* @protected
*
* @properties={typeid:24,uuid:"1BB3A357-5111-4485-AB27-3061D648C52F"}
*/
function onUpdateRowHeight(event) {
if (elements.groupingtable.responsiveHeight == 300) {
elements.groupingtable.responsiveHeight = 500;
} else {
elements.groupingtable.responsiveHeight = ... |
const _ = require("lodash");
const ExtendableError = require("es6-error");
class DiSchemaError extends ExtendableError {
constructor(file, schemaError) {
const lastError = _.last(schemaError);
const message = `Invalid services definition in ${file ? `file ${file.toString()}` : "object"} at path "${... |
const express = require('express');
const fs = require('fs');
const cors = require('cors');
const PORT = process.env.PORT || 3000;
const app = express();
app.use(cors());
app.use('/images', express.static(`${__dirname}/public/assets/images`));
app.use('/assets', express.static(`${__dirname}/public`));
app.set('view ... |
/*
* 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... |
define(["./jsgui-lang-essentials", './data-object', './collection', './database'], function(jsgui, Data_Object, Collection, Database) {
// Takes a database that is constructed using the easy syntax, and then creates the normalized database class and classes needed for it.
// Not sure that it would really work in me... |
import { promisifyAll } from 'bluebird';
import azure from 'azure-storage';
import logger from './libs/logger';
import fs from './libs/fs';
const envalid = require('envalid');
const debug = require('debug')('dt');
// validate enviroment variables
// STORAGE_NAME and STORAGE_KEY are required and a string
const { str }... |
import React, { Component } from 'react'
import firebase from '../../firebase'
class index extends Component {
componentDidMount = async() => {
// const snapshot = await firebase.firestore().collection('Cocktail').get()
// console.log(snapshot.docs.map(doc => (doc.data())))
// return snapshot.docs.map... |
const { quickSort } = require('../algorithms/quickSort');
const data = [1, 4, 5, 6, 45, 4, 3, 42, 4];
const insData = [1, 3, 4, 4, 4, 5, 6, 42, 45];
const descData = [45, 42, 6, 5, 4, 4, 4, 3, 1];
const invalidArray = [1, 3, 'fef', {name: 'quick'}];
describe('Test QuickSort', () => {
test('Invalid array', () => {
... |
/*localStorage*/
(function(window,localStorage,undefined){
var LS = {
set : function(key, value){
//在iPhone/iPad上有时设置setItem()时会出现诡异的QUOTA_EXCEEDED_ERR错误
//这时一般在setItem之前,先removeItem()就ok了
if( this.get(key) !== null )
this.remove(key);
localStorage.setItem(key, value);
... |
#!/usr/bin/env node
var _ = require('underscore');
var async = require('async');
var email = require('emailjs');
var fs = require('fs');
var path = require('path');
var program = require('commander');
const Mustache = require('mustache');
var scrawl = require('./www/scrawl');
var Twitter = require('twitter');
var wp =... |
function About () {
return(
<div className="container">
<h1>About</h1>
</div>
);
}
export default About; |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @module
* @description
* Entry point for all public APIs of the animation package.
*/
/**
* @description
*... |
export { createGlobalHeader } from './global_header'; |
/*
A JavaScript module which includes several common algorithms.
*/
const path = require('path');
exports.bubbleSort = require(path.join(__dirname, 'algorithms', 'bubbleSort'));
exports.linearSearch = require(path.join(__dirname, 'algorithms', 'linearSearch'));
exports.quickSort = require(path.join(__dirname, 'algori... |
// tslint:disable
// @ts-nocheck
import React from 'react';
import { ChromePicker } from 'react-color';
import { DropdownList } from 'react-widgets';
import S3SingleFileUploaderWithPreviewAndFileNameCapability from '../../../../utilities/S3SingleFileUploaderWithPreviewAndFileNameCapability';
class SearchNavigationSett... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("omi"));
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["MImageList"] = factory(... |
/* global describe it beforeEach afterEach */
import EmailTemplate from '../src/email-template'
var expect = require('chai').expect
var fs = require('fs')
var path = require('path')
var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var templatePath = path.join(__dirname, '..', '.test-templates', 'test-templ... |
let deliveryCount;
let deliveryPrice;
deliveryCount = prompt('Укажите страну в которую необходимо осуществить доставку');
if (deliveryCount === null || !isNaN(deliveryCount)) {
console.log('Название страны указано в неправильном формате');
}
else {
deliveryCount = deliveryCount.charAt(0).toUpperCase() + deliveryCo... |
/**
* @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#... |
'use strict';
var throwErr = ((err) => {
throw err;
});
var buildErr = ((message) => {
return new Error(message);
});
exports.throwErr = throwErr;
exports.buildErr = buildErr;
/* No side effect */ |
Template.main.events({
"submit form": function(event){
event.preventDefault();
pay();
}
});
pay = function() {
Session.set('paymentInProgress', null);
Session.set('paymentInProgress', true);
console.log('braintree.api.Client', Session.get('btClientToken'));
var client = new braintree.api.Client({... |
import { get } from 'lodash';
export default (server, uiExports, xpackMainPlugin) => {
const config = server.config();
const cookieName = config.get('xpack.security.cookieName');
const login = uiExports.apps.byId.login;
server.route({
method: 'GET',
path: '/login',
handler(request, reply) {
... |
<% if (modules !== 'inject') { -%>
<% include modules/filter.spec.header.js %>
<% } -%>
describe('<%- filterName %> filter', () => {
<% if (modules === 'inject') { -%>
<% include inject/filter.spec.js %>
<% } else { -%>
<% include modules/filter.spec.js %>
<% } -%>
it('should...', angular.mock.inject(function (<%- fi... |
const mongoose = require('mongoose')
const Schema = mongoose.Schema
const tagSchema = new Schema({
name: String
}, { versionKey: false})
tagSchema.set('toJSON', {getters: true, virtuals: true})
tagSchema.set('toObject', {getters: true, virtuals: true})
module.exports = mongoose.model('tag', tagSchema) |
let defaultState = {
filter: [],
results: [],
result: [],
searchVars: {
category: '',
keyword: '',
address: '',
addressLatLng: {},
radius: 50000,
},
serviceDetails: [],
noSearchVars: false,
totalResults: 0,
itemsLoading: false,
hasSearched: false,
};
const mainReducer = (state =... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
;
/**
* @return {?}
*/
function noNg() {
throw new Error('AngularJS v1.x is not loaded!');
}
var /** @type {?} ... |
/**
* Copyright 2018 Google Inc. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
import optionAPI from '../api/option';
import env from '../core/constants';
import random from './random';
function getSubAttribute(obj, dotSeparatedKey) {
const keyElements = dotSeparatedKey.split('.');
while (keyElements.length) {
const prop = keyElements.shift();
if (!obj[prop]) {
break;
}
... |
import React, {useRef, useState, useEffect, useLayoutEffect} from 'react';
import Carousel, {ParallaxImage} from 'react-native-snap-carousel';
import {
View,
Text,
Dimensions,
StyleSheet,
TouchableOpacity,
Platform,
} from 'react-native';
import {width, height} from '../config/globalStyles';
const {width:... |
/* eslint-disable */
const Test = (
<div>
<TestComponent
shape="square"
shouldDisplayAlert={false}
errorType="moderate"
/>
<TestComponent
shape="square"
shouldDisplayAlert={true}
errorType="critical"
/>
<TestComponent shape="circle" errorType="severe" />
<T... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import classnames from 'classnames';
import { UserMenu } from '../';
import logo from '../../assets/logo.svg';
import logoSm from '../../assets/logo-sm.svg';
import './style.scss';
function Header(props) {
const ... |
module.exports = function check(str, bracketsConfig) {
let brackets = bracketsConfig.map(item => item.join(''));
for (let i = 0; i < brackets.length;) {
if (str.indexOf(brackets[i]) !== -1) {
str = str.replace(brackets[i], '');
i = 0;
} else {
i++;
}
};
return !str;
} |
const fs = require("fs"),
path = require("path-extra"),
lojban = require("lojban");
const input = path.join(__dirname, "../zasni/", "eikatna.txt");
const output = path.join(__dirname, "../zasni/","sekatna.txt");
fs.writeFileSync(output, '');
fs.readFileSync(input).toString().split('\n').forEach(function (... |
/****************************************************************************
Copyright (c) 2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 Sof... |
/**
* Copyright 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react... |
/**
* Module dependencies
*/
var express = require('express'),
bodyParser = require('body-parser'),
methodOverride = require('method-override'),
errorHandler = require('error-handler'),
morgan = require('morgan'),
routes = require('./routes'),
api = require('./routes/api'),
http = require('http'),
pa... |
import { presenceStatus } from '@ringcentral-integration/commons/enums/presenceStatus.enum';
import dndStatus from '@ringcentral-integration/commons/modules/Presence/dndStatus';
export default {
[presenceStatus.available]: "Disponível",
[presenceStatus.busy]: "Ocupado",
[presenceStatus.offline]: "Invisível",
[d... |
const downloader = (prefix, botName, ownerName) => {
return `
*〈 ${botName} 〉*
*〈 BOT INFO 〉*
➤ *Prefixo* : 〈 ${prefix} 〉
➤ *Criador* : DicoSz @fernando.fch
*〈 Sobre 〉*
➔ *${prefix}info* (error)
• *Desc* : Mostrar detalhes do bot
➔ *${prefix}blocklist*
• *Desc* : Mostrar usuário bloqueado
➔ *${... |
var searchData=
[
['query_0',['Query',['../class_gds_1_1_messages_1_1_data_1_1_query_context_descriptor.html#ae8793e87bc431e9bbf3622cd9145ab07',1,'Gds::Messages::Data::QueryContextDescriptor']]],
['querycontextdescriptor_1',['QueryContextDescriptor',['../class_gds_1_1_messages_1_1_data_1_1_query_context_descriptor.... |
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n.__locale__zh_CN=n.__locale__zh_CN||{},n.__locale__zh_CN.js=e())}(this,function(){"use strict";var n={after:function(n,e){var t=e[0];return" "+n+"必须在"+t+"之后"},alpha_dash:function(n){r... |
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'@vue/standard',
'prettier',
'prettier/vue'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': ... |
module.exports = {
jwtSecret: process.env.JWT_SECRET || "the secret is safe here"
} |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["styles"], {
/***/
"./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./src/styles.css":
/*!*********************************************************************************************************************!*\
!... |
import Post from '../models/post';
import cuid from 'cuid';
import slug from 'limax';
import sanitizeHtml from 'sanitize-html';
/**
* Get all posts
* @param req
* @param res
* @returns void
*/
export function getPosts(req, res) {
Post.find().sort('-dateAdded').exec((err, posts) => {
if (err) {
res.sta... |
import React, {Component} from 'react';
import {HashRouter as Router, Route, Switch} from 'react-router-dom';
import 'bootstrap/dist/css/bootstrap.min.css';
import './App.css';
import NavBar from './components/layout/NavBar';
import Dashboard from './components/layout/Dashboard';
import Pokemon from './components/pokem... |
/* eslint-env jest */
/* global browserName */
import cheerio from 'cheerio'
import { existsSync, readFileSync } from 'fs'
import {
nextServer,
renderViaHTTP,
runNextCommand,
startApp,
stopApp,
waitFor,
} from 'next-test-utils'
import webdriver from 'next-webdriver'
import {
BUILD_MANIFEST,
PAGES_MANIFE... |
import React from 'react'
import PropTypes from 'prop-types'
import {connect} from 'react-redux'
import {Link} from 'react-router-dom'
import {logout} from '../store'
import {Login, Signup} from './auth-form'
const Navbar = ({handleClick, isLoggedIn}) => (
<div id="navBar">
<h1 id="headline">
{' '}
<... |
export default {
delete: {
label: '删除',
icon: 'delete'
},
export: {
label: '导出数据',
icon: 'export'
},
share: {
label: '分享',
icon: 'share-alt'
}
}; |
import React, { Component } from "react";
import ContactForm from "./contactForm/ContactForm";
import ContactList from "./contactList/ContactList";
import Filter from "./filter/Filter";
import css from "./App.module.css";
import { TransitionGroup, CSSTransition } from "react-transition-group";
import popTransition from... |
describe("Database API - Batch Script", function () {
before(function () {
return CREATE_TEST_DB(this, 'testdb_batch_script')
.bind(this)
.then(function () {
return USE_ODB("testdb_batch_script").open();
}).then(function (db) {
this.db = db;
})
});
after(function () {
... |
hookConstructor(function(constructor) {
return function() {
var loader = this;
constructor.call(loader);
if (typeof window != 'undefined' && typeof document != 'undefined' && window.location)
var windowOrigin = location.protocol + '//' + location.hostname + (location.port ? ':' + location.port : ''... |
const Discord = require('discord.js');
const rdb = require('quick.db');
const pdb = rdb.table('teyitler');
const moment = require("moment");
const config = require("../config.json")
exports.run = async (client, message, args) => {
if(![config.KayıtYetkilisi].some(role => message.author.roles.cache.get(role)) && (!mes... |
const Validator = require('validator');
const isEmpty = require('./is-empty');
module.exports = function validateRegisterInput(data) {
let errors = {};
data.name = !isEmpty(data.name) ? data.name : '';
data.email = !isEmpty(data.email) ? data.email : '';
data.password = !isEmpty(data.password) ? data.password... |
import React, { Component,useState } from 'react';
import { ListGroup,Navbar,Nav,Form,FormControl,Button, Container,Image,NavDropdown } from 'react-bootstrap'
import { FaFacebookF,FaTwitter,FaLinkedinIn,FaInstagram,FaYoutube,FaPhoneAlt,FaEnvelope } from 'react-icons/fa'
import { Link, StaticQuery, graphql } from 'gatsb... |
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/... |
// 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 router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import axios from 'axios'
import wx from 'we... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const pkg = require('../package.json');
const versions = require('./versions.json');
module.exports = {
title: 'MikroORM',
tagline:... |
/**
* @description SessionStore 存储类
*/
define(['cBase', 'cAbstractStorage'], function (cBase, cAbstractStorage) {
/**
* @class AbsctractStorage
* @type {cBase.Class}
* @description SessionStorage存储类,继承自cAbstractStorage
*/
var Storage = new cBase.Class(cAbstractStorage, {
/**
* @method __prop... |
export { default } from './MouthAndEsophagus'; |
import add_module from '../../add.wasm?module'
const instance$ = WebAssembly.instantiate(add_module)
export default async function edgeExample() {
const { exports } = await instance$
const number = exports.add_one(10)
return new Response(`got: ${number}`)
}
export const config = { runtime: 'experimental-edge' ... |
/*
* Ext JS Library 0.30
* Copyright(c) 2006-2009, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.ns('Ext.air');
Ext.air.MusicPlayer = Ext.extend(Ext.util.Observable, {
/**
* The currently active Sound. Read-only.
* @type air.Sound
* @property activeSound
*/
activeSound: null,... |
var searchData=
[
['handle_5ftarget_5fpos_50',['handle_target_pos',['../namespacemotion.html#a0df96ee385a18713a313057c3984fb40',1,'motion']]]
]; |
import AppForm from '../app-components/Form/AppForm';
Vue.component('masproducto-form', {
mixins: [AppForm],
data: function() {
return {
form: {
}
}
}
}); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.