text
stringlengths
2
1.04M
$(function () { $('#select-tipo_herra').on('change', onSelectTipo_HerrasChange); }); function onSelectTipo_HerrasChange() { var tipo_herra_id = $(this).val(); if (! tipo_herra_id){ $('#select-herra').html('<option value="">Seleccione una Herramienta</option>'); return; } $.get('/api/editarEst...
'use strict'; var EventEmitter = require('events').EventEmitter; var validator = require('../lib/validator'); var sequence = require('when/sequence'); var moment = require('moment'); var _debug = require('debug')('bot'); var util = require('util'); var when = require('when'); var poll = require('when/poll'); let fs = ...
import request from 'request-promise'; import { Database } from '../../utils/database.js'; import { Logger } from '../../utils/logger.js'; import { Common } from '../../utils/common.js'; import { ECLWSClient } from './webSocketClient.js'; let options = null; const logger = Logger; const common = Common; const eclWsClie...
/* =========================================================== * trumbowyg.base64.js v1.0 * Base64 plugin for Trumbowyg * http://alex-d.github.com/Trumbowyg * =========================================================== * Author : Cyril Biencourt (lizardK) */ (function($){ $.extend(true, $.trumbowyg, { ...
import React, { Fragment } from 'react'; import HomeView from './home'; import IssuesView from './issues'; import SortableIssuesView from './sortable-issues'; const RootViews = () => ( <Fragment> <HomeView /> <IssuesView /> <SortableIssuesView /> </Fragment> ); export default RootViews;
import styled from 'styled-components'; import ReactSlider from 'react-slider'; const Container = styled.div` background: #fff linear-gradient( 90deg, rgba(183, 217, 29, 1) 0%, rgba(255, 134, 0, 1) 50%, rgba(255, 0, 0, 1) 100% ); margin: 0 0.5em; ...
module.exports = new Date(2028, 8, 18)
document.addEventListener('DOMContentLoaded', function () { chrome.storage.sync.get("groupid", function (data) { document.getElementById("groupid").value = data.groupid }) function saveKey (e) { e.preventDefault() chrome.storage.sync.set({ groupid: document.getElementByI...
module.exports = { "stories": [ '../src/stories/**/*.stories.mdx', '../src/stories/*.stories.@(js|jsx|ts|tsx)' ], "addons": [ // '@storybook-design-token', "@storybook/addon-links", "@storybook/addon-essentials", '@pxtrn/storybook-addon-docs-stencil', '@storybook/addon-a11y', // '@...
import { benchSettings } from 'karma-webpack-bundle'; import checkSchemaType from '../../../src/Schema/parse/checkTypeDef.js'; suite('checkSchemaType', () => { let sandbox = 0; benchmark('string', () => { sandbox = checkSchemaType(String, false); }, benchSettings); benchmark('array empty', () => { sandbox = ...
$(function () { "use strict"; //Widgets count $('.count-to').countTo(); //Sales count to $('.sales-count-to').countTo({ formatter: function (value, options) { return '$' + value.toFixed(2).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, ' ').replace('.', ','); } }); initRealT...
import React from "react"; import cx from "classnames"; import { list } from "./Markdown.module.scss"; const Ul = ({ children, nested, ...rest }) => { const className = cx("bx--list--unordered", list, { "bx--list--nested": nested, }); return ( <ul className={className} {...rest}> {children} </u...
import { shallowMount } from '@vue/test-utils'; import { GlLink, GlSprintf } from '@gitlab/ui'; import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; import HistoryItem from '~/vue_shared/components/registry/history_item.vue'; import component from '~/packages/details/components/package_history.vue...
//# sourceMappingURL=zoomedImage.min.js.map
export const getHumanTime = function(time) { const hours = Math.floor(time / 60); const minutes = time % 60; return `${hours > 0 ? `${hours} h` : ''} ${minutes > 0 ? `${minutes}'` : ''}`; }; export const getURLDate = function(date) { const year = date.getUTCFullYear(); const month = date.getUTCMonth() + 1; ...
var config = require('./config.js'); var mongoose = require('mongoose'); global.Promise = require('bluebird'); mongoose.Promise = Promise; var express = require('express'); var methodOverride = require('method-override'); var cookieParser = require('cookie-parser'); var auth = require('./lib/auth.js'); var throttle = r...
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import dayjs from "dayjs"; import MarkdownParser from "../external/markdown-parser"; const ArticleRead = (props) => { const { title, author, cover, excerpt, markdown, postedAt } = props; const articleInfo = { author, postedAt }; return...
var searchData= [ ['lambdaconsumer_803',['LambdaConsumer',['../class_lambda_consumer.html',1,'']]], ['lambdatransform_804',['LambdaTransform',['../class_lambda_transform.html',1,'']]], ['lambdatransform_3c_20float_2c_20float_2c_20float_2c_20float_20_3e_805',['LambdaTransform&lt; float, float, float, float &gt;',[...
var searchData= [ ['align_36181',['align',['../classdirect_1_1gui_1_1OnscreenText_1_1OnscreenText.html#a6c52c4bac77f6744fdc338766e9e8a6f',1,'direct::gui::OnscreenText::OnscreenText']]] ];
// Optional. You will see this name in eg. 'ps' or 'top' command process.title = 'scripting'; sys = require("util"); var kannel = require('../../lib'); var status = kannel.status; var http = require('http'), url = require('url'), path = require('path'), fs = require('fs'), iconv = require("iconv-lite...
/** * @fileOverview Pivot Grid axe viewmodel * @author Najmeddine Nouri <najmno@gmail.com> */ 'use strict'; /* global module, require */ /*jshint eqnull: true*/ var utils = require('./orb.utils'); var filtering = module.exports = { ALL: '#All#', NONE: '#None#', BLANK: '#Blank#"' }; filtering.express...
const fs = require('fs'); const promisify = function (originalFunction) { const doPromisify = function (...args) { return new Promise((resolve, reject) => { const callback = (err, data) => { if (err || data === undefined) { reject(err); } el...
import React from 'react'; import PropTypes from 'prop-types'; import { BasicMenu, PopoverButton } from '../network-editor/popover-button'; import { Button, Tooltip } from "@material-ui/core"; import { FormControl, Select } from "@material-ui/core"; import { NetworkEditorController } from '../network-editor/controller'...
a: class B {}
import { ref, watch, computed } from 'vue' import store from '../store' export const useTodo = () => { const uuid = () => { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { const r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8 return v.toString(16) ...
/* Copyright 2018 New Vector Ltd Copyright 2019 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by a...
'use strict'; const rulesApi = require('./http/endpoints/rules') , Rule = require('stream-lux-hue-bridge-model').model.Rule , ApiDefinition = require('./http/ApiDefinition.js') , util = require('../util') ; module.exports = class Sensors extends ApiDefinition { constructor(hueApi) { super(hueApi); } ...
import React from 'react'; import Footer from '../../components/Footer/Footer'; export default ({ children }) => <div className="min-vh-100 d-flex flex-column bg-snow"> <main className="flex-fill container pt-5 d-flex flex-column">{children}</main> <Footer /> </div>;
/** * Use this file to configure your truffle project. It's seeded with some * common settings for different networks and features like migrations, * compilation and testing. Uncomment the ones you need or modify * them to suit your project as necessary. * * More information about configuration can be found at: ...
import { getTimeDifference, getTimeDifferenceFromMilliseconds } from '../time'; describe('time', () => { // #region getTimeDifference it('should getTimeDifference - 0', () => { expect(getTimeDifference(Date.now() - 1583401616934)).toBe( 'about 50 years ago', ); }); it('should getTimeDifference -...
function uuidv4() { return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) ); }
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors. * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE */ /*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, To...
import { createPlugin } from '../core/plugin-manager'; import { splitText } from "../utils/split-text"; import { each } from "../utils/arrays"; import { WORDS } from './words'; export var CHARS = "chars"; export var charPlugin = createPlugin( /*by: */ CHARS, /*depends: */ [WORDS], /*key: */ "char", /...
import { startOfDay, endOfDay, setHours,setMinutes, setSeconds, format,isAfter } from 'date-fns' import { Op } from 'sequelize' import Appointment from '../models/Appointment' class AvailableController { async index(req, res){ const { date } = req.query; if(!date){ return res.status(400).json({ error...
import _ from 'lodash'; import PropTypes from 'prop-types'; import moment from 'moment'; import React from 'react'; import {StyleSheet} from 'react-native'; import RNDateTimePicker from '@react-native-community/datetimepicker'; import {Constants} from '../../helpers'; import {Colors} from '../../style'; import Assets f...
"use strict" const Event = require('events'); const EmailService = require('../services/EmailServices'); const emitter = new Event(); const emitterPayment = require('../listeners/payment'); const emitterOrder = require('../listeners/order'); const db = require('../models/index'); const Sequelize = require('sequelize...
"use strict";function test1(){return{one:1,two:2,one:1}}function test2(){return{one:1,get myget(){return!0},two:2,get myget(){return!1}}}function test3(){var bar=42;return{one:1,set myset(v){bar=v},two:2,set myset(v){bar=2*v}}}function test4(){var ack=42;return{it:1,get it(){return ack},set it(v){ack=v}}}function test...
require(['ili'], function (ili) { ili(document.getElementsByTagName('body')[0]); });
const cmds = require('../Structures/Commands') module.exports = class Eval extends cmds { constructor() { super({ name: "eval", description: "Evals some code!", usage: "eval <code>", owner: true, aliases: ["e"] }) } async run(msg, ...
'use strict'; define(["angular", "OPrime", "js/controllers"], function(angular, OPrime, ActivityFeedController) { // Declare app level module which depends on filters, and services var ActivityFeed = angular.module( 'ActivityFeed', ['ActivityFeed.filters', 'ActivityFeed.services', 'ActivityFeed.dire...
import elasticlunr from '../lib/elasticlunr.js'; import assert from 'assert'; describe('Configuration', function () { describe("constructor test", function() { var tests = [ { fields: ['title', 'body'], config: '{"fields": {"title": {"boost": 2}},"bool": "OR"}', expected: { ...
module.exports = { views: { titles: { map: function(doc) { if (doc.type_ === 'Article') { emit(doc._id, doc.title); } } } }, indexes: { titles: { index: function(doc) { index('default', doc.title); } } } };
import React from 'react'; import {connect} from 'react-redux'; import {withRouter} from 'react-router-dom'; import {loginUser, fetchAllUserTrips} from '../../actions/index'; class TripList extends React.Component { componentDidMount(){ const id = localStorage.getItem('uuid'); this.props.fetchAll...
"use strict";$(function(){$("#submit").click(function(){var i,n=(i=[],$('[data-toggle="comment_info"]').each(function(){var n=$(this),t={},e=n.find('[name="product_id"]').val();t.product_id=e;var o=n.find('[name="order_id"]').val();t.order_id=o;var a=n.find('[name="images"]').val();t.images=a;var r=n.find('[name="brief...
define(function (require) { let _ = require('lodash'); let $ = require('jquery'); let module = require('ui/modules').get('app/discover'); require('ui/highlight'); require('ui/highlight/highlight_tags'); require('ui/doc_viewer'); require('ui/filters/trust_as_html'); require('ui/filters/short_dots'); ...
import * as actionTypes from '../actions/actionTypes'; import { updateObject } from '../utility'; import info from '../info/stopwatchInfo'; const initialState = { hour: 0, min: 0, sec: 0, ms: 0, date: null, stopTime: null, print: [], running: false, info: { text: info.load.text, color: info.load.color } ...
/* */ "format cjs"; /** * Expands an observable sequence by recursively invoking selector. * * @param {Function} selector Selector function to invoke for each produced element, resulting in another sequence to which the selector will be invoked recursively again. * @param {Scheduler} [scheduler] Schedu...
/*! * Paper.js v*#=* options.version * * This file is part of Paper.js, a JavaScript Vector Graphics Library, * based on Scriptographer.org and designed to be largely API compatible. * http://paperjs.org/ * http://scriptographer.org/ * * Copyright (c) 2011, Juerg Lehni & Jonathan Puckey * http://lehni.org/ & h...
// eslint-disable-line max-lines 'use strict'; const initSteps = require('app/core/initSteps'); const expect = require('chai').expect; const co = require('co'); const journey = require('app/journeys/probate'); const rewire = require('rewire'); const PaymentBreakdown = rewire('app/steps/ui/payment/breakdown'); const s...
const ethers = require('ethers') const assert = require('assert') const ganache = require('ganache-cli') const { hexlify, createIPFShash, abiEncodeWithSelector } = require('./utils') let c = { NMR: { artifact: require('./build/MockNMR.json'), }, Erasure_Users: { artifact: require('./build/Erasure_Users.j...
import React from 'react' export const required = value => (value || typeof value === 'number' ? undefined : 'Required'); export const maxLength = max => value => value && value.length > max ? `Must be ${max} characters or less` : undefined; export const minLength = min => value => value && value.length < min ? ...
import React from "react"; import * as MaterialUI from "@material-ui/core"; const useStyles = MaterialUI.makeStyles(theme => { return { default: { transform: props => { return `translate(${props.textData.x}px, ${props.textData.y}px)`; }, padding: 5, display: "inline-block" }, ...
import React from 'react'; import './App.css'; import Todos from './components/ToDos'; import Header from './components/Header'; import Footer from './components/Footer'; import 'bootstrap/dist/css/bootstrap.min.css'; function App() { return ( <div className="App"> <Header /> <Todos /> <Footer ...
const Joi = require('joi'); const mongoose = require('mongoose'); const Inventory = mongoose.model('Inventory', new mongoose.Schema({ name: { type: String, required: true, minlength: 5, maxlength: 50 }, price: { type: Number, min: 1, required: true }, quantity: { type: Number,...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.8/esri/copyright.txt for details. //>>built define({about:"\u03a0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2",add:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7",all:"\u038c\u03bb\u03b5\u0...
import { tableFire } from "../../../utils"; import { getAttribute } from "@util/attribute"; import { charactersData } from "@asset/characters"; let xinyanE = charactersData["xinyan"].skill.e; let skillKeys = [ { key: "dmg1", chs: "Swing Damage", }, { key: "dmg2", chs: "Dama...
import expect from 'expect.js'; import Immutable from 'immutable'; import * as l from '../../src/core/index'; let lock; const clientID = 'someClientID'; const lockID = 'someLockID'; const domain = 'tenant.authok.cn'; describe('initializing a lock', function() { beforeEach(function() { lock = l.setup({ cl...
import React from 'react'; import { BrowserRouter, Switch, Route } from 'react-router-dom'; import Home from './views/Home'; import NotFound from './views/NotFound'; import UserProfile from './views/UserProfile'; import BattleMode from './views/BattleMode'; import TrainingGame from './views/TrainingGame'; import Battl...
/* eslint-env mocha */ 'use strict' const chai = require('chai') chai.use(require('dirty-chai')) const expect = chai.expect const bufferStream = require('pull-buffer-stream') const pull = require('pull-stream/pull') const collect = require('pull-stream/sinks/collect') const { createMfs, createShardedDirectory } = ...
const observation_dates_with_eod = (time_zone, start_date, end_date) => { // for every "observation date" between (inclusive) goal start date and goal end date, also calculates a "end of day" timestamp value, and translates it into a UTC timestamptz value to compare against the values for applicable_date in user_budg...
var assert = require('assert'); var randomWords = require('../index.js'); describe('random-words', function() { it('should return one word when called with no arguments', function() { var word = randomWords(); assert.ok(typeof(word) === 'string', 'word is a string'); assert.ok(word.length, 'word is not e...
(function(){ var direction = $('html').attr('dir'); if(direction == 'rtl'){ $('.post-table table tr td').css('text-align', 'right'); $('.page-item:first-child .page-link').css({ 'border-top-right-radius': '0.35rem', 'border-bottom-right-radius': '0.35rem', 'b...
$(function() { if($('input:checkbox').is(':checked')) { $('input:checkbox:checked').parent().addClass('-fontColorInversePrimary'); } $('input:checkbox').change(function(){ if($(this).is(':checked')) { $(this).parent().addClass('-fontColorInversePrimary'); } else...
module.exports = { bundle: { main: { scripts: [ './content/js/foo.js', './content/js/baz.js' ], styles: [ './content/**/*.css' ], options: { rev: false } } }, copy: './content/**/*.{png,svg}' };
function dateDiff(startDate,endDate) { var diff = endDate.getTime()-startDate.getTime(); return diff/86400000; };
import { EventHandler } from '../core/event-handler.js'; import { Tags } from '../core/tags.js'; import { Mat3 } from '../math/mat3.js'; import { Mat4 } from '../math/mat4.js'; import { Quat } from '../math/quat.js'; import { Vec3 } from '../math/vec3.js'; var scaleCompensatePosTransform = new Mat4(); var scaleCompen...
var Greeter = (function () { function Greeter(message) { this.greeting = message; } Greeter.prototype.greet = function () { return "Hello, " + this.greeting; }; return Greeter; }()); var greeterObject = new Greeter("world");
var express = require('express'); var router = express.Router(); var GTranslator = require('g-translator'); router.get('/result', function (req, res, next) { res.contentType('application/json'); if(!req.query.q || !req.query.tl){ res.status(400); res.end(JSON.stringify({error: "a required parame...
'use strict' const Config = require('./config') const util = require('./util') const uri = require('./uri') const ld = require('./simplerdf') const SimpleRDF = ld.SimpleRDF const graph = require('./graph') const template = require('./template') module.exports = { domToString, dumpNode, getDoctype, getDocument...
import React, { Component } from 'react' import { addPreloader, genClassList, remPreloader } from '../methods' import './index.css' class HoverCard extends Component { constructor(props) { super(props) this.container = React.createRef() this.state = { content : null, showing : false } ...
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Popover from '@material-ui/core/Popover'; import Typography from '@material-ui/core/Typography'; import Button from '@material-ui/core/Button'; const useStyles = makeStyles((theme) => ({ typography: { padding: theme.spacing(...
import sinon from "sinon"; import { expect } from "chai"; import { push as updatePath } from "connected-react-router"; import { call, put, take } from "redux-saga/effects"; import { createSandbox, mockNotifyError } from "../test_utils"; import { setClient } from "../../src/client"; import * as actions from "../../src...
class Player { constructor() { this.name = null; this.index = null; this.positionX = 0; this.positionY = 0; } addPlayer() { var playerIndex = "players/player" + this.index; if (this.index === 1) { this.positionX = width / 2 - 100; } else { this.positionX = width / 2 + 100...
'use strict' var main = function () { var simulatorCanvas = document.getElementById(SIMULATOR_CANVAS_ID), overlayDiv = document.getElementById(OVERLAY_DIV_ID), uiDiv = document.getElementById(UI_DIV_ID); var simulator = new Simulator(simulatorCanvas, 640, 480); var radiusSlider = new Slid...
/*! pace 0.4.2 */
import assert from 'assert' import { ethers } from 'ethers' import { renderHook } from '@testing-library/react-hooks' import { useTokenData } from '../useTokenData' const tests = [ { data: '0xa9059cbb000000000000000000000000ffe5bc4e8f1f969934d773fa67da095d2e491a970000000000000000000000000000000000000000000000000...
export const SORTLIST = 'SORTLIST'; export const CHANGE_SELECTION = 'CHANGE_SELECTION'; export const CHANGE_FILTER = 'CHANGE_FILTER'; export const TORRENT_LIST = 'TORRENT_LIST'; export const SET_BUTTON_STATE = 'BUTTON_STATE'; export const SELECTION_HASHES = 'SELECTION_HASHES'; export const SELECTED_TAB = 'SELECTED_TAB'...
/* * SCORM Cloud Rest API * REST API used for SCORM Cloud integrations. * * OpenAPI spec version: 2.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.4.12 * * Do not edit the class manually. * ...
// Template.AdminLayout.rendered = function(){ // };
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
/* * Welcome to your app's main JavaScript file! * * We recommend including the built version of this JavaScript file * (and its CSS file) in your base layout (base.html.twig). */ // any CSS you import will output into a single css file (app.css in this case) import '../css/app.css'; // Need jQuery? Install it w...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function GiPropellerBeanie (props) { };
export default { queryRouteList: '/routes', queryUserInfo: '/user', logoutUser: '/user/logout', loginUser: 'POST /user/login', queryUser: '/user/:id', queryUserList: '/users', updateUser: 'Patch /user/:id', createUser: 'POST /user/:id', removeUser: 'DELETE /user/:id', removeUserList: 'POST /users/...
function sortByLength (array) { return array.sort(function(a, b){ return a.length - b.length; }) }; console.log(sortByLength(["", "Moderately", "Brains", "Pizza"]));
import React from 'react' export default React.createContext({ darkTheme: true, toggleTheme: () => {} })
import { Core } from '../core'; import { Track } from '../track'; import { Encrypt } from '../encrypt'; /** * @param {object} [cfg] */ function Ravelin(cfg) { cfg.Promise = cfg.Promise || Ravelin.Promise; this.core = new Core(cfg); this.track = new Track(this.core, cfg); this.encrypt = new Encrypt(this.co...
import {clone, deepMix, isString, mix} from '@antv/util'; import {guid2} from "../../utils/utils"; class Command { constructor() { this._cfgs = this.getDefaultCfg(); this.list = []; this.queue = []; } getDefaultCfg() { return {_command: {zoomDelta: .1, queue: [], c...
require('@babel/register')({ extensions: ['.js', '.ts', '.tsx'], // We have to apply `babel-plugin-module-resolve` to the files in `@mui/x-date-pickers`. // Otherwise we can't import `@mui/material` from `@mui/x-date-pickers` in `yarn test:unit`. // TODO: Remove once the lab do not export the pickers ignore: ...
/* eslint-disable no-console */ module.exports = class Terminal { // terminal color references static white = '\x1b[0m' static red = '\x1b[31m' static green = '\x1b[32m' static yellow = '\x1b[33m' display(message) { console.log(`${message}`) } displayGreen(message) { console.log(Terminal.g...
// Parser // // Exports a single function called parse which accepts the source code // as a string and returns the AST. import ohm from "ohm-js" import * as ast from "./ast.js" const aelGrammar = ohm.grammar(String.raw`Ael { Program = Statement+ Statement = let id "=" Exp --variable ...
$((function(){"use strict";var t="rtl"===$("html").attr("data-textdirection"),n=$(".basic-ratings"),r=$(".custom-svg-ratings"),a=$(".multi-color-ratings"),e=$(".half-star-ratings"),i=$(".full-star-ratings"),l=$(".read-only-ratings"),o=$(".onset-event-ratings"),s=$(".onChange-event-ratings"),g=$(".methods-ratings"),h=$(...
require('dotenv').config({ path: 'apps/server/.env' }); module.exports = { input: 'apps/server/api', baseURL: `${process.env.API_ORIGIN || ''}${!process.env.SERVER_PORT || process.env.SERVER_PORT === '80' ? '' : `:${process.env.SERVER_PORT}`}${process.env.BASE_PATH || ''}`, };
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; const propTypes = { // One of these are required id: PropTypes.string, // eslint-disable-line react/no-unused-prop-types sourceId: PropTypes.string, // Set to true if we want to start with animation immediately when a // destin...
import Vue from 'vue'; import Router from 'vue-router'; import home from './views/home.vue'; import post from './views/post.vue'; Vue.use(Router); import marked from 'marked'; import * as moment from 'moment'; import postsJson from './assets/posts.json'; const posts = new Map(postsJson); const context = require.cont...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = platzom; //import {platzom} from 'platzom' function platzom(str) { var translation = str; // Si la palabra original es un palíndromo, // ninguna regla anterior cuenta y se devuelve // la misma palabra intercalando...
/*! * body-parser * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */ 'use strict' /** * Module dependencies. */ var bytes = require('bytes') var contentType = require('content-type') var debug = require('debug')('body-parser-multidict:text') var read = require('../read') var typeis = require...
const Alexa = require('ask-sdk'); const constants = require('./constants'); const functions = require('./functions'); const { responses } = constants; const { logoUrl } = constants; const { background, smImgUrl, lgImgUrl, defaultTitle, hintText, noVideoSupport, } = constants.hasScreen; let displayParams =...
try { module.exports = require('./bin/q24.node'); } catch (err) { module.exports = {}; }
import { addTrackFunction } from 'meteor/vulcan:events'; import { getRenderContext, getFragment, createClientTemplate } from 'meteor/vulcan:lib'; import gql from 'graphql-tag'; function trackInternal(eventName, eventProperties) { const { apolloClient } = getRenderContext(); const fragmentName = 'AnalyticsEventFra...