text stringlengths 2 1.05M |
|---|
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from 'react';
import ReactDOM from 'react-dom';
import { graphql } from 'gatsby';
import moment from 'moment';
import 'moment/locale/uk';
import classNames from 'classnames';
import Config from '../config';
import './content.less';
import Layout from '../layout... |
/*!
* Bootstrap v3.3.0 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]... |
const path = require('path');
module.exports = {
entry: './middleware.ts',
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
},
],
},
resolve: {
extensions: [ '.tsx', '.ts', '.js' ],
},
output: {
filename: 'middleware.js',
... |
// -- Formule pour déclarer les variables
const discord = require('discord.js');
require('discord-reply');
const
reply = require('discord-reply'),
config = require("./config.json"),
prefix = "+",
{ readdirSync } = require("fs"),
{ Client, Collection} = require("discord.js"),
client... |
define(function(require) {
var IM = require("../base/js/im");
var Model = function() {
this.callParent();
};
// 图片路径转换
Model.prototype.getImageUrl = function(url) {
if (url) {
return require.toUrl(url);
} else {
return "";
}
};
Model.prototype.initEvent = function(){
var context = this.getC... |
var globalvar = angular.module('globalvar',[]);
globalvar.constant('API_ENDPOINT',{
url: 'http://localhost:3000'
}); |
#!/usr/bin/env node
const path = require('path')
const { execSync } = require('child_process')
const packageJson = require('package-json')
const semver = require('semver') // package-json
const table = require('text-table')
const { list } = require('./config')
run()
async function run() {
const globalNodeModule = ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _inte... |
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.source.KML');
goog.require('ol.source.Stamen');
goog.require('ol.style.Circle');
goog.require('ol.style.Fill');
goog.require('ol.style.Stroke');
goog.require('ol.style.Style');
var styleCa... |
import test from 'ava';
import snapshot from '../../helpers/snapshot';
import Vue from 'vue/dist/vue.common.js';
import lowercase from '../../../src/lib/components/lowercase/index.vue';
import commonTest from '../.... |
/* eslint-disable camelcase */
const {Toolkit} = require('actions-toolkit');
Toolkit.run(async tools => {
const pkg = tools.getPackageJSON();
const {sha: head_sha, action: title} = tools.context;
const annotations = [];
const summary = [];
let warningCount = 0;
let errorCount = 0;
let conclusion = 'suc... |
/**
* @file accessionlistcontext.js
* @brief Accession list context menu
* @author Medhi BOULNEMOUR (INRA UMR1095)
* @author Frederic SCHERMA (INRA UMR1095)
* @date 2017-09-08
* @copyright Copyright (c) 2017 INRA/CIRAD
* @license MIT (see LICENSE file)
* @details
*/
let Marionette = require('backbone.marionet... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var flash = require("express-flash");
//var config = require("./config");
var dotenv = requi... |
(function(angular) {
'use strict';
angular.module('login', ['config', 'ngCookies']);
})(window.angular);
|
import Component from 'flarum/Component';
import Button from 'flarum/components/Button';
import saveSettings from 'flarum/utils/saveSettings';
import Alert from 'flarum/components/Alert';
export default class CheveretoSettingPage extends Component {
init() {
this.loading = false;
this.fields = [
... |
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,i,a){for(var u,s,l,c=0,f=[];c<r.length;c++)s=r[c],o[s]&&f.push(o[s][0]),o[s]=0;for(u in i)Object.prototype.hasOwnPro... |
t = db.mr_outreduce;
t.drop();
t.insert( { _id : 1 , a : [ 1 , 2 ] } )
t.insert( { _id : 2 , a : [ 2 , 3 ] } )
t.insert( { _id : 3 , a : [ 3 , 4 ] } )
outName = "mr_outreduce_out";
out = db[outName];
out.drop();
m = function(){ for (i=0; i<this.a.length; i++ ) emit( this.a[i] , 1 ); }
r = function(k,vs){ return Ar... |
function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }... |
function slideToggle(t,e,o){0===t.clientHeight?j(t,e,o,!0):j(t,e,o)}function slideUp(t,e,o){j(t,e,o)}function slideDown(t,e,o){j(t,e,o,!0)}function j(t,e,o,i){void 0===e&&(e=400),void 0===i&&(i=!1),t.style.overflow="hidden",i&&(t.style.display="block");var p,l=window.getComputedStyle(t),n=parseFloat(l.getPropertyValue(... |
const moduleAlias = require('module-alias');
const aliases = {
db: `${__dirname}/db`,
config: `${__dirname}/config`,
utils: `${__dirname}/utils`,
redisClient: `${__dirname}/redisClient`,
logger: `${__dirname}/logger`,
apiLogger: `${__dirname}/apiServer/apiLogger`,
};
moduleAlias.addAliases(aliases);
modu... |
import {
Card,
CardHeader,
InputGroupText,
InputGroupAddon,
CardFooter,
DropdownMenu,
DropdownItem,
UncontrolledDropdown,
Input,
InputGroup,
DropdownToggle,
Pagination,
Col,
Button,
PaginationItem,
PaginationLink,
Spinner,
Table,
Container,
... |
"use strict";
// Copyright IBM Corp. 2020. All Rights Reserved.
// Node module: @loopback/example-rest-crud
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Object.defineProperty(exports, "__esModule", { value: true });
const models_1 = require("../models"... |
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const PublicationsPage = () => (
<Layout>
<SEO title="Publications" />
<div class="row mb-4 px-3 pt-4 pb-2 bg-wash tw-border-b-4 tw-border-gray-600">
<div class="col-12... |
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
state: {
dragTreeData: null,
dragTreeNodeHeight: 0
},
mutations: {
setDragTreeNodeHeight (state, value) {
state.dragTreeNodeHeight = value
},
setDragTreeData (state, value) {
... |
require('dotenv').config({
path: `.env.development`,
})
global.___loader = {
enqueue: jest.fn(),
}
|
const { expect } = require('chai');
const sinon = require('sinon');
const bootstrap = require('../test_helper');
const route = '/auth';
describe('/auth', () => {
before(bootstrap(__dirname));
['get', 'post'].forEach((verb) => {
describe(`${verb} response_mode=form_post`, () => {
context('logged in', (... |
import { moduleFor, test } from 'ember-qunit';
moduleFor('route:vis/versions', 'Unit | Route | vis/versions', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function(assert) {
let route = this.subject();
assert.ok(route);
});
|
/**
* DevExtreme (localization/globalize/number.js)
* Version: 18.2.3
* Build date: Wed Nov 07 2018
*
* Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
"use strict";
var _typeof = "function" === typeof Symbol && ... |
const express = require('express');
const authRequired = require('../middleware/authRequired');
const Notifications = require('./notificationModel');
const router = express.Router();
router.get('/', authRequired, function (req, res) {
Notifications.findAll()
.then((notification) => {
res.status(200).... |
(function () {
'use strict';
angular
.module('app.service')
.controller('ServiceController', ServiceController);
ServiceController.$inject = ['$exceptionHandler', '$scope', '$routeParams', '$location', 'gettextCatalog', 'alertService', 'Service', 'User'];
function ServiceController ($exceptionHandler... |
'use strict'
import tts from './esm.js'
// module.exports.tts = tts;
export default tts; |
jQuery(document).ready(function () {
var thisPage = $('body');
var drink_box = $('#donate-box');
var drink_box_s = $('#drinks-box-s');
var icon_donate = $('.icon-donate');
var donate_button = $('.donate-button');
var donate_buttons = $('#drinks-button-box');
var donate_button_bg = $('#drinks-button-bg');
var drinks_qr... |
'use strict';
var models = require('../../models');
var security = require('../utils/security');
var _ = require('lodash');
var qetag = require('../utils/qetag');
var formidable = require('formidable');
var yazl = require('yazl');
var fs = require('fs');
var slash = require('slash');
var common = require('../utils/comm... |
var searchData=
[
['data_20logging_20info_3a',['Data Logging Info:',['../md_doc_readme_src__c_r_y_s_t_a_l_readme_src.html',1,'']]],
['data_20logging_20info_3a',['Data Logging Info:',['../md_doc_readme_src__j_o_w_i_l_d_e_r_readme_src.html',1,'']]],
['data_20logging_20info_3a',['Data Logging Info:',['../md_doc_read... |
/*!
* ${copyright}
*/
// Provides class sap.ui.dt.test.Test.
sap.ui.define([
"sap/ui/base/ManagedObject"
], function(ManagedObject) {
"use strict";
/**
* Constructor for a Test.
*
* @param {string} [sId] id for the new object, generated automatically if no id is given
* @param {object} [mSettings] initia... |
module.exports={A:{A:{"1":"A B","2":"I D F E kB"},B:{"1":"C O H P J K L M KB N R WB T"},C:{"1":"0 1 2 3 4 5 6 7 8 9 dB ZB G X I D F E A B C O H P J K L Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB NB FB GB HB IB JB Q LB EB V U TB OB PB QB RB SB MB M KB N jB R rB uB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G... |
(function(d){d['fr']=Object.assign(d['fr']||{},{a:"Envoi du fichier échoué :",b:"Barre d'outils des images",c:"Barre d'outils des tableaux",d:"Gras",e:"Italique",f:"Barré",g:"Citation",h:"Insérer une image ou un fichier",i:"Choisir l'en-tête",j:"En-tête",k:"Objet image",l:"Image taille réelle",m:"Image latérale",n:"Ima... |
/**
* Created by Jilion on 2017/3/10.
*/
import Transport from '../common/Transport';
import { RESTAPI_HOST, HEARDS }from '../common/Config';
class ColourTransport extends Transport {
constructor(props) {
super(props);
}
getAllColours() {
return this.ajaxRequest({
method: 'ge... |
export default $(document).ready(e => {
$(document).ready(e => {
$(".sort-by button").on("click", e => {
const parentContainer = $(e.currentTarget).parent();
const list = parentContainer.find(".sort-list");
if (list.hasClass("d-none")) {
list.removeClass("d-none");
parentContaine... |
import React from "react"
import PropTypes from "prop-types"
import Helmet from "react-helmet"
import { Link, StaticQuery, graphql } from "gatsby"
import Img from "gatsby-image"
import { Navigation } from "."
import config from "../../utils/siteConfig"
// Styles
import "../../styles/app.css"
/**
* Main layout compo... |
/**
* Mixin for boolean gui_field content(input value area).
*/
const BooleanFieldContentMixin = {
data() {
return {
class_list: ['form-control', 'boolean-select'],
};
},
computed: {
selected: function () {
return this.value ? 'selected' : '';
},
... |
const {
Model
} = require('sequelize');
module.exports = (sequelize, DataTypes) => {
class Forwarder extends Model {
/**
* Helper method for defining associations.
* This method is not a part of Sequelize lifecycle.
* The `models/index` file will call this method automatically.
*/
stati... |
$(document).ready(function () {
var table = $('#project-list').DataTable({
'columnDefs': [
{
'targets': 0,
'className': 'dt-body-center',
'render': function (data, type, full, meta) {
return '<div class="custom-control custom-ch... |
/*
AngularJS v1.7.2
(c) 2010-2018 Google, Inc. http://angularjs.org
License: MIT
*/
(function(s,p){'use strict';var e="BUTTON A INPUT TEXTAREA SELECT DETAILS SUMMARY".split(" "),l=function(a,b){if(-1!==b.indexOf(a[0].nodeName))return!0};p.module("ngAria",["ng"]).info({angularVersion:"1.7.2"}).provider("$aria",functi... |
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter(),
pac... |
const expect = require('chai').expect
const platzom = require('..').default
describe('#platzom', function(){
it('Si la palabra termina con "ar", se le quitan esas dos letras', function(){
const translation = platzom("Programar")
expect(translation).to.equal("Program")
})
it('Si la palabra inicia con Z,... |
import React, { Component } from 'react'
export class RefsDemo extends Component {
constructor(props) {
super(props)
this.inputRef = React.createRef()
this.cbRef = null
this.setCbRef = (element) => {
this.cbRef = element
}
this.state = {
}
}... |
const event = {
resource: 'your_kms_key_id',
region: 'us-east-1'
}
const AutoRemediate = require('../functions/AutoRemediateKMS-004')
AutoRemediate.handler(event, {}, function (err, data) {
console.log(err)
console.log('data', JSON.stringify(data, null, 2))
})
|
const cheerio = require('cheerio');
const fs = require('fs');
let _uiid = 0;
let _storage = {};
let $ = null;
module.exports = function (path, callback){
let p = path+'/index-orig.html';
fs.readFile(p, 'utf8', function(err, data) {
if (err) throw err;
$ = cheerio.load(data);
// TODO: ma... |
'use strict';
const React = require('react');
class Counter extends React.Component {
static displayName = 'Counter';
state = { count: this.props.initialCount };
_increment = () => {
this.setState({ count: this.state.count + 1 });
};
render() {
return React.createElement(
'span',
{ onClic... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Input from '../Input/Input';
import Button from '../Button';
class InputWindow extends Component {
constructor(props) {
super(props)
this.handleSubmit = this.handleSubmit.bind(this);
this.focusInput = this.f... |
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
f... |
module.exports = {
password: '9265788',
db: 'mongodb://admin:pass@ds137090.mlab.com:37090/kuwo-instruments',
port: 5000
} |
// A Map iterator does not iterate over new entries added after it throws StopIteration.
var map = new Map();
var iter0 = map[Symbol.iterator](),
iter1 = map[Symbol.iterator]();
var __es_v1 = new Uint32Array(16);
iter0;
undefined; // closes iter0
map.set(1, 2);
var __es_v0 = [Math.exp(2), 1 >>> 1, Number.prototy... |
/*!
* Common
*/
;var _common={_ui:{manager:null,iscomplete:false},_mode:null,_isRTL:$("html").hasClass("rtl"),_document_width:$(window).width(),_bc_idkey:{playerId:null,playerKey:null,siteList:{uk:{playerId:"2766386806001",playerKey:"AQ~~,AAAA1u88VXE~,x0_28B_6Zvm1pXn7J32HLZeBFPB6Wy5Z"},jp:{playerId:"926210515001",pla... |
const MongoClient = require("mongodb").MongoClient;
const url = "mongodb://localhost:27017";
const dbname = "dogs";
const collectionName = "breeds";
MongoClient.connect(url, (error, client) => {
const db = client.db(dbname);
const breedsCollection = db.collection(collectionName);
breedsCollection.fin... |
function closeModal() {
document.getElementById("modal").style.display = "none"
}
function createTask() {
document.getElementById("modal").style.display = "flex"
baslikValue = ''
}
let baslik = document.getElementById('inputBaslik');
let aciklama = document.getElementById('inputHedefAciklama');
let dateIn... |
const initialState = {
tokenSession: {},
sessionId: '',
sessionPicking: {},
booleano: false,
statusOrderSelected: 'pending',
idItems: '',
despickear: false,
reiniciar: null,
};
export default (state = initialState, action) => {
switch (action.type) {
case 'START_SESSION':
localStorage.setIt... |
import React from "react";
function VideoCourses() {
return <div>Video Courses page</div>;
}
export default VideoCourses;
|
/*!
* Manage our groups
*
* Based off the Craft fields.js file
*/
(function($) {
var GroupsAdmin = Garnish.Base.extend({
$groups: null,
$selectedGroup: null,
$groupSettingsBtn: null,
init: function(settings)
{
// make settings globally available
window.settings = settings;
this.$groups = $(settings... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const ReactComponent = props => (react_1.default.crea... |
// @flow
import type {Node} from 'react';
import React from 'react';
import {graphql} from 'gatsby';
import DocsLayout from './DocsLayout';
import Minimap from './Minimap';
import {NavList, NavListHeading, NavListItem} from './Affordance';
type Props = {};
export default function TutorialLayout({data, children}: Prop... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
toString: If radix is an integer from 2 to 36, but not 10,
the result is a string, the choice of which is implementation-dependent
es5id: 15.7.4.2_A2_T27
description... |
const router = require('express').Router()
const Word = require('../db/models/word')
const Room = require('../db/models/room')
const User = require('../db/models/user')
router.get('/', async (req, res, next) => {
try {
const allWords = await Word.findAll()
res.json(allWords)
} catch (error) {
next(erro... |
var BCryptCipher = require('./BCryptCipher');
var JwtCipher = require('./JwtCipher');
/**
* Create new factory for Cipher services
* @constructor
*/
function CipherFactory() {
}
CipherFactory.prototype = Object.create({
constructor: CipherFactory,
/**
* Create cipher instance based on type
* @param {Str... |
import {StyleSheet,Platform} from 'react-native';
import {em} from '../utils/global_params';
export default StyleSheet.create({
UserInfoContent: {
backgroundColor: '#efefef',
},
FinishBtn: {
paddingRight: 10
},
FinishText: {
color: '#fff'
},
AvatarView: {
padding: em(10),
justifyConte... |
define("ace/occur",["require","exports","module","ace/lib/oop","ace/range","ace/search","ace/edit_session","ace/search_highlight","ace/lib/dom"],function(e,t,n){"use strict";function a(){}var r=e("./lib/oop"),i=e("./range").Range,s=e("./search").Search,o=e("./edit_session").EditSession,u=e("./search_highlight").SearchH... |
const github = {
state: {
users: [],
isLoading: false,
}, // initial state
reducers: {
requestUsers(state) {
return {
users: [],
isLoading: true,
}
},
receiveUsers(state, payload) {
return {
isLoading: false,
users: payload,
}
},
},... |
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const HtmlInlinkChunkPlugin = require('html-webpack-inline-chunk-plugin');
module.exports = {
entry: {
app: './src/app.js'
},
output: {
path: path.resolve(__dirname, '... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{160:function(t,o,e){"use strict";e(199);var n=e(48),component=Object(n.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("nuxt")}),[],!1,null,null,null);o.a=component.exports},162:function(t,o,e){t.exports=e(163)},199:function(t,o,e){"use stric... |
var output_stats_8c =
[
[ "OutputLoggerThreadStore_", "structOutputLoggerThreadStore__.html", "structOutputLoggerThreadStore__" ],
[ "OutputLoggerThreadData_", "structOutputLoggerThreadData__.html", "structOutputLoggerThreadData__" ],
[ "OutputStatsLogger_", "structOutputStatsLogger__.html", "structOutputSt... |
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'fr-ca', {
title: 'Instructions d\'accessibilité',
contents: 'Contenu de l\'aide. Pour fer... |
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
(function($protobuf) {
"use strict";
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Export... |
var searchData=
[
['decorationgenerator',['DecorationGenerator',['../classSimTK_1_1DecorationGenerator.html',1,'SimTK']]],
['decorations',['Decorations',['../classSimTK_1_1Decorations.html',1,'SimTK']]],
['decorationsubsystem',['DecorationSubsystem',['../classSimTK_1_1DecorationSubsystem.html',1,'SimTK']]],
['d... |
/**
* AddJourney.js
*/
import React, {useContext} from 'react';
import {AppConsumer, AppContext} from "../../AppContext/AppContext";
import {Accordion, Button, Card, Col, Container, ListGroup, Row} from "react-bootstrap";
import {Notification} from "../Notification/Notification";
import {LoadingSpinner} from "../Load... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.34/esri/copyright.txt for details.
//>>built
define("esri/dijit/geoenrichment/DataBrowser/DeferredStore",["dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/store/util/SimpleQueryEngine","dojo/sto... |
module.exports = {
props: {
hasOptions: { default: true },
isRefreshable: { default: false },
isRemovable: { default: false },
isCollapsable: { default: true },
collapsed: { default: false },
},
data() {
return {
state: {
collapsed:... |
/*
* Ext JS Library 3.0 Pre-alpha
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
(function(){var abs=Math.abs,pi=Math.PI,asin=Math.asin,pow=Math.pow,sin=Math.sin,EXTLIB=Ext.lib;Ext.apply(EXTLIB.Easing,{easeBoth:function(t,b,c,d){return((t/=d/2)<1)?c/2*t*t+b... |
"use strict";
/**
* @file /src/app.ts
*
* @brief Express app module. Framework settings are set here.
*
* @date 06-09-2018
* @author Adrian Leren
*
* @copyright IT1901 - Group 7, 2018
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule)... |
function typeWriter(elemento) {
const textoArray = elemento.innerHTML.split('');
elemento.innerHTML = '';
textoArray.forEach((letra, i) => {
if(letra == ' '){
letra = '<br>';
}if(letra == "'"){
letra = "<span>'</span>";
}if(letra == "."){
letra = "... |
function procedure() {
let num = getRandomNumber();
num = getPerfectSquaredNumber(num);
}
// impure function
function getRandomNumber(number){
return Math.random() + number;
}
// pure function
function getPerfectSquaredNumber(number){
return number * number;
}
// wrapped impure function into pure... |
import test from 'tape';
import spy from 'sinon/lib/sinon/spy'; // avoid babel-register-related error by importing only spy
import Feature from '../src/feature_types/feature';
import Point from '../src/feature_types/point';
import GLDraw from '../';
import createFeature from './utils/create_feature';
import getPublicMe... |
/* <row-height>
*
* CSS3 allows a non-negative <length>, "auto" or "*"
* No other CSS versions do something like this that I've found
*/
"use strict";
var base = require('./base');
var util = require('../../util');
var validate = require('./validate');
var RowHeight = base.baseConstructor();
util.extend(RowHeig... |
//
// Vivado(TM)
// rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6
// Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.
//
var WshShell = new ActiveXObject( "WScript.Shell" );
var ProcEnv = WshShell.Environment( "Process" );
var PathVal = ProcEnv("PATH");
if ( PathVal.length == 0 ) {
PathVal = "D:/Xil... |
import flatten from "flat";
export default function reducer(state = {
language: [], //code:code, active:active
translations: {} //KEY:[lang0, lang1, lang2]
},
action) {
switch (action.t... |
const debug = require('debug')('telegram-bot-api:provider')
class UpdateProvider {
constructor(parameters) {
this._api = undefined
this._offset = 0
this._limit = undefined
this._timeout = 60
this._allowed_updates = undefined
if (parameters) {
if (paramet... |
var searchData=
[
['address_5fmask',['address_mask',['../classsnemo_1_1datamodel_1_1raw__calorimeter__hit.html#ae7f8beeee7c1826621f439f340ee8c53',1,'snemo::datamodel::raw_calorimeter_hit::address_mask()'],['../classsnemo_1_1datamodel_1_1raw__tracker__hit.html#a157fdede1f58af71ab2b1b9524f4e935',1,'snemo::datamodel::ra... |
import React from 'react';
import { render } from 'react-dom';
function Checkout(props) {
return (
<form>
<input type="text" name="name" onChange={(event) => console.log(event.target.value)} />
</form>
);
}
render(<Checkout />, document.querySelector('#react-root'));
|
Input::
//// [/lib/lib.d.ts]
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interface ... |
const utils = require('../Utils')
const EventEmitter = require('eventemitter2')
const fs = require('fs')
const watcher = require('@parcel/watcher')
class Watcher extends EventEmitter {
debug = false
paths = []
subscriptions = []
options = {}
owners = {}
constructor (paths, options = {}) {
super()
... |
function Emitter(webSocket) {
this.webSocket = webSocket;
}
Emitter.ON_CONNECTED = "onConnected";
// Emitter.ON_DISCONNECTED = "onDisconnected"; // exist already in the server side, no need for mapping
Emitter.ON_SEND_REQUEST = "onSendRequest";
Emitter.ON_ACCEPT_REQUEST = "onAcceptRequest";
Emitter.ON_TYPING = "onTy... |
import Big from"big.js";export class Lohnsteuer2020Big{constructor(){this.Z_0=new Big(0),this.Z_1=new Big(1),this.Z_10=new Big(10),this.af=1,this.ENTSCH=this.Z_0,this.f=1,this.PKPV=this.Z_0,this.PKV=0,this.PVS=0,this.PVZ=0,this.JRE4ENT=this.Z_0,this.SONSTENT=this.Z_0,this.BK=this.Z_0,this.BKS=this.Z_0,this.BKV=this.Z_0... |
/*!
* DevExtreme (Sparklines)
* Version: 14.1.7
* Build date: Sep 22, 2014
*
* Copyright (c) 2012 - 2014 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
"use strict";if(!DevExpress.MOD_VIZ_SPARKLINES){if(!DevExpress.MOD_VIZ_CORE)throw Error("Require... |
// Common Webpack configuration for the frontend and the backend
// Webpack documentation can be found at https://webpack.github.io/docs/
var path = require('path');
var webpack = require('webpack');
var appConfig = require('./config');
module.exports = {
// set debug to true only in development mode
debug: !app... |
'use strict';
angular.module('myApp.home', ['ngRoute'])
// Declared route
.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
$routeProvider.when('/home', {
templateUrl: 'home/home.html',
controller: 'HomeCtrl'
});
//$locationProvider.html5Mode(true);
}])
// Ho... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{c9HC:function(e,t,a){"use strict";a.r(t),a.d(t,"_frontmatter",(function(){return i})),a.d(t,"default",(function(){return m}));var n=a("Fcif"),c=a("+I+c"),o=(a("mXGw"),a("/FXl")),r=a("TjRS"),l=a("ZFoC"),b=a("NVUx"),i=(a("aD51"),{});void 0!==i&&i&&i===Object(i)&&O... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vuetify-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Home.vue?vue&type=script&lang=js&":
/*!*********************************************************... |
$(window).on("load",function(){
$.contextMenu({
selector:'#mapa',
trigger:(($(window).width() < 700) ? 'hover' : 'right'),
events:{
show: function(options){
$(".blink").removeClass("ui-selected");
try {
$('.blink').resizable('enable');
$('.blink').contextMenu(true);
} catch(... |
"use strict";var n,t=((n=function(){return t}).toString=n.toLocaleString=n[Symbol.toPrimitive]=function(){return""},n.valueOf=function(){return!1},new Proxy(Object.freeze(n),{get:function(n,r){return n.hasOwnProperty(r)?n[r]:t}}));exports.Nothing=t,exports.toBool=function(n){return!(!n||!n.valueOf())},exports.isNothing... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[670],{1342:function(e,t,v){e.exports=v.p+"assets/img/SIH_diagram.4e53f869.png"},2671:function(e,t,v){"use strict";v.r(t);var r=v(19),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$pa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.