text stringlengths 2 1.05M |
|---|
var fs = require('fs'),
models = require("../lib/models"),
Promise = require("bluebird"),
renderer = require('../lib/renderer'),
Configurable = require("../lib/configurable");
models.use(Git);
function Component(name, file) {
this.name = name;
this.file = file;
this.cache = null;
... |
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"impr... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=mastery.interface.js.map |
const TabelaFornecedor = require('./TabelaFornecedor')
const CampoInvalido = require('../../erros/CampoInvalido')
const DadosNaoRecebidos = require('../../erros/DadosNaoRecebidos')
class Fornecedor {
constructor({ id, empresa, email, categoria, dataCriacao, dataAtualizacao, versao }) {
this.id = id
... |
/*
* Copyright © 2016-2017 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
import test from 'ava';
const Suite = require('./helpers/suite');
const color = require('color');
const palette = require('./helpers/palette');
test.beforeEach(async t => {
t.context = new Suite();
await t.context.init(t);
});
test.afterEach(async t => {
t.context.passed(t);
});
test.afterEach.always(async t... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _DropboxOutlined = _interopRequireDefault(require('./lib/icons/DropboxOutlined'));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _de... |
var myVersion = "0.4.1", myProductName = "chokidarHelloWorld";
const chokidar = require ("chokidar");
let watcher = chokidar.watch ("watch/", {
ignoreInitial: true,
awaitWriteFinish: true
});
watcher.on ("all", function (event, f) {
console.log ("event == " + event + ", f == " + f);
});
|
import update from "immutability-helper";
export function isTargetNotUnique( state, payload ) {
return Boolean( Object.values( state.suite.targets )
.filter( item => item.id !== payload.id )
.find( item => item.target === payload.target ) );
}
export function getCommandsFlat( groups ) {
return Object.valu... |
'use strict';
angular.module('copayApp.directives').directive('shapeshiftCoinTrader', function($interval, shapeshiftApiService, profileService, incomingDataService, ongoingProcess) {
return {
restrict: 'E',
transclude: true,
controller: function($scope, $q) {
$scope.ShiftState = 'Shift';
... |
module.exports = function zeros(expression) {
let kol = 0;
let kol2 = 0;
let m = 0;
let arr = expression.split('*');
for (let i = 0; i < arr.length; i++) {
let elem = parseFloat(arr[i]);
let count = [...arr[i]].filter(l => l === '!').length;
if (count === 2 ... |
Ext.define('Ext.device.Tunnel', {
singleton: true,
requires: [
'Ext.device.tunnel.Simulator',
'Ext.device.tunnel.Sencha'
],
constructor: function() {
var browserEnv = Ext.browser.is;
if (browserEnv.Sencha) {
return Ext.create('Ext.device.tunnel.Sencha');
... |
/**
* HYPERLOOP GENERATED - DO NOT MODIFY
*
* This source code is Copyright (c) 2018 by Appcelerator, Inc.
* All Rights Reserved. This code contains patents and/or patents pending.
*/
var $dispatch = Hyperloop.dispatch,
$init,
$imports;
/**
* CoreText//Applications/Xcode.app/Contents/Developer/Platforms/iPhon... |
import { f as foo, b as bar } from './generated-dep1.js';
console.log(foo(), bar());
|
/**
* The policy object for Greengrass to provision.
*/
module.exports = () => ({
'Version': '2012-10-17',
'Statement': [
/**
* Authorize Greengrass devices to connect to the AWS IoT
* broker using its client identifier.
*/
{
'Effect': 'Allow',
'Action': [
'iot:Connect'... |
import React, {PureComponent} from "react";
import "antd/dist/antd.css";
import { Col, Row, Form, FormGroup, Label, Input, Card, CardBody, CardHeader,FormText } from 'reactstrap';
import { Steps, Button, message,Icon,Tabs,Checkbox,Collapse } from 'antd';
const Panel = Collapse.Panel;
function callback(key) {
consol... |
import React from "react"
import PropTypes from "prop-types"
import {graphql} from "gatsby"
import "../pages/index.css"
import {Layout} from "../components/Layout"
import {SEO} from "../components/seo"
import {Sidebar} from "../components/sidebar/Sidebar"
import {PostPreview} from "../components/posts/PostPreview"
c... |
const { resolve } = require('path')
const Arborist = require('@npmcli/arborist')
const npm = require('../../npm.js')
const readNames = async () => {
const {
depth,
global,
prefix,
} = npm.flatOptions
const getValues = (tree) =>
[...tree.inventory.values()]
.filter(i => i.location !== '' &&... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _CalendarHeader = require('../calendar/Calend... |
'use strict';
/**
* The `DoubleClickZoomHandler` allows the user to zoom the map at a point by
* double clicking or double tapping.
*/
function doubleClickZoomHandler(map) {
let enabled = false;
let active = false;
let tapped;
/**
* Returns a Boolean indicating whether the "double click to ... |
/**
* Copyright (c) 2013-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.
*
* @emails react-core
* @jest-environment node
*/
'use strict';
let React;
let ReactFabric;
let ReactNative;
let createReactNativeComp... |
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const CleanWebpackPlugin = require('clean-webpack-plugin')
module.exports = {
entry: {
app: './src/app/index.js'
},
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist')
},
module: {
... |
// @flow
const { SchemaComposer } = require(`graphql-compose`)
const {
graphql,
GraphQLSchema,
GraphQLNonNull,
GraphQLList,
GraphQLObjectType,
getNamedType,
} = require(`graphql`)
const { store } = require(`../../redux`)
const { actions } = require(`../../redux/actions`)
const { build } = require(`../index... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.START_TAG = `/* inject:{{name}} */`;
exports.END_TAG = `/* end-inject */`;
//# sourceMappingURL=constants.js.map |
// @flow
import { Component } from 'react';
import { Link } from 'react-router-dom';
import moment from 'moment-timezone';
import Time from 'app/components/Time';
import Pill from 'app/components/Pill';
import styles from './MeetingList.css';
import Toolbar from './Toolbar';
import LoadingIndicator from 'app/component... |
import React, { Fragment } from 'react';
import { Select } from 'antd';
import * as actionConsts from '../TitlePane/ActionConsts';
const { Option } = Select;
class Blocked extends React.PureComponent {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<Fragment>
... |
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
chainWebpack: config => {
const svgRule = config.module.rule('sv... |
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const subscriptionSchema = new Schema({
endpoint: { type: String, required: true },
keys: {
auth: { type: String, required: true },
p256dh: { type: String, required: true },
},
});
module.exports = mongoose.model("Subsc... |
// 2+ words
module.exports = /todo/
|
function addWidgetsfrmTtlbarBgColor() {
var labeltitleBack = new kony.ui.Label({
"enableCache": false,
"id": "labeltitleBack",
"isVisible": true,
"skin": "lblSub",
"text": "Look at the customized look of titlebar ( with background color ) above."
}, {
"containerW... |
const schedule = require('node-schedule');
const request = require('./request');
const SqliteDB = require('./sqliteUtils.js').SqliteDB;
var log4js = require('./log');
const logger = log4js.getLogger();
const appids = [
'wxe2e247dd3a071632',
'wx6f8db60e5cc9d60b',
'wx34e13c37e0ae2675'
]
const apps = {
'wxe2e247... |
setInterval(() => {
console.log('Hello World!');
}, 2000);
console.log('I will run first');
/**
* Process is alive until killed externally using ctrl + C
*/ |
function isEmpty(str){
return (!str || 0 === str.length || !str.trim());
}
function validateEmail(){
var emailId = document.Login.Email.value;
if(isEmpty(emailId)){
alert("Email Id cannot be blank");
document.Login.Email.focus();
return false;
}
var atPos=emailId.indexOf("@");
var dotPos=emailId.lastIndexO... |
#!/usr/bin/env node
require('../dist/cli-run.js') |
import React, { Component } from 'react';
import Footer from './components/Footer';
import Header from './components/Header';
import Socials from './components/Socials';
import api from '../services/api'
const Form = (props) => {
return (
<form onSubmit={props.handleSubmit}>
<input
... |
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterv... |
import React, { useContext } from "react";
import { Context as BeepContext } from "../context/BeepContext";
import BeepList from "../components/BeepList";
import { Text } from "react-native-elements";
import { SafeAreaView } from "react-navigation";
import { StyleSheet } from "react-native";
import Spacer from "../comp... |
import React, { Component } from 'react';
export default class Footer extends Component {
render() {
let resumeData = this.props.resumeData;
return (
<footer>
<div className="row">
<div className="twelve columns">
<ul className="social-links">
{
resumeDa... |
import tools from './util/index.js';
tools(); |
/* ============================================================
* bootstrap-button.js v2.0.3
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"... |
/*! Buefy v0.8.19 | MIT License | github.com/buefy/buefy */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Pagination={})}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==t... |
export const CLEAR_CASE_SELECT_SEARCH = 'CLEAR_CASE_SELECT_SEARCH';
export const SET_CASE_SELECT_SEARCH = 'SET_CASE_SELECT_SEARCH';
export const CASE_SELECT_APPEAL = 'CASE_SELECT_APPEAL';
export const CASE_SELECT_MODAL_APPEAL_VACOLS_ID = 'CASE_SELECT_MODAL_APPEAL_VACOLS_ID';
export const REQUEST_APPEAL_USING_VETERAN_ID... |
// Pretty Print JSON
// Mocha Specification Suite
// Imports
import { assertDeepStrictEqual } from 'assert-deep-strict-equal';
import { readFileSync } from 'fs';
import { prettyPrintJson } from '../dist/pretty-print-json.js';
// Setup
const mode = { type: 'ES Module', file: 'dist/pretty-print-json.js' };
const fi... |
/**
* @overview provides methods for accessing and updating perspectives via CloudHealth's API
* @see {@link https://github.com/cloudhealth/cht_api_guide/blob/master/perspectives_api.md|cht_api_guide}
* @author Ben Watson <ben.watson@coxautoinc.com>
*/
var https = require('https');
var utils = require('../utils... |
/**
* @api {emit} emit('login',token) Start Socket
* @apiVersion 0.1.0
* @apiName emitLogin
* @apiGroup Chats
*
* @apiParam {String} token the users auth token
*
* @apiSuccess (200) {Expect} Guest server to emit('chat_log', chat)
* @apiSuccess (200) {Expect} Staff_member server to emit('chat_logs', ch... |
// THIS FILE IS AUTO GENERATED
import { GenIcon } from '../lib';
export function VscGitPullRequest (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16","fill":"currentColor"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.616 4.928a2.487 2.487 0 0 1-1.119.922c-.148.06-... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
const path = require('path')
const webpack = require('webpack')
const electron = require('electron')
const { Pipeline, Logger } = require('@xpda-dev/core')
const { ElectronLauncher } = require('@xpda-dev/electron-launcher')
const { ElectronBuilder } = require('@xpda-dev/electron-builder')
const { Webpack } = require('... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
// decode the on-network array entity format into an object format closer to that used before
// makes much more sense as an object, means that existing code didn't need to change, and it's what the
// stock intel site does internally too (the array format is only on the network)
// anonymous wrapper function
(functi... |
define([
"dojo/_base/declare",
"dojo/_base/array",
"dojo/_base/query",
"dojo/_base/lang",
"dojo/_base/sniff",
"dojo/dom-class",
"dojo/mouse",
"dojo/keys",
"../../core/_Module",
"./_Base"
], function(declare, array, query, lang, sniff, domClass, mouse, keys, _Module, _Base){
return declare(/*===== "gridx.mod... |
import React, { useState, useContext, useEffect, useCallback, useMemo } from "react"
import PropTypes from 'prop-types'
import {
useTable,
useFilters,
useGlobalFilter,
useSortBy,
useResizeColumns,
useFlexLayout,
useExpanded,
usePagination,
useRowSelect,
useAsyncDebounce,
} from 'react-table'
import ... |
import { Alert, AsyncStorage } from 'react-native';
import { AccessToken, LoginManager } from 'react-native-fbsdk';
import { Sentry } from 'react-native-sentry';
import gql from 'graphql-tag';
import api from '../api';
import { LOGIN, LOGIN_SUCCESS, LOGIN_FAILURE, LOGOUT } from '../reducers/auth';
const GQL_LOGIN = ... |
const core = require("@actions/core");
const firstGreeting = core.getInput("first-greeting");
const secondGreeting = core.getInput("second-greeting");
const thirdGreeting = core.getInput("third-greeting");
console.log(`Hello ${firstGreeting}`);
console.log(`Hello ${secondGreeting}`);
if(thirdGreeting) {
console.log... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[... |
'use strict';
const prime = require('../../common/math/prime');
/**
* Returns the largest prime factor for a given number
* @param {Number} value
* @returns {Number}
*/
exports.largestPrimeFactor = value => {
let factorization = prime.primeFactorization(value);
return factorization[factorization.length - 1].ba... |
"use strict";
exports.__esModule = true;
exports.default = void 0;
var _baseResource = _interopRequireDefault(require("./base-resource"));
var _asar = _interopRequireDefault(require("../../utils/asar"));
var _path = _interopRequireDefault(require("path"));
function _interopRequireDefault(obj) { return obj && obj._... |
// The MIT License (MIT)
//
// Copyright (c) 2016-2021 Camptocamp SA
//
// 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
// u... |
/*
Copyright (c) 2013 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following disclaimer.
* Redist... |
import React, { useState } from 'react';
import {Link,useHistory} from 'react-router-dom';
import './SignUp.css';
import { useMediaQuery } from 'react-responsive';
import Grid from '@material-ui/core/Grid';
import {toast} from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
toast.configure();
const... |
// 引入mysql库
const mysql = require('mysql');
// 引入mysql配置文件
const config = require('./config')
// 连接池的作用,数据库可能有很多的用户连接,所以需要连接池,连接池可以让很多用户同时使用
// 每个用户使用完都会释放
// {
// host: config.dev.host,
// user: config.dev.username,
// password: config.dev.password,
// database: config.dev.database
// }
const pool = my... |
function drawVolumeText(value){ // в литрах
if(typeof layer_4 != "undefined") { // очищаем память
layer_4.destroy();
}
layer_4 = new Konva.Layer({
});
var volumeText = new Konva.Text({
x: 260,
y: 25,
width: 95,
height: 80,
text: "Объем жидкости:\n\n" + value + " литров",
fon... |
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},
env: {
browser: true,
node: true,
es6: true,
},
extends: ['plugin:vue/recommended', 'eslint:recommended'],
// add your custom rules here
//it is base o... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
/*
* Panel with a description of a rule and a list of actions that can be pe... |
import { terser } from "rollup-plugin-terser"
export default {
input: "js/index.js",
output: {
file: "dist/index.js",
format: "esm",
plugins: [ terser() ]
}
} |
/*
* Copyright 2021 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 ... |
webpackJsonp([17],{
/***/ 906:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReportModalPageModule", function() { return ReportModal... |
(function(e,t){'object'==typeof exports&&'object'==typeof module?module.exports=t(require('xmldom'),function(){try{return require('jszip')}catch(t){}}()):'function'==typeof define&&define.amd?define(['xmldom','jszip'],t):'object'==typeof exports?exports.ePub=t(require('xmldom'),function(){try{return require('jszip')}ca... |
import { LegFeetBody as BodyMock } from './BodyMock.js';
import Animation from '../../src/editor/Animation.js'
import EditorListener from '../../src/editor/EditorListener.js';
export default class {
constructor() {
this.viewwingFrame = 0;
this.body = new BodyMock();
this.animation = new Ani... |
/* global require, describe, it */
'use strict';
// MODULES //
var chai = require( 'chai' ),
validate = require( './../lib/validate.js' );
// VARIABLES //
var expect = chai.expect,
assert = chai.assert;
// TESTS //
describe( 'validate', function tests() {
it( 'should export a function', function test() {
... |
'use strict';
/**
* @ngdoc factory
* @name settings
*
* @description
* The 'settings' factory exposes shared application settings, read from a
* script tag with type "application/json" and id "hypothesis-settings" in the
* app page.
*/
// @ngInject
function settings($document) {
var settingsElement = $docum... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssociationReferenceValue = void 0;
const Record_1 = require("../Record");
const AssocaitionValue_1 = require("./AssocaitionValue");
class AssociationReferenceValue extends AssocaitionValue_1.AssociationValue {
getAsObject() {
... |
'use strict'
const { KadDHT } = require('./kad-dht')
const { DualKadDHT } = require('./dual-kad-dht')
/**
* @typedef {import('./types').DHT} DHT
* @typedef {import('./kad-dht').KadDHTOps} KadDHTOps
* @typedef {import('./types').QueryEvent} QueryEvent
* @typedef {import('./types').SendingQueryEvent} SendingQueryEv... |
function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}function uncamel(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function setUnit(a,b){return"string"!=typeof a||a.match(/^[\-0-9\.]+jQuery/)?""+a+b:a}function setFilter(a,b,c){var d=unca... |
/*
* @flow strict-local
* Copyright (C) 2020 MetaBrainz Foundation
*
* This file is part of MusicBrainz, the open internet music database,
* and is licensed under the GPL version 2, or (at your option) any
* later version: http://www.gnu.org/licenses/gpl-2.0.txt
*/
import * as React from 'react';
import sortBy... |
import React, { Component } from 'react'
export default class WithNotes extends Component {
render() {
return (
<div>this is WithNotes component</div>
)
}
} |
import {
fullBlack,
darkBlack,
lightBlack,
minBlack,
fullWhite,
darkWhite,
lightWhite,
} from './colors';
class Typography {
constructor() {
this.typography = {
// text colors
textFullBlack: fullBlack,
textDarkBlack: darkBlack,
textLightBlack: lightBlack,
textMinBlack: minBlack,
... |
/*!
Distributed under the MIT License:
* Copyright (c) 2010 Greg Houston and Contributors in AUTHORS.txt
* MIT (MIT-LICENSE.txt)
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... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', '../createIcon'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('../createIcon'));
} else {
var mod = {
exports: {}
};
factory(mod.exports, global.createIc... |
function _defineProperty(t,i,r){return i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r,t}function _classCallCheck(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,i){for(var r=0;r<i.length;r++){var n=i[r];n.enume... |
docute.init({
debug: true,
title: 'ForwardEmail',
repo: 'niftylettuce/forward-email',
'edit-link': 'https://github.com/niftylettuce/forward-email/tree/master/',
twitter: 'niftylettuce',
nav: {
default: [
{
title: 'Free, Encrypted, and Open-Source Email Forwarding Service',
path: '/... |
const common = require('./webpack.common.js');
const WebpackShellPlugin = require('webpack-shell-plugin-next');
module.exports = {
...common,
plugins: [
...common.plugins,
new WebpackShellPlugin({
onBuildEnd: {scripts: ['nodemon build/npm/snage.js serve --watch build/npm'], blocking... |
// /*
// * This combined file was created by the DataTables downloader builder:
// * https://datatables.net/download
// *
// * To rebuild or modify this file with the latest versions of the included
// * software please visit:
// * https://datatables.net/download/#bs/dt-1.10.22
// *
// * Included libraries:... |
'use strict';
var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var StatsPlugin = require('stats-webpack-plugin');
module.exports = {
entry: [
path.join(__dirname, 'src/main.js')
... |
import { combineReducers } from 'redux';
import { routerReducer as routing } from 'react-router-redux';
import { reducer as form } from 'redux-form';
import listings from './listings';
const rootReducer = combineReducers({
listings,
routing,
form,
});
export default rootReducer;
|
// __tests__/Contact.test.js
import React from 'react'
import { render, cleanup } from '@testing-library/react'
import '@testing-library/jest-dom/extend-expect'
import Contact from '..'
afterEach(cleanup)
describe('Contact component', () => {
it('renders', () => {
render(<Contact />);
});
it('renders', () ... |
var xv__hdmitxss__hdcp_8c =
[
[ "XV_HdmiTxSs_IsSinkHdcp14Capable", "xv__hdmitxss__hdcp_8c.html#a46f90d2469c5ccfe6fc28de9d0aa7bea", null ],
[ "XV_HdmiTxSs_IsSinkHdcp22Capable", "xv__hdmitxss__hdcp_8c.html#a23a1a2544ef4bc3ff8e1fde04bcc6f56", null ]
]; |
/* GET NAMED ANCHOR */
function getNamedAnchor ( name ) {
switch ( name ) {
/* SIDES */
case 'top': return [false, 0];
case 'right': return [1, false];
case 'bottom': return [false, 1];
case 'left': return [0, false];
/* CORNERS */
case 'top-left': return [0, 0];
case 'top-right': r... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,a,s){e.exports=s("2f39")},1:function(e,a){},"2f39":function(e,a,s){"use strict";s.r(a);var n=s("967e"),t=s.n(n),r=(s("96cf"),s("fa84")),c=s.n(r),f=(s("7d6e"),s("e54f"),s("62f2"),s("7e6d"),s("2b0e")),j=s("b05d"),u=s("4d5a"),b=s("9898"),o=s("... |
import React from 'react';
import image1 from './images/magazine.png';
class OffersNews extends React.Component {
render() {
return (
<div id="news">
<div className="mad_section paralax_image_bg4">
<div className="container">
<div className="row">
<div className=... |
'use strict';
var parser = require ('../parser');
var extend = require ('extend');
var Content = function () {
this.data = null;
}; // Content ();
/**
* @returns {Object}
*/
Content.prototype.getData = function () {
return this.data;
}; // getData ();
/**
* @returns {Object}
*/
module.exports.getCheck ... |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "Support Op... |
const moment = require('moment');
const titleize = require('titleize');
const cleanTitleize = str => titleize(str.replace(/(_|-)/g, ' '));
const creationTimeToYMD = c => moment(c.creationTime).format('YYYY-MM-DD');
module.exports = {
siteUrl: 'http://tachyons.io', // needed for RSS feed
siteDesc... |
import{j as s,bz as a,bt as e,aS as t,aR as i,k as l,l as n,K as o,o as r,m as p,x as c,n as d,V as u,ah as m,X as f,q as _,Y as x}from"./vendor.686fd1d4.js";/* empty css *//* empty css */import{_ as v}from"./index.521cc965.js";import{cardList as j}from"./data.a96915dc.js";import{P as g}from".... |
function infix_arithmetic_langs(lang){
return ["javascript","perl","python","java","lua","c","c++","perl","ruby","haxe"].indexOf(lang) !== -1;
}
function last_char(the_string){
return the_string.charAt((the_string.length) - 1);
}
function index_in_array(the_arr,to_find){
var i = 0;
while(i < the_arr.length){
... |
import Vue from 'vue';
import Vuex from 'vuex';
import createPersistedState from "vuex-persistedstate";
// import userStore from './user';
// import errorStore from './error';
import app from './app';
import fileStore from './fileStore';
import signStore from './signStore';
Vue.use(Vuex);
export default new Vuex.Sto... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.... |
/*
Copyright 2017 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... |
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('cities', {
id: {
type: Sequelize.INTEGER,
allowNull: false,
autoIncrement: true,
primaryKey: true,
},
hero_id: {
type: Sequelize.INTEGER,
allowNull: false,
... |
'use strict'
const {GeneralUtils} = require('../..')
const {ImageMatchSettings} = require('./ImageMatchSettings')
const {BatchInfo} = require('./BatchInfo')
const {AppEnvironment} = require('../AppEnvironment')
class StartInfo {
/**
* @param {string} sessionType
* @param {boolean} isTransient
* @param {bo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.