text
stringlengths
2
1.04M
function my_function668(){ //58744313342512943199284943224543JriRwJHGZezTbaCKpJjpauBVXdJTlKJx } function my_function101(){ //76804373246292903922648692925632XkQCMsyRgtrefJoBdMjGazUWeiLMzPLM } function my_function501(){ //31065736467560549596600917553231urEfmjmulEWJIFyQbMAyduaiZisDwWwG } function my_function805(){ /...
!function($){ "use strict"; var Typed = function(el, options){ // chosen element to manipulate text this.el = $(el); // options this.options = $.extend({}, $.fn.typed.defaults, options); // text content of element this.text = this.el.text(); // typing speed this.typeSpeed = this.options.typeSpeed...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
//# sourceMappingURL=parcel-html-transpiler.ae8ede27.worker.js.map
//// [objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.ts] // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters wi...
const router = require('express').Router(); const { User, Tasks, Messages, Responses, Calendar } = require("../../models"); // GET /api/users router.get('/', (req, res) => { User.findAll({ attributes: { exclude: ['password'] } }) .then(dbUserData => res.json(dbUserData)) .catch(err => { console....
import utils from '../utils'; test('it should exist', () => { expect(utils).toBeDefined(); }); test('compose should compose the function', () => { const f1 = (n) => (x) => x + n; const f2 = (n) => (x) => x * n; let f3; f3 = utils.compose(f1(2), f2(2)); expect(f3(1)).toBe(4); f3 = utils...
$(function() { // Helper function for vertically aligning DOM elements // http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/ $.fn.vAlign = function() { return this.each(function(i){ var ah = $(this).height(); var ph = $(this).parent().height(); var mh = (ph - ah) / 2; $(this).css('margin-to...
import React, { useState,useEffect } from "react"; import '../../css/package-details.css'; import { Link,useHistory} from 'react-router-dom'; import SimpleRating from "../customer/rating"; import Axios from "axios"; export default function Package_details_three() { const [travel,setTravel] = useState(''); const ...
/*! * js-file-browser * Copyright(c) 2011 Biotechnology Computing Facility, University of Arizona. See included LICENSE.txt file. * * With components from: Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /*! * Ext JS Library 3.3.1 * Copyrigh...
//>>built define("dijit/nls/dijit-all_lv",{"dojo/nls/colors":{aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetb...
/**************************************************************************** ** @license ** This demo file is part of yFiles for HTML 2.4.0.2. ** Copyright (c) 2000-2021 by yWorks GmbH, Vor dem Kreuzberg 28, ** 72070 Tuebingen, Germany. All rights reserved. ** ** yFiles demo files exhibit yFiles for HTML functio...
let THREE = require('three'); THREE.SVGLoader = require('three/examples/jsm/loaders/SVGLoader').SVGLoader; module.exports = exports = { Threebox: require('./src/Threebox'), THREE: require('three'), mapboxgl: require('mapbox-gl'), }
import Vue from 'vue' import Router from 'vue-router' import Login from '../components/layout/AuthLayout' import menuModule from 'vuex-store/modules/menu' Vue.use(Router) export default new Router({ routes: [ {path: '/login', name: 'Login', component: Login}, {path: '/', name: 'Login', component: Login}, ...
"use strict"; exports.__esModule = true; var cable_1 = require("../services/cable"); var Cable = /** @class */ (function () { function Cable(club) { this.CLUB = club; this.onInit(); } Cable.prototype.onInit = function () { if (this.CLUB === null) { throw new Error('An err...
const prompts = require('prompts'); const { Future } = require('./maybe'); const { create_search, create_suggest, confirm_word, format } = require('./utils'); const entries = data(); const suggest = create_suggest(Object.keys(entries)); const search = create_search(entries, true); const search_name = create_...
/*! * Bootstrap button.js v5.0.0-beta2 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function (global, factory) { typeof exports === 'object' && type...
/* Highmaps JS v9.1.0 (2021-05-03) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts"],function(u){a(u);a.Highcharts=u;re...
'use strict'; const gutil = require('../gutil'); const format = gutil.format; const minmax = gutil.minmax; const defaults = gutil.defaults; const unalias = { handle: 'permissions::unalias', exec: function unalias (data) { if (data.handle && this.aliases.has(data.handle)) { const alias = data.handle; ...
class Context { constructor(options = {}) { Object.assign(this, options); if (!this.inchSize || !this.responsiveK || !this.designHeightInch || !this.designWidthInch || !this.gridWidth || !this.gridHeight) { throw new Error('Some option is undefined: ', opti...
/* eslint-env jasmine, jest */ import propsToAccessibilityComponent from '../propsToAccessibilityComponent'; describe('modules/AccessibilityUtil/propsToAccessibilityComponent', () => { test('when missing accessibility props"', () => { expect(propsToAccessibilityComponent({})).toBeUndefined(); }); test('whe...
import React from "react"; import { useRouter } from "next/router"; import styles from "../styles/pages/blog.module.scss"; import { Article, BlogList } from "../components/index"; export default function Blog({ db_data }) { const router = useRouter(); const [index, setIndex] = React.useState(0); const handleInde...
const fs = require('fs'); const path = require('path'); const { JSDOM } = require('jsdom'); const vuepressContainerPlugin = require('vuepress-plugin-container'); // These plugins have to match the ones used as extensions in .vuepress/config.js const md = require('@vuepress/markdown')({ plugins: ['attrs'], }); const...
var qpg6100_2_c_h_i_p_device_platform_event_8h = [ [ "ChipDevicePlatformEvent", "structchip_1_1_device_layer_1_1_chip_device_platform_event.html", "structchip_1_1_device_layer_1_1_chip_device_platform_event" ], [ "InternalPlatformSpecificEventTypes", "qpg6100_2_c_h_i_p_device_platform_event_8h.html#ae8584e01385...
import React from 'react'; import './Footer.css'; import { Link } from 'react-router-dom'; function Footer() { return ( <div className='footer-container'> <section className='footer-subscription'> <p className='footer-subscription-heading'> Join the Anywhere Fitness newsletter to receive ...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
module.exports = function(grunt) { // Requires require('jit-grunt')(grunt); var fs=require('fs'), child_process=require('child_process'); // Get library name var excludes=['.','..','ender.js','footer.js'], files=fs.readdirSync('src'), name,i,j; if(files.indexOf('header.js')!==-1){ name='header.js'; } ...
import { Input } from 'antd'; const { TextArea } = Input; class FirstTemplate extends React.Component { constructor(props) { super(props); this.state = { companyDetail: {}, departDetail: {} }; } componentWillReceiveProps(nextProps) { if ('entModalVisible' in nextProps) { this.se...
import React from 'react'; const Chat = () => { return <div>Chat</div> }; export default Chat;
module.exports = { extends: ["airbnb-base"], globals: { "localStorage": true }, rules: { "indent": ["error", 2], "semi": "off", "class-methods-use-this": "off", "import/no-mutable-exports": "off", } }
const mongoose = require("mongoose"); // Save a reference to the Schema constructor const Schema = mongoose.Schema; // Using the Schema constructor, create a new UserSchema object // This is similar to a Sequelize model const ArticleSchema = new Schema({ // `title` is required and of type String title: { type...
export const EXCEPTION_AUTH_LOGIN_UNAUTHORIZED = 'forum-devmedia/exception/auth-login-unauthorized'; export const EXCEPTION_UNAUTHORIZED = 'forum-devmedia/exception/unauthorized'; export const EXCEPTION_INTERNAL_SERVER_ERROR = 'forum-devmedia/exception/internal-server-error'; export const EXCEPTION_NOT_FOUND = 'foru...
/** * ---------------------------------------------------------------------------------------------------- * List Self-Hosted Runners for a Repository [Run] * * @description - List self-hosted runners for a repository using the Github API * * @author Buildable Technologies Inc. * @access open * @license ...
import { gql } from '@apollo/client'; import { gqlV2 } from '../../../lib/graphql/helpers'; import { MAX_CONTRIBUTORS_PER_CONTRIBUTE_CARD } from '../../contribute-cards/Contribute'; import { expensesListFieldsFragment } from '../../expenses/graphql/fragments'; import { transactionsQueryCollectionFragment } from '../....
(function() { var Pistachio, __slice = Array.prototype.slice, __hasProp = Object.prototype.hasOwnProperty; Pistachio = (function() { var cleanSubviewNames, pistachios, symbolKeys; Pistachio.createId = (function() { var counter; counter = 0; return function(prefix) { retur...
// Copyright (c) E5R Development Team. All rights reserved. // Licensed under the Apache License, Version 2.0. More license information in LICENSE.txt. /* global process, __filename, __dirname */ (async () => { "use strict"; let _dev; /* DEVCODE-BEGIN */ _dev = require('../../../main.js'); /* DEVC...
import { clamp } from "./Util/Util"; import { hitTypes, hitMoves, hitElements, transformativeReactions, amplifyingReactions, transformativeReactionLevelMultipliers, crystalizeLevelMultipliers } from "./StatConstants" const StatData = { flat: { name: "", default: 1 }, // Character Stats characterHP: { name: "HP"...
import PROJECT_MODULE from './app.js'; import GEO_MODULE from "./geo_search_mod"; import CALENDAR_MODULE from "./calendar_mod"; import Handlebars from 'handlebars/dist/cjs/handlebars' import ADDRESS_MODULE from "./load_address_mod" attachListeners(); initializeReservedDaysCalendar(); initializeAddress(); attachRemoveI...
import React from "react" import Layout from "../components/layout" import SEO from "../components/seo" import Projects from "../components/projects" import ResumeLink from "../components/ResumeLink" const IndexPage = () => ( <Layout> <SEO title="Kevin McCall Full Stack Software Engineer" /> <section classNa...
//地区三级下拉菜单 function Dsy() { this.Items = {}; } Dsy.prototype.add = function(id,iArray) { this.Items[id] = iArray; } Dsy.prototype.Exists = function(id) { if(typeof(this.Items[id]) == "undefined") return false; return true; } function change(v){ var str="0"; for(i=0;i<v;i++){ str+=("_"+(document.getElementById(s[i]).s...
const parseRegex = /([^=; ]+)=?([^;]+)?;?/g; // Formerly ([A-Za-z0-9%]+)=?([A-Za-z0-9%]+)?;? /** * Super lightweight cookie parser and serializer * @module lightcookie */ module.exports = { /** * Parse a cookie string * @param {string} cookieString - A cookie string * @returns {Object} Interpreted cookie data as ...
import React from "react" const GithubIcon = () => ( <svg className="github" aria-hidden="true" focusable="false" data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" > <path f...
export { default } from './legend.js';
var webpack = require('webpack'); var path = require('path'); var BUILD_DIR = path.resolve(__dirname, 'dist'); var APP_DIR = path.resolve(__dirname, 'src'); var config = { entry: APP_DIR + '/index.js', output: { path: BUILD_DIR, filename: 'bundle.js' }, module : { loaders: [ { ...
import mongoose from 'mongoose'; const username = process.env.MONGO_USER; const password = process.env.MONGO_PASSWORD; const host = process.env.MONGO_HOST; const port = process.env.MONGO_PORT; const dbName = process.env.MONGO_DB; mongoose.connect( `mongodb://${username}:${password}@${host}:${port}/${dbName}` ); ex...
"use strict"; /*copy from estimatePi.js*/ const estimatePiWorkerCode = ` const estimatePi = function (precision) { /* PI Estimation, precision is also limiter by the Number type type precision correctness is affected by the randomness Math.random()*/ const radius = 1; let xCoordinate; let yCoordin...
const gulp = require('gulp'); const settings = require('../settings'); const removeDirRecursive = require('./extra/removeDirRecursive'); gulp.task('clean-output', function(){ removeDirRecursive(settings.buildPath); });
const CONSTANTS = require('../../../utils/constants'); const errorService = require('../service'); const { logger } = require('../../../utils/logger'); const errorController = (err, req, res, next) => { let error = err; if (error) { error.statusCode = error.statusCode || 500; error.status = error.status ||...
'use strict'; exports.calculate = function(req, res) { req.app.use(function(err, req, res, next) { if (res.headersSent) { return next(err); } res.status(400); res.json({ error: err.message }); }); var operations = { // Using + operator to type cast variables as integers in order to pr...
// you have to make Update password here okay Which is really neccesary import React, { Component } from 'react'; import axios from 'axios'; import { BrowserRouter, Redirect, Route } from 'react-router-dom' import PropTypes from 'prop-types' import Form from "react-bootstrap/Form"; import Button from "react-bootstrap/...
define(['exports'], (function (exports) { 'use strict'; const foo = 42; exports.foo = foo; Object.defineProperty(exports, '__esModule', { value: true }); exports[Symbol.toStringTag] = 'Module'; }));
/////////////////////////////////////////////////////////////////////////////// // Z-Blog // 作 者: 朱煊(zx.asd) // 版权所有: RainbowSoft Studio // 技术支持: rainbowsoft@163.com // 程序名称: // 程序版本: // 单元名称: common.js // 开始时间: 2004.07.25 // 最后修改: // 备 注: 全局脚本 /////////////////////////...
// Exports module.exports = { mode: 'production', target: 'web', };
import { useTheme, useMediaQuery } from '@material-ui/core'; import { useColumnWidth, useColumnHeight } from './'; export const useGlobeSize = () => { const { breakpoints } = useTheme(); // 600px and down const matchesSmallScreens = useMediaQuery(breakpoints.down('sm')); // 600px - 960px const matchesMedium...
export default (input, level) => { const fill = ' '.repeat(level); return `${fill}${input.replace(/\n/g, `\n${fill}`)}`; };
const https = require('https'); const DATA_YEAR = '2014'; module.exports = { DATA_YEAR: DATA_YEAR, FIELDS: { general: [ ('school.name'), ('school.state_fips'), ('school.degrees_awarded.predominant'), ('school.degrees_awarded.highest'), ('schoo...
/* ================================= ------------------------------------ Photo Gallery HTML Template Version: 1.0 ------------------------------------ ====================================*/ 'use strict'; $(window).on('load', function() { /*------------------ Preloder --------------------*/ $(".loader").fa...
import React, { Component } from 'react'; import { Collapse, Container, Navbar, NavbarBrand, NavbarToggler, NavItem, NavLink } from 'reactstrap'; import { Link } from 'react-router-dom'; import './NavMenu.css'; export class NavMenu extends Component { static displayName = NavMenu.name; constructor(props) { su...
import React from 'react'; import { Link } from 'react-router-dom' import { Card, Icon, Image } from 'semantic-ui-react'; import foodImage from '../../Images/food.jpg'; import './CustomerResCard.css'; const CustomerResCard = (props) => { const loadedData = props.data; // const { Name, Area, BookDate, BookTime,...
'use strict'; import assert from 'assert'; import PropertiesParser from '../../../../src/lib/format/properties/parser'; describe('L10n Parser', function() { it('string value', function() { var entries = PropertiesParser.parse(null, 'id = string'); assert.strictEqual(entries.id, 'string'); }); it('empt...
import {API_Path_unverified_factories , $change_$content,View_Admin_unverified_factories } from "../global"; import "../auth/middelwares/AdminRedirectToLoginIFUnauthMeddleware.js"; //cancele info const cancel_factory={ ele_clickable:".cancel_factory", attr_to_get_id:'factory_id', class_...
import { After, Before } from 'cucumber'; import sinon from 'sinon'; import { environment } from '../source/main/environment'; global.environment = environment; // Add context object to share data between steps Before(function() { this.context = {}; }); After(function() { sinon.restore(); });
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built require({cache:{"url:jimu/dijit/templates/RelationshipConfig.html":'\x3cdiv\x3e\r\n \x3ctable class...
import mongoose from 'mongoose-fill'; import { modelCleaner, enableDeepPopulate } from '../../db/utils'; const ObjectId = mongoose.Schema.Types.ObjectId; const RegionSchema = new mongoose.Schema({ _id: { type: Number, required: true, uniq: true }, country: { ...
const express = require('express'); const morgan = require('morgan'); const Sandbox = require('@globocom/backstage-functions-sandbox'); const SchemaResponse = require('./SchemaResponse'); const HealthcheckRouter = require('./routers/HealthcheckRouter'); const SchemasRouter = require('./routers/SchemasRouter'); const ...
const visit = require('unist-util-visit'); /** * Reroute inline jsdoc links in documentation * @param getHref a method that resolves namespaces * @param ast remark AST * @returns {Object} that ast with rerouted links * @private */ module.exports = function rerouteLinks(getHref, ast) { visit(ast, 'link', (nod...
function getLocation(country_id, region_id, city_id, arParams, site_id) { BX.showWait(); property_id = arParams.CITY_INPUT_NAME; function getLocationResult(res) { BX.closeWait(); var obContainer = document.getElementById('LOCATION_' + property_id); if (obContainer) { obContainer.innerHTML = res; ...
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import { ResponsiveContainer, ComposedChart, CartesianGrid, XAxis, YAxis, Tooltip, Legend, Area, Bar, Line, Dot } from './../../../../components/recharts'; import colors from './../.....
/* Copyright 2016 First People's Cultural Council 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 in writ...
// Copyright 2017 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. (async function() { TestRunner.addResult(`Tests file system project.\n`); await TestRunner.loadModule('sources_test_runner'); await TestRunner.loadM...
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 routes = require('./routes/index'); var questions = require('./routes/questions'); var app = e...
import { showGameOver } from './cards'; // ------------------------------------ // Constants // ------------------------------------ export const START = 'START'; export const TICK = 'TICK'; export const STOP = 'STOP'; // ------------------------------------ // Actions // ------------------------------------ let tim...
'use strict'; /* * Copyright 2016 Stormpath, Inc. * * 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 applicabl...
/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ import { Directive, ElementRef, HostBinding, HostListener, Input, Optional, Renderer2, Self } from '@angular/core'; import { NgControl, NgModel } from '@angular/forms'; import calculateNodeHeight from '../core/util/calculate-node-height'...
class Ds extends require('../Command') { setHelpAndCompletion() { this.cliConfig.completion.ds = { _func: this.selfCompletion(this), _self: this } this.cliConfig.completion.help.ds = true this.optionDefinitions = [ { name: 'help', alias: 'h', type: Boolean ...
/* jshint node: true */ 'use strict'; var fs = require('fs'); var Decoder = require('pull-utf8-decoder') /** # pull-file This is a simple module which uses raw file reading methods available in the node `fs` module to read files on-demand. It's a work in progress and feedback is welcome :) ## Example Usag...
var container; var camera, scene, raycaster, renderer; var mouse = new THREE.Vector2(), INTERSECTED, CLICKED; var radius = 100, theta = 0; var animator = null, duration = 2, // sec loopAnimation = false; function initAnimations() { animator = new KF.KeyFrameAnimator; animator.init({ interps: ...
const simulate = require('@mpxjs/miniprogram-simulate') const fs = require('fs') const { resolveDist, resolve } = require('../util') function loadComponent (componentPathStr) { const outputMap = require(resolveDist('../outputMap.json')) const componentPath = resolve(componentPathStr) const realComponentPath = re...
// @ts-nocheck 'use strict'; var __global_69fa48 = function (g) { g.__mutantCoverage__ = g.__mutantCoverage__ || { static: {}, perTest: {} }; g.__coverMutant__ = g.__coverMutant__ || function () { var c = g.__mutantCoverage__.static; if (g.__currentTestId__) { c = g.__mutantCoverage__.per...
module.exports = Constants function Constants(params = {}){ const { constants = {} } = require('minimist')(process.argv) merge(this, defaults, constants, params) // TODO should merge top level one by one } const { pow } = Math , merge = require('lodash.merge') , defaults = { dht: { vno...
module.exports = { /** * One of 'missing','file','directory','broken-link' */ getType (entry) { if (!entry) { return 'missing' } if (entry.isBrokenLink) { return 'broken-link' } if (entry.isDirectory) { return 'directory' } return 'file' } }
jSuites.notification = (function(options) { var obj = {}; obj.options = {}; // Default configuration var defaults = { icon: null, name: 'Notification', date: null, error: null, title: null, message: null, timeout: 4000, autoHide: true, ...
"use strict"; var JSHint = require("../../").JSHINT; var find = require("lodash").find; var modulePattern = /^\s*-\s*module\s*$|^\s*flags\s*:.*\bmodule\b/m; var noStrictPattern = /^\s*-\s*noStrict\s*$|^\s*flags\s*:.*\bnoStrict\b/m; var onlyStrictPattern = /^\s*-\s*onlyStrict\s*$|^\s*flags\s*:.*\bonlyStrict\b/m; funct...
/*! Nobel Portfolio v0.0.1 | (c) 2020 Nobel Dahal | MIT License | http://link-to-your-git-repo.com */ $(document).ready((function(){'use strict';function wowInit(){var scrollingAnimations=!1;if(scrollingAnimations){$(window).on('load',(function(){setTimeout((function(){new WOW().init()}),400)}))}} wowInit();$('.mobile-...
/** * Created by Administrator on 2017/9/19 0019. */ import {serverAddress} from '../utils/httpRequest'; export const CheckPlan_controller = (data, callback) => { console.log(data); serverAddress('/restful/plan/checkPlan', {}, 'POST', data, (error, result) => { if (error) return callback(false, err...
module.exports = function(environment) { let ENV = { modulePrefix: 'dummy', podModulePrefix: 'dummy/pods', environment, rootURL: '/', locationType: 'history', historySupportMiddleware: true, routerScroll: { scrollElement: '#docs-viewer__scroll-body', }, EmberENV: { FEAT...
/*jslint node: true */ "use strict"; var db = require('./db.js'); function generateQueriesToArchiveJoint(conn, objJoint, reason, arrQueries, cb){ var func = (reason === 'uncovered') ? generateQueriesToRemoveJoint : generateQueriesToVoidJoint; func(conn, objJoint.unit.unit, arrQueries, function(){ conn.addQuery(ar...
//Create a horoscope app where the user can enter their birthday and get their horoscope. //There should be minimum 12 unique horoscopes. /* Parameters - month, days are variables result - console.log(Sagitarrius) example - pseudo - needs buttons and inputs event listener call Functions event listener goes b...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ import { HermesESTreeJSON, formatAndWriteDistArtifact, LITERAL_TYPES, } from './utils/scriptUt...
/** * * Arquivo: src/models/planet.js * Author: Glaucia Lemos * Description: Arquivo responsável pelo modelo: 'Planet' * Data: 06/02/2018 * */ /** * Infos inerentes a classe: * ==== Planet ==== * id: number * nome: string * clima: string * terreno: string */ import mongoose from "mongoose"; const Plane...
/** * 工具类 */ class Utils { /** * 输出开奖区域 0-未中奖 1-开奖 * @param {number} road 路单 */ static toOpenAreas(road) { return [road >> 7, road >> 6 & 1, road >> 5 & 1, road >> 4 & 1, road >> 3 & 1, road >> 2 & 1, road >> 1 & 1, road & 1]; } constructor() { } } module.exports...
import React, {useState} from 'react'; import {httpConfig} from "../../misc/http-config"; import * as Yup from "yup"; import {Formik} from "formik"; import {SignUpFormContent} from "./SignUpFormContent"; export const SignUpForm = () => { const signUp = { profileUsername: "", profileEmail: "", profileLocation: ...
a && b++
import React, { Component } from 'react' import './index.scss'; export default class Footer extends Component { render() { return ( <div className="footer-component"> NodeConf Colombia is an event by Mantid LLC - <a href="http://jsconf.com/codeofconduct.html" target="_blank" rel="noopener noreferr...
const defaults = require('superagent-defaults') const EventEmitter = require('eventemitter3') const querystring = require('querystring') const request = require('./http-request') class Device extends EventEmitter { static create(type, id, host, mode = undefined) { const DeviceClass = Device.deviceTypeToClass(ty...
/* * PVRLoader * Author: pierre lepers * Date: 17/09/2014 11:09 * * PVR v2 (legacy) parser * TODO : Add Support for PVR v3 format * TODO : implement loadMipmaps option */ THREE.PVRLoader = function ( manager ) { this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; ...
import React, { Component } from "react"; import { Button, ModalFooter, ModalBody, ModalHeader, Modal, Nav, NavItem, NavLink, TabContent, TabPane, } from 'reactstrap'; import LocationSelector from "../MapAndLocation/LocationSelector"; import classnames from "classnames"; import NookForm from "./NookForm";...
const path = require('path') module.exports = { title: '🚝 Monorail', tagline: 'SimSpace Design System', url: 'https://design.simspace.com', baseUrl: '/', favicon: 'img/favicon.ico', organizationName: 'SimSpace', // Usually your GitHub org/user name. projectName: 'Monorail', // Usually your repo name. ...
//Comment Related Ajax Functions function insertComment(){ var date=$("#date").val(); var fname=$("#u_fname").val(); var lname=$("#u_lname").val(); var course_id=$("#course_id").val(); var u_id=$("#u_id").val(); var des=$("#des").val(); var type=$("#type").val(); var base_url=$("#base_url").val(); $.ajax({ ...
import coerceToString from 'helper/string/coerce_to_string'; /** * Returns the last occurrence index of `search` in `subject`. * * @function lastIndexOf * @static * @since 1.0.0 * @memberOf Index * @param {string} [subject=''] The string where to search. * @param {string} search The string to search. * @param...