text
stringlengths
2
1.04M
import React, { useState, useEffect, useCallback } from 'react'; import { Link, Redirect } from 'react-router-dom'; import { I18n } from 'react-i18next'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { signIn } from 'Actions' import styles from '../Accounts.scss'; const Sig...
import Vue from 'vue'; import Vuex from 'vuex' import App from './App.vue'; import router from './router'; Vue.config.productionTip = false; Vue.use(Vuex) new Vue({ router, render: h => h(App), }).$mount('#app');
/** * ssh2 sftp client */ const { Client } = require('@electerm/ssh2') const proxySock = require('./socks') const _ = require('lodash') const { readRemoteFile, writeRemoteFile } = require('./sftp-file') const alg = require('./ssh2-alg') const getPort = require('get-port') class Sftp { constructor () { this.c...
import { NightShiftDark } from './themes/night-shift-dark' import { NightShiftLight } from './themes/night-shift-light' import { MacOSDark } from './themes/mac-os-dark' import { MacOSLight } from './themes/mac-os-light' import { OneDark } from './themes/one-dark' import { OneLight } from './themes/one-light' import { G...
$(document).ready(function() { //$('table.highchart').highchartTable(); function financial_position(el) { type = $(".report-period-type option:selected").val(); console.log(type); period= $(el).val(); console.log(period); if(type && period) { $.post('/fin...
/* * 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 writing, software * distributed u...
var base_url = $("#txt_base_url").val(); function des_habilitar(a, b) { $("#btn_nuevo").prop("disabled", b); $("#btn_modificar").prop("disabled", a); $("#btn_anular").prop("disabled", a); $("#btn_aceptar").prop("disabled", a); $("#btn_cancelar").prop("disabled", a); $("#cmb_tipo_bloqueo").prop("disabled", a); ...
"use strict"; /* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a dif...
// Returns a function, that, as long as it continues to be invoked, will not // be triggered. The function will be called after it stops being called for // N milliseconds. If `immediate` is passed, trigger the function on the // leading edge, instead of the trailing. export default function debouce(func, wait, immedia...
import { css, unsafeCSS } from 'lit-element'; import { ImagesCss as twbsImagesCss } from 'twbs-css-string-literals'; /** * @returns {import('lit-element').CSSResult} */ export const ImagesCss = css`${unsafeCSS(twbsImagesCss)}`;
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten. const awsmobile = { "aws_project_region": "us-west-2", "aws_cognito_identity_pool_id": "us-west-2:03510299-fb40-4e52-9ad7-025e3f5d1221", "aws_cognito_region": "us-west-2", "aws_user_pools_id": "us-wes...
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"; var normalize = require("../../document/#/normalize"); var isArray = Array.isArray; module.exports = function (childIgnored/*, …child*/) { var result = normalize.apply(this.ownerDocument, arguments); if (!result) return this; if (isArray(result)) result.forEach(this.appendChild, this); else this.ap...
/* * 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 writing, software * distributed under the...
/* eslint no-unused-vars: ["error", { "argsIgnorePattern": "app" }] */ const { resolveFromVersion } = require('../../utils/resolve.utils'); const responseUtils = require('../../utils/response.utils'); const errors = require('../../utils/error.utils'); module.exports.search = function search ({ profile, logger, config,...
import { SYNC_RENDER, NO_RENDER, FORCE_RENDER, ASYNC_RENDER, ATTR_KEY } from '../constants'; import options from '../options'; import { extend, applyRef } from '../util'; import { enqueueRender } from '../render-queue'; import { getNodeProps } from './index'; import { diff, mounts, diffLevel, flushMounts, recollectNode...
$(document).ready(function () { $(function () { $(".preloader").fadeOut(); $('#side-menu').metisMenu(); }); // Theme settings //Open-Close-right sidebar $(".right-side-toggle").click(function () { $(".right-sidebar").slideDown(50); $(".right-sidebar").toggleClass("shw...
var _ = require('underscore'); var FormView = require('./__FormView'), $ = require('jquery'), Backbone = require('backbone'), goodsTpl = require('../templates/_entityGoods.tpl'); var config = require('../conf'); Backbone.$ = $; //** 模型 var Goods = Backbone.Model.extend({ idAttribute: '_id', urlRoot: config.ap...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Validation */ function validateLength (v) { // a custom validation function for checking string length to be used by the model return v.length <= 30; } /** * Category Schema */ var CategorySc...
app.controller('saveImportedSummaryController', function ($uibModalInstance, $uibModal, $scope, $rootScope) { $scope.imported = null; $scope.notImported = null; $scope.areThereImported = false; $scope.areThereNotImported = false; $scope.showImported = false; $scope.sortingKey = ''; $scope...
'use strict'; /** * Replace parameters in a URL template with values from a `params` object. * * Returns an object containing the expanded URL and a dictionary of unused * parameters. * * replaceURLParams('/things/:id', {id: 'foo', q: 'bar'}) => * {url: '/things/foo', params: {q: 'bar'}} */ function repl...
'use strict'; const express = require('express'); // import getAllMoviesHandler const getAllMoviesHandler = require('../API/API.controller'); // import Interface to contact with DB const Interface = require('../models/Interface'); // import user model const userModel = require('../models/usersModel'); // create ne...
'use strict' /* global describe, it, beforeEach */ const expect = require('chai').expect const dustcover = require('../') const Bookshelf = require('./helpers/bookshelf') const models = require('./helpers/models') const migrations = require('./helpers/migrations') const seeds = require('./helpers/seeds') let bookshelf ...
$(function() { var inputkpm = $("#kpm"); $.get(site_url+'Master/sugestkpm', function(data){ inputkpm.typeahead({ source: data, minLength:1, }); },'json'); inputkpm.change(function(){ var current = inputkpm.typeahea...
var gulp = require('gulp'); var coveralls = require('gulp-coveralls'); gulp.task('coveralls', function() { gulp.src('coverage/**/lcov.info') .pipe(coveralls()); });
const express= require("express") const router=express.Router() const {registerUser,loginUser,currentUser, logoutUser, notificationsSubscribe, verifyUser}=require("../controllers/user") const { checkToken } = require("../middleware/auth") router.post("/login",loginUser) router.post("/register",registerUser) router.get...
var xdprxss__hw_8h = [ [ "XDPRXSS_GUID_NBYTES", "xdprxss__hw_8h.html#ga3a6d3739a23b0a6c4742f32e376ef3f5", null ], [ "XDPRXSS_HW_H_", "xdprxss__hw_8h.html#gaa6c84195ed3863aaf6938c1c24c3e6de", null ], [ "XDpRxSs_In32", "xdprxss__hw_8h.html#ga240806c20a656dc4d273f6bcd6e024b8", null ], [ "XDPRXSS_LANE_COUNT...
import {makeStyles} from '@material-ui/core/styles' const useStyles = makeStyles(theme => ({ margin: { margin: theme.spacing(1), }, menuButton: { marginRight: 'auto', }, menuButtonIcon: { height: '50px', }, shareButton: { boxShadow: 'none', '&:hover': { backgroundColor: `${theme...
/** * Created by yagocarballo on 04/02/2015. */ import React, {Component, PropTypes} from 'react'; import { connect } from 'react-redux'; @connect(state => ({ courseId: state.router.params.courseId, classId: state.router.params.classId, level: state.router.params.level }), null) export default class LevelInfo ...
import PropTypes from "prop-types"; import React from "react"; require("prismjs/themes/prism-okaidia.css"); import Seo from "../components/Seo"; import Article from "../components/Article"; import Post from "../components/Post"; import { ThemeContext } from "../layouts"; import Back from "../components/Post/Back"; c...
import { AbVariantDeclaration } from "../AbVariantDeclaration"; test('constructor sets name', () => { var variant = new AbVariantDeclaration("one"); expect(variant.name()).toEqual("one"); }); test('constructor sets default values', () => { var variant = new AbVariantDeclaration("one"); expect(variant.weight()).to...
/** * @license * Visual Blocks Editor * * Copyright 2019 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
import { __assign, __extends } from "tslib"; import { each, isArray } from '@antv/util'; import { getDistanceToCenter } from '../../util/coordinate'; import { getPointAngle } from '../../util/coordinate'; import GeometryLabel from './base'; var HALF_PI = Math.PI / 2; /** * 极坐标下的图形 label */ var PolarLabel = /** @class...
import AbstractPwrCallState from "./AbstractPwrCallState"; import WaitForUserRegState from "./WaitForUserRegState"; import EndState from "./EndState"; import WPCompleteState from "./WPCompleteState"; import TechnicalProblemState from "./TechnicalProblemState"; //>>>> don't change the CUSTOM CODE comments, if you do gen...
module.exports = /******/ (function(modules, runtime) { // webpackBootstrap /******/ "use strict"; /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/...
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
export default import('x/' + 'y');
import React from 'react' import styled from 'styled-components' import mq from '@styles/media-queries' import Heading from './heading' import Paragraph from './paragraph' const Container = styled.div` text-align: left; ` const TextContainer = styled.div` @media ${mq.tablet3_up} { padding-right: 60px; } ...
import { configure, addDecorator } from '@storybook/react'; import { withConsole } from '@storybook/addon-console'; // automatically import all files ending in *.stories.js configure(require.context('../stories', true, /\.stories\.js$/), module); // console config addDecorator((storyFn, context) => withConsole()(stor...
import AddButton from "../AddButton"; import React, { Component } from "react"; import * as types from "../../types"; import { setConfiguration, Container, Row, Col } from 'react-grid-system'; setConfiguration({ gutterWidth: 0 }); import { orderProperties, retrieveSchema, getDefaultRegistry, getUiOptions, A...
const { Emitter, Disposable } = require('event-kit'); const crypto = require('crypto'); const fs = require('fs-plus'); const path = require('path'); // const postcss = require('postcss'); // const selectorParser = require('postcss-selector-parser'); // const StylesElement = require('./styles-element'); // const DEPRECA...
import React from 'react' import styled from '@emotion/styled' import system from '../../../design/theme' import Zoom from 'react-reveal' import Checkbox from './Checkbox' import TimeRangeSlider from './Slider' import Status from './Status' import PropTypes from 'prop-types' const Slider = ({ id, name, closedAll...
//All code will be ready run when the page is rendered $(document).ready(function() { //eventListner for the search button //will find the search value in the search value id $("#search-button").on("click", function() { var searchValue = $("#search-value").val(); // clear input box //sets t...
const HtmlWebpackPlugin = require("html-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const TerserPlugin = require("terser-webpack-plugin"); // from webpack const OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin"); const package = require("./package.json"); /**...
'use strict'; /*jshint -W117 */ /*jshint globalstrict: true*/ /* jasmine specs for directives go here */ function replacer(k, v) { if (typeof v === 'function') { v = v.toString(); } else if (window.File && v instanceof File) { v = '[File]'; } else if (window.FileList && v instanceof FileLis...
import React from "react"; import { GRAY, WHITE, LIGHT_GREEN, TEXT_TITLE } from "../../utils/webColors"; import {getContentInfo, getDateTimeInFormat, getTimeInFormat} from "../../utils/webHelperFunctions"; import { Card, Typography, Avatar } from "@material-ui/core"; const ChatRoomRightItem = ({ item, styleLis...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.1-.03-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.2...
/*! * robust-admin-theme (http://demo.pixinvent.com/robust-admin) * Copyright 2017 PIXINVENT * Licensed under the Themeforest Standard Licenses */
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.AiOutlinePicLeft = function AiOutlinePicLeft (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 1024 1024"},"child":[{"tag":"path","attr":{"d":"M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-...
import collectionTypes from "../../constants/collections"; let initialState = { [collectionTypes.CATEGORIES]: {}, [collectionTypes.REVIEWS]: { byUser: {}, byPlace: {}, latestReviews: {}, }, [collectionTypes.USERS]: {}, [collectionTypes.PLACES]: {}, [collectionTypes.OUTFITS]: {}, [collectionTy...
const Joi = require('joi'); const id = Joi.number().integer().positive().max(32767); const name = Joi.string().min(2).max(30); const description = Joi.string().max(255); const modules = Joi.array(); const limit = Joi.number().integer().min(2); const offset = Joi.number().integer().min(0); const filter = Joi.string()....
//Bootstrap 4 + daemonite material UI + Summernote wysiwyg text editor //doc : https://github.com/summernote/summernote $(document).ready(function (){ $('#my-summernote').summernote({ minHeight: 200, placeholder: 'Escriba aqui ...', focus: false, airMode: false, fontNames: ['Roboto', 'Calibri', '...
// @ts-nocheck import { stringToArray, mergeArrays, arrayToString } from './utils.js' /* Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool */ function coerce (a) { if (a instanceof Uint8Array) { return (index) => a[in...
// @flow import { describe, it } from 'flow-typed-test'; import FakeTimers from '@sinonjs/fake-timers'; describe('@sinonjs/fake-timers', () => { it('install', () => { FakeTimers.install({ target: global, now: 150, loopLimit: 250, }); // $ExpectError FakeTimers.install(true); }); ...
module.exports = function preamble(config, genesis) { // // Set AWS credentials and region. // const region = config.credentials.region; genesis.addProvider('aws', { access_key: config.credentials.accessKeyId, secret_key: config.credentials.secretAccessKey, region, }, [ `Provider: AWS region...
function getInternetExplorerVersion() { var ua = window.navigator.userAgent; var msie = ua.indexOf('MSIE '); if (msie > 0) { // IE 10 or older => return version number return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); } var trident = ua.indexOf('Trident/'); if (trident > 0) { ...
import * as UTILS from '../../globals'; const mouse = new WHS.VirtualMouseModule(); const world = new WHS.App([ new WHS.ElementModule(), new WHS.SceneModule(), new WHS.CameraModule({ position: new THREE.Vector3(0, 10, 50) }), new WHS.RenderingModule({ bgColor: 0x162129, renderer: { antial...
import Sprite from './sprite.js'; import Text from './text.js'; import { track } from './pointer.js'; import { srOnlyStyle, noop, addToDom } from './utils.js'; /** * An accessible button. Supports screen readers and keyboard navigation using the <kbd>Tab</kbd> key. The button is automatically [tracked](api/pointer#tr...
// import formatLogText from './format-log-text'; export default function formatLogOutput( text , prefix = '' ) { return formatLogText(text) .split('\n') .map(textItem => `${prefix}${textItem.replace(/^> /, '')}`); }
import { Button, Modal } from '@patternfly/react-core'; import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { TableToolbarView } from '../../presentational-components/shared/table-toolbar-view'; import { defaultSettings } from '../../helpers/shared/pagination'; const ResourceDefinitions...
/* eslint-disable no-console */ const path = require('path'); const { DB } = require(path.join(__dirname, '/../../config.js')); const { BOT } = require(path.join(__dirname, '/../bot.js')); const { v4: uuid } = require('uuid'); /** @bot emigatron @info Genereate token for id @command token */ BOT.onText(/\/token/, ...
// Copyright (C) 2022 Igalia, S.L. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-temporal.zoneddatetime.prototype.equals description: Negative zero, as an extended year, is rejected features: [Temporal] ---*/ const timeZone = new Temporal.TimeZone("UTC"); ...
'use strict'; /** * @ngInject * @ngdoc object * @name app.controllers:HomeCtrl * @description Controller for the /home route */ module.exports = function($scope, Firebase, $rootScope) { /** * @desc Create reference to controller scope * @type {Object} */ var vm = this; // Reassign vm.user upon `u...
'use strict'; // Meta data used by the AngularJS docs app angular.module('navData', []) .value('NG_NAVIGATION', { "api": { "id": "api", "name": "API", "navGroups": [ { "name": "ng", "href": "api/ng", "type": "group", "navItems": [ { "name": "f...
import React from "react"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; // core components import GridItem from "components/Grid/GridItem.js"; import GridContainer from "components/Grid/GridContainer.js"; import Table from "components/Table/Table.js"; import Card from "componen...
'use strict'; const router = require('express').Router(), roomsController = require('../controllers/rooms.js'); router.post('/', roomsController.save ); router.get('/', roomsController.getAll ); router.get('/:roomId', roomsController.getOne ); router.put('/:roomId', roomsController.update ); router.delete...
module.exports = { content: ['./components/**/*.tsx', './pages/**/*.tsx'], darkMode: 'class', theme: { extend: {} }, plugins: [] }
import BaseField from './base' export default class TextField extends BaseField { constructor(label, field) { super() this.__attr__.name = 'text-field' this.__attr__.label = label this.__attr__.field = field this.__attr__.shared.type = 'text' } type(type) { this.__attr__.shared.type =...
const solid_mouse_pointer = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30...
/** * Created by muhammadsuhail on 2016-05-21. */ import introModule from './intro'; import datailsModule from './details' const modules=[ introModule, datailsModule ] export default angular.module("pages",modules) .name;
'use strict' var xss = require('xss') var mongoose = require('mongoose') var User = mongoose.model('User') exports.signup = function *(next) { // var phoneNumber = this.request.body.phoneNumber var phoneNumber = this.query.phoneNumber var user = yield User.findOne({ phoneNumber: phoneNumber }).exec() //调用...
var c3ext = {}; c3ext.generate = function (options) { if (options.zoom2 != null) { zoom2_reducers = options.zoom2.reducers || {}; zoom2_enabled = options.zoom2.enabled; _zoom2_factor = options.zoom2.factor || 1; _zoom2_maxItems = options.zoom2.maxItems; } if (!zoom2_enabled...
import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; import { bindActionCreators } from 'redux'; import NavigationActions from '../../actions/navigation'; import { Text, View, StyleSheet } from 'react-native'; class SignUpView extends Component { render() { ...
// eslint-disable-next-line import/no-mutable-exports let admin if (process.server) { admin = require('firebase-admin') if (!admin.apps.length) { admin.initializeApp({ credential: admin.credential.applicationDefault(), databaseURL: 'https://studyathome-dev.firebaseio.com' }) } } export defaul...
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ /*For Carousel Begin*/ /*For Carousel End*/
/* global describe, beforeEach, it, module, inject */ describe("Geo Location services", function () { "use strict"; var service, interval; beforeEach(module("dynamic-sports.services")); beforeEach(inject(function ($rootScope, $interval, _geoLocationService_) { service = _geoLocationService_; interval ...
import React from "react" import SEO from "../components/seo" import MainContainerHome from "../containers/home/MainContainerHome" import InstagramModule from "../components/home/InstagramModule" import loadable from "@loadable/component" const EmilieMap = loadable(() => import("../utils/EmilieMap")) const IndexPage =...
'use strict'; var grunt = require('grunt'); /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected, [message]) test.notEqual(actua...
module( 'elements' ); test( 'option element with custom selected logic works without error and correctly', function ( t ) { var ractive = new Ractive({ el: fixture, template: ` <select> {{#options}} <option value="{{.}}" selected="{{.===selected}}">{{.}}</option> {{/options}} </select>`, data...
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter as Router } from 'react-router-dom' import './index.css'; import App from './App'; ReactDOM.render( <Router> <App /> </Router>, document.getElementById('root') );
define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, undefined, Frontend, Form, Template) { var validatoroptions = { invalid: function (form, errors) { $.each(errors, function (i, j) { Layer.msg(j); }); } }; var Controller = { ...
import { Client } from 'boardgame.io/client'; import { DEFAULT_GAME_MODE, DEFAULT_START_SUIT, INVALID_CARDS, STARTING_CARD_MAP, } from '../../utils/constants'; import { ElevationOfPrivilege } from '../eop'; import { Local } from 'boardgame.io/multiplayer'; describe('game', () => { const spec = { game: El...
/** * DevExtreme (ui/data_grid/ui.data_grid.grouping.js) * Version: 20.2.3 * Build date: Tue Oct 20 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.GroupingHeaderPanelExtender = voi...
/* See license.txt for terms of usage */ var FireDiff = FireDiff || {}; /* * Implements the logic necessary to deep clone as CSS object. * * Note that this does not clone the CSS value types, so this could * introduce some inconsistencies with the stored data model */ FireDiff.CSSModel = FBL.ns(function() { with...
import React from "react" import styled from "styled-components" export default function MockupAnimation() { return ( <Wrapper> <div className="mockup1" /> <div className="mockup2" /> <div className="mockup3" /> <div className="mockup4" /> <div className="mockup5" /> </Wrapper> ...
import { useMemo, useState } from "react"; import useBurnerSigner from "./BurnerSigner"; /* ~ What it does? ~ Gets user provider ~ How can I use? ~ const userProvider = useUserProvider(injectedProvider, localProvider); ~ Features ~ - Specify the injected provider from Metamask - Specify the local pr...
(function (ng) { var app = angular.module('mainApp', [ // External dependencies 'ui.router', // Internal modules dependencies 'eventosModule', ]); // Resuelve problemas de las promesas app.config(['$qProvider', function ($qProvider) { ...
const userInput = document.querySelector('#name'); const scoreInput = document.querySelector('#score'); const sendData = () => { fetch('https://us-central1-js-capstone-backend.cloudfunctions.net/api/games/', { method: 'POST', headers: { Accept: 'application/json', 'Content-Type': 'application/jso...
export const repeatPeriodField = { required: true, type: 'int', min: 1, max: 50 }; export const repeatTimeUnitField = { type: 'list', values: ['hours', 'days', 'weeks', 'months'] }
var OGVDecoderAudioVorbis = function(Module) { Module = Module || {}; var asm=(function(global,env,buffer) { "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.U...
/** * @file jus importing pug files */ const req = require.context('../pug/', false, /\.pug/); req.keys().forEach((fileName) => { req(fileName); });
import * as TYPE from "./checkType" // 全局log变量 let isShowGlobalLog = true // 设置模块开关(建议默认模块code>=1000) let moduleArr = [ { name: `login`, code: 1000, isShowLog: true } ] // 设置样式(暂时设置文字颜色) let styleArr = { red: `color:#f5576c`, blue: `color:#005bea`, green: `color:#00e3ae`, ...
'use strict'; const PromiseManager = require('../../core/promiseManager'); const { callApi } = require('../../util/common'); /** * 비공식으로 엔트리에서 사용되고 있는 언어코드 (vn, ja)의 경우 공식 언어코드로 치환한다. * @param {string}originalLanguage */ function replaceLanguageCode(originalLanguage) { switch (originalLanguage) { case ...
/** @jsx jsx */ import { jsx, NavLink, Flex, Box } from 'theme-ui' import { AuthContainer } from 'components/molecules' const NavItems = () => { const pages = ['Articles', 'Careers', 'Events', 'Team', 'Handbook'] return ( <Flex align="center"> <Flex sx={{ '@media screen and (max-width: 800px)': { ...
export default { // 快捷键 // 支持快捷键 例如 ctrl+shift+s hotkey: { search: { open: 's', close: 'esc' } }, // 侧边栏默认折叠状态 menu: { asideCollapse: false }, // 在读取持久化数据失败时默认页面 page: { opened: [ { name: 'index', fullPath: '/index', meta: { title: '首...
import React from 'react'; import './Header.css'; import Menuitem from './Menuitem'; const Header=()=>{ return( <div className="menu"> <Menuitem to={'/Home'}>홈</Menuitem> <Menuitem to={'/Tetris'} >테트리스</Menuitem> <Menuitem to={'/Avatar'} >아바타</Menuitem> </div> ...
(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')...
//Operator: Or = 0, And = 1, Not = 2 //Condition: // Content = 0, // StartWith = 1, // EndWith = 2, // Equals = 3, // DoesNotEqual = 4, // GreaterThan = 5, // GreaterThanOrEqual = 6, // LessThan = 7, // LessThanOrEqual = 8, //DataType: String = 0, Number = 1, Date = 2, Boolean = 3 export default function FilterGrid() ...
var group__bleam__scan = [ [ "data_t", "group__bleam__scan.html#structdata__t", [ [ "data_len", "group__bleam__scan.html#ab3dc53f26743ec5d46029f53e87fe115", null ], [ "p_data", "group__bleam__scan.html#aeae2b69dedb02bf7cc21b26855663502", null ] ] ], [ "BLESC_SCAN_TIME", "group__bleam__scan.html#...
/* @flow */ import config from '../config' import Watcher from '../observer/watcher' import { mark, measure } from '../util/perf' import { createEmptyVNode } from '../vdom/vnode' import { updateComponentListeners } from './events' import { resolveSlots } from './render-helpers/resolve-slots' import { toggleObserving }...