text
stringlengths
2
1.04M
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{985:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h1",[e._v("vuex测试使用")]),n("h2",[e._v("yyyy888")]),n("h2",[e._v("store中的name数据:"+e._s(e.formatName))]),n("div",[n("h3",[e._v("计算前缀")]),n("el-...
const express = require('express') const bodyParser = require("body-parser") const cors = require('cors') const app = express() const axios = require('axios'); app.use(bodyParser.json()) app.use(cors()) const { randomBytes } = require("crypto") const commentsByPostId = {} app.get("/posts/:id/comments", (req,res) => {...
/** * * Web Starter Kit * Copyright 2015 Google Inc. 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 * * https://www.apache.org/licenses/LICENSE-2.0 *...
import React from 'react'; import onClickOutside, { IGNORE_CLASS_NAME } from 'react-onclickoutside'; import { describe, it } from 'flow-typed-test'; describe('react-onclickoutside', () => { it('IGNORE_CLASS_NAME', () => { IGNORE_CLASS_NAME.slice(); // $ExpectError Cannot perform arithmetic operation because...
'use strict'; const time = require('./time'); module.exports = { 'getCountOfDifferentRoutesDeparting': function(departures) { if (departures.length == 0) { return 0; } var routes = new Map(); departures.forEach(departure => { routes.set(departure.route, true...
// grunt-reporter.js // // A communication bridge between blanket.js and the grunt-blanket-qunit plugin // Distributed as part of the grunt-blanket-qunit library // // Copyright (C) 2013 Model N, Inc. // Distributed under the MIT License // // Documentation and full license available at: // https://github.com/ModelN/gr...
require('dotenv').config(); const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build ...
import React from "react"; import { Avatar, AppBar, Toolbar, Typography } from "@mui/material"; const TopBar = ({ counterPartyName }) => { return ( <AppBar position="relative" sx={{ gridArea: "header", background: "#ffab23" }} > <Toolbar> <Avatar sx={{ mr: 2 }} /> <Typograp...
import Vue from 'vue' import index from './foo.vue' import store from '~/store/index' import router from '~/router/foo' setTimeout(() => { const app = new Vue({ store, router, ...index }) app.$mount('#wrap') }, 0)
/* * Kendo UI Web v2013.2.716 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx * If you do not own a commercial license, this file shall be governed by the * GN...
import React, { PureComponent } from 'react'; class Image extends PureComponent { render() { return <div>Image</div>; } } export default Image;
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @constructor * @struct * @extends {cr.EventTarget} */ function FileOperationManager() { /** * @private {VolumeManager} */ this.volumeM...
const webpack = require('webpack'); const merge = require('webpack-merge'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const workboxPlugin = require('workbox-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ...
class MongoDbAdapter { constructor() {} act(reqObj) { return myfetch('/cloudvariables', reqObj); } } async function myfetch(url, d) { var rawResponse = await fetch('/cloudvariables', { method: 'POST', headers: { Accept: 'application/json', 'Content-Type': 'application/json' }, b...
import UserModel from '../../../../shared/models/UserModel'; class DoctorModel extends UserModel { constructor( { medicalSpecialty = 0, clinic = 0, } = {}, ) { super(); this.medicalSpecialty = medicalSpecialty; this.clinic = clinic; } } export default DoctorModel;
const express = require("express"); const logger = require("morgan"); const mongoose = require("mongoose"); const PORT = process.env.PORT || 3000; const app = express(); app.use(logger("dev")); app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use(express.static("public")); mongoose.conn...
import React from "react" import { graphql } from "gatsby" export default function Template({ data, // this prop will be injected by the GraphQL query below. }) { const { markdownRemark } = data // data.markdownRemark holds your post data const { frontmatter, html } = markdownRemark return ( <div classN...
import React from "react"; import { DateTimePicker } from "react-tempusdominus-bootstrap"; import PrismCode from "../code/PrismCode"; import styles from "../App.module.scss"; import moment from "moment"; export default function DisabledTimeIntervalsExample({ noHr = false }) { return ( <> <div> <h2 ...
const request = require('request-promise'); const rpErrors = require('request-promise/errors'); const Promise = require('bluebird'); const cheerio = require('cheerio'); const retry = require('bluebird-retry'); const fs = require('fs-bluebird'); const xml2json = require('xml2json'); const parser = require('./parser'); ...
//! moment.js locale configuration ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(that, ...
/* artifact generator: C:\My\wizzi\wizzi-examples\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: C:\My\wizzi\wizzi-examples\packages\formik\.wizzi\src\theme\overrides\MuiTableRow.js.ittf */ 'use strict'; // Palette import palette from '../palette'; export default { ...
var crypto = require('crypto') var fs = require('fs') var path_ = require('path') var mime = require('mime') var pathToRegexp = require('path-to-regexp') var staticCache = require('koa-static-cache') var ONE_DAY = 24 * 60 * 60 var DEFAULTS = { routeBase: '/', stripSlash: false, index: '/index.html', static: { ...
import { Meteor } from 'meteor/meteor'; import { TemplateRenderer } from './../server_side_templates/TemplateRenderer'; import { MailFactory } from './MailFactory'; import { GlobalSettings } from '../config/GlobalSettings'; import { DocumentGeneration } from '../documentGeneration'; export class TopicItemsMailHandler ...
/** * Copyright 2015, GeoSolutions Sas. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ var expect = require('expect'); var { ERROR_FEATURE_INFO, EXCEPTIONS_FEATURE_INFO, LOAD_FEATURE_INFO, ...
require('./')();
import { genConfig, ReducerGenerator, genActions, ONE, MANY, POST, PUT, DELETE, } from '~/api/apiResultActionReducerGenerator'; export const config = genConfig({ plural: 'clients', endpoint: id => `/account/clients/${id}`, supports: [ONE, MANY, POST, PUT, DELETE], }); export const actions = genActions(confi...
'use strict'; var Q = require('q'); var gulpUtil = require('gulp-util'); var childProcess = require('child_process'); var jetpack = require('fs-jetpack'); var asar = require('asar'); var utils = require('../utils'); var projectDir; var releasesDir; var packName; var packDir; var tmpDir; var readyAppDir; var manifest;...
import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ state: { count: 0, todos: [ { id: 1, done: true }, { id: 2, done: false } ], obj:{ message:'34' } }, mutations: { increment(state, params) { con...
var $UrlLocal = '/PlugAndPlay/Medicoes/'; $(document).ready(function () { //documento carregado FilaProducao.documentRead(); App.documentReady(); ConectEsp.documentRead(); GaugePerformaceProducao.criar(); _tabelaFeedback.documentRead(); Global.atualizarPaginaAjax(ServerValues.maquinaId) ...
import { useState } from 'react'; export default function useQuantity(defaultQuantity) { const [value, setValue] = useState(defaultQuantity || 1); function onChange(e) { if (!(+e.target.value >= 1)) { setValue(1); return; } setValue(+e.target.value); } return { value, setValue, onChan...
Vue.component( 'article-create-component', { template: '#articleCreate', mixins: [article_mixins.article_item], data() { return { article: {}, errorMessage: '' } }, methods: { createArticle: function () { const { title, content, ...
import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import styled from 'styled-components'; import ReCaptcha from './ReCaptcha'; import showRecaptcha from '../../helpers/recaptcha'; const Wrapper = styled.footer` width: 100%; display: flex;...
const path = require('path'); const { tmpdir } = require('os'); const rimraf = require('rimraf'); const { getNpmRegistry, getUnpkgHost, getNpmLatestSemverVersion, getLatestVersion, getNpmInfo, getNpmClient, checkAliInternal, getNpmTarball, getAndExtractTarball, } = require('../lib/index'); const defa...
export function combineAtoms ({ oldAtoms, newAtoms, formAction, indices, edit }) { let atoms = [] switch (formAction) { case 'prepend': atoms = [...newAtoms, ...oldAtoms] break case 'append': atoms = [...oldAtoms, ...newAtoms] break default: { if (edit) { oldAtoms....
(function () { 'use strict'; /** * @param {typeof Base} Base * @param {$rootScope.Scope} $scope * @param {Waves} waves * @return {AnyTransactionForm} */ const controller = function (Base, $scope, waves) { const { indexBy, prop, head } = require('ramda'); const { S...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
'use strict'; exports.__esModule = true; const findUp = require('find-up'); exports.default = function pkgUp(opts) { return findUp.sync('package.json', opts); };
require('dotenv').config(); const Votes = require('../artifacts/contracts/Votes.sol/Votes.json'); task("getVoters", "Get voters list in specific vote") .addParam("voteId", "Vote id (0...100)") .setAction(async (taskArgs) => { const [signer] = await hre.ethers.getSigners() const contractAddress = process....
exports.jsonToJsonschema = require('./jsonToJsonschema')
'use strict'; const through = require('through2'); const defaultPug = require('pug'); const ext = require('replace-ext'); const PluginError = require('plugin-error'); const log = require('fancy-log'); module.exports = function gulpPug(options) { const opts = Object.assign({}, options); const pug = opts.pug || opt...
const discord = require('discord.js'); const db = require("quick.db") module.exports.run = async (Client, message, args, prefix) => { if(!message.content.startsWith(prefix)) return if(!message.member.hasPermission('ADMINISTRATOR')) return message.channel.send( new discord.MessageEmbed() .setDes...
import React, { Component } from "react"; import Item from "../Item/Item"; import CircularProgress from "@material-ui/core/CircularProgress"; import queryString from "query-string"; import Api from "../../Api"; import Paging from "../Paging/Paging"; import ProductsHeader from "../ProductsHeader/ProductsHeader"; // Thi...
baseUrl = 'api/accounts/'; window.onload = function() { const select = document.getElementById('serverOptions'); const table = document.getElementById("table"); const walletIdInput = document.getElementById("walletID"); const IdLabel = document.getElementById("IdLabel"); const requestBtn = document....
'use strict' const cmd = require('./lib/cmd/cmd') const publish = require('./lib/cmd/publish') const run = require('./lib/cmd/run') module.exports = async function mrpm(opts, command, args, cb) { try { let r if (command === 'publish') { r = await publish( opts, args ) } ...
/*! * Chai - flag utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### flag(object, key, [value]) * * Get or set a flag value on an object. If a * value is provided it will be set, else it will * return the currently set value or `undefined` if * the value is not ...
const SitemapGenerator = require('advanced-sitemap-generator'); const dataConfig = require('../data/config/data.js'); // Create render routes for each metric at each geography level. const metricRoutes = ['en', 'es'].flatMap( lang => ([`/${lang}`, `/${lang}/report/blockgroup`, `/${lang}/report/tract`].concat(Object....
/** * @param {number} n * @return {boolean} */ var isHappy = function (n) { let slow = n, fast = n do { slow = digitSquareSum(slow) fast = digitSquareSum(fast) fast = digitSquareSum(fast) } while (slow != fast) return slow == 1 }; function digitSquareSum(n) { let numStr...
'use strict' const { Writable } = require('stream') const http = require('http') const Benchmark = require('benchmark') const { Client } = require('..') // # Start the Node.js server // node benchmarks/server.js // // # Start the benchmarks // node benchmarks/index.js const httpOptions = { protocol: 'http:', host...
let transactions = []; let myChart; fetch("/api/transaction") .then(response => { return response.json(); }) .then(data => { // save db data on global variable transactions = data; populateTotal(); populateTable(); populateChart(); }); function populateTotal() { // reduce transactio...
import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from '@iconify/react'; import searchFill from '@iconify/icons-eva/search-fill'; import trash2Fill from '@iconify/icons-eva/trash-2-fill'; import roundFilterList from '@iconify/icons-ic/round-filter-list'; // material import { styled } from ...
var lastcomments = (function(){ var self = new nModule(); var essenses = {}; var Essense = function(p){ var primary = deep(p, 'history'); var el, loadinterval = null; var ed = null; var actions = { show : function(posttxid, commentid, parentid){ self.app.platform.app.nav.api.load({ open : ...
/** * Error thrown when the client has not subscribed to the notification characteristic. * * @author Marc Plouhinec */ class ClientHasNotSubscribedError extends Error { /** * Constructor. * * @param {string} message */ constructor(message) { super(message); this.name =...
describe('utils', function() { 'use strict'; it('should be an object', function() { assert.isObject(window.utils); }); it('should be attached to axe global', function() { assert.equal(axe.utils, window.utils); }); });
// ================================================== // fancyBox v3.2.10 // // Licensed GPLv3 for open source use // or fancyBox Commercial License for commercial use // // http://fancyapps.com/fancybox/ // Copyright 2017 fancyApps // // ================================================== (function(window, document, $,...
import { useId, cloneVNode } from '../utils' import CBox from '../CBox' import CIcon from '../CIcon' import CPseudoBox from '../CPseudoBox' import { useMenuItemStyle } from './utils/menu.styles' import { CMenuGroup } from '.' /** * CMenuItemOption component * * The menu item option component * * @extends CPseudo...
define([ "mvc/dataset/states", "mvc/collection/collection-li", "mvc/collection/collection-panel", "mvc/base-mvc", "utils/localization" ], function( STATES, DC_LI, DC_PANEL, BASE_MVC, _l ){ /* global Backbone */ //============================================================================== var _sup...
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, no-else-return, object-shorthand, comma-dangle, max-len */ $(function() { var previewPath; $('input#broadcast_message_color').on('input', function() { var previewColor; previewColor = $(this).val(); return...
/* * pagination.js 2.0.3 * A jQuery plugin to provide simple yet fully customisable pagination. * https://github.com/superRaytin/paginationjs * * Homepage: http://paginationjs.com * * Copyright 2014-2100, superRaytin * Released under the MIT license. */ (function(global, $){ if(typeof $ === 'undefined'){...
const { resolve } = require('path'); const { docRef, generateFile, flushWriteQueue } = require('./utils'); const { docsPath, baseDir } = require('./meta-core'); function getGeneratorPath(genPath, options) { if (genPath === 'custom') { return resolve(baseDir, options.path); } else { return resolve(__dirname...
import React from 'react'; import Page from './Page'; const MultiPage = ({id}) => (<Page id={id}> <div className="f1 serif tc mv5">FRUGALITY</div> <div className="serif"> <p className="mt4">A Canadian with $1,000 a Year Can Live Very Comfortably and Enjoyably in Paris</p> <p className="mt4"> But if ...
/* Copyright 2019 Contributors to Hyperledger Sawtooth 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...
import React, { useState, useEffect } from 'react'; import Segment from '../Segment'; import api from '../../api'; import { Container, Menu, Content, Layout, MenuBUtton, MenuCollapse, } from './styles.module.scss'; import { AiFillControl } from 'react-icons/ai'; import { FaShoppingBasket, FaHome } from 'rea...
import Vue from "vue"; import VueRouter from "vue-router"; Vue.use(VueRouter); const routes = [ { path: '', redirect: '/login', }, { path: '/login', name: "Login", component: () => import( "@/views/Login"), }, { path: '/redirect', name: "Redirect", component: () => import( "@...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("widget","de-ch",{move:"Zum Verschieben anwählen und ziehen",label:"%1 widget"});
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.1.3 * @link http://www.ag-grid.com/ * @license MIT */ var utils_1 = require('../utils'); var BorderLayout = (function () { function BorderLayout(params) { this.sizeChangeListeners = ...
'use strict' console.log('balloon pop') var gBalloons = [ { color: 'palevioletred', bottom: 0, speed: 8 }, { color: 'black', bottom: 0, speed: 8 }, ] function moveBallons() { var elBalloons = document.querySelectorAll('.balloon'); var gIntervalballoons = setInterval(function () { for (var i ...
'use strict' const test = require('tap').test const loadData = require('../visualizer/data/index.js') const DataSet = require('../visualizer/data/dataset.js') const slowioJson = require('./visualizer-util/sampledata-slowio.json') const acmeairJson = require('./visualizer-util/sampledata-acmeair.json') const { Aggregat...
export const transformerXY = (params, context) => { const transformed = [...params]; // most commands store the coordinate-pair at last param const [x, y] = transformed[transformed.length - 1]; transformed[transformed.length - 1] = [x + context.x, y + context.y]; return transformed; }; export const transform...
var searchData= [ ['register_5fisr',['register_isr',['../structacc__integration__sensor__device__t.html#a899d059d6c557a7c4ee96946472b14cd',1,'acc_integration_sensor_device_t']]], ['running_5favg',['running_avg',['../structinput__t.html#a0a5584a2ca047a169d1ba46167305f03',1,'input_t']]] ];
'use strict'; var locate = require('../locate/escape'); module.exports = escape; escape.locator = locate; function escape(eat, value, silent) { var self = this; var character; var node; if (value.charAt(0) === '\\') { character = value.charAt(1); if (self.escape.indexOf(character) !...
/** * Copyright 2015 Telerik AD * * 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 ...
"use strict"; module.exports = { "parser": "babel-eslint", "plugins": [ "react", ], "ecmaFeatures": { "jsx": false, }, "rules": { // Prevent missing displayName in a React component definition "react/display-name": [0, { "acceptTranspilerName": false }], // Forbid certain propTypes ...
var a00305 = [ [ "atcab_verify", "a00991.html#ga694d921c7bc17a0e158ef96e3d476700", null ], [ "atcab_verify_extern", "a00991.html#ga2c3e18de900ba705192963d08b37f600", null ], [ "atcab_verify_extern_mac", "a00991.html#ga17bf17c4786be097a0bb111a6f9d8ca6", null ], [ "atcab_verify_invalidate", "a00991.html#g...
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel/polyfill'; import ReactDOM from 'react-dom'; import FastClick from 'fastclick'; import Router from './routes'; import Location from './core/Location'; import { addEventListener, removeEventListener } from './utils/DOMUtils'; let cs...
import Document, { Head, Main, NextScript } from 'next/document' // The document (which is SSR-only) needs to be customized to expose the locale // data for the user's locale for React Intl to work in the browser. export default class IntlDocument extends Document { static async getInitialProps (context) { const...
"use strict"; var helpers = {}; helpers.getGlobalDisplacementAtPoint = function (x, y, rng) { return (rng.perlin2(-y / 1825, x / 1789) * 500.) }; module.exports = helpers;
const { session } = require("electron"); const fetch = require('node-fetch'); // Yandex Metrica uses RTCPeerConnection, which triggered a MacOS warning "accept incoming network connections?" // Just block it session.defaultSession.webRequest.onBeforeRequest( { urls: ["https://mc.yandex.ru/metrika/*"] }, (_details,...
const {format} = require('util') const fs = require('fs') const path = require('path') const tmp = require('tmp') const {error} = require('./error') const log = (...args) => console.log(format(...args)) const accessible = filepath => { try { fs.accessSync(filepath, fs.constants.R_OK) return true } catch ...
export const routes = { home: { path: "/", }, aboutUs: { title: "About us", path: "/about-us", }, industries: { title: "Industries we serve", path: "/industries", }, faq: { title: "FAQ", path: "/faq", }, contactUs: { title: "Contact us", path: "/contact-us", }, ...
'use strict' module.exports = one var u = require('unist-builder') var all = require('./all') var own = {}.hasOwnProperty // Transform an unknown node. function unknown(h, node) { if (text(node)) { return h.augment(node, u('text', node.value)) } return h(node, 'div', all(h, node)) } // Visit a node. fun...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Table = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const react_core_1 = require("@patternfly/react-core"); const dropdownConstants_1 = require('@patternfly/react-core/dist/js/compone...
import { ref, toRefs, computed, watch } from 'vue' export default function useSearch (props, context, dep) { const { preserveSearch } = toRefs(props) // ================ DATA ================ const search = ref(props.initialSearch) || ref(null) const input = ref(null) // =============== METHODS ========...
/* eslint-disable no-unused-vars */ const Discord = require('discord.js') module.exports = { name: '', aliases: [''], description: '', usage: '', category: '', run: async (client, message, args) => { } }
'use strict' const is = require( '@mojule/is' ) const parse = require( './parse' ) const slugToKey = require( './slug-to-key' ) const match = ( target, path ) => parse( path ).map( slugToKey ).reduce( ( match, slug ) => is.undefined( match ) ? match : match[ slug ], target ) module.exports = match
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8fd57462.js'; import { g as getElementDir } from './dom-d9ba1da4.js'; const CSS = { page: "page", selected: "is-selected", previous: "previous", next: "next", disabled: "is-disabled", ellipsis: "ellipsis", ell...
//https://www.robinwieruch.de/minimal-node-js-babel-setup //great node tutorial require('dotenv/config'); const cors = require('cors'); const express =require('express'); const uuidv4 =require('uuid/v4'); //import cors from 'cors'; //import express from 'express'; //import uuidv4 from 'uuid/v4'; const pug = require...
import React from 'react'; import { withAuthorization } from '../Session'; import Sidebar from '../Sidebar'; import NavBar from "../generalNavbar"; import {withFirebase} from "../Firebase"; import {withRouter} from "react-router-dom"; import {compose} from "recompose"; import {ProgressBar} from 'react-bootstrap'; impo...
[ { "locale": "es" }, { "category": "Lu", "mappings": { "default": { "default": "sans-serif negrita cursiva mayúscula Alfa" } }, "key": "1D790" }, { "category": "Lu", "mappings": { "default": { "default": "sans-serif negrita cursiva mayúscula Beta"...
Ext.define('MyUI.controller.Global', { extend: 'Ext.app.Controller', stores: [ 'NavTree@MyUI.store' ], models: [ 'TreeNode@MyUI.model' ], views: [ 'TopPanel@MyUI.view', 'NavPanel@MyUI.view', 'MainPanel@MyUI.view', 'ThemeSwitch@MyUI.view', 'SystemMenu@MyUI.view', 'IframePanel@MyUI.view' ], re...
/** * TablePopover.spec.js * (c) 2016~ Summernote Team * summernote may be freely distributed under the MIT license./ */ /* jshint unused: false */ define([ 'chai', 'summernote/bs3/module/TablePopover' ], function (chai, TablePopover) { 'use strict'; var expect = chai.expect; describe('bs3:module.TableP...
var app = app || {} app.getRandomIntInclusive = (min, max) => { min = Math.ceil(min) max = Math.floor(max) return Math.floor(Math.random() * (max - min + 1)) + min } app.SingleBlockView = Backbone.View.extend({// eslint-disable-line no-undef tagName: 'article', className: 'carouselItem', template: _.tem...
let qualquer = "legal" console.log(qualquer) console.log(typeof qualquer) qualquer = 3.1443 console.log(qualquer) console.log(typeof qualquer) //Evite usar nomes genéricos para variáveis e constantes let valor = "" let numero = 1 let pqp = false //produto quimico perigoso kkk...
const config = require('config'); const Unauthorized = require('../lib/errors').Unauthorized; const jwt = require('jsonwebtoken'); const secret = config.keys.opencollective.secret; /** * Express-jwt will either force all routes to have auth and throw * errors for public routes. Or authorize all the routes and not t...
// config/database.js module.exports = { 'url' : 'mongodb://hater:hater1@ds129811.mlab.com:29811/hater' // looks like mongodb://<user>:<pass>@mongo.onmodulus.net:27017/Mikha4ot };
import React from "react" import PropTypes from "prop-types" import { useStaticQuery, graphql } from "gatsby" import Header from "./header" import "../styles/index.scss" const Layout = ({ children }) => { const data = useStaticQuery(graphql` query SiteTitleQuery { site { siteMetadata { ti...
/* Copyright 2015 Dennis Stodko, Christian Fröhlingsdorf 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 applica...
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { title: 'Pelias Feedback' }); }); module.exports = router;
'use strict'; var assert = require('assert'); var request = require('request'); describe('grunt-php', function () { this.timeout(20000); it('should start a PHP-server', function (cb) { request.get('http://0.0.0.0:8008', function (err, response, body) { if (err) { return cb(err); } assert.equal(respon...
(function($){ var Alpaca = $.alpaca; Alpaca.Fields.RadioField = Alpaca.Fields.ListField.extend( /** * @lends Alpaca.Fields.RadioField.prototype */ { /** * @see Alpaca.Field#getFieldType */ getFieldType: function() { return "radio"; }, ...
const links = [ { label: "Home", url: "/", }, { label: "Sobre Mim", url: "/about/", }, ] export default links