text
stringlengths
2
1.04M
import React from "react"; import PropTypes from "prop-types"; import Img from "gatsby-image"; const PreviewCompatibleImage = ({ imageInfo, imageStyle = {} }) => { const computedImageStyle = { borderRadius: "5px", ...imageStyle }; const { alt = "", childImageSharp, image } = imageInfo; if (!!image && !!image.ch...
//# sourceMappingURL=simple-modal.umd.js.map
window.addEventListener( "load", function () { new Accessibility(); }, false );
const TSLintWebpackPlugin = require('tslint-webpack-plugin'); module.exports = { plugins: [ new TSLintWebpackPlugin({ files: 'src/**/*.ts' }) ], stats: { warnings: true }, module: { rules: [ { test: /\.ts$/, loader: 'ts-loader' } ] } };
import lint from 'mocha-eslint'; // Array of paths to lint const paths = ['src']; const options = { // Specify style of output formatter: 'compact', // Only display warnings if a test is failing alwaysWarn: false, // Increase the timeout of the test if linting takes to long timeout: 5000, // Increase th...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const assert_1 = __importDefault(require("assert")); const fs_1 = __importDefault(require("fs")); const ...
const game = new Game(); game.run();
(function(){var h,k=this,aa=function(a,b){var c=a.split("."),d=k;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b},ba=function(){},ca=function(a){a.ma=function(){return a.ad?a.ad:a.ad=new a}},da=function(a){var b=typeof a;if("object"==...
/*global defineSuite*/ defineSuite([ 'Scene/Primitive', 'Core/BoundingSphere', 'Core/BoxGeometry', 'Core/Cartesian3', 'Core/ColorGeometryInstanceAttribute', 'Core/ComponentDatatype', 'Core/defined', 'Core/Ellipsoid', 'Core/Geometry', 'Core/...
/** * Copyright (c) 2018, The Regents of the University of California, * through Lawrence Berkeley National Laboratory (subject to receipt * of any required approvals from the U.S. Dept. of Energy). * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE f...
'use strict'; const projects = [ { id: 1, name: "Rollbase", owner: "Venkat Ramana Kaza" } ]; var getAll = function(ctx) { ctx.body = projects; ctx.status = 200; return ctx; } var get = function(ctx) { let id = ctx.params.id; let project = projects.find((project) => project.id === parseInt(id)...
import React from "react" import Results from "../components/Results/index" import { graphql } from "gatsby" export const query = graphql` { allMdx( sort: { fields: frontmatter___position, order: ASC } filter: { fileAbsolutePath: { regex: "/2021/" } } ) { edges { node { bo...
import { initialState as users } from './usersReducer'; import { initialState as auth } from './authReducer'; export default { auth: { ...auth }, routing: null, users: { ...users, fetch: { ...users.fetch } } };
//carregando os modulos const express = require('express'); const router = express.Router(); const mongoose = require('mongoose'); require('../models/CadPaciente'); const cadPaciente = mongoose.model('cadPaciente'); const {eAdmin} = require('../helpers/eAdmin') router.get('/pacientes', eAdmin, (req, res) => { cadP...
module.exports = { baseUrl: process.env.NODE_ENV === 'production' ? '/vue-tutorial/vue-cli/demo02/' : '/' }
/*!Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak)*/var fabric=fabric||{version:"1.5.0"};if(typeof exports!=='undefined'){exports.fabric=fabric;} if(typeof document!=='undefined'&&typeof window!=='undefined'){fabric.document=document;fabric.window=window;window.fabric=fabric;} else{fabric.documen...
module.exports = { rules: { 'init-declarations': ['error', 'always'], 'no-delete-var': 'error', 'no-label-var': 'error', 'no-restricted-globals': ['error', 'addEventListener', 'blur', 'close', 'closed', 'confirm', 'defaultStatus', 'defaultstatus', 'event...
import PropTypes from 'prop-types'; import './index.less'; export default function MidBoxLayout(props) { return ( <div className={`mid-box-layout ${props.className}`}> <div className="mid-box-layout--body"> {props.children} </div> </div> ) } MidBoxLayout.propTypes = { className: Prop...
import { fromJS } from 'immutable' import { LIFECYCLE } from 'redux-pack' import { actionTypes, reducer } from 'domains/session' import { createAccount, initialState as rawInitialState, } from 'domains/session/reducer' import { makeAsyncAction, noop } from '~/util' import lockAccountActionPayload from './fixtures/...
/* global createNS, createElementID, locationHref, bmFloor */ function SVGStrokeEffect(elem, filterManager) { this.initialized = false; this.filterManager = filterManager; this.elem = elem; this.paths = []; } SVGStrokeEffect.prototype.initialize = function () { var elemChildren = this.elem.layerElement.chil...
const tbl = 'users'; const Users = require('../basicModel')(tbl); const UOR = require('../basicModel')('user_org_roles'); module.exports = { knex: Users.knex, login: Users.get, register, } async function register(user) { const { username, password, name, phone, email, org_id, role_id } = user; const tblUse...
//# sourceMappingURL=webpack-runtime-8147de3fb1501be08b91.js.map
/* * CKFinder - Sample Plugins * ========================== * http://cksource.com/ckfinder * Copyright (C) 2007-2015, CKSource - Frederico Knabben. All rights reserved. * * This file and its contents are subject to the MIT License. * Please read the LICENSE.md file before using, installing, copying, * modifying...
/* * EventSource polyfill version 0.9.6 * Supported by sc AmvTek srl * :email: devel@amvtek.com */ ;(function (global) { if (global.EventSource && !global._eventSourceImportPrefix){ return; } var evsImportName = (global._eventSourceImportPrefix||'')+"EventSource"; var EventSource = ...
/* * /MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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 *...
/** * auth.js */ export const LOGOUT = 'LOGOUT' export const DEREGISTER = 'DEREGISTER' export const SET_TOKEN = 'SET_TOKEN' /** * account.js */ export const SET_ACCOUNT = 'SET_ACCOUNT' export const ADD_ACCOUNT = 'ADD_ACCOUNT' export const FILL_ACCOUNTS = 'FILL_ACCOUNTS' export const REMOVE_ACCOUNT = 'REMOVE_ACC...
export const config = { defaultDelay: 0, defaultTyping: 0 }
'use strict'; // @ngInject module.exports = function($scope,AboutServ) { $scope.text = AboutServ.getText(); };
module.exports = function(grunt) { var name = 'clusterpost-list'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), ngtemplates: { 'clusterpost-list': { src: './src/**.html', dest: './dist/clusterpost-list.templates.js' } ...
var path = require('path'); var rootDir = path.resolve(__dirname, '../'); var srcDir = path.join(rootDir, 'src'); var distDir = path.join(rootDir, 'dist'); var docDir = path.join(rootDir, 'doc'); module.exports = { rootDir, srcDir, distDir, docDir, pathJoin(filePath) { return path.join(root...
/** * Routes file */ const express = require('express'); const router = express.Router(); /** Set all the request */ router.get('/', (req, res, next)=>{ res.send("Hello from routes"); }); router.get('/home', (req, res, next)=>{ res.render('home', null); }); module.exports = router;
_N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([["pages/_app"],{ /***/ "./node_modules/@babel/runtime/helpers/arrayLikeToArray.js": /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! \*************...
const ora = require('ora'); const chalk = require('chalk'); const spinner = ora(); let lastMsg = null; const logWithSpinner = (symbol, msg) => { if(!msg) { msg = symbol symbol = chalk.green('✔') } if(lastMsg) { spinner.stopAndPersist({ symbol: lastMsg.symbol, ...
module.exports = (queryInterface, DataTypes) => { const User = queryInterface.define('user', { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, }, title: DataTypes.STRING, content: { type: DataTypes.TEXT, allowNull: false, }, }); User.associa...
var data = { "body": "<circle cx=\"13.33\" cy=\"29.75\" r=\"2.25\" class=\"clr-i-outline--alerted clr-i-outline-path-1--alerted\" fill=\"currentColor\"/><circle cx=\"27\" cy=\"29.75\" r=\"2.25\" class=\"clr-i-outline--alerted clr-i-outline-path-2--alerted\" fill=\"currentColor\"/><path class=\"clr-i-outline--alerted c...
// This file is part of React-Invenio-Forms // Copyright (C) 2020 CERN. // Copyright (C) 2020 Northwestern University. // Copyright (C) 2021 Graz University of Technology. // // React-Invenio-Forms is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for mor...
import numjs from 'numjs'; import Round from './Round.js' export default { getDiffwithDate: (arr, name) => { // returns an arry of obj with date and count const values = [] for (var i = 0; i < arr.length; i++) { values.push({ count: arr[i][name], query_date: arr[i]['query_date'], ...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function GiFoundryBucket (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M137 19v200.9c7-3.1 14.8-4.9 23-4.9s16 1.8 23 4.9V19h-46zm64 88.6v65L340.4 312c10.1-13.9 19-27.2 26.2-38.8L201 107...
// ==UserScript== // @name YT&NiCo // @match https://www.youtube.com/embed/* // @match https://www.youtube.com/watch?v=* // @match http://embed.nicovideo.jp/watch/* // ==/UserScript== var vio=null; var yput=null; var pll=null; var kyfunc = new Array(3); var plbrate=1.0; var isrot=false; var intervalHandle = nul...
module.exports = { entry: [ './src/index.js' ], output: { path: __dirname, publicPath: '/', filename: 'bundle.js' }, module: { loaders: [{ exclude: /node_modules/, loader: 'babel', query: { presets: ['react', 'es2015', 'stage-1'] } }] }, resolve: { ...
(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["menu-book-outlined"] = ...
import React from 'react' import { NavPageContainer} from '../../../lib/src' import { Prism as SyntaxHighlighter} from 'react-syntax-highlighter' import { vscDarkPlus } from 'react-syntax-highlighter/dist/esm/styles/prism' import { AppearanceImportCode,AppearanceUsageCode, AppearanceGetColorSchemeCode,AppearanceSetDa...
import apisauce from 'apisauce'; import qs from 'qs' import { link_cms, link_apigw } from './domain' export const api = apisauce.create({ baseURL: link_apigw, headers: { Accept: 'application/json', 'Content-Type': 'application/json', }, timeout: 20000, }); export const apiCMS = apisauc...
import React from "react" import { Link } from "gatsby" // import "./navbar.css" import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faGithub, // faInstagram, faLinkedin, // faMediumM, // faTwitter, // faYoutube } from '@fortawesome/free-brands-svg-icons' import navBarSty...
// ==UserScript== // @name LinksBypasser // @namespace https://github.com/yasawibu/linksbypasser // @version 0.5.3 // @description Decrease your wasting time on short links // @author Putu Ardi Dharmayasa // @supportURL https://github.com/yasawibu/linksbypasser/issues // @downloadURL https://y...
import * as React from 'react'; import { Icon } from 'react-native-elements'; import { AppText } from '../app-text'; import { View, StyleSheet, TouchableHighlight, ScrollView } from 'react-native'; import { renderTeamStyle } from '../../TeamStyle'; import { FormattedTime } from '../formatted-time'; import { TimeToNow }...
function AISyncAccessory(log, accessory, device, status, session) { var info = accessory.getService(global.Service.AccessoryInformation); accessory.context.manufacturer = status.data.profile.esh.brand; info.setCharacteristic(global.Characteristic.Manufacturer, accessory.context.manufacturer.toString()); ...
/** * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. * * Camunda licenses this file to you under the MIT; you may not use this ...
/*! jQuery UI - v1.9.2 - 2017-02-19 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */
import React from 'react'; import IsAuthorized from './IsAuthorized'; export default function IsAuthorizedAdmin(props) { return ( <IsAuthorized {...props} roles={['ROLE_ADMIN']}/> ); }
[...$0.querySelectorAll(":scope > li")].map((resource_node) => { const href = resource_node.querySelector(":scope > a").href; const href_splitted = href.split("/"); const name = href_splitted[href_splitted.length - 1]; const method_nodes = resource_node.querySelectorAll(":scope ul li > a"); const methods = [....
function largestNumber(num1, num2, num3) { let max = num1; if (num2 > max) { max = num2; } if (num3 > max) { max = num3; } console.log(`The largest number is ${max}.`); } largestNumber(1,2,3); largestNumber(-3, -5, -22.5);
const express = require('express'); const router = express.Router(); const commentData = require('../data').comments; router.post('/add', async (req, res) => { let comment = req.body; comment.name = req.session.user.email; console.log(comment); await commentData.addComment(comment); res.redirect('/...
module.exports = { name: 'vant', build: { skipInstall: ['lazyload'], site: { publicPath: 'https://b.yzcdn.cn/vant/', }, vetur: { tagPrefix: 'van-', }, }, site: { defaultLang: 'en-US', versions: [ { label: '1.x', link: 'https://youzan.github.io/vant/1.x/' }, { ...
/*global define*/ define([ '../Core/arrayRemoveDuplicates', '../Core/BoundingSphere', '../Core/Cartesian3', '../Core/Color', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/DistanceDisplayCo...
"use strict" exports.__esModule = true; exports.RebalanceIconConfig = { name: 'RebalanceIcon', height: 1024, width: 1216, svgPath: 'M1208.2,582.8 L974.2,148.1 C971.2,142.4 965.6,139.5 960,139.5 C954.4,139.5 948.8,142.3 945.8,148 L711.8,582.8 C703.8,597.5 701.9,614.8 706.4,631 C719.9,678.7 770.4,768 960,768 C114...
//CONFIGURED FOR MONGODB const mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/summary'); const db = mongoose.connection; db.on('error', console.error.bind(console, 'connection error:')); db.once('open', function () { console.log('Connection Successful!'); }); let summarySchema = new mongoose...
import db from 'utils/db' export default async function handler (req, res) { const { query } = req.query const response = await db.search(query.trim()) res.status(200).json(response) }
/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ (function(a){function h(b){for(var a=["Webkit","Moz","O","ms"],c=0;c<a.length;c++)if(a[c]+"Transition"in b.style)return"-"+a[c].toLowerCase()+"-";return"transition"in b.style?"":!1}a.fn.removeStyle=function(b){return this....
// // Copyright 2020-2021 Perforce Software // const path = require('path') const Service = require('node-windows').Service const scriptPath = path.join(__dirname, 'www') const svc = new Service({ name: 'Helix Authentication', description: 'Helix Authentication Service', script: scriptPath, workingDirectory: p...
import queue from "../data/queue"; export default function leaveChannel(message, client){ if(message){ if(message.member.voice.channelID){ message.reply('Trying to disconnect from ' + message.member.voice.channel.name); message.member.voice.channel.leave(); queue.delete(...
import React, { Component } from 'react'; class Navigation extends Component { render() { return <nav className="navbar navbar-dark bg-dark"> <a href="" className="text-white"> Tasks </a> </nav> } } export default Navigation;
/* ======================================================================== * App.js v1.3.0 * Copyright 2015 * ======================================================================== */ var URL_SERVICE_AUTHENTICATION = CONSTANTS.contextPath + '/api/authentication'; 'use strict'; (function (factory) { if (type...
import Component from '@lib/Component'; import DonutChart from 'donut-chart-js'; import $ from '@utils/dom'; class Donut extends Component { constructor(props) { super(props); this.init(); } render() { return $('canvas', { id: 'donutChart', width: 230, height: 230 }); } didMount() { const ...
import { CLASS_OR_ID } from '../../../config' import { renderTableTools } from './renderToolBar' import { renderEditIcon } from './renderContainerEditIcon' import { h } from '../snabbdom' const PRE_BLOCK_HASH = { 'fencecode': `.${CLASS_OR_ID['AG_FENCE_CODE']}`, 'indentcode': `.${CLASS_OR_ID['AG_INDENT_CODE']}`, ...
/** * Created by dengxianzhi on 2017/1/26. */ $(function(){ $("#queryForm").validationEngine("attach", { promptPosition : "topLeft", autoHidePrompt : true, autoHideDelay : 3000, scroll : false }); $('.periodSel').mysel({ url : 'common/doGetPeriodItems.infc', ...
import React from "react"; import { drizzleReactHooks } from "@drizzle/react-plugin"; import { Drizzle } from "@drizzle/store"; import drizzleOptions from "./drizzleOptions"; import LandingPage from "./pages/LandingPage"; import LoadingDrizzle from "./components/LoadingDrizzle"; const drizzle = new Drizzle(drizzleOpt...
var searchData= [ ['machine_3408',['machine',['../interface_u_m_util.html#a5d6e531eac9d8f08247b79de6d63173e',1,'UMUtil']]], ['main_3409',['main',['../interface_u_m_h_t_t_p_task___read_request.html#a65e11fde9f51193d1b66d8c4db1c0981',1,'UMHTTPTask_ReadRequest::main()'],['../interface_u_m_task.html#a89b3dd6d8d1f5ebcdf...
import React from 'react'; import Input from '../src/Input'; import Row from '../src/Row'; export default <Row> <Input type="file" label="File" s={12} /> </Row>;
const { desktopCapturer } = require('electron'); if(window.navigator.mediaDevices){ window.navigator.mediaDevices.getDisplayMedia = () => { return new Promise(async (resolve, reject) => { try { const sources = await desktopCapturer.getSources({ types: ['screen', 'window'] }); const selectionElem = document.createEleme...
const readonly = 'readonly'; const error = 'error'; const warn = 'warn'; const off = 'off'; module.exports = { extends: 'airbnb-base', env: { es6: true, browser: true, jquery: true, greasemonkey: true, node: false, }, globals: { $el: readonly, api...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import setUserNotificationTypes from '../../actions/redactProfile/userNotificationType-add-action'; import get_notificationTypes from '../../actions/notificationType/notificationType-list-action'; import SelectNotificationType from '../../...
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import NotFound from './NotFound' import Project from './Project' import Grid from './Grid' export default class ProjectManager extends PureComponent { static propTypes = { data: PropTypes.array, location: PropTypes.object, }; co...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["analytics-report-products"],{ /***/ "./client/analytics/report/products/config.js": /*!****************************************************!*\ !*** ./client/analytics/report/products/config.js ***! \****************************************************...
mycallback( {"CONTRIBUTOR OCCUPATION": "Housewife", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Family", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "3327 Garrison Street", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR...
const Constants = require("../../../../../../utils/util/constants").MasterModel; const SDKException = require("../exception/sdk_exception").MasterModel; class Tag{ createdTime; modifiedTime; name; modifiedBy; id; createdBy; keyModified = new Map(); /** * The method to get the createdTime * @returns {Date}...
"use strict"; /** * Bungie.Net API * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.4.1 * Contact: support@bungie.com * * NOTE: This class i...
const path = require("path"); const webpack = require("webpack"); module.exports = { plugins: [ new webpack.ProvidePlugin({ "jQuery": "jquery", "window.jQuery": "jquery", "jquery": "jquery", "window.jquery": "jquery", "$": "jquery", ...
/* * 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. */ import { i18n } from '@kbn/i18n'; import { INDEX_CLEARING_CACHE, INDEX_C...
/* ******************************************************************************************* * * * Please read the following tutorial before implementing tasks: * * https://developer.mozilla.org/e...
var fiveWinsApp = angular.module('fiveWinsApp', [ 'ngRoute' ]); fiveWinsApp.config(function($routeProvider) { $routeProvider.when('/', { templateUrl : '/assets/htmls/start.html', controller : 'FiveWinsStartCtrl' }).when('/game/', { templateUrl : '/assets/htmls/game.html', controller : 'FiveWinsGameCtrl' })....
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
export const UserInteraction = { label: "UserInteraction", description: `UserInteraction and its subtypes is an old way of talking about users interacting with pages. It is generally better to use Action-based vocabulary, alongside types such as Comment.`, _id: { viewableBy: ["guests"], editableBy: ["memb...
let smartgrid = require('smart-grid') let settings = { filename: "_smart-grid", outputStyle: "sass", columns: 12, offset: "30px", mobileFirst: false, container: { fields: "15px" }, breakPoints: { xl: { width: "1200px" }, lg: { width: "992px" }, md: { width: "768px" }, sm: { width: "...
import $ from "jquery" // eslint-disable-next-line import select2 from "select2" // Initialise imported function as jQuery function $.fn.select2.defaults.set("width", "100%") export default class Select { constructor(selector = ".js-select", theme = "verhouse", options = {}) { this.selector = selector ...
import Component from "./Component.js"; class Mesh extends Component { constructor(meshData) { super(); this.name = meshData.name; this.id = meshData.meshID; this.vertices = meshData.vertices; this.indices = meshData.indices; this.uvs = meshData.uvs; this...
'use strict'; /* jshint unused: false */ var should = require('chai').should(); var expect = require('chai').expect; var _ = require('lodash'); var bitcore = require('../../..'); var Transaction = bitcore.Transaction; var PrivateKey = bitcore.PrivateKey; var Address = bitcore.Address; var Script = bitcore.Script; var...
/* * 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...
import assert from 'assert' import path from 'path' import readMetadata from 'read-metadata' import { Raw } from '../../../../../..' export default function (state) { const file = path.resolve(__dirname, 'fragment.yaml') const raw = readMetadata.sync(file) const fragment = Raw.deserialize(raw, { terse: true }).d...
console.log("Testing JS")
/* |-------------------------------------------------------------------------- | Elixir Asset Management |-------------------------------------------------------------------------- | | Elixir provides a clean, fluent API for defining some basic Gulp tasks | for your Laravel application. By default, we are compili...
const ipc=require('../../../node-ipc'); /***************************************\ * * You should start both hello and world * then you will see them communicating. * * *************************************/ ipc.config.id = 'world'; ipc.config.retry= 1500; ipc.serve( function(){ ipc.server.on( ...
var ds = require( '../' ), config = ds.config, radic = require( 'radic' ), util = radic.util, bin = radic.binwraps, sh = radic.sh, _ = require( 'lodash' ), build = require('../build'); /** * @param {cli} cli */ module.exports = function ( cli ) { cli.command('init')...
// Test the Events component import ReactDOM from "react-dom"; import UpdateEvent from "../../views/login/updateEvent"; import renderer from "react-test-renderer"; window.matchMedia = window.matchMedia || function () { return { matches: false, addListener: function () {}, removeListener: func...
/** * Created by Oleg Rusak on 13.07.2017. */ const graphql = require('graphql') module.exports = function factoryGraphQLAPI (schema) { return { query: query => { return graphql.graphql(schema, `query ${query}`) }, mutation: (query) => { return graphql.graphql(schema, `mutation ${query}`)...
import styled from 'styled-components'; export const HeaderContainer = styled.div` height: 50px; width: 100%; background: transparent; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; top: 10px; background: #fff; width: 100%; img { height: 30p...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.IoColorPaletteSharp = function IoColorPaletteSharp (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M416 352c-12.6-.84-21-4-28-12-14-16-14-36 5.49-52.48l32.82-29.14c50.27-44....
/*jshint esversion: 6 */ //Storage Controller -- For Local Storage const StorageCtrl = (function () { 'use strict'; const storeItem = (newItem) => { let items = []; // Check if there are any items already present if (!localStorage.getItem('items')) { items.push(newItem); ...
var callbackArguments = []; var argument1 = r_0; var argument2 = ""; var argument3 = "fn"; var argument4 = function callback(a,b,c,d) { callbackArguments.push(JSON.stringify(arguments)) argument3 = null return a-b/c/d }; var argument5 = 893; var argument6 = null; var argument7 = r_1; var argument8 = function callback(...
import {Logger} from '../util/logger'; import { Utilities } from '../util/utilities'; /* global d3 */ /** * This {Decorator} class is used to show / hide a loader on {Francy}. */ export default class LoaderDecorator { /** * Default Constructor * Decorators.Loader.withContext(this).show(); Decorators.Loader...