text
stringlengths
2
1.04M
/** * @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 */ (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = fact...
'use strict' //Changed by Putu Developers const Client = require('instagram-private-api').V1; const delay = require('delay'); const chalk = require('chalk'); const inquirer = require('inquirer'); var moment = require("moment"); var colors = require('colors'); var userHome = require('user-home'); //DETECT IP *START! va...
/** * Describes a logger instance. * * The message MUST be a string or object implementing toString(). * * The message MAY contain placeholders in the form: {foo} where foo * will be replaced by the context data in key "foo". * * The context object can contain arbitrary data. The only assumption that * can be ...
const duplicate_element = require('./duplicate_element'); describe('duplicate_element', () => { describe('arithmetic solution', () => { it('should find a duplicate element', () => { const array = [1, 2, 3, 4, 5, 5]; const result = duplicate_element.arithmetic(array); ex...
import React from 'react'; const VideoListItem = ({ video }) => { const imgUrl = video.snippet.thumbnails.default.url; return ( <li className="list-group-item"> <div className="video-list media"> <div className="media-left"> <img className="media-object" src={imgUrl} /> </div> <div...
/*var c = 1 while(c<=10){ console.log(c) c++ }*/ /*for(var c = 1;c<= 10; c++){ console.log(c) } */ var num1=2 var num2=50 var passo = 3 while(num2>num1){ console.log(passo) num1=passo<num2 }
/* eslint-disable no-console */ console.log('aText');
'use strict'; var PATH_MATCH = /^([^\?#]*)(\?([^#]*))?(#(.*))?$/, DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp': 21}; var $locationMinErr = minErr('$location'); /** * Encode path using encodeUriSegment, ignoring forward slashes * * @param {string} path Path to encode * @returns {string} */ function encod...
'use strict'; const os = require('os'); const path = require('path'); const utils = require('./utils'); function getExtra(key, expected, ext) { return ext.map(item => { if (item.key && item.value && item.expected) { return item; } return { key, value: item, expected }; }); } function getTestKey...
/* AUTH ACTIONS */ export const AUTH_STATE_BUSY = "AUTH_STATE_BUSY" export const AUTH_STATE_FAILED = "AUTH_STATE_FAILED" export const AUTH_STATE_SUCCESS = "AUTH_STATE_SUCCESS" export const LOCATION_STATE_BUSY = "LOCATION_STATE_BUSY" export const LOCATION_STATE_FAILED = "LOCATION_STATE_FAILED" export const LOCATION_ST...
/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames
!function(e){function r(r){for(var n,l,f=r[0],a=r[1],i=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r...
$(function() { "use strict"; new PerfectScrollbar(".header-message-list"), new PerfectScrollbar(".header-notifications-list"), $(".mobile-search-icon").on("click", function() { $(".search-bar").addClass("full-search-bar") }), $(".search-close").on("click", function() { $(".search-bar").removeClass("full-search-b...
export { FadingValueBox } from './FadingValueBox'
import { log } from '../util/util.js' import * as mongoose from 'mongoose' import * as dotenv from 'dotenv' dotenv.config() let databaseBooted = false const MONGO_UN = process.env.MONGO_UN const MONGO_PW = process.env.MONGO_PW const mongoUrl = 'mongodb+srv://' + MONGO_UN + ':' + MONGO_PW + '@gihacluster.jf7...
module.exports = new Date(2027, 4, 24)
'use strict'; /** * Created by mscienski on 5/27/15. */ define(['App', 'backbone', 'marionette', 'jquery', 'underscore', '../views/EditView'], function(App, Backbone, Marionette, $, _, EditView) { App.module('ContactsApp.Edit', function(Edit, App, Backbone, Marionette, $, _) { Edit.Controller ...
if (!global.lx_event) global.lx_event = {} const Common = require('./Common') const MainWindow = require('./MainWindow') const Tray = require('./Tray') const WinLyric = require('./WinLyric') const HotKey = require('./HotKey') if (!global.lx_event.common) global.lx_event.common = new Common() if (!global.lx_event.main...
import * as THREE from "../../lib/three.module.js"; import {OutputNode} from '../Node.js'; import { Utils } from '../utils.js'; import { getThreeEnvironment } from '../ThreeEnvironment.js'; import {Earcut} from "../../lib/Earcut.js"; class ClosedPolygonOutput extends OutputNode{ constructor(options = {}){ ...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. This software is covered by CKEditor Commercial License. Usage without proper license is prohibited. */ CKEDITOR.plugins.setLang("widget","uk",{move:"Клікніть і потягніть для переміщення"});
import React, { useState } from 'react'; import { EuiLink, EuiSwitch, EuiSpacer, EuiTextColor, } from '../../../../src/components'; export const LinkDisable = () => { const [disableLink, setDisableLink] = useState(true); return ( <div> <EuiSwitch label="Disable links" checked={di...
;(function (root, factory) { if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.rc4 = factory(); } })(this, function () { function encrypt(data, salt) { return bytes2Hex(rc4(str2Bytes(data), s...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.CgDesktop = function CgDesktop (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none"},"child":[{"tag":"path","attr":{"d":"M8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17C8.55228 17 9 16.5523 9 1...
/* global _ */ /* * Complex scripted dashboard * This script generates a dashboard object that Grafana can load. It also takes a number of user * supplied URL parameters (in the ARGS variable) * * Global accessible variables * window, document, $, jQuery, ARGS, moment * * Return a dashboard object, or a functi...
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */
/* * 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 ...
RocketChat.TabBar.addButton({ groups: ['channel', 'privategroup', 'directmessage'], id: 'message-search', i18nTitle: 'Search', icon: 'icon-search', template: 'messageSearch', order: 2 }); RocketChat.TabBar.addButton({ groups: ['directmessage'], id: 'user-info', i18nTitle: 'User_Info', icon: 'icon-user', tem...
import React, { Component } from 'react' import PropTypes from 'prop-types' import moment from 'moment' import { observer, inject } from 'mobx-react' import compose from 'recompose/compose' import styled, { createGlobalStyle } from 'styled-components' import FaelligeGeschaefteHeader from './faelligeGeschaefte/Header' ...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { options: { separator: ';' }, dist: { src: ['app/**/*.js'], dest: 'dist/<%= pkg.name %>.js' } }, uglify: { options: { banner: '/*! <%=...
// Persian-tools.js Copyright 2018 Ali.Torki
console.log('10/14');
require('dotenv').config(); const buildValidations = require('./build-utils/build-validations'); const commonConfig = require('./build-utils/webpack.common'); const webpackMerge = require('webpack-merge'); const addons = (/* string | string[] */ addonsArg) => { let addons = [...[addonsArg]] // Normalize array of add...
$(document).ready(function() { loanpayment(); $("#num1, #num2, #num3").on("keydown keyup", function() { loanpayment(); }); }); function loanpayment() { // var l = $('#principal').val(); // var m = $('#months').val(); // var n = $('#rate').val(); // var intr = n / 1200; // var ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
(() => { const menuBtnOpen = document.querySelector("[data-menu-open]"); const menuBtnClose = document.querySelector("[data-menu-close]"); const mobileMenuRef = document.querySelector("[data-menu]"); menuBtnOpen.addEventListener("click", () => { mobileMenuRef.classList.toggle("is-open"); })...
/** * XEUtils.groupBy([{type: 'a'}, {type: 'b'}], 'type') * // {a: [{type: 'a'}], b: [{type: 'b'}]}3 XEUtils.groupBy([{type: 'a'}, {type: 'a'}, {type: 'b'}], 'type') // {a: [{type: 'a'}, {type: 'a'}], b: [{type: 'b'}] */ var isEmpty = require('./isEmpty') va...
const workout = require(`./workout`); module.exports = workout;
// import modules ;(function($B){ var _b_ = $B.builtins, _window = self var module = $B.module = { __class__ : _b_.type, __mro__: [_b_.object], $infos: { __module__: "builtins", __name__: "module" }, $is_class: true } module.__init__ = function(){} module.__new__ = function(...
// For a detailed explanation regarding each configuration property, visit: // https://jestjs.io/docs/en/configuration.html module.exports = { ...require("@tsed/jest-config")(__dirname, "swagger"), coverageThreshold: { global: { statements: 98.28, branches: 80, functions: 96.67, lines: ...
var P = function (str, data, email) { var STYLE = data.style || '', GRADE = data.grade || ''; var div = `<div class="${STYLE} ${GRADE}">`, //dt = `<dt>`, dd = '', tc = '', p = '', el = '<p>', eel = '</p>'; var heading = data.data[0]; if (email) { // need e...
let req = require('../ClientRequest.js'); /** * @param {String} ServerID ID of the server to stop */ function stopServer(ServerID) { const Req = new req(process.env.CLIENT_NODEACTYL_HOST, process.env.CLIENT_NODEACTYL_KEY); let data = { "signal": "stop" }; return Req.postRequest("StopServer", data, Server...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const graphql_1 = require("graphql"); const TrackType = new graphql_1.GraphQLObjectType({ name: 'Track', fields: { id: { type: graphql_1.GraphQLID }, fromCurrency: { type: graphql_1.GraphQLString }, toCurrency: ...
import React from 'react' import './base.css' import Container from './container' import Navigation from './navigation' const Columns = ({children}) => { console.log('the children', children) return ( <div className="columnist"> {children} </div> ) } const Articles = ({children}) => { return ( ...
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { noop } from '../../common/helpers'; import TreeViewNode from './TreeViewNode'; const TreeView = ({ nodes, selectNode, highlightOnSelect, highlightOnHover }) => { const classes = classNames('list-grou...
const commandExists = require('command-exists'); const util = require('util'); const exec = util.promisify(require('child_process').exec); const jetpack = require('fs-jetpack'); const path = require('path'); module.exports = async helper => { const { TQ_OPEN_PIXEL_ART_DIR, TQ_LOCAL_GIT_USER_NAME, TQ_GITH...
// Dependencies const { Embed } = require('../../utils'), Command = require('../../structures/Command.js'); module.exports = class Lavalink extends Command { constructor(bot) { super(bot, { name: 'lavalink', ownerOnly: true, dirname: __dirname, botPermissions: [ 'SEND_MESSAGES', 'EMBED_LINKS'], desc...
import React from 'react'; import classes from './Nutrients.css'; import Nutrient from './Nutrient/Nutrient'; import Error from '../../UI/Error/Error'; const Nutrients = (props) => { const { data, error, errorMessage } = props; if (!error) { const nutrientComposition = data.nutrition.nutrients; ...
#!/usr/bin/env node /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (th...
const dgraph = require("dgraph-js"); const grpc = require("grpc"); // Create a client stub. function newClientStub() { return new dgraph.DgraphClientStub("localhost:9080", grpc.credentials.createInsecure()); } // Create a client. function newClient(clientStub) { return new dgraph.DgraphClient(clientStub); } ...
var searchData= [ ['loopclosures',['LoopClosures',['../namespacegraph__utils.html#a001157d8fee373f75f964349764215db',1,'graph_utils']]] ];
/** * @param {character[]} letters * @param {character} target * @return {character} */ var nextGreatestLetter = function (letters, target) { let left = 0 let right = letters.length while (left <= right) { let mid = left + Math.floor((right - left) / 2) if (letters[mid] > target) { ...
import chrome from 'chrome-aws-lambda' import core from 'puppeteer-core' export default async function Goodreads(req, res) { const chromeExecutable = await getChromiumExecutable() const { page } = await prepareWebPage(chromeExecutable) await page.goto('https://www.goodreads.com/user/show/125029202-bart-omiej-st...
import React from 'react'; import { shallow } from 'enzyme'; import { TLEdit, TLShow, Checkbox, Button } from 'styles'; import ToDo from '../src/components/ToDo'; import toDoStore from '../src/stores/toDoStore'; const text = 'Test'; let component; describe('<ToDo />', () => { describe('content', () => { before...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const lisk_cryptography_1 = require("@liskhq/lisk-cryptography"); const command_1 = require("@oclif/command"); const base_1 = require("../../base"); const error_1 = require("../../utils/error"); const flags_1 = require("../../utils/flags"); co...
/*! * Copyright 2021 Esteban Garviso * Licensed under MIT (https://github.com/estebangarviso/JavascriptMaster/blob/main/LICENSE.md) */ document.addEventListener('DOMContentLoaded', function (e){ "use strict"; let dropDownEl = '.js-dropdown'; const form = new Form(); let dropdown = new DropDown(dropD...
import React from "react"; import Avatar from "@material-ui/core/Avatar"; import { avatarName } from "../../../helpers/avatarName"; import Tooltip from "@material-ui/core/Tooltip"; import Grid from "@material-ui/core/Grid"; /**Sidebar Icons component * * @param {boolean} active // whether the icon is selected * @par...
/******************************************************************************* * Copyright (c) 2004, 2014 1&1 Internet AG, Germany, http://www.1und1.de, * EclipseSource and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of t...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<88906d23401ea8eff6e98e2a83a46fd4>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disabl...
var commander = require('commander'), objPath = require('object-path'), path = require('path'), fs = require('fs'), yaml = require('js-yaml'), ZSchema = require('z-schema'), ZSchemaErrors = require('z-schema-errors'), validator = new ZSchema(), reporter = ZSchemaErrors.init(); /* example options object: { ...
module.exports = { env: { browser: true, es2021: true, jest: true, }, extends: ['airbnb-base', 'prettier'], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 12, sourceType: 'module', }, plugins: ['@typescript-eslint'], rules: { 'import/extensions': [ 'erro...
"use strict"; /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.20.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator...
import Vue from "vue"; import "./bootstrap"; import router from "./router"; const app = new Vue({ data() { return { title: "Hello", }; }, router, components: {}, }); app.$mount("#app");
import React,{Component} from 'react'; import {connect} from 'react-redux'; import {Link} from 'react-router'; import * as actions from '../actions/auth_actions'; class MyBooks extends Component{ constructor(props) { super(props); this.props.fetchUserBooks(); } //all handle function for calling act...
var mongoose = require('mongoose'), Schema = mongoose.Schema, passportLocalMongoose = require('passport-local-mongoose'); var Account = new Schema({ username: String, password: String }); Account.plugin(passportLocalMongoose); module.exports = mongoose.model('Account', Account);
$(function() { $('#hamburger-icon').click(function(i) { $(this).addClass('active'); var menuMob = $('wrap-menu'); if (menuMob.hasClass('active') == false) { $('#hamburger-icon').addClass('active'); $('.wrap-menu').addClass('active'); $('html').addClass...
/*-------------------------------------- * jQuery.imoViewer jQuery Plugin v1.0 *-------------------------------------- * *----------------- Author ------------- * Name : Salauddin Rana * Email : rana7cse@gmail.com * website : http://www.ranabro.rocks * * ------------- Licensed ---------------- * MIT...
// Events ported from apps/artwork/components/contact.coffee // & components/contact/inquiry.coffee ;(function() { "use strict" // DOM events var $document = $(document) $document.on("click", ".js-send-embedded-inquiry", function() { analytics.track('Clicked "Contact Gallery" button', { id: $(this)...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { driver, By2 } from 'selenium-appium' import { until } from 'selenium-webdriver'; const setup = require('../jest-setups/jest.setup'); jest.setTimeout(50000); beforeAll(() => { return driver.startWithCapa...
let React = require('react'); class Selector extends React.Component { handleChange(event) { this.props.setValue(event.target.value); } render() { let {currentValue, options} = this.props; let handleChange = this.handleChange.bind(this); return ( <select className={this.props.css...
(function($, window, document) { // Main function $.fn.scrollUp = function (options) { // Ensure that only one scrollUp exists if (!$.data(document.body, 'scrollUp')) { $.data(document.body, 'scrollUp', true); $.fn.scrollUp.init(options); } }; // Init ...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.scss'; import App from './App'; import * as serviceWorker from './serviceWorker'; import 'jquery/dist/jquery.min.js'; import 'bootstrap/dist/css/bootstrap.min.css'; import './libs/easing.js'; /* GLOBAL VARIABLES */ window.$primaryLanguage =...
var searchData= [ ['keycode_462',['KeyCode',['../bangtal_8h.html#a94b769a2899b14202ace87b550519a0d',1,'bangtal.h']]], ['keystate_463',['KeyState',['../bangtal_8h.html#afcbb07da4e30392bc30fe97544f5da21',1,'bangtal.h']]] ];
import "isomorphic-fetch"; import { digestPayload } from "../helpers/bytes"; const apiBase = "https://time-testnet.decred.org:59152"; const getUrl = (path, version = "v1") => `${apiBase}/${version}/${path}`; const getOptions = (json, method) => ({ headers: { Accept: "application/json", "Content-Type": "app...
const Discord = require('discord.js'); exports.run = async(client, message,args, queue) => { //======================== Start of Variables =======================// let fetched = queue.get(message.guild.id) const emptyQueue = new Discord.RichEmbed() .setColor('#ed455a') .set...
const { Chapter, Classes } = require('../models'); const actionCreateChapter = async ({ userId, classId, title }) => { console.log({ userId, classId, title }); const classes = await Classes.findOne({ _id: classId }); const chapter = await Chapter.create({ userId, classId, title }); classes.chapterId.push({ _id...
// Copyright 2021-2022, University of Colorado Boulder /** * Export a utility function that extracts a lowercase-kebab (repo-style) repo name (e.g. acid-base-solutions) from * a string that looks like REPO_NAME/stringKey. * * @author Liam Mulhall */ import logger from './logger.js'; /** * Return a lowercase-ke...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
var load_8py = [ [ "divide", "load_8py.html#aef60d46e09b2cc9630901ba540d55d73", null ], [ "init", "load_8py.html#a43dc78d4479c6115c5b19f9cabd82612", null ], [ "lineage", "load_8py.html#a4c39f75a485889aba0dd25b364bd4320", null ], [ "numSignals", "load_8py.html#a63720750b23794325b386cf0ab9ef328", null ], ...
var drone_at_commands_8h = [ [ "ATCMD_AT_COM_WDT", "drone_at_commands_8h.html#aa66d6a29c990dc36dc738c2d999b84f2", null ], [ "ATCMD_AT_FLAT_TRIM", "drone_at_commands_8h.html#a093be169d7cddbe6371b36ac8050349b", null ], [ "ATCMD_AT_REF", "drone_at_commands_8h.html#ade6ac0248cbd8b3fa6db7fb4c92c9ddc", null ], ...
import "bulma/css/bulma.min.css"; import { Auth0Provider } from "@auth0/auth0-react"; import React from "react"; import ReactDOM from "react-dom"; import App from "./App"; import * as serviceWorker from "./serviceWorker"; import "./index.css"; ReactDOM.render( <React.StrictMode> <Auth0Provider domain="smu-...
/** * 2007-2017 [PagSeguro Internet Ltda.] * * NOTICE OF LICENSE * *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 ap...
chaset 字符集
// Copyright 2008 The Closure Library 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 requ...
import React from "react"; const TrendingPosts = () => { return ( <section className="top-home-section"> <div className="container"> <div className="title-section text-center"> <h1>Trending Posts</h1> </div> <div className="top-home-box"> <div className="row"> ...
/** * 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, $class; var NSObject = require('/hyperloop/foundation/nsobject'); /** ...
import * as actions from '../../src/action/profile-actions'; require('jest'); describe('Profile actions', function() { beforeAll(() => { let profile = { email: 'foo@foo.com', name: 'bob', homeAirport: 'SEA', }; this.action = actions.getMyProfile(profile); }); it('should create an a...
require('@babel/register'); ({ ignore: /node_modules/ }); require('@babel/polyfill'); const HDWalletProvider = require('@truffle/hdwallet-provider'); let mnemonic = 'inflict lock bone system educate rare remember erosion include arena flock skill'; let testAccounts = [ "0x9a44395fe0d90c079d68309ce0d981941dc0e4d6...
module.exports = (app) => { // Listen for a slash command invocation app.command('/ticket', async ({ ack, body, client }) => { // Acknowledge the command request await ack(); try { // Call views.open with the built-in client const result = await client.views.open({ // Pass a valid t...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
//# sourceMappingURL=runtime-main.a4279b8a.js.map
'use strict'; /** @namespace DevKit */ var DevKit; (function (DevKit) { 'use strict'; DevKit.FormTextAnalyticsEntityMapping_Information = function(executionContext, defaultWebResourceName) { var formContext = null; if (executionContext !== undefined) { if (executionContext.getFormContext === undefined) { ...
import styled from 'styled-components'; import { Container as ArticleInfoContainer } from './article-info'; import { scale } from '../../utils/typography'; export const Container = styled.div` @media only screen and (${props => props.theme.breakpoints.min.desktop}) { text-align: ${props => (props.alignRight ? 'r...
const _ = require('lodash') const test = require('ava') const uuid = require('uuid/v4') const helper = require('./helpers') const hb = helper.createHb() test('Get data correctly', async t => { const rowKey = uuid() const stringValue = uuid() const dateValue = new Date() const value = { 'cf1:string': stri...
'use strict'; var mongoose = require('mongoose'); var DealTasksSchema = mongoose.Schemas.DealTasks; var _ = require('lodash'); var populateWrapper = require('../helpers/callbackWrapper').populate; module.exports = function (models) { return new function () { // todo complete it this.create = funct...
/* eslint-disable */ import React from 'react'; import { Svg, Path } from 'react-native-svg'; import { getIconColor } from './helper'; let IconpullDown = ({ size, color, ...rest }) => { return ( <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}> <Path d="M77.056 372.394667L465.92 7...
const async = require('async'); const { errors, versioning } = require('arsenal'); const constants = require('../../constants'); const aclUtils = require('../utilities/aclUtils'); const { cleanUpBucket } = require('./apiUtils/bucket/bucketCreation'); const collectCorsHeaders = require('../utilities/collectCorsHeaders'...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
"use strict"; module.exports = ["Node.js/" + process.version];
'use strict'; var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i...
const Joi = require('joi'); const fs = require('fs'); const path = require('path'); const Logger = require('./logger'); const { join } = require('path/posix'); const logger = new Logger(); var gs1 = null; var api = null; var keyGen = null; //config files are in [project folder]\config. code is in [project folder]\src...