text
stringlengths
2
1.05M
"use strict"; process.env.BABEL_ENV = "renderer"; const path = require("path"); const { dependencies } = require("../package.json"); const webpack = require("webpack"); const MinifyPlugin = require("babel-minify-webpack-plugin"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const MiniCssExtractPlugin = ...
const _ = require('lodash'); const {Router} = require('express'); const body = require('body-parser'); const MagicLink = require('@tryghost/magic-link'); const StripePaymentProcessor = require('./lib/stripe'); const Tokens = require('./lib/tokens'); const Users = require('./lib/users'); const Metadata = require('./lib/...
const { GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, PATCH, } = require('../../../methods'); const joi = require('joi'); const parsers = require('./types-parsers'); const { merge, mergeAll, } = require('ramda'); const { common: commonParser } = parsers; const METHODS_NAMES = { [GET]: 'get', [...
define( "dojox/atom/widget/nls/nb/FeedEntryViewer", ({ displayOptions: "[visningsalternativer]", title: "Tittel", authors: "Forfattere", contributors: "Bidragsytere", id: "ID", close: "[lukk]", updated: "Oppdatert", summary: "Sammendrag", content: "Innhold" }) );
var searchData= [ ['layoutxyz',['LayoutXYZ',['../namespaceopenvdb_1_1v6__1_1_1tools.html#a8206a04f26f57965d9cb369acafa33d7a696de54548c230cf353790fc1f73117f',1,'openvdb::v6_1::tools']]], ['layoutzyx',['LayoutZYX',['../namespaceopenvdb_1_1v6__1_1_1tools.html#a8206a04f26f57965d9cb369acafa33d7ac4b2238a60f4ee86d9ed5a72a...
import React from 'react'; import { ItemDiv } from './styledComponents'; const GithubUser = ({ id, onSelectContent, avatar_url, score, name}) => { return ( <ItemDiv onClick={() => onSelectContent('github-user',{id, avatar_url, score, name})}> <img height='100px' src={avatar_url}/> <h4>{name}</...
const express = require('express'); const app = express(); const PORT = process.env.PORT || 3001; const apiRoute = require('./routes/apiRoute'); const htmlRoute = require('./routes/htmlRoute'); // parse all client string/array data app.use(express.urlencoded({extended:true})); // parse json app.use(express.json()); //...
const profileSelector = '.core-rail > *:first-child section >' const template = { profile: { selector: '.pv-top-card', fields: { name: `.text-heading-xlarge`, headline: `.text-body-medium`, location: `.pb2 .text-body-small`, connections: `li.text-body-small`, imageurl: { s...
var book = { "name": "1 Tessalonicenses", "numChapters": 5, "chapters": { "1": { "1": "<span class=\"chapternum\">1 </span>Paulo, e Silvano, e Timóteo, à igreja dos tessalonicenses, em Deus, o Pai, e <i class=\"added\">no</i> Senhor Jesus Cristo: graça e paz tenhais de Deus, nosso Pai, e do Senhor Jesus Cristo....
"use strict"; var TextEncoder = require("text-encoding").TextEncoder; var configureLogError = require("../configure-logger"); var sinonEvent = require("../event"); var extend = require("just-extend"); function getWorkingXHR(globalScope) { var supportsXHR = typeof globalScope.XMLHttpRequest !== "undefined"; i...
import { FETCH_GENRE_TV, FETCH_POPULAR_TV, FETCH_TOPRATED_TV, FETCH_AIRINGTODAY_TV, FETCH_THISWEEK_TV } from "../actions/tv"; const initialState = { popularTv: [], topRatedTv: [], airingTodayTv: [], airingThisWeekTv: [], genreTv: [] }; export default function(state = initialState, action) { swit...
/* @功能:购物车页面js @作者:diamondwang @时间:2013年11月14日 */ $(function(){ //减少 $(".reduce_num").click(function(){ var amount = $(this).parent().find(".amount"); // console.log(amount); if (parseInt($(amount).val()) <= 1){ alert("商品数量最少为1"); } else{ $(amount).val(parseInt($(amount).val()) - 1); } //小计 v...
'use strict'; /** * @ngdoc overview * @name directive.textarea */ angular.module('backAnd.directives') .directive('textarea', [ function () { /** * @ngdoc directive * @name directive.textarea * @description textarea element * @param {object} field, required, field configuration and data ...
elation.require([ 'elements.base', 'elements.ui.text', 'elements.ui.label', 'elements.ui.button', 'elements.ui.togglebutton', 'elements.ui.dropdownbutton', 'elements.ui.notificationbutton', 'elements.ui.buttonbar', 'elements.ui.buttonlist', 'elements.ui.input', 'elements.ui.textarea', 'elements....
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Injectable, Inject, Optional, NgZone, InjectionToken } from '@angular/core'; import { of, from } from 'rxjs'; import { map, switchMap, shareReplay, tap,...
import React from 'react' import { render, fireEvent } from '@testing-library/react' import Button from './Button' import Icon from '../Icon' import userEvent from '@testing-library/user-event' import { MemoryRouter as Router } from 'react-router-dom' const wrap = fn => Component => fn(<Router>{Component}</Router>) co...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[17],{ /***/ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js": /*!**********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! \***********************...
"use strict"; /** @jsx jsx */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) i...
import DefaultDefinition from '../../../src/lib/default-definition' import State from '../../../src/lib/state' import Handler from '../../../src/lib/handler' import Module from '../../../src/lib/module' import Context from '../../../src/context' import { makeClass } from '../../helpers' Context.use(DefaultDefinition) ...
"use strict"; const url = require('url'); const log = require("../../utils/logger").logger; const Exception = require('../../utils/Exception').Exception; const dbs = require('../../db-connections'); const users = require('./Users'); let catalogueDB; module.exports.initialize = function(app) { catalogueDB = dbs....
module.exports = { infuraProjectId: "xxxx", // your infura id accountPrivateKey: "xxx", // your private key etherscanAPIKey: "AJ88UIKB9BIZZQITIA26521FF9WVK7BYIR", // for test purposes initialLiquidityParams: { tokenAMount: 1_000_000, baseAssetAmount: 0.1 //either eth ...
/* */ "format cjs"; /*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.0.1 */ goog.provide('ng.material.components.progressCircular'); goog.require('ng.material.core'); /** * @ngdoc module * @name material.components.progressCircular * @description Circular Progress module!...
// flow-typed signature: 5909c9d5575ae59c41744b420e191e78 // flow-typed version: <<STUB>>/@babel/node_v^7.0.0/flow_v0.88.0 /** * This is an autogenerated libdef stub for: * * '@babel/node' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with th...
const bcrypt = require('bcrypt'); const SALT_WORK_FACTOR = 10; // Get input from the console const stdin = process.stdin; console.log('Enter the password to hash: '); stdin.resume(); stdin.setEncoding('utf8'); stdin.on('data', (data) => { bcrypt.genSalt(SALT_WORK_FACTOR, (eSalt, salt) => { if (eSalt) { ...
var conn = require('./../inc/db') var express = require('express'); var menus = require('./../inc/menus'); var reservations = require('./../inc/reservations'); var contacts = require('./../inc/contacts'); var emails = require('./../inc/emails'); var router = express.Router(); /* GET home page. */ router.get('/', funct...
/** * Implement Gatsby's Browser APIs in this file. * * See: https://www.gatsbyjs.com/docs/browser-apis/ */ // You can delete this file if you're not using it import React from "react" import { ThemeProvider } from "styled-components" import { Theme } from "./src/theme/default" import GlobalStyles from "./src/glob...
//ENDED AT 1:25:00 const { AuthenticationError } = require('apollo-server'); const jwt = require('jsonwebtoken'); module.exports = (context) => { const authHeader = context.req.headers.authorization; if(authHeader){ const token = authHeader.split('Bearer ')[1]; if(token){ try { ...
import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; const Calendar2PlusFill = forwardRef(({ color, size, ...rest }, ref) => { return ( <svg ref={ref} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} ...
/** * Created by long on 15-9-18. */ var flax = flax || {}; flax.languages = ["zh","en","de","fr","it","es","tr","pt","ru"]; flax.language = { current:null, index:-1, _dict:null, _toLoad:null, init:function() { var lan = flax.game.config["language"]; if(lan == null || lan ==...
import Box from '../box' import Stream from '../stream' Box.stsd = function () { let stream = new Stream(this.data) this.version = stream.readUint8() this.flag = Stream.readByte(stream.dataview, 3) this.entryCount = stream.readUint32() let box = new Box() box.readHeader(stream) this.subBox.push(box) box...
// import express router and todo.js const router = require("express").Router(); const Todo = require("../models/Todo"); // CRUD // GET // Get all data from todo coolecion router.get("/", (req, res) => { Todo.find((err, result) => { if(err) throw new Error(err); res.json(result); }); }); // ...
import React from 'react'; class SwordMixin extends React.Component { render() { return ( <a-mixin id="sword" hoverable grabbable draggable droppable dynamic-body shadow rotation="-90 0 0" obj-model="obj: url(models/sword/model.obj); mtl: url(models/sword/mat...
/** * Definition for a binary tree node. * function TreeNode(val) { * this.val = val; * this.left = this.right = null; * } */ /** * @param {TreeNode} root * @return {TreeNode} */ const convertBST = (root) => { let sum = 0; function plusTree(node) { if (node) { plusTree(node....
#!/usr/bin/env node // Script to bootstrap repo for development // Enables ES2015 import/export in Node.js require('reify'); const moduleAlias = require('module-alias'); const config = require('ocular-dev-tools/config/ocular.config')({ aliasMode: 'src', root: resolve(__dirname, '..') }); moduleAlias.addAliases(co...
/** * 弹出式提示框,默认1.2秒自动消失 * @param message 提示信息 * @param style 提示样式,有alert-success、alert-danger、alert-warning、alert-info * @param time 消失时间 */ var prompt = function (message, style, time) { style = (style === undefined) ? 'alert-success' : style; time = (time === undefined) ? 1200 : time; $('#alert') ...
import { typeClouds } from '@/utils/common/hypervisor' import { getDocsUrl, isCE } from '@/utils/utils' import i18n from '@/locales' const providerMap = typeClouds.getProviderlowcase() const aliyunLogo = require('../../../../src/assets/images/providers/aliyun.svg') const awsLogo = require('../../../../src/assets/images...
// require dependencies const fs = require(`fs`); const path = require(`path`); const assert = require(`assert`); // declare constants const EXAMPLE_NAME = path.basename(__filename); const FILE_PATH = path.join(__dirname, '../file-1.txt'); const START = Date.now(); // declare logging function const log = (logId, valu...
import VueRouter from 'vue-router' import model from '../../model/model.json' // TODO: This is hardcoded for now. See how this can be // implemented via the Model. // import PackageDetailsView from '../components/PackageDetailsView.vue' function makeRouter(Vue, {cmp}) { const routes = Object.entries(model.main.app...
this.wordle = this.wordle || {}, this.wordle.bundle = function(e) { "use strict"; function a(e) { return (a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor ...
const { Pool } = require('pg'); const pool = new Pool({ user: "postgres", password: process.env.PSQL_PASSWORD, host: "localhost", port: 5432, database: "boomv1" }); module.exports = { query: (text, params) => pool.query(text, params), };
import React from 'react'; import PropTypes from 'prop-types'; import { Helmet } from 'react-helmet'; import { useLocation } from '@reach/router'; import { useStaticQuery, graphql } from 'gatsby'; // https://www.gatsbyjs.com/docs/add-seo-component/ const Head = ({ title, description, image }) => { const { pathname ...
/* eslint-disable */ const fs = require('fs-extra') const path = require('path') const resolveTypesPath = (...paths) => path.resolve(__dirname, '../types', ...paths) // remove useless types fs.rmdirSync(resolveTypesPath('./dev-entry'), { recursive: true })
/** * @class draw2d.shape.icon.Picture * See the example: * * @example preview small frame * * let icon = new draw2d.shape.icon.Picture(); * * canvas.add(icon,50,10); * * @inheritable * @author Andreas Herz * @extends draw2d.shape.icon.Icon */ import draw2d from '../../packages' draw2d.shape...
import * as utils from './utils'; export default { pluginOptions: {}, data() { return { ymapEventBus: utils.emitter, ymapId: 'yandexMap' + Math.round(Math.random() * 100000), myMap: {}, style: this.ymapClass ? '' : 'width: 100%; height: 100%;' } ...
import React from 'react' import Heading from '../Reuseable/Heading' export default function Contact() { return ( <section className="py-3"> <Heading title="Contact Us" /> <div className="col-10 col-sm-8 mx-auto"> <form action="https://formspree.io/nafila@outlook.com" method="POST">...
var fs = require("fs"); var path = require("path"); /** * Take BrowserSync plugins and determine if * any UI is provided by looking at data in the the * modules package.json file * @param plugins * @returns {*} */ module.exports = function (plugins) { return require("immutable") .from...
var tags = require("../models/classAbilityTags"); const factory = require("../controllers/factory"); // ---------------------------------------- Cria a classe Monge function initializeMonk() { const kiPointsProgression = [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ]; const monk...
/** * @ngdoc function * @name guideAppApp.controller:AboutCtrl * @description * # AboutCtrl * Controller of the guideAppApp */ /*global angular */ angular.module('guideAppApp') .controller('AboutCtrl', function () { 'use strict'; this.awesomeThings = [ 'HTML5 Boilerplate', ...
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !(function (a, b) { "object" == typeof module && "object" == typeof module.exports ? (module.exports = a.document ? b(a, !0) : function (a) { if (!a.document) throw new Error("jQuery requi...
module.exports = { // ROOM EVENTS ROOM_VARIABLE: 'variable', ROOM_DATA: 'data', ROOM_KEY: 'key', ROOM_PUBLIC: 'roomPublic', ROOM_PRIVATE: 'roomPrivate', CLIENT_ROOM_VARIABLE: 'c_variable', CLIENT_ROOM_DATA: 'c_data', CLIENT_ROOM_KEY: 'c_key', // INN KEEPER EVENTS ROOM_RESERVE: 'reserve', ROOM_...
mycallback( {"CONTRIBUTOR OCCUPATION": "Associate Manager", "CONTRIBUTION AMOUNT (F3L Bundled)": "90.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Mylan Pharmaceuticals Inc", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "1141 Munsey St", "CONTRIBUTOR MIDDLE NAME": "P", "DONOR CANDIDATE FEC...
/** * `tasks/register/buildProd.js` * * --------------------------------------------------------------- * * This Grunt tasklist will be executed instead of `build` if you * run `sails www` in a production environment, e.g.: * `NODE_ENV=production sails www` * * For more information see: * https://sailsjs.co...
/** * DevExtreme (ui/tree_list/ui.tree_list.context_menu.js) * Version: 20.1.3 * Build date: Fri Apr 24 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var _uiTree_list = require("...
exports.level = { "goalTreeString": "%7B%22branches%22%3A%7B%22master%22%3A%7B%22target%22%3A%22C1%22%2C%22id%22%3A%22master%22%2C%22remoteTrackingBranchID%22%3A%22o/master%22%7D%2C%22o/master%22%3A%7B%22target%22%3A%22C3%27%22%2C%22id%22%3A%22o/master%22%2C%22remoteTrackingBranchID%22%3Anull%7D%2C%22side%22%3A%7B%22...
/* ******************************************************************************************* * * * Plese read the following tutorial before implementing tasks: * * https://developer.mozilla.org/en...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import warning from 'warning'; import { s...
/** * @author ohad * Created on 31.01.2017 */ (function () { 'use strict'; angular.module('BrainPal.theme.components') .directive('widgets', widgets); /** @ngInject */ function widgets() { return { restrict : 'EA', scope : { ngModel: '=' }, templateUrl: '...
import { radiusDefault } from 'reactackle-core'; export default { borderWidth: 1, borderRadius: radiusDefault, color: { default: 'currentColor', light: 'rgba(255, 255, 255, 0.54)', dark: 'rgba(0, 0, 0, 0.54)', }, size: { small: { borderWidth: 1, height: 18, width: null, ...
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.2 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extend...
import DesignSystem, { pxTo, toPx, txPx, parseUnit, themed } from '../design-system'; describe('DesignSystem', () => { let ds; it('constructor should throw when not given a token', () => { expect(() => { ds = new DesignSystem(); }).toThrow(); }); it('should create an instance', () => { ds =...
class SimulatedEntity { constructor() { } }
// Generated by BUCKLESCRIPT VERSION 5.0.6, PLEASE EDIT WITH CARE 'use strict'; var BTC = require("../../application/wallet/BTC.bs.js"); var Grid = require("./Grid.bs.js"); var Curry = require("bs-platform/lib/js/curry.js"); var React = require("react"); var MButton = require("./MButton.bs.js"); var Belt_List = requir...
import React from 'react'; import { useTranslation } from 'react-i18next'; function NotFound() { const { t } = useTranslation(); return ( <div> <h1>{t('Page Not Found')}</h1> </div> ); } export default NotFound;
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* eslint-disable */ ...
/* See license.txt for terms of usage */ "use strict"; /*const { Trace, TraceError } = require("./core/trace.js").get(module.id); const { Item, SelectionContext } = require("sdk/context-menu"); var menuItem = Item({ label: "Log Selection", context: SelectionContext(), contentScript: 'self.on("click", function ...
import cloneDeep from 'lodash.clonedeep'; import Dictionary from 'utils/dictionary/dictionary'; import { CODES_LIST_INPUT_ENUM, QUESTION_TYPE_ENUM } from 'constants/pogues-constants'; import { getComponentsTargetsByComponent } from 'utils/model/redirections-utils'; import { generateCollectedVariables } from 'utils...
'use strict'; var exec = require('child_process').exec; var express = require('express'); var cv = require('opencv'); var ejs = require('ejs'); var app = express(); var people = 0; // Setup Express and routes: app.engine('html', ejs.renderFile); app.set('view engine', 'ejs'); app.use(express.static('bower_component...
// pages/login/login.js Page({ data: { code_text: '获取验证码', wait: 60, phone: '', vcode: '', disabled: false }, onLoad: function (options) { }, onBindInputPhone: function (e) { this.setData({ phone: e.detail.value }) }, onBindInputCode: function (e) { this.setData({ vcode: e.detail.value }...
/** * @version 1.4.10 * @license MIT */ !function(t,e){"use strict";t.module("smart-table",[]).run(["$templateCache",function(t){t.put("template/smart-table/pagination.html",'<div class="pagination" ng-if="pages.length >= 2"><ul class="pagination"><li ng-repeat="page in pages" ng-class="{active: page==currentPage}"><a...
"use strict"; exports.default = void 0; /* eslint-disable node/no-unsupported-features/es-syntax */ // !!! AUTO-GENERATED FILE, DO NOT EDIT var _default = { "en-150": "en-001", "en-AG": "en-001", "en-AI": "en-001", "en-AU": "en-001", "en-BB": "en-001", "en-BM": "en-001", "en-BS": "en-001", "en-BW": "e...
var structBloomberg_1_1quantum_1_1ITask = [ [ "Ptr", "df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d", null ], [ "WeakPtr", "df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48", null ], [ "RetCode", "df/daf/structBloomberg_1_1quantum_1_1ITask...
import * as types from '../mutation-types' import Vue from 'vue' import {ToastProgrammatic as Toast} from 'buefy/src' import {addUrlQueryParams} from '../../utils' import {version} from '../../../package.json' const state = { loading: { app: {}, user: {}, users: {}, dcloud: {}, provision: {} },...
/*! ========================================================= * Paper Dashboard React - v1.2.0 ========================================================= * Product Page: https://www.creative-tim.com/product/paper-dashboard-react * Copyright 2020 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https:...
import React from "react" import { Link } from "gatsby" import Layout from "../components/layout" import Image from "../components/image" import SEO from "../components/seo" const IndexPage = () => ( <Layout> <SEO title="Home" /> <h1>Headless Wordpress</h1> <p>Now I just need to figure out where to host...
define(function(require, exports, module) { 'use strict'; var Abstract = require('./abstract'); var Calc = require('common/calc'); var Calendar = require('./calendar'); var core = require('core'); var denodeifyAll = require('common/promise').denodeifyAll; function Events() { Abstract.apply(this, arguments); deno...
import React, { Component } from 'react'; import { View, Text, StyleSheet } from 'react-native'; import { color } from '../../widget' import { screen, system } from '../../common' import HomeGridItem from './HomeGridItem' export default class HomeGridView extends Component { static defaultProps = { infos...
import React, { Component } from 'react'; import { Translation } from 'react-i18next'; import Switch from "react-switch"; import { Col, Container, Form, FormGroup, Row } from 'reactstrap'; import Button from '../../Base/FormControl/Button'; import CheckBox from '../../Base/FormControl/CheckBox'; import Input from '../....
import OpnSettingTab from "./settingTab"; import { Plugin, TFile } from "obsidian"; import { log, publishNote } from "./utils"; import { Client } from "@notionhq/client"; const DEFAULT_SETTINGS = { token: "", database: "", }; /** * * Icons list * * 'logo-crystal', 'create-new', 'trash', 'search', 'right-triangle'...
const express = require('express'); const path = require('path'); const bodyParser = require('body-parser'); const routes = require('./routes/index'); const app = express(); app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'pug'); app.use(bodyParser.urlencoded({ extended: true })); //app.use(e...
import { localize } from '@deriv/translations'; import { messageWithButton, arrayAsMessage } from 'Components'; const showErrorMessageWithButton = (message, block_id, showErrorMessage, centerAndHighlightBlock) => { showErrorMessage( messageWithButton({ unique_id: block_id, type: 'er...
const R = require("ramda") const marked = require("marked") const converter = options => (files, metalsmith, done) => { R.forEachObjIndexed(file => { const markdown = file.contents.toString() // TODO: Regexify all delimiters with #map const slides = R.pipe( splitSlides(file), R.map(R.map(fo...
require("heatshrink").decompress(atob("mEwwhC/AH4AakUiiMRCiQACC4IACiATIgQUEC44aICxAXIDAoX/C51Eonu7vUAgNEC5IRCABXtDoVAC4cOCpYAF6AXu8AXE8htCR4sUBIQAC7ovEX98EolCokk93iokuX4PRokd7tBohNBU43i9wTBAYfu6PdjwDEO4hHMFYNBAYQvEO94X+lGIxGCC6QWCAAOAC6EYCwYYFC5gSBwc/+c4AoIXOiQWB/4ACDAIXOIwM/CwXzmZIDC5Z1BFwc9n4XPIwk97pIEC54WB74XRx4XBl5...
/** * Auto-generated action file for "Docker Engine" API. * * Generated at: 2019-05-07T14:40:15.285Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / docker-com-engine-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector are licens...
// @require core/cash.js // @require core/variables.js fn.map = function ( callback ) { return cash ( map.call ( this, ( ele, i ) => callback.call ( ele, i, ele ) ) ); };
const initialState = { user: {}, userGroups: [], error: null, loading: false, } export default (state = initialState, action) => { switch (action.type) { case 'Something': return state default: return state; } }
$(function() { $.get('/config', function(response) { Object.keys(fields).forEach(configureField(fields, response)); Object.keys(buttons).forEach(configureButton(buttons, response)); }); // Button Ids' and Config Keys var buttons = { chatDemoButton: 'TwilioChatServiceSid' }; // Field...
/*! p5.dom.js v0.2.10 April 25, 2016 */ /** * <p>The web is much more than just canvas and p5.dom makes it easy to interact * with other HTML5 objects, including text, hyperlink, image, input, video, * audio, and webcam.</p> * <p>There is a set of creation methods, DOM manipulation methods, and * an extended p5.El...
'use strict'; var Promise = require('es6-promise').Promise; // jshint ignore:line marionette('LockScreen: ensure passcode unlock works', function() { var client = marionette.client(); var LockScreenPasscodeUnlockActions, actions; var LockScreen = require('./lib/lockscreen.js'); var lockScreen = (new LockScre...
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import KiAccordionItem from './KiAccordionItem'; import styles from './styles'; const KiAccordion = ({ data = [], expandedKeys, actions = {}, styles = {}, classes }) => { return ( <div classNam...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var monitorSchema = new Schema({ _id: Schema.Types.ObjectId, menu: String, subMenu : String, url: String, userId: String, isTestPassed: Boolean, log: String, testDate: Date },{collection : 'monitor'}); module.exports...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Accordion = exports.AccordionItem = undefined; var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); var _extends2 = require('babel-ru...
import preparePairs from 'Utils/preparePairs'; import pair from 'Mocks/pair'; import processedPairs from 'Mocks/processedPairs'; describe('Prepare pairs', () => { it('pairs are prepared correctly', () => { expect(preparePairs(pair)).toEqual(processedPairs); }); });
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sl",[],function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTo...
import React, { useState, useEffect } from "react"; import Button from "../../button"; import styles from "./index.module.css"; const CommentForm = ({ text, formSubmitHandler, buttonText }) => { const [content, setContent] = useState(""); useEffect(() => { setContent(text); }, [text]); return ( <form clas...
import React from "react"; export default function(props) { return ( <div> <h2>Ideaz Detail for {props.match.params.slug}</h2> </div> ); }
/*! DataTables 1.10.19 * ©2008-2018 SpryMedia Ltd - datatables.net/license */ /** * @summary DataTables * @description Paginate, search and order HTML tables * @version 1.10.19 * @file jquery.dataTables.js * @author SpryMedia Ltd * @contact www.datatables.net * @copyright Copyright 2...
const {app} = require('electron') const {Client} = require('discord-rpc'); const {Analytics} = require("../analytics/sentry"); Analytics.init() module.exports = { connect: function (clientId) { if (!app.preferences.value('general.discordRPC').includes(true)) return; app.discord.client = new Client(...
import React, { Component, useCallback } from "react"; import Dropzone, { useDropzone } from "react-dropzone"; import AdminUploadButton from "../AdminUploadButton"; // Container for holding uploaded file contents class AdminDropZone extends Component { constructor() { super(); this.onDrop = (files) => { ...
/** * Brian Woodward * * Brian Woodward <http://github.com/doowb> * Created and maintained by Brian Woodward * * Copyright (c) 2014 Brian Woodward. * Licensed under the MIT License (MIT). */ /** * This code and some of the ideas in the code are inspired by the following * article from "25 days of AngularJS C...
calculist.require(['Item','_','parseTextDoc','getNewGuid','transaction','itemOfFocus','itemsByGuid','calculistFileFormatter', 'emojiHelper'], function (Item, _, parseTextDoc, getNewGuid, transaction, itemOfFocus, itemsByGuid, calculistFileFormatter, emojiHelper) { Item.prototype.handlePaste = function(e, options) { ...