text
stringlengths
2
1.04M
const router = require('express').Router(); const apiRoutes = require('./api'); const homeRoutes = require('./home-route.js'); //const dashRoutes = require('./dashboard-route.js'); router.use('/api', apiRoutes); router.use('/', homeRoutes); router.use('/dashboard', homeRoutes); module.exports = router;
// @ts-check import React from "react"; import { H5PContext } from "../../../context/H5PContext"; import { createAudioPlayer, isInteractionAudio, isPlaylistAudio, isSceneAudio, fadeAudioInAndOut, } from "../../../utils/audio-utils"; import Button from "./Button/Button"; /** * @typedef {{ * sceneAudioTr...
import co from 'co'; import path from 'path'; import fs from 'fs'; import globby from 'globby'; import actionInterfaceTest from './_common-action-interface-check'; import addFile from './_common-action-add-file'; import { normalizePath } from './_common-action-utils'; const defaultConfig = { verbose: true, stripExte...
import React, { useState, useEffect } from 'react'; import { useNavigate } from 'react-router-dom'; import styled from 'styled-components'; import { searchPublication } from '../../services/posts/searchPublication'; export const AsidePostsInfo = ({children, url }) => { const [posts, setPosts] = useState([]); co...
const Benchmark = require('benchmark') import { index } from './divinaCommedia.js' const suite = new Benchmark.Suite('Fuzzy search') suite.add('SearchableMap#fuzzyGet("virtute", 1)', () => { index.fuzzyGet('virtute', 1) }).add('SearchableMap#fuzzyGet("virtu", 2)', () => { index.fuzzyGet('virtu', 2) }).add('Searcha...
const webpackConfig = require("../../webpack.config"); const browserSync = require('./browserSync'); const config = require("../gulpConfig"); const gulp = require("gulp"); const webpack = require("webpack"); gulp.task("webpack", () => { webpackConfig.mode = process.env.NODE_ENV; browserSync...
import * as React from 'react'; import Container from "../../layouts/container/container"; import * as styles from './benefits.module.scss'; import {benefitsData} from "./benefitsData"; import {AiOutlineArrowRight} from 'react-icons/ai'; import {Button} from "../button/button"; import * as buttonStyles from '../button/...
import React, { Component } from 'react'; import ConfirmDialog from '../../modals/ConfirmDialog'; import OptionButton from "../OptionButton"; import PlayByPostStorageService from "../../services/storage/PlayByPostStorageService"; import { debounce } from 'lodash'; class PbpEntriesForm extends Component { construc...
'use strict'; /** * This service gets the details of the transactions. * * @module lib/transactions/GetDetailsFromDDB */ const rootPrefix = '../..', logger = require(rootPrefix + '/lib/logger/customConsoleLogger'), responseHelper = require(rootPrefix + '/lib/formatter/response'), blockScannerProvider = requir...
/*! * ${copyright} */ // Provides control sap.ui.table.Column. sap.ui.define([ 'sap/ui/core/Element', 'sap/ui/core/library', 'sap/ui/core/Popup', 'sap/ui/model/Filter', 'sap/ui/model/FilterOperator', 'sap/ui/model/FilterType', 'sap/ui/model/Sorter', 'sap/ui/model/Type', 'sap/ui/model/type/String', './Table...
import _ from 'lodash'; import NativePromise from 'native-promise-only'; import Field from '../_classes/field/Field'; import Input from '../_classes/input/Input'; import { eachComponent } from '../../utils/utils'; export default class ButtonComponent extends Field { static schema(...extend) { return Input.schema...
const path = require('path'); const { AureliaPlugin } = require('aurelia-webpack-plugin'); const ProvidePlugin = require('webpack/lib/ProvidePlugin'); const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin'); module.exports = { entry: { main: 'aurelia-bootstrapper' }, output: { path: p...
import React, { Component } from 'react' import { Link } from 'react-router-dom' class SearchBooksBar extends Component { render () { const { query, updateQuery } = this.props return ( <div className="search-books-bar"> <Link to='/'> <butt...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
import React from 'react' import { Link } from 'gatsby' import Layout from '../../components/layout' import Map from '../../components/maps' import AddEvent from '../../components/Events/AddEvent' const ViewMap = (props) => ( <Layout> {/* {props.location.pathname} */} <Map/> <AddEvent /> <Link to="/...
const demonService = require("../services/demonService"); const userService = require("../services/userService"); // GET list of all demons exports.all = async function(req, res) { let result = await demonService.getAllDemons(); if ("error" in result) { res.status(404).send(JSON.stringify(result)); ...
/** * generateIntegersArray(firstNumber, lastNumber): * - receives two numbers * - returns an array with the integers between the two numbers * * e.g. * generateIntegersArray(2, 5) -> [2, 3, 4, 5] * generateIntegersArray(4, 9) -> [4, 5, 6, 7, 8, 9] * */ function generateIntegersArray(firstNumber, lastNumber) {...
import $ from 'jquery'; import Component from '@ember/component'; import JsDiff from 'diff'; import LoadingButton from 'api-umbrella-admin-ui/utils/loading-button'; import PNotify from 'pnotify'; import bootbox from 'bootbox'; import { computed } from '@ember/object'; import { run } from '@ember/runloop'; export defau...
export const ON_BEGIN_PROFILE_FETCH = 'ON_BEGIN_PROFILE_FETCH'; export const ON_PROFILE_FETCH_SUCCESS = 'ON_PROFILE_FETCH_SUCCESS'; export const ON_PROFILE_FETCH_FAILED = 'ON_PROFILE_FETCH_FAILED'; export const ON_START_CREATING_DECK = 'ON_START_CREATING_DECK'; export const ON_START_EDITING_DECK = 'ON_START_EDITING_DE...
/*jslint browser: true*/ /*global $, jQuery, alert*/ $(document).ready(function () { "use strict"; var body = $("body"); $(function () { $(".preloader").fadeOut(); $('#side-menu').metisMenu(); }); /* ===== Open-Close Right Sidebar ===== */ $(".right-side-toggle").on("click"...
/** * downloadHelper.js * Created by Kevin Li 5/8/17 */ import Axios, { CancelToken } from 'axios'; import kGlobalConstants from 'GlobalConstants'; export const requestAwardTable = (params) => { const source = CancelToken.source(); return { promise: Axios.request({ url: 'v1/download/aw...
/*eslint-disable max-len,quotes*/ export default { "home.welcome": "Bienvenue au Starter Kit du React Redux", "home.sampleCounter": "Contateur d'example: ", "languageSelector.spanish": "Español", "languageSelector.english": "Inglés", "languageSelector.french": "Français" }
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
var express=require('express'); var app=express(); var http=require('http').Server(app); var io = require('socket.io')(http); var ip = require('ip'); var session = require('express-session'); var port = 3000; app.use(express.static('./')); app.use(session({ secret: 'testsecret', resave: true, saveUninitialized:...
import { LOGO_BG, NAVBAR_BG, SIDEBAR_BG, THEME, DIRECTION, SIDEBAR_POSITION, HEADER_POSITION, LAYOUT, SIDEBAR_TYPE } from '../constants/'; const INIT_STATE = { activeDir: "ltr", activeThemeLayout: "vertical", activeTheme: "light", activeSidebarType: "full", activ...
import svelte from 'rollup-plugin-svelte' import resolve from '@rollup/plugin-node-resolve' import autoPreprocess from 'svelte-preprocess' import { terser } from 'rollup-plugin-terser' import commonjs from '@rollup/plugin-commonjs' import bundleSize from 'rollup-plugin-bundle-size' import analyze from 'rollup-plugin-an...
import React, {useState, useEffect} from 'react'; import * as yup from 'yup'; import axios from 'axios'; let parents = [{ "id": 1, "username": "testfamily", "email": "test@test.com", "password": "test", "firstname": "Jack", "middlename": "Alex", "lastname": "Smith", "dob": "1980-09-19T...
import Dialoguer from "./dialoguer.js"; export default class DialogImage extends Phaser.GameObjects.Image { constructor(scene, data, dialog, sprite) { super(scene, data.x, data.y, sprite) scene.add.existing(this); scene.physics.add.existing(this); scene.physics.add.collider(thi...
const APP_ID = 'YzfeftUVcZ6twZw1OoVKPRFYTrGEg01Q'; const APP_SECRET = '4G91qSoboqYO4Y0XJ0LPPKIsq8reHdfa'; const RequestApi = require('./request-api'); const WebSocketApi = require('./websocket-api'); const getDeviceType = require('./helpers/device-type'); const assert = require('assert').strict; const querystring = req...
"use strict"; 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) if (Object.protot...
import fetch from '@/utils/fetch' /** * 营销工具 - 积分商城 - 积分兑礼 */ // 积分兑礼-礼品列表-分页及详情查询 export function selectRitualData(data) { let result = Base64.encode(JSON.stringify(data)) return fetch({ url: '/I_SCRM_INTERFACE_636.action', method: 'post', data: result }) } // 积分兑礼审核-礼品审核列表-分页及详...
import React, { Component, Fragment } from 'react'; import { connect } from 'dva'; import { Row, Col, Icon, Card, Tabs, Table, Tooltip, Menu, Dropdown } from 'antd'; import numeral from 'numeral'; import { ChartCard, Bar } from 'components/Charts'; import styles from './Analysis.less'; const { TabPane } = Tabs; @con...
/*========================================================================================= File Name: basic-area.js Description: echarts basic area chart ---------------------------------------------------------------------------------------- Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML T...
module.exports.ReactComponent = () => null;
const EventEmitter = require('events'); const path = require('path'); const Util = require('../util/Util'); const Attachment = require('./Attachment'); const RichEmbed = require('./RichEmbed'); /** * Represents a webhook. */ class Webhook extends EventEmitter { constructor(client, dataOrID, token) { super(); ...
const webpack = require('webpack'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const HtmlWebPackPlugin = require('html-webpack-plugin'); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin'); const {CleanWebpackPlugin} ...
import produce from 'immer'; const INITIAL_STATE = { count: 0, pokemons: [], loading: false, }; export default function pokemons(state = INITIAL_STATE, action) { return produce(state, (draft) => { switch (action.type) { case '@home/GET_POKEMONS_REQUEST': { draft.loading = true; break...
module.exports = require("./../../_gen/openfl/utils/AssetManifest");
var searchData= [ ['forecastperiod_2epy',['ForecastPeriod.py',['../_forecast_period_8py.html',1,'']]], ['forecastsresponse_2epy',['ForecastsResponse.py',['../_forecasts_response_8py.html',1,'']]] ];
module.exports = require('./components/typeahead');
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import get from 'extensions/themeGet'; const processMethod = method => { const normalized = method.toLowerCase(); if (normalized === 'delete') { return 'del'; } return normalized; }; const methodColors =...
describe('getMessage', function() { it("is the user input without spaces or nonword characters", function() { expect(getMessage("It's party time")).to.eql("itspartytime"); }) }) describe('getWidth', function() { it("gets the number of columns based on the square root", function() { expect(getWidth("itspa...
/* @flow */ import './applepay'; import './paypal'; import './credit'; import './venmo'; import './bancontact'; import './eps'; import './giropay'; import './ideal'; import './mybank'; import './p24'; import './sepa'; import './sofort'; import './wechatpay'; import './zimpler'; import './itau'; import './mercadopago';...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 12.25c1.24 0 2.25-1.01 2.25-2.25S13.24 7.75 12 7.75 9.75 8.76 9.75 10s1.01 2.25 2.25 2.25zm4.5 4c0-1.5-3-2.25-4.5-2.25s-4.5.75-4.5 2.25V17h9...
'use strict'; angular.module('core.comment', ['core.interceptors']);
import React,{useEffect} from 'react' import AllExpenseDetails from './AllExpenseDetails' function AllExpense(props){ var i=0 useEffect(() => { document.title = "All Expenses · Splitpannunga" }, []) const expensesOwe = props.expenses.map(item=>{ var month = item.created_at.substr(4,4); ...
(function(window) { var IE_10 = !!window.navigator.msPointerEnabled, // Check below can mark as IE11+ also other browsers which implements pointer events in future // that is not issue, because touch capability is tested in IF statement bellow. IE_11_PLUS = !!window.navigator.pointerEnabled; // Only pointer e...
window.onload = function () { console.log($('.details')) $('.details').css("height", "0"); } $('.close').on("click", function(){ console.log($('.details')) $('.details').css("height", "0"); }); const webgators = ` <h1 class="eventName">Webgators</h1> <br/> <p> <h2>About the Event:</h2> Particip...
const Discord = require("discord.js"); const moment = require("moment"); const os = require('os'); const db = require("quick.db") require("moment-duration-format"); exports.run = async (bot, message, args) => { const msg = message let p = args[0]; let prefix = await require('quick.db').fetch(`prefix_...
function TestModuleClassInstance() { } TestModuleClassInstance.prototype.getResult = async function() { let native = await this.getService('native'); let fn = await this.getService('fn'); let other = await this.getService('other'); return 3 * fn(0, native.nr, other.array.reduce((left, nr) => {return...
/* * 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. */ /* * Licensed to Ela...
// @flow import * as React from 'react'; import { Switch, Route } from 'react-router-dom'; import { observer, inject } from 'mobx-react'; import { NewDocumentIcon } from 'outline-icons'; import DocumentsStore from 'stores/DocumentsStore'; import AuthStore from 'stores/AuthStore'; import NewDocumentMenu from 'menus/New...
import types from "./types"; function logout(state) { state.auth = false; } function login(state) { state.auth = true; } export default { [types.LOGOUT]: logout, [types.LOGIN]: login };
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Officer_Farmer_List_index_jsx"],{ /***/ "./node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js": /*!************************************************************************!*\ !*** ./node_modules/@ant-design/icons-svg/es/asn/Ca...
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ /*global define, document, console, brackets, $, Mustache */ define(function (require, exports, module) { "use strict"; function _getID(){ var date = new Date(); var components = [ date.getM...
const express = require('express') const router = express.Router() const Camp = require("../models/campModel") const Comment = require("../models/commentModel") const middlewares = require("../middlewares") // Comment Create router.post("/camps/:id/comments", middlewares.isAuthenticated, async (req, res) => { try...
import bodyParser from 'body-parser'; import { decodeToken } from '../services/auth'; async function auth(req, res, next) { try { const token = req.headers.authorization; if (token != null) { const user = await decodeToken(token); req.user = user; } else { req.user = null; } r...
/** * @fileoverview Punctions involving functions */ goog.provide('cw.func'); /** * @param {*} obj Any object. * @return {boolean} Whether {@code obj} is probably callable. This works * even on an object that IE has proxied because it came from another window. */ cw.func.isCallable = function(obj) { return g...
//permission const state = { services:[], singleservice:[], }, getters = { Services(state){ return state.services; }, SingleService(state){ return state.singleservice; }, } const actions = { services(context){ axios.get('/api/service/get')//based on authethicated...
import { axios } from '@/utils/service' // 获取老师列表 export function fetchTeacherList(data) { return axios.get('/business/api/edu/teacher/get', { params: data }) } // 新建老师 export function createTeacher(data) { return axios.post('/business/api/edu/teacher/new', data) } // 更新老师 export function updateTeacher(data) { ...
$(document).ready(function() { console.log('Woohoo.'); });
/** * This file contains all necessary Angular controller definitions for 'frontend.admin.login-history' module. * * Note that this file should only contain controllers and nothing else. */ (function() { 'use strict'; angular.module('frontend.connections') .controller('UpdateUserNodeController', ['...
/** * @license * Visual Blocks Language * * Copyright 2012 Google Inc. * https://blockly.googlecode.com/ * * 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...
const koa = require('koa'); const app = new koa(); const dotenv = require('../../lib/dotenv'); dotenv(); const port = process.env.DEV_MOCK_SERVER_PORT; app.listen(port, () => { console.log(`Koa Server running in http://localhost:${port}`); });
/*! * froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2017 Froala Labs */
/* This file is automatically rebuilt by the Cesium build process. */ define(['./Matrix2-70d3547e', './RuntimeError-5f205b85', './when-6655f883', './EllipseGeometry-a53e0729', './VertexFormat-d4a9fb98', './ComponentDatatype-579b2047', './WebGLConstants-cf1206a6', './GeometryOffsetAttribute-834a3c02', './Transforms-f37c...
Template.loginFooter.onCreated(function() { this.suggestedLanguage = new ReactiveVar(); this.suggestAnotherLanguageFor = (language) => { const loadAndSetSuggestedLanguage = (language) => TAPi18n._loadLanguage(language) .then(() => this.suggestedLanguage.set(language)); const serverLanguage = RocketChat.setti...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const hamburgerBuilder_1 = require("./hamburgerBuilder"); class ChickenHamburger extends hamburgerBuilder_1.HamburgerBuilder { constructor() { super(); } setBread() { this.hamburger.setBread("Pan blanco"); } ...
const fs = require("fs"); function loadEvents(client) { const eventFolders = fs.readdirSync("./events"); for (const folder of eventFolders) { const eventFiles = fs .readdirSync(`./events/${folder}`) .filter((file) => file.split(".").pop() === "js"); for (const file of eventFiles) { if (ev...
var CACHE_NAME = 'my-site-cache-v1'; var urlsToCache = [ '/', '/content/css/main-header.css', '/content/images/design.png', '/content/images/develop.png' ]; self.addEventListener('install', function(event) { // Perform install steps event.waitUntil( caches.open(CACHE_NAME) .then(function(cache) {...
macDetailCallback("40d855097000/36",[{"a":"1214 Metro Park Blvd Lewisville Texas US 75057","o":"Burton Technical Services LLC","d":"2013-02-10","t":"add","s":"ieee","c":"US"}]);
const klaw = require("klaw"), path = require("path"); module.exports = class Loader { constructor(client) { this.client = client; // Debug Option this.DEBUG = false; } start() { this.loadCommands('./commands'); this.loadEvents('./events'); } /** * Loads the commands folder. * ...
import toastr from 'toastr' function createProductValidator (name, ingredients, description, image, weight, price) { if (name.length < 3 || name === '') { toastr.error('Name must be at least 3 characters long'); return false } if (ingredients.length < 3 || ingredients.indexOf(', ') > -1 || ingredients ...
import Route from '@ember/routing/route'; import { timeout } from 'ember-concurrency'; import { restartableTask } from 'ember-concurrency-decorators'; import turfBbox from '@turf/bbox'; import turfBuffer from '@turf/buffer'; import { action } from '@ember-decorators/object'; // eslint-disable-line import { next } from ...
(function () { 'use strict'; angular .module('notifications') .factory('notificationService', notificationService); notificationService.$inject = ['$location', '$http', '$q', 'sharedService', '$rootScope']; function notificationService($location, $http, $q, sharedService, $rootScope) { notificati...
import '@mdi/font/css/materialdesignicons.css' import Vue from 'vue' import Vuetify, { VSnackbar, VBtn, VIcon } from 'vuetify/lib' import colors from 'vuetify/lib/util/colors' // export specific components for vuetoast Vue.use(Vuetify, { components: { VSnackbar, VBtn, VIcon } }) export default new Vu...
'use strict'; const fs = require('fs'); const nodePath = require('path'); const lazyReq = require('lazy-req')(require); const del = lazyReq('del'); const download = lazyReq('download'); const osFilterObj = lazyReq('os-filter-obj'); const execa = lazyReq('execa'); /** * Initialize the manager * * @param {String} de...
const server = require('./api/server.js'); const port = process.env.PORT || 8000; server.listen(port, () => console.log(`Running on port ${port}`));
import Vue from 'vue' import Router from 'vue-router' const shou = () => import("./views/shou/shou"); const pin = () => import("./views/pin/pin"); const gou = () => import("./views/gou/gou"); const wo = () => import("./views/wo/wo"); Vue.use(Router) export default new Router({ routes: [ { path: "", redirect: "...
const THREE = require('three'); var YColor = 0x47DF4E; var XColor = 0xDF6418; var ZColor = 0x116EFE; var originPos = new THREE.Vector3(0,0,0); var Ydirect = new THREE.Vector3(0,1,0); var Xdirect = new THREE.Vector3(1,0,0); var Zdirect = new THREE.Vector3(0,0,1); function makeAxe(direct,origin,color,num) { var endAr...
import 'plugins/metric_vis/metric_vis.less'; import 'plugins/metric_vis/metric_vis_controller'; import TemplateVisTypeTemplateVisTypeProvider from 'ui/template_vis_type/template_vis_type'; import VisSchemasProvider from 'ui/vis/schemas'; import metricVisTemplate from 'plugins/metric_vis/metric_vis.html'; import metricV...
import PropTypes from 'prop-types'; var refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]); export default refType;
let smarClient; // Smartsheet JS client object // Dependent libraries const express = require("express"); const app = express(); const bodyParser = require("body-parser"); app.use(bodyParser.json()); const smarSdk = require("smartsheet"); //Added to capture sheet column names const columnMap = {}; const ...
import * as React from "react"; import * as R from "ramda"; import { Field, reduxForm } from "redux-form"; import { Image } from "react-native"; import { Content, Card, CardItem, Button, Text } from "native-base"; import { hasValidCoords } from "../../helpers/geospatial"; import Map from "../Map"; import Input from ".....
module.exports = { entry: "./public/js/app.js", output: { path: __dirname + "/public", filename: "bundle.js" } }
describe("Board", function () { before(() => { cy.exec("npm run db:seed"); cy.visit("/board"); }); it("Create Board-Test", function () { cy.url().should("include", "board"); cy.title().should("eq", "The Missing Tool"); cy.get("#create-board").contains("Create a new board").should("be.visible").click(); c...
/** * selectFx.js v1.0.0 * http://www.codrops.com * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2014, Codrops * http://www.codrops.com */ ;( function( window ) { 'use strict'; /** * based on from https://github.com/inuyaksa/jquery.nicescroll/blob...
import React from 'react' const Chapter37 = () => { var a = "Global Object" var b = { name: "b", firstname: "Mike", c(){ var self = this console.log("c function self is", self) self.firstname = "Stephen" console.log("c function self.firstname is", self.firs...
/* * Copyright 2018 ABSA Group Limited * * 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...
var MriAtlasHelper = function(){ var bh; var modal_projects; var grid_projects; var members; var bindings; var Init = function() { bh = BootstrapHelper(); modal_projects = {}; grid_projects = {}; members = {}; this.bindings = {}; ...
const Codecs = require("./pack/Codecs"); const PackageType = require("./pack/Enum").packageType; const Error = require("../lib/baseClass/ErrorBase"); const fs = require('fs'); const path = require('path'); const ctrlDirPath = __dirname + "/../controllers/"; const SystemController = require('../lib/SystemController'); ...
"use strict"; var _ = require('lodash'); var async = require('async'); var k8s = require('node-kubernetes-client'); var k8sHelper = require('./k8sHelper'); var config = require('../../../default/config'); var store = require('../store/exports'); const getKey = function (objectName, objectKind, apiConnectParams) { v...
export const formatos= [ { "id":"SMALL", "nombre":"SMALL" }, { "id":"MEDIUM", "nombre":"MEDIUM" }, { "id":"LARGE", "nombre":"LARGE" }, { "id":"EXTRA LARGE", "nombre":"EXTRA LARGE" }, { "id":"EXTRA EXTRA LARGE", ...
"use strict"; /** * Copyright 2019 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 la...
'use strict'; exports.__esModule = true; var _regenerator = require('babel-runtime/regenerator'); var _regenerator2 = _interopRequireDefault(_regenerator); var _asyncToGenerator2 = require('babel-runtime/helpers/asyncToGenerator'); var _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2); var _classCal...
// Import vue component import createStore from './skeleton/config'; import SkeletonPlugin from './skeleton/plugin'; // Auto-install when vue is found (eg. in browser via <script> tag) let GlobalVue = null; if (typeof window !== 'undefined') { GlobalVue = window.Vue; } else if (typeof global !== 'undefined') { Glo...
const Discord = require('discord.js'); const tokens = require('./tokens.json'); const bot = new Discord.Client(); const MongoClient = require('mongodb').MongoClient; let collectionObj = {}; const url = tokens.mongoDB.url.replace("<PASSWORD>", tokens.mongoDB.password); const dbName = tokens.mongoDB.name; let connect...
c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&u.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){var r,o;/*! Co...
var amigo = {nome:'jose', sexo:'M', peso: 85.5, engordar(p=0){ console.log("Engordou") this.peso += p }} amigo.engordar(2) console.log(typeof amigo) console.log(amigo) console.log(amigo.nome) console.log(amigo.peso)
const webpack = require('webpack'); const helpers = require('./helpers'); /* * Webpack Plugins */ // problem with copy-webpack-plugin const CopyWebpackPlugin = require('copy-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ForkCheckerPlugin = require('awesome-typescript-loader').Fork...