text
stringlengths
2
1.05M
/** * @fileOverview Curve */ import React, { Component, PropTypes } from 'react'; import { symbol as shapeSymbol, symbolCircle, symbolCross, symbolDiamond, symbolSquare, symbolStar, symbolTriangle, symbolWye } from 'd3-shape'; import pureRender from '../util/PureRender'; import classNames from 'classnames'; import _...
Highcharts.maps["countries/cn/653023"] = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":653023,"name":"阿合奇县","center":[78.450164,40.937567],"centroid":[77.885242,40.847884],"childrenNum":0,"level":"district","acroutes":[100000,650000,653000],"parent":{"adcode":653000},"longitude":77.88...
import styled from "styled-components"; export const PlaceholderLine = styled.div` background-color: ${p => p.dark ? p.theme.colors.palette.text.shade80 : p.theme.colors.palette.text.shade20}; width: ${p => p.width}px; height: ${p => p.height || 10}px; border-radius: 5px; margin: 5px 0; `;
var searchData= [ ['uart_5f1stopbit',['UART_1STOPBIT',['../d7/d41/classpasco2_1_1_u_a_r_t_p_a_l.html#aeee202af550ff488265540ef5b5182c1a7e59a309111b5beb532d69f777f8d44b',1,'pasco2::UARTPAL']]], ['uart_5f2stopbits',['UART_2STOPBITS',['../d7/d41/classpasco2_1_1_u_a_r_t_p_a_l.html#aeee202af550ff488265540ef5b5182c1a4aa7...
import Vue from 'vue'; import { PopupManager } from 'element-ui/src/utils/popup'; import { isVNode } from 'element-ui/src/utils/vdom'; let MessageConstructor = Vue.extend(require('./main.vue')); let instance; let instances = []; let seed = 1; var Message = function(options) { if (Vue.prototype.$isServer) return; ...
import React, { PropTypes } from "react"; class HomePage extends React.Component { static propTypes = { } render() { return ( <div> <h1>Home</h1> <p>And justice for all</p> </div> ); } } export default HomePage
'use strict' const { LogicalException } = require('@adonisjs/generic-exceptions') class InvalidAccessException extends LogicalException { /** * Handle this exception by itself */ handle (error, {response}) { return response.status(403).json({ error: 'Invalid access', }); } } module.expo...
// // Code your solution in this file! const companyName = 'Scuber' let mostProfitableNeighborhood = 'Chelsea' let companyCeo = "Susan Smith"
/*! jQuery UI - v1.10.4 - 2014-04-13 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Jú...
/* * Copyright 2017 Alexander Pustovalov * * 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 a...
#!/usr/bin/env node /*jslint node: true */ 'use strict'; var env = require('gitter-web-env'); var winston = env.logger; var presenceService = require('gitter-web-presence'); var shutdown = require('shutdown'); var BayeuxCluster = require('../../server/web/bayeux/cluster'); var bayeux = new BayeuxCluster(true); // Lig...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.msg = msg; exports.access = access; exports.assertRootMode = assertRootMode; exports.assertSourceMaps = assertSourceMaps; exports.assertCompact = assertCompact; exports.assertSourceType = assertSourceType; exports.assertCallerMetada...
const express = require('express'); const validate = require('express-validation'); const { authenticatedMiddleware } = require('@middlewares/authenticated'); const controller = require('./feature.controller'); const validator = require('./feature.validator'); const router = express.Router(); /** * @api {post} api/v...
module.exports = new Date(1992, 11, 9)
const path = require("path"); const rlequire = require("rlequire"); const Config = rlequire("dendro", "src/models/meta/config.js").Config; const isNull = rlequire("dendro", "src/utils/null.js").isNull; const Class = rlequire("dendro", "src/models/meta/class.js").Class; const Resource = rlequire("dendro", "src/models/r...
/** * * Tests for WorkTypeRequestModal * * Components */ import User from '@/models/__mocks__/User'; import UserEditModal from '@/pages/organization/UserEditModal'; import { createLocalVue, shallowMount } from '@vue/test-utils'; import Vuex from 'vuex'; const localVue = createLocalVue(); localVue.use(Vuex); jest...
/* * Copyright 2013 eBay Software Foundation * * 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 o...
/** * 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 * @format */ import React, {Component} from 'react'; import {Row, Col, Button, Tabs} from 'antd'; import EditValue from ...
var data = { "body": "<path opacity=\".3\" d=\"M10.94 8.12L8.9 6.07L9.88 5h4.24l1.83 2H20v10.17l-3.12-3.12c.08-.34.12-.69.12-1.05c0-2.76-2.24-5-5-5c-.36 0-.71.04-1.06.12zM12 18c-2.76 0-5-2.24-5-5c0-.91.25-1.76.68-2.49L4.17 7H4v12h12.17l-1.68-1.68c-.73.43-1.58.68-2.49.68z\" fill=\"currentColor\"/><path d=\"M8.9 6.07L7....
import db from "../../../db/models" import { SprintService } from "../services/sprint.service" const Sprint = new SprintService() export const createSprint = async (req, res) => { try { const { sprintName, projectId, dateStart, dateFinish } = req.body const creator = req.userId const sprint = await Spr...
module.exports = [ "apes", "baboons", "bats", "bears", "birds", "bobcats", "bulldogs", "cats", "chickens", "cobras", "cows", "crabs", "deer", "dingos", "dodos", "dogs", "dolphins", "donkeys", "dragons", "ducks", "eagles", "eels", ...
// All code points in the Runic block as per Unicode v8.0.0: [ 0x16A0, 0x16A1, 0x16A2, 0x16A3, 0x16A4, 0x16A5, 0x16A6, 0x16A7, 0x16A8, 0x16A9, 0x16AA, 0x16AB, 0x16AC, 0x16AD, 0x16AE, 0x16AF, 0x16B0, 0x16B1, 0x16B2, 0x16B3, 0x16B4, 0x16B5, 0x16B6, 0x16B7, 0x16B8, 0x16B9, 0x16BA, 0x16BB, 0x16...
console.log("background script working"); var t = null; // var l = null; let a = {}; xp = location.href; if (xp.includes("meet.google.com")) { setTimeout(joinmeeting, 1000); } function joinmeeting() { if (document.readyState == "complete") { try { // Mic Button wi...
import SectionLineModel from "../model/sectionLineModel.js"; import SectionLineView from "../view/sectionLineView.js"; import { DOMS } from "../util/constant.js"; export default class SectionLineController { constructor() { this.model = new SectionLineModel(); this.view = new SectionLineView(); } init =...
/* * * * * * * * * * * * * * * * * * * * * * * * *\ * * FileName : index.js * Author : Association of Southeast Asian Nations Build The Earth * CreateTime : 15-5-2021 * Organization : https://github.com/ASEAN-Build-The-Earth * Description : Merlion discord bot core file * FileType : ...
"use strict"; // Module dependencies const prismic = require("prismic-javascript"); const prismicDom = require("prismic-dom"); const app = require("./config"); const prismicConfig = require("./prismic-configuration"); const port = app.get("port"); const asyncHandler = require("./utils/async-handler"); const defaultLan...
import React from "react"; import PropTypes from "prop-types"; import { View, StyleSheet, TouchableWithoutFeedback } from "react-native"; import FastImage from "react-native-fast-image"; // import { getImageUrl } from "../api/url"; import { INPUT } from "../helper/Color"; const MoviePoster = ({ item, navigation, heig...
window.chartsByTitle = {}; const nameToColor = { x: '#a61919', y: '#199a2c', z: '#285ee5', phi: '#41a87d', theta: '#891cc7', alpha: '#bd771c', beta: '#979f19', gamma: '#8d197c' } const MAX_DATA_SET_LENGTH = 2000; window.createNewChart = (key, type, rawData, timestamp) => { const title = `${key}_${t...
import React, {useState} from 'react'; import { StatusBar, StyleSheet, View, } from 'react-native'; import * as firebase from 'firebase'; import firebaseConfig from './FirebaseConfig'; import {AppLoading, SplashScreen} from 'expo'; import AppNavigator from "./Screens/AppNavigator"; import {Provider} from "r...
var apiKey = "pk.eyJ1IjoiZXZhbnMyNDUzIiwiYSI6ImNrOXpxeWplMTBldTQzZnJ5NGhsNjJ5NHgifQ.v6AFZ_73NGDIkP5Wx_4kMQ"; var heatmap = L.tileLayer("https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}", { attribution: "Map data &copy; <a href='https://www.openstreetmap.org/'>OpenStreetMap</a> contribu...
module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"2":"0 1 2 4 RB F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s PB OB"},D:{"2":"0 2 4 8 F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s DB AB SB ...
import React, { Component } from 'react'; import { StyleSheet, Text, View, ToastAndroid, TextInput, Button, Alert, ScrollView, Image, ImageBackground, AsyncStorage } from 'react-native'; import { NavigationContainer } from "@react-navigation/native"; import { createStackNavigator } from "@react-navigation/stack"; impor...
function Mostrar() { var i var numero var contador = 0 numero = parseInt(prompt("Ingrese un numero positivo")); while (numero <= 0|| isNaN(numero)){ numero = parseInt(prompt("Ingrese un numero positivo")); } for(var i=1; i<= numero; i++){ if(numero%i==0){ ...
const Student = require("../Models/student"); const { createStudentSchema, createEnquirySchema, createEnrollmentSchema, updateStudentSchema, } = require("../validators/studentValidator"); // @route POST api/admin/students // @desc Create a student // @access Private exports.createStudent = async (req, res)...
var callbackArguments = []; var argument1 = function (a, b) { callbackArguments.push(arguments) return a + b; }; var argument2 = null; var argument3 = false; var argument4 = function (a, b) { callbackArguments.push(arguments) return a + b; }; var argument5 = null; var argument6 = function (acc, pare...
'use strict'; module.exports = function (c) { return { self: { background: c.alertBG, color: c.alertColor, position: 'fixed', top: 0, left: 0, right: 0, height: 44, padding: '10px 0' } }; };
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const path = require('path'); const webpack = ...
import { Platform, StyleSheet, } from 'react-native'; const styles = StyleSheet.create({ textInput: { flex: 1, marginLeft: 10, fontSize: 16, lineHeight: 16, marginTop: Platform.select({ ios: 6, android: 0, }), marginBottom: Platform.select({ ios: 5, android: 3...
import debounce from 'lodash.debounce'; import { action, computed, observable } from 'mobx'; import { isDesktop, toMoment } from '@deriv/shared'; import Shortcode from 'Modules/Reports/Helpers/shortcode'; import { WS } from 'Services/ws-methods'; import { formatStatementTransaction } from './Helpers/format-response'; ...
require("@nomiclabs/hardhat-web3"); const { HardhatRuntimeEnvironment } = require('hardhat/types'); const { generatedWallets } = require('../test/generatedWallets'); const { JsonRpcProvider } = require('@ethersproject/providers'); const provider = new JsonRpcProvider("http://localhost:8545"); const accounts = generated...
/* * -------------------------------------------------------------------- * jQuery-Plugin - selectToUISlider - creates a UI slider component from a select element(s) * by Scott Jehl, scott@filamentgroup.com * http://www.filamentgroup.com * reference article: http://www.filamentgroup.com/lab/update_jquery_ui_16_sli...
import React from 'react'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import CssBaseline from '@material-ui/core/CssBaseline'; import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles(...
var webpack = require('webpack'); var webpackMerge = require('webpack-merge'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var commonConfig = require('./webpack.common.js'); var helpers = require('./helpers'); const ENV = process.env.NODE_ENV = process.env.ENV = 'production'; module.exports = webp...
module.exports = async (context, opts) => { const { owner, repo } = context.repo() return context.github.request({ method: 'POST', url: '/repos/:owner/:repo/pages', headers: { accept: 'application/vnd.github.switcheroo-preview+json' }, owner, repo, source: { branch: opts.branch || 'mas...
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Test that spread can create arrays in large object space. const n = 130000; { let x = new Map(); for (let i = 0; i < n; ++i) x.set(i, String(i)...
const app = require('./app.js'); const Socket = require('./socket/socket'); const port = app.get('port'); const server = app.get('server'); const io = new Socket(server); let connections = 0; server.listen(port, () => { console.log(`El servidor esta corriendo en http://localhost:${port}`); }); io.start();
const path = require('path'); module.exports = { mode: 'production', entry: './src/module.js', output: { path: path.resolve('lib'), filename: 'module.js', libraryTarget: 'commonjs2', }, module: { rules: [ { test: /\.js?$/, exclude: /(node_modules)/, use: 'babel-l...
/* Copyright 2013 Mozilla Foundation * * 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...
module.exports = { ZH_CN: { required: '必填', mobile: '请输入正确的手机号码', max: (len) => '上限 '+ len + ' 位。', min: (len) => '至少 '+ len + ' 位。', between (range) { range = range.split('-'); return '大于 ' + range[0] + ' 且小于 ' + range[1] }, nospace: '含有空格', smsCode: '请输入6位数字验证码' }, EN...
import {adapt} from '@cycle/run/lib/adapt'; import xs from 'xstream'; /* Source Driver: Apps Pool Factory function to interface with a passed state option array which will keep track of all apps. */ function makeAppsPoolDriver(appsPool) { function poolDriver(outgoing$) { const appsPool$ = xs.createWithMemory...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var styled_icon_1 = require("@styled-icons/styled-icon"); exports.LineWeight = React.forwardRef(function (props, ref) { var attrs = { "fill": "curr...
import { getWordsList } from '../../utils/string.js' const getMessage = function({ value, suggestions }) { const protocols = getWordsList(suggestions, { op: 'or' }) return `Protocol ${value} is invalid: it should be ${protocols}` } // Extra: // - value STR // - suggestions STR_ARR export const METHOD = { stat...
// @flow import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme'; import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles'; import { HANGUP_BUTTON_SIZE } from '../../constants'; // Toolbox, toolbar: /** * The style of toolbar buttons. */ const toolbarButton = { bac...
/* global describe it */ var djcertLib = require('../index') var chai = require('chai') var assert = chai.assert var bitcoreLib = djcertLib.bitcoreLib describe('djcert lib test', function () { this.timeout(9000) it('should be ok with bitcore lib PrivateKey()', function () { var key = new bitcoreLib.PrivateKey(...
#!/usr/bin/env node require('gingerhq-dump');
const path = require("path"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = { entry: path.join(__dirname, "src/docs"), output: { path: path.join(__dirname, "docs"), filename: "bundle.js" }, module: { rules: [ { test: /\.(js|jsx)$/, use: "babel-load...
!function(a){const e=a["pt-br"]=a["pt-br"]||{};e.dictionary=Object.assign(e.dictionary||{},{"*Change to:* %0":"*Alterar para:* %0","*Check item*":"*Verificar item*","*Format:* %0":"*Formatar:* %0","*Indent:* %0":"*Identar:* %0","*Insert:* %0":"*Inserir:* %0","*Merge cells*":"*Mesclar células*","*Merge:* %0":"*Mesclar:*...
({ /** x = [ 1, 2,, 3, ] **/ 'array literal with holes and trailing comma': { type: 'Script', start: 0, end: 17, statements: [ { type: 'ExpressionStatement', start: 0, end: 17, expression: { type: 'AssignmentExpression', start: 0, end: 17, operator: '...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("jquery")); else if(typeof define === 'function' && define.amd) define(["jquery"], factory); else if(typeof exports === 'object') exports["transition"] = fa...
'use strict' /** * Module dependencies */ const home = require('user-home') const config = require('./config') require('shelljs/global') module.exports = function (version) { try { const current = config.get('current') if (current === version) { config.set('current', null) } const dir ...
function makeVendorEntry(config) { const packageJson = require('./package.json'); const vendorDependencies = Object.keys(packageJson['dependencies']); const vendorModulesMinusExclusions = vendorDependencies.filter(vendorModule => config.mainModules.indexOf(vendorModule) === -1 && config.modulesToEx...
var group__sai__controls = [ [ "ARM_SAI_ABORT_RECEIVE", "group__sai__controls.html#ga2b8d3d85c1e60f137f8c433f319244cb", null ], [ "ARM_SAI_ABORT_SEND", "group__sai__controls.html#gab3ec8ef9e5e5a190bd2131ac8c99a240", null ], [ "ARM_SAI_CONFIGURE_RX", "group__sai__controls.html#gaba3e824e022fe2a5736de5dcbbd3d...
const {MongoClient} = require('mongodb'); const {getUseSharedDBForAllJestWorkersFlag} = require('./helpers'); describe('parallelism: third worker', () => { const uri = global.__MONGO_URI__; let connection; let db; beforeAll(async () => { connection = await MongoClient.connect(uri, { useNewUrlParser:...
import './_mock'; import BoxCastPlayerMetrics from '../src/BoxCastPlayerMetrics'; import Promise from 'bluebird'; describe('BoxCastPlayerMetrics', function () { var broadcast = {id: 1000}; var view = {status: 'live', playlist: 'http://cdn.example.com/all.m3u8'}; var metrics = new BoxCastPlayerMetrics(broadcast, ...
"use strict"; var createResource = require("../../lib/create-resource"); var path = require("path"); var sh = require("shelljs"); var rscSrcPackageExportJs = path.join( __dirname, "../../resource/src/_package-export.js" ); var rscTitorrcYml = path.join(__dirname, "../../resource/_.titorrc.yml"); var fxtTitorrcYml...
/** * Created by tangwei on 17/8/25. */ import Vue from 'vue' import BoxManager from './BoxManager.vue' BoxManager.newInstance = properties => { const _props = properties || {} const Instance = new Vue({ data: _props, i18n: _props.i18n, render (h) { return h(BoxManager, { props: _props...
var Task1; (function (Task1) { function processInput(inputStr) { const lineArray = inputStr.split("\n"); let lineArraySorted = lineArray.sort((a, b) => { let aDate = parseDate(a); let bDate = parseDate(b); if (aDate > bDate) { return 1; ...
import B from 'bluebird'; import { fs, util, net, plist } from 'appium-support'; import path from 'path'; import { utils as iosUtils } from 'appium-ios-driver'; import { SubProcess, exec } from 'teen_process'; import xcode from 'appium-xcode'; import _ from 'lodash'; import log from './logger'; import _fs from 'fs'; im...
import BaseTileLayer from './BaseTileLayer'; import params from './../param'; class OsmTileLayer extends BaseTileLayer { constructor(id, options = {}) { const style = options.style || 'Normal'; options.urlTemplate = params.Osm[style].url; super(id, options); } } export default OsmTileL...
// @tags: [uses_transactions] // Tests that doTxn is atomic for CRUD operations (function() { 'use strict'; var session = db.getMongo().startSession(); var sessionDb = session.getDatabase("test"); var txnNumber = 0; var t = db.doTxn; t.drop({writeConcern: {w: "majority"}}); assert.writeOK...
export default (vars) => ({ '': { background: 'white', border: '3px solid black', zIndex: '2147483647', boxSizing: 'border-box', padding: 0, fontSize: 14, fontFamily: 'sans-serif', lineHeight: 'normal', color: '#222', overflow: 'auto', ...vars.INITIAL_POPUP_POSITION }, ...
const sharedConfig = { client: "sqlite3", useNullAsDefault: true, connection: { filename: './dev.sqlite3', }, migrations: { directory: './data/migrations' }, seeds: { directory: './data/seeds' }, pool:{ afterCreate: (conn,done)=>{ conn.run("PRAGMA foreign_keys = ON", done) ...
const { Schema, model, Types } = require("mongoose"); const dateFormat = require("../utils/dateFormat"); const ReactionSchema = new Schema( { reactionId: { type: Schema.Types.ObjectId, default: () => new Types.ObjectId(), }, reactionBody: { type: String, required: true, maxl...
( function ( $ ) { var charts = { init: function () { // -- Set new default font family and font color to mimic Bootstrap's default styling Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'; Chart.defaults.global.defau...
var AI = { Create: function() { $.post(window.location.href, $("#ai_model").serialize(), function(resp) { var resp = jQuery.parseJSON(resp); switch (resp.Response) { case "OK": HIAS.ResetForm("ai_model"); $('.modal-title').text(...
const _ = require('lodash'); const spec = require('../specs'); let checkCommentID; checkCommentID = function checkCommentID(theme, options) { const checkVersion = _.get(options, 'checkVersion', 'latest'); let ruleSet = spec.get([checkVersion]); // CASE: 002-comment-id checks only needs `rules` that start...
import React from "react" import {Link} from "gatsby" import ThemeChanger from "../components/themeChanger" const Navigation = (props) => { const [toggle, setToggle] = React.useState(false) return ( <> <nav className="navigation"> <div className="nav-hide-container"> <Link to="/">Home<...
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof win...
import { SETTINGS_PATH as path } from 'constants' export default store => ({ path, /* Async getComponent is only invoked when route matches */ getComponent(nextState, cb) { /* Webpack - use 'require.ensure' to create a split point and embed an async module loader (jsonp) when bundling */ re...
load("201224b0d1c296b45befd2285e95dd42.js"); // |jit-test| allow-oom; need-for-each if (!('gczeal' in this && 'oomAfterAllocations' in this)) quit(); var lfcode = new Array(); gczeal(14); loadFile(` for each(let e in newGlobal()) { if (oomAfterAllocations(100)) continue; } `); function loadFile(lfVarx...
//--------------------------------------------------------------------- // QRCode for JavaScript // // Copyright (c) 2009 Kazuhiko Arase // // URL: http://www.d-project.com/ // // Licensed under the MIT license: // http://www.opensource.org/licenses/mit-license.php // // The word "QR Code" is registered trademark of ...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["jquery.sap.global","sap/ui/core/format/DateFormat","sap/ui/model/FormatException","sap/ui/model/odata/type/ODataType",...
var template = require('../templates/poll-admin.hbs'), answer_template = require('../templates/poll-answer.hbs'), cookie = require('../lib/js/cookie.js'), modal = require('./modal.js'), $ = require('jquery'), Promise = require('bluebird'), _ = require('underscore'); // Ensure cookie values ...
import React from 'react'; import PropTypes from 'prop-types'; const UilLightbulb = (props) => { const { color, size, ...otherProps } = props return React.createElement('svg', { xmlns: 'http://www.w3.org/2000/svg', width: size, height: size, viewBox: '0 0 24 24', fill: color, ...otherProps ...
import React, { useMemo, forwardRef } from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' import { deepMerge } from '@jiaminghi/charts/lib/util/index' import { deepClone } from '@jiaminghi/c-render/lib/plugin/util' import useAutoResize from '../../use/autoResize' import './style.le...
// just a placeholder comment to ensure cache gets refresh. vvv8djfkvvoo self.addEventListener("install", e => { e.waitUntil( caches.open("static").then(cache => { //items for the PWA need to be mentioned here individually. The Prefetch & Preload in HTML header is just for the webpage. return cache.addAll(...
// lorem text const text = [ `Jelly sweet roll jelly beans biscuit pie macaroon chocolate donut. Carrot cake caramels pie sweet apple pie tiramisu carrot cake. Marzipan marshmallow croissant tootsie roll lollipop. Cupcake lemon drops bear claw gummies. Jelly bear claw gummi bears lollipop cotton candy gummi bears choc...
//>>built define("dojox/dgauges/ScaleIndicatorBase",["dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/on","dojo/touch","dojo/_base/fx","dojox/gfx","dojox/widget/_Invalidating","./IndicatorBase"],function(_1,_2,_3,on,_4,fx,_5,_6,_7){ return _2("dojox.dgauges.ScaleIndicatorBase",_7,{scale:null,value:0,int...
const textHandler = require('./textResponses.js'); const getHelloJSON = (request, response) => { const helloJSON = { message: textHandler.hello, }; const stringMessage = JSON.stringify(helloJSON); response.writeHead(200, { 'Content-Type': 'application/json' }); response.write(stringMessage); response....
'use strict'; import { module } from 'angular'; import _ from 'lodash'; import { CollapsibleSectionStateCache } from 'core/cache'; import { HEALTH_COUNTS_COMPONENT } from 'core/healthCounts/healthCounts.component'; import { UrlBuilder } from 'core/navigation'; import { ClusterState } from 'core/state'; import { TIME_...
/** * Copyright 2013-2020 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
import React from 'react' import TestRenderer from 'react-test-renderer' import Hide from '../src' const renderJSON = el => TestRenderer.create(el).toJSON() describe('@rebass/hide', () => { test.skip('Mapped renders', () => { const json = renderJSON( <Mapped xsmall small /> ) ...
/* src/schema.js */ const schema = ` schema { query: Query } `; const Query = ` type Query { hello: Hello! } `; const Hello = ` type Hello { world: World! } `; const World = ` type World { text: String! } `; export default [schema, Query, Hello, World];
import app from './src/boot.js'
/** * User: KGoulding * Date: 9/18/12 * Time: 3:36 PM */ (function () { // self-invoking function /** * @class SAS.PriorityDialog * @extends SAS.AFieldDialog * @constructor **/ SAS.PriorityDialog = function (/**SAS.PriorityDef*/ priority) { var _self = this; /** @type SAS...
var callbackArguments = []; var argument1 = {"25":1.4537905018560516e+308,"1.5870976240427908e+308":126,"(":6.274704700864123e+306}; var argument2 = "f"; var argument3 = "GiN"; var base_0 = [82,655,460,403,"G",-100,"4"] var r_0= undefined try { r_0 = base_0.forEach(argument1,argument2,argument3) } catch(e) { r_0=...
import{_ as e}from"./TableImg.796610fd.js";import{f as o}from"./BasicForm.adb2a199.js";import{u as i}from"./useTable.82511bdc.js";import{g as n,d as t}from"./account.9b012d94.js";import{P as s}from"./index.c1dc3b6b.js";import{b as r}from"./index.13a30da8.js";import a from"./AccountModal.cb270241.js";import d from"./Pas...
// This file defines functionality to search through known weapons and return matching results const Discord = require('discord.js'); const weaponsJSON = require('./weapons.json'); const messageHandler = require('./messageHandler.js'); module.exports = { lookup: async function(name){ if(messageHandler.badQuery(nam...
var miFunction = new Function("2+2"); var forma = " redonda "; var forma2 = new String(" redonda "); var size = 1; var miOtraFunction = function otraFuncion(){ console.log("no hago nada"); } console.log(typeof miFunction); console.log(typeof miOtraFunction); console.log(typeof forma); console.log(typeof siz...
Template.About.rendered = function(){$('#aboutTab').addClass('active')} Template.About.destroyed = function(){$('#aboutTab').removeClass('active')}