text
stringlengths
2
1.04M
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = constructor; var _devUtils = require("@aztec/dev-utils"); var _constants = require("../config/constants"); var _crypto = require(...
// @flow import * as React from "react"; import Frame from "./components/Frame"; const URL_REGEX = new RegExp( "^https?://docs.google.com/presentation/d/(.*)/pub(.*)$" ); type Props = {| attrs: {| href: string, matches: string[], |}, |}; export default class GoogleSlides extends React.Component<Props> ...
//# sourceMappingURL=runtime-main.fea05958.js.map
var nconf = require('nconf'); var HTTP_PROXY = nconf.get('HTTP_PROXY'); if (!HTTP_PROXY || HTTP_PROXY === '') { HTTP_PROXY = process.env.HTTP_PROXY || process.env.http_proxy; }; if (!HTTP_PROXY) { return; } console.log('Using an http proxy ', HTTP_PROXY); var url = require('url'); var tunnel = require('tunnel'); ...
export const prettifyCourseName = course => { const regexObj = /(^[^\d]+)(.*)/.exec(course); return `${regexObj[1]} ${regexObj[2]}`; }; export const prettifyCourseNameArray = course => { const regexObj = /(^[^\d]+)(.*)/.exec(course); return [`${regexObj[1]}`, `${regexObj[2]}`]; };
import Settings from '../../containers/suggestions-settings' export default Settings
/** * @copyright Maichong Software Ltd. 2016 http://maichong.it * @date 2016-04-27 * @author Liang <liang@maichong.it> */ import alaska from 'alaska'; import service from '../'; const SMS = alaska.service('alaska-sms', true); const EMAIL = alaska.service('alaska-email', true); const options = []; const fields = ...
'use strict'; var errors = require('./components/errors') , express = require('express'); module.exports = function(app) { // Insert routes below app.use('/api/v1/rides', require('./api/ride')); app.use('/api/v1/waitTimes', require('./api/waitTime')); app.use('/api/v1/operationalHours', require('./api/oper...
// This file was procedurally generated from the following sources: // - src/async-functions/await-as-label-identifier.case // - src/async-functions/syntax/async-class-expr-method.template /*--- description: await is a reserved keyword within generator function bodies and may not be used as a label identifier. (Async m...
require([ "jquery", "public/assets/javascripts/lib/page/meta.js" ], function($, Meta) { "use strict"; describe("Meta", function() { var data = { copy: { title: "Vietnam hotels and hostels", description: "Some general information about accommodation in Vietnam" } ...
function json2xml(o, tab) { var toXml = function(v, name, ind) { var xml = ""; if (v instanceof Array) { for (var i=0, n=v.length; i<n; i++) xml += ind + toXml(v[i], name, ind+"\t") + "\n"; } else if (typeof(v) == "object") { var hasChild = false; xml +=...
const configureGAM = require('@pmmi-media-group/package-shared/config/gam'); const config = configureGAM(); config.lazyLoad = { enabled: false, // set to true to enable lazy loading fetchMarginPercent: 100, // fetch ad when one viewport away renderMarginPercent: 50, // render ad when half viewport away mobile...
/** * 描述: 用户路由模块 * 作者: a lu * 日期: 2020-08-21 */ const express = require('express'); const router = express.Router(); const { body } = require('express-validator'); const service = require('../services/userService'); // 登录/注册校验 const vaildator = [ body('username').isString().withMessage('用户名类型错误'), body('passw...
import React from 'react'; function AppearanceTab() { return <div>appearance tab</div>; } export default AppearanceTab;
import React, { Component } from 'react'; import Home from './Home'; import Newpost from './Newpost'; import Edit from './Edit'; import Allpost from './Allposts'; import View from './View'; import Search from './Search'; import { BrowserRouter as Switch, Route } from 'react-router-dom'; class App extends Component { ...
import { Doc } from 'tiptap' export default class CustomDoc extends Doc { get schema () { return { content: 'title block+' } } }
function buildMainLoginPage() { const body = document.getElementsByTagName('BODY'); const loginDiv = document.createElement('div'); loginDiv.setAttribute('id', 'login'); loginDiv.setAttribute('class', 'center'); const loginHeader = document.createElement('p'); loginHeader.setAttribute('class', 'heavy'); ...
const core = require('@actions/core'); const github = require('@actions/github'); const graphqlWithAuth = require('@octokit/graphql').graphql.defaults({ headers: { authorization: `token ${core.getInput('PAT')}` }, }); const errors = []; function QueryDataWrapper(queryType, response, results) { if(res...
import PropTypes from 'prop-types'; import React, { PureComponent } from 'react'; import { StyleSheet, Text, View, TextInput, SafeAreaView } from 'react-native'; import { connect } from 'react-redux'; import { colors, fontStyles } from '../../../../../styles/common'; import { getNavigationOptionsTitle } from '../../../...
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 = Reflect.decorate(d...
import uglify from 'rollup-plugin-uglify'; import babel from 'rollup-plugin-babel'; import typescript from 'rollup-plugin-typescript2'; const getTypescriptplugin = (tsconfigOverride = {}) => { return typescript({ tsconfig: 'tsconfig.json', tsconfigOverride }); }; const plugins = [ babel({ ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = parseHTML; function parseHTML(html) { var doc; if (typeof DOMParser !== 'undefined') { var parser = new DOMParser(); doc = parser.parseFromString(html, 'text/html'); } else { doc = document.implement...
/** * @author zzhao */ 'use strict'; import React, {PropTypes} from 'react' import Kefir from 'kefir' import StatusIndicator from '../../common/StatusIndicator' import {eventEmitter} from '../../util/api' export default class Venue extends React.Component { static propTypes = { venue: PropTypes.string.isRequ...
'use strict' module.exports = server => { server.ext('onPreResponse', (request, h) => { const res = request.response if (!res.isBoom) { return h.continue } const message = res.message || res.output.payload.message const { statusCode } = res.output.payload let code if (res.data &&...
const mongoose = require("mongoose"); const bcrypt = require("bcryptjs"); const Schema = mongoose.Schema; const validate = require("validate.js"); const userSchema = new Schema( { firstname: { type: String, minlength: 2, maxlength: 20, required: true }, lastname: { type: String, minlength: 2, maxlength: 20, ...
mycallback( {"CONTRIBUTOR OCCUPATION": "CHIEF INVEST OFF - WM", "CONTRIBUTION AMOUNT (F3L Bundled)": "59.87", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "COMPASS BANCSHARES, INC.", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "2517 REBA DRIVE", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE ...
//>>built define( //begin v1.x content ({ // local representation of all CSS3 named colors, companion to dojo.colors. To be used where descriptive information // is required for each color, such as a palette widget, and not for specifying color programatically. //Note: due to the SVG 1.0 spec additions, some of these...
import React from 'react'; import { graphql } from 'gatsby'; import Layout from '../components/layouts/Layout'; import { documentToReactComponents } from '@contentful/rich-text-react-renderer'; import { BLOCKS, MARKS } from '@contentful/rich-text-types'; import styled from '@emotion/styled'; import SEO from '../hooks/S...
"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...
require("should"); const isSpace = require("../../lib/string/isSpace.js"); describe("capitalize", function() { it("Should say the string is not a space", function() { isSpace("toTo").should.be.exactly(false); }); it("Should say the string is a space.", function() { isSpace(" ").sh...
import React from 'react'; import PropTypes from 'prop-types'; const Umbrella = props => { const { color, size, ...otherProps } = props; return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWid...
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 = Reflect.decorate(d...
'use strict'; /** * @license * Copyright SOAJS All Rights Reserved. * * Use of this source code is governed by an Apache license that can be * found in the LICENSE file at the root of this repository */ const fs = require('fs'); const path = require('path'); let lib = { /** * Function that find the root pat...
import React from "react"; // components import AdminNavbar from "components/Navbars/AdminNavbar.js"; import Sidebar from "components/Sidebar/AdminSidebar.js"; import HeaderStats from "components/Headers/HeaderStats.js"; import FooterAdmin from "components/Footers/FooterAdmin.js"; export default function Admin({ chi...
"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 = { creds: { redirectUrl: 'http://localhost:3000/token', clientID: 'e80eb675-7c39-442a-aba3-ebb1d3f5fb27', clientSecret: 'vwqzUEKA290%bbvCHE08]%(', Instance: 'https://login.microsoftonline.com/', GraphResourceId: "https://graph.microsoft.com/", GraphScopes: "Calend...
'use strict'; const Confidence = require('confidence'); const Fs = require('fs'); const Path = require('path'); // Confidence criteria let internals = { criteria: { env: process.env.NODE_ENV } }; // Confidence document object internals.config = { $meta: 'App configuration file', port: { ...
"use strict"; const g = require("graphql"); const graphql_relay_1 = require("graphql-relay"); const nodeInterface = graphql_relay_1.nodeDefinitions(() => { }, () => { return null; }); const schema = new g.GraphQLSchema({ query: new g.GraphQLObjectType({ name: "Query", fields: { viewe...
import React from 'react'; import Img from 'gatsby-image'; function ProductItem({ title, price, image }) { return ( <div className="col-10 col-sm-8 col-md-6 col-lg-4 my-3 mx-auto"> <div className="card" style={{ minHeight: '100%' }}> <Img fluid={image.fluid} className="card-img-top" /> <div...
const { MessageEmbed } = require('discord.js'); const db = require('quick.db') const raviwen = require('../Manager/Raviwen.json') const Main = require('../Manager/Main.json') const moment = require('moment') module.exports.config = { name: 'vip', aliases: ['vip-ver','vipver','vip'] } module.exports.raviwen =...
import React from 'react'; const VideoListItem = ({video, onVideoSelect}) => { const imageUrl = video.snippet.thumbnails.default.url; return ( <li onClick={()=> onVideoSelect(video)} className="list-group-item"> <div className="video-list media"> <div className="media-left"> <img className="m...
/* * Kendo UI v2015.2.624 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
function countdown() { var now = new Date(); var eventDate = new Date(2021, 12, 1); var currentTime = now.getTime(); var eventTime = eventDate.getTime(); var remTime = eventTime - currentTime; var s = Math.floor(remTime / 1000); var m = Math.floor(s / 60); ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[19],{ /***/ "./node_modules/copy-to-clipboard/index.js": /*!*************************************************!*\ !*** ./node_modules/copy-to-clipboard/index.js ***! \*************************************************/ /*! no static exports found */ /***...
/** * This is the schema definition for the rich text fields used for * for this blog studio. When you import it in schemas.js it can be * reused in other parts of the studio with: * { * name: 'someName', * title: 'Some title', * type: 'simplePortableText' * } */ export default { title: 'Portable ...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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 // // http://www.ap...
// Copyright 2020 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. import '../../img.js'; import '../module_header.js'; import 'chrome://resources/cr_elements/hidden_style_css.m.js'; import 'chrome://resources/cr_elements...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("babylonjs")); else if(typeof define === 'function' && define.amd) define("babylonjs-materials", ["babylonjs"], factory); else if(typeof exports === 'object')...
import React from "react"; export default class Counter extends React.Component { state = { greeting: 'Hello' }; render() { return ( <div> <div data-testid="greeting">{this.state.greeting}</div> </div> ); } }
import * as services from '$api/store' import Toast from 'vant/lib/toast' import 'vant/lib/toast/style' export const toggle = ({ commit }) => commit('toggle') export const hasNewMsg = ({ commit }, payload) => commit('hasNewMsg', payload) export const storeInfo = ({ commit }) => { if (window.STORE_ID != '' && window.S...
const util = require('util') const EventEmitter = require('events').EventEmitter const clients = require('restify-clients') const pForever = require('p-forever') const sleep = require('sleep-promise') function ConductorWorker(options) { EventEmitter.call(this) this.url = options.url this.apiPath = options...
var initUD = // UD version `# file = fr/fr_gsd-ud-test.conllu # sent_id = fr-ud-dev_01485 # text = Les produits échangés sont essentiellement du sel, de l'ambre, de l'huile, des céréales, du vin et de la viande salée. # gl = OK 1 Les le DET _ Definite=Def|Number=Plur|PronType=Art 2 det _ wordform=les 2 produits produit...
const runtimeHandler = require('../handlers/runtimeHandler'); const scrollToElement = async (element) => { function scrollToNode() { const element = this.nodeType === Node.TEXT_NODE ? this.parentElement : this; element.scrollIntoView({ block: 'center', inline: 'center' }); return 'result'; } await ru...
(function (varlam, $) { /** * Object that builds a list of operations * @constructor */ varlam.OperationsBuilder = function () { /** * Array to store operation IDs for infinite-scrolling * @private * @type {Array.<number>} */ this.operationIDs ...
(function () { 'use strict'; angular.module('uiJoint.jointPaper', []) .factory('jointPaper', jointPaper); /** @ngInject */ function jointPaper($log, $rootScope, jointWindow, jointGraph) { var service = this; service.paper = null; service.createPaper = function (elemen...
const RankedBitArray = require('../lib/ranked-bit-array'); describe('RankedBitArray', () => { describe('constructor', () => { it('creates a bit array of a required size', () => { const array = new RankedBitArray(100); expect(array instanceof RankedBitArray).toBe(true); expect(array instanceof U...
module.exports = { prefix: 'fab', iconName: 'linode', icon: [448, 512, [], "f2b8", "M437.4 226.3c-.3-.9-.9-1.4-1.4-2l-70-38.6c-.9-.6-2-.6-3.1 0l-58.9 36c-.9.6-1.4 1.7-1.4 2.6l-.9 31.4-24-16c-.9-.6-2.3-.6-3.1 0L240 260.9l-1.4-35.1c0-.9-.6-2-1.4-2.3l-36-24.3 33.7-17.4c1.1-.6 1.7-1.7 1.7-2.9l-5.7-132.3c0-.9-.9-2-1.7-2.6L1...
/** * Represents the application api. If the variable is already defined use it, * otherwise create an empty object. * * @type {EScreeningDashboardApp|*|EScreeningDashboardApp|*|{}|{}} */ var EScreeningDashboardApp = EScreeningDashboardApp || {}; /** * Represents the application static variable. Use existing sta...
var falcor = require('./../../../lib'); var Model = falcor.Model; var sinon = require('sinon'); var expect = require('chai').expect; var cacheGenerator = require('./../../CacheGenerator'); var noOp = function() {}; var __head = require('./../../../lib/internal/head'); var __next = require('./../../../lib/internal/next'...
export const getRandomNumber = (min, max) => Math.floor(Math.random() * (max - min) + min); export const generateChars = length => { let chars = ''; for (let i = 0; i < length; i++) { const randomChar = getRandomNumber(0, 36); chars += randomChar.toString(36); } return chars; }; export const gener...
import { EMPTY_ARR } from "./constants.js"; /** * Assign properties from `props` to `obj` * @template O, P The obj and props types * @param {O} obj The object to copy properties to * @param {P} props The object to copy properties from * @returns {O & P} */ export function assign(obj, props) { // @ts-ignore We ...
uuidv4 = require('uuidv4'); constants = require('./constants'); /** * Receives object from parsed GOLDBAR specification and recursively builds a graph * @param parsed The parsed GOLDBAR object * @param stateGraph Current graph * @param boundaryStack Boundary stack * @param representation String: which representa...
import { h } from 'vue' export default { name: "ArrowGoForwardLine", vendor: "Rx", type: "", tags: ["arrow","go","forward","line"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"rx-arrow-go-forward-li...
// Import required modules import Utils from '../helpers.js' // Study methods class MRObjectJSON { constructor (resource, server = 'http://mr-01:3000') { this.resource = resource this.server = server this.util = new Utils(server = this.server) } // Get all information about all...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TwingEnvironmentNode = void 0; const environment_1 = require("../environment"); const filesystem_1 = require("../cache/filesystem"); class TwingEnvironmentNode extends environment_1.TwingEnvironment { cacheFromString(cache) { ...
/** * Internal dependencies */ import { TYPES } from './constants'; const { SET_PRISTINE, SET_IDLE, SET_PROCESSING, SET_BEFORE_PROCESSING, SET_AFTER_PROCESSING, SET_PROCESSING_RESPONSE, SET_REDIRECT_URL, SET_COMPLETE, SET_HAS_ERROR, SET_NO_ERROR, INCREMENT_CALCULATING, DECREMENT_CALCULATING, SET_ORDER_I...
if(!this.sh_languages){this.sh_languages={}}sh_languages.properties=[[[/#/g,"sh_comment",1],[/!/g,"sh_comment",1],[/([^="]+)([ \t]*)(=)/g,["sh_type","sh_normal","sh_symbol"],-1]],[[/$/g,null,-2]]];
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { updateNote } from '../actions/notes'; import FormNote from './formNote'; import NotFound from './notFound'; class EditNote extends Component { constructor() { super(); this.onSubmit = this.onSubmit.bind(this); } onSubmit(...
angular.module('metroApp') .controller('dashboardController', ['$scope', '$rootScope','$location','Authentication', function ($scope, $rootScope, $location, Authentication){ // $scope.currentUser = $rootScope.currentUser; console.log("Dashboard controller, user is: " + $scope.currentUser); }]);
import { State, EntityDefinition } from 'src/core/shopware'; import ShopwareError from './ShopwareError'; export default class ErrorResolver { constructor() { this.errorStore = State.getStore('error'); } resetApiErrors() { return this.errorStore.resetApiErrors(); } /** * @par...
$(function() { checkboxToggleSearchListPages(); validatorOpts = { submitHandler: function(form) { data = $(form).find(':visible').serialize(); $.ajax({ url: $(form).attr('action'), type: $(form).attr('method').toUpperCase(), data: d...
/* 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( 'clipboard', 'de-ch', { copy: 'Kopieren', copyError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text a...
/** * Created with JetBrains PhpStorm. * User: devbftrust * Date: 10/24/13 * Time: 9:11 PM * To change this template use File | Settings | File Templates. */ (function($) { /************************************Detectizr init****************************************/ Modernizr.Detectizr.detect({ '...
//Создаем переменную, в которую положим кнопку меню let menuToggle = document.querySelector('#menu-toggle'); //Создаем переменную, в которую положим меню let menu = document.querySelector('.sidebar'); //Отслеживаем клик по кнопке меню и запускаем функцию menuToggle.addEventListener('click', function (event) { //Отм...
function Stack() { var collection = []; this.print = function() { console.log(collection); }; this.push = function(el) { collection.push(el); } this.pop = function() { return collection.pop(); } this.peek = function() { return collection[collection.length - 1] } this.isEmpty = function() { return co...
const express = require('express'); const { getUser, getUsers, createUser, updateUser, deleteUser } = require('../controllers/users'); const User = require('../models/User'); const router = express.Router({ mergeParams: true }); const advancedResults = require('../middleware/advancedResults'); co...
import React, { useState, useEffect, useMemo } from "react"; import PropTypes from "prop-types"; function User({ age }) { const [name, setName] = useState(""); const [dark, setDark] = useState(false); const user = useMemo(() => { return { age, name }; }, [name, age]); const buttonStyle = { background...
import styled from 'styled-components'; import InputStyles from 'lib/Input/InputStyles'; import { themeGet } from 'utils/theme'; const TextAreaStyled = styled.textarea` ${InputStyles}; height: unset; max-height: 225px; /* showing a maximum of about 10 rows */ max-width: 100%; min-height: 119px; /*...
import React from 'react' import styled from 'styled-components' import Content from './Content' const ArticleWrapper = styled.article` padding: 0 30px 30px; @media only screen and (max-width: 500px) { padding: 0; } ` const ArticleFooter = styled.footer` position: relative; margin: 6rem 0 0; padding:...
import { ApolloClient } from 'apollo-client' import { InMemoryCache } from 'apollo-cache-inmemory' import { HttpLink } from 'apollo-link-http' import { ApolloLink, concat } from 'apollo-link'; import {AUTH_TOKEN} from './constants' const httpLink = new HttpLink({ uri: 'http://localhost:3000' }) const authMiddleware...
import { useDispatch } from 'react-redux'; import { useNavigate } from 'react-router-dom'; import { Stack, Button, Divider, Typography } from '@mui/material'; import googleFill from '@iconify/icons-eva/google-fill'; import { Icon } from '@iconify/react'; import { GoogleLogin } from 'react-google-login'; // import tw...
/** * dojox - A version of dojox.js framework that ported to running on skylarkjs. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/dojox/ * @license MIT */ //# sourceMappingURL=../../../sourcemaps/grid/enhanced/plugins/_StoreLayer.js.map
var app = getApp(); Page({ data: { items: [ { name: "USA", value: "一天 费用 0.2 元" }, { name: "CHN", value: "一月 费用 20 元", checked: "true" }, { name: "BRA", value: "一年 费用 200 元" } ], region: [...
import { moduleFor, test } from 'ember-qunit'; import sinon from 'sinon'; // The default (application) serializer is the DRF adapter. // see app/serializers/application.js moduleFor('serializer:application', 'DRFSerializer'); test('serializeIntoHash', function(assert) { var serializer = this.subject(); serialize...
import { Component, tags } from "@odoo/owl"; const { xml } = tags; const LOG_IN_TEMPLATE = xml/* xml */ ` <div class="auth-page"> <div class="container page"> <div class="row"> <div class="col-md-6 offset-md-3 col-xs-12"> <h1 class="text-xs-center">Sign in</h1> <p class="text-xs-center"> ...
/* @Author: Murtadha Marzouq @Date: 2020-25-02 @Description: This file will return the links in a json object */ const jsdom = require('jsdom'); const fetch = require('fetch'); const f = fetch.fetchUrl; const http = require('https'); const fs = require('fs'); // global variable let json_values = {}; const wr...
import Header from './header' import style from './index.module.css' function Sobre() { return ( <div> <style jsx global>{` * { margin: 0; padding: 0; box-sizing: border-box; } `}</style> <Header></Header> ...
// Description // Generates help commands for Hubot. // // Commands: // `!parking` - Lists the available parking at UQ // var cheerio = require("cheerio"); module.exports = function (robot) { robot.respond(/!?parking/i, function (res) { robot.http("https://pg.pf.uq.edu.au/").get() (function(err, resp, body) { ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/3.38/esri/copyright.txt for details. //>>built define("esri/dijit/ElevationProfile/nls/he/strings",{display:{elevationProfileTitle:"\u05e4\u05e8\u05d5\u05e4\u05d9\u05dc \u05d2\u05d1\u05d4\u05d9\u05dd",showMe:"\...
angular.module('myapp', []) .directive('posPhonenumber', function(){ return { require: '?ngModel', link: function(scope, element, attrs, model){ if (model != null){ //view -> model element.bind("keyup blur", function(e) { var number = element.val(); if(model.$viewValue !== undefined && !scope....
const express = require('express') const fs = require('fs') const path = require('path') const hbs = require('hbs') // template engine handlebars const app = express() // setting template engine hbs.registerPartials(path.resolve(__dirname, 'views', 'partials')) app.set('view engine', 'hbs') // hbs helpers hbs.registe...
import Feathers from '@feathersjs/feathers'; import authentication from '@feathersjs/authentication-client'; import socketio from '@feathersjs/socketio-client'; import io from 'socket.io-client'; // Configure Feathers client const socket = io(process.env.FEATHERS_HOST || 'http://localhost:3030'); const feathers = Fea...
export default { task: { cloudTaskManage: "云计划任务管理", cloudTask: "云计划任务", cloudTaskDesc: "云计划任务是指执行某种操作的任务,例:云主机开机或关机。" + "项目管理员可维护所属项目的云计划任务,超级管理员需要切入到具体项目并拥有该项目的项目管理员权限才能维护。", task: "任务", taskLog: "任务日志", taskLogDesc: "任务日志是指云计划任务执行过程和结果。项目管理员可维护所属项目的任务日志,超级管理员需要切入到具体项目并拥有该项目的项目管理员权限才能维...
(function() { var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; define(function(require) { var Main_App, PAGE, ko; ko = require('knockout'); PAGE = { SETTINGS: "settings", TIMERS: "timers" }; Main_App = (function() { function Main_App() { ...
/* * 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 ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.InteractorService = exports.IInteractorEvent = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCh...
module.exports = { env: { browser: true, es2021: true, node: true, }, extends: [ 'plugin:react/recommended', 'airbnb', ], parser: '@typescript-eslint/parser', parserOptions: { ecmaFeatures: { jsx: true, }, ecmaVersion: 12, sourceType: 'module', }, plugins: [ ...
import React from 'react'; import axios from 'axios'; class RetrieveImage extends React.Component { constructor(props) { super(props); this.state = { output: null, u_id: null, statusMessage: ''}; this.getImage = this.getImage.bind(this); this.arrayBufferToBase64...
private var daPlayer : GameObject; private var letsCam = false; var camToActivate : GameObject; private var t : float; var waitTime : float; function Update () { if (letsCam) { daPlayer.SetActiveRecursively(false); t += Time.deltaTime; if (t < waitTime) { camToActivate.active = true; } if (t >= waitT...