text stringlengths 2 1.04M |
|---|
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
var MODULE_TYPE = require('./shim/constants').MODULE_TYPE
// Return a new copy of this array every time we're called
module.exports = function instrumentations() {
return {
'aws-sdk': {modul... |
function calcularPrecioConDescuento(precio, descuento) {
const porcentajePrecioConDescuento = descuento * 0.01;
const precioConDescuento = precio - precio * porcentajePrecioConDescuento;
return precioConDescuento;
}
const cupon = ["Todo2020", "ConToda", "Prime"];
function PriceDiscount() {
const inputPrice = do... |
const initialState = {
people: {
map: {},
all: null,
},
query: "",
};
// change the reducer so it produces state values
// corresponding to the initial state structure
// people.map is a plain javascript object used
// as key/value dict where key is the person id
// people.all should just contain the p... |
import { all, spread } from 'axios';
import tropicalIsos from 'data/tropical-isos.json';
import {
getExtentGrouped,
fetchGladAlerts,
fetchGLADLatest
} from 'services/analysis-cached';
import getWidgetProps from './selectors';
export default {
widget: 'gladRanked',
title: 'Location of deforestation Alerts i... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M11 15h2v-3h3v-2h-3V7h-2v3H8v2h3z" /><path d="M21 3H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5a2 2 0 0 0-2-2zm0 14H3V5h18v... |
/*
Highcharts JS v4.2.4 (2016-04-14)
3D features for Highcharts JS
@license: www.highcharts.com/license
*/
(function(d){typeof module==="object"&&module.exports?module.exports=d:d(Highcharts)})(function(d){function o(c,b,a){var e,f,g=b.options.chart.options3d,d=!1,j=b.scale3d||1;a?(d=b.inverted,a=b.plotWidth/2,b=b... |
const functions = require("firebase-functions");
const { Nuxt } = require('nuxt')
const nuxtConfig = require("./nuxt.config.js");
const config = {
...nuxtConfig,
dev: false,
debug: false,
buildDir: ".nuxt",
publicPath: "public"
};
const nuxt = new Nuxt(config);
let isReady = false;
async functio... |
"use strict";
var connect = require("../connect");
/**
* when the publisher post directly on queue, it post via the default exchange
* (with the routing key equal to the queue name)
*/
(async function () {
try {
var connection = await connect;
var channel = await connection.createChannel();
... |
var app = require('app'); // Module to control application life.
var BrowserWindow = require('browser-window'); // Module to create native browser window.
// Report crashes to our server.
require('crash-reporter').start();
// Keep a global reference of the window object, if you don't, the window will
// be closed a... |
function SvgSettingsRemoteOutlined(props) {
return (
<svg
xmlns='http://www.w3.org/2000/svg'
height='1em'
viewBox='0 0 24 24'
width='1em'
className='svg-icon'
{...props}>
<path d='M0 0h24v24H0V0z' fill='none' />
<path d='M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.4... |
/**
* Do not edit directly
* Generated on Fri, 12 Feb 2021 20:11:57 GMT
*/
export const Black = "#000000"; // Dark color
export const DarkBlue = "#1c20a6";
export const Transparent = "#ffffff";
export const SkyBlue = "#2a49ff";
export const MidnightBlue = "#1f2e48";
export const LightGray = "#f4f7f8";
export const ... |
import { createSelector } from 'reselect'
// ------------------------------------
// Initial State
// ------------------------------------
const initialState = {
filterPulldown: false,
filter: { key: 'ALL_ACTIVITY', name: 'All Activity' },
filters: [
{ key: 'ALL_ACTIVITY', name: 'All' },
{ key: 'SENT_ACT... |
function showHide(objname, thiz)
{
//只对主菜单设置cookie
var obj = document.getElementById(objname);
//正常设置cookie
var ckstr = getCookie('menuitems');
var ckstrs = null;
var okstr ='';
var ischange = false;
if(ckstr==null) ckstr = '';
ckstrs = ckstr.split(',');
objname = objname.replace('items','');
if(obj.style.... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
const users = require('./users/users.service.js');
const mailer = require('./mailer/mailer.service.js');
const authmanagement = require('./authmanagement/authmanagement.service.js');
const assignments = require('./assignments/assignments.service.js');
const courses = require('./courses/courses.service.js');
const words... |
import React, { useState } from 'react';
import './App.scss';
import CreateItem from './components/CreateItem';
import ItemList from './components/ItemList';
import Template from './components/Template';
import Title from './components/Title';
function App() {
const [itemList,setItemList] = useState([]
);
const... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = formatNationalNumberUsingFormat;
exports.FIRST_GROUP_PATTERN = void 0;
var _applyInternationalSeparatorStyle = _interopRequireDefault(require("./applyInternationalSeparatorStyle"));
function _interopRequireDefault(obj... |
Search.setIndex({docnames:["indexidioms"],envversion:52,filenames:["indexidioms.rst"],objects:{},objnames:{},objtypes:{},terms:{index:0,modul:0,page:0,search:0},titles:["Welcome to idiomsdoc\u2019s documentation!"],titleterms:{document:0,idiomsdoc:0,indic:0,tabl:0,welcom:0}}) |
import React from "react";
import PropTypes from "prop-types";
import Figure from "react-bootstrap/Figure";
const Image = ({ imagePath, title, role }) => {
return (
<div>
<Figure>
<Figure.Image
width={180}
height={180}
alt="171x180"
src={imagePath}
className="rounded"
/>
<Fig... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
// var GetPointsOnLine = require('../geom/line/GetPointsOnLine');
var BresenhamPoints = require('../geom/line/Bresenha... |
var url = require('url'),
uuid = require('uuid').v4,
WSS = require('ws').Server;
function Location (nodeUrl) {
parsedUrl = url.parse(nodeUrl);
return {
protocol : parsedUrl.protocol,
hash : parsedUrl.hash || '',
search : parsedUrl.search || '',
pathname : parsedUrl.pathname,
port_ : p... |
/* Import all you external cdn here and refer this third party file to the page
Please note the order of arrangement plays an important role
*/
/**********************************Jquery CDN ********************************************************/
document.write(
`<script src="https://code.jquery.com/jquery-3.4.1.... |
/**
* @typedef {import("@typings/index").ApiRequest} ApiRequest
* @typedef {import("@typings/arc").SpotifySession} SpotifySession
*/
const { http } = require("@architect/functions");
const { init, refresh } = require("./session");
/** @type {ApiRequest} */
const auth = async (req) => {
if (req.query.code) {
... |
// ==========================================================================
// Project: SC.Statechart - A Statechart Framework for SproutCore
// Copyright: ©2010, 2011 Michael Cohen, and contributors.
// Portions @2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.... |
/*!
* Module dependencies.
*/
'use strict';
const Readable = require('stream').Readable;
const eachAsync = require('../helpers/cursor/eachAsync');
const helpers = require('../queryhelpers');
const util = require('util');
const utils = require('../utils');
/**
* A QueryCursor is a concurrency primitive for process... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'no',
{
placeholder :
{
title : 'Egenskaper for plassholder',
toolbar : 'Opprett plassholder',
text : 'Tekst for plasshol... |
import Button from './Button';
import useInput from '../hooks/use-input';
import { isValidEmail, isValidPassword, isEmpty } from '../utils/formValidationRules';
import { useState } from 'react';
const LoginForm = (props) => {
const [isSubmitClicked, setIsSubmitClicked] = useState(false);
const {
val... |
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { Image, Platform, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
import logo from './assets/logo.png';
import * as ImagePicker from 'expo-image-picker';
import * as Sharing from 'expo-sharing';
import uploadToAnonymousFile... |
//! dna.js v1.6.4 ~~ dnajs.org ~~ MIT License
const dna = {
version: '1.6.4',
// API:
// dna.clone()
// dna.cloneSub()
// dna.createTemplate()
// dna.getModel()
// dna.empty()
// dna.insert()
// dna.refresh()
// dna.refreshAll()
// dna.updateField()
// ... |
import React from "react"
import { graphql, Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
import Posts from "../components/posts"
import {FaTags} from 'react-icons/fa'
class BlogIndex extends React.Component {
render() {
const { data } = this.props
cons... |
const AbstractRouter = require('../../lib/router/abstract-router');
const idParamValidators = require('../../lib/validators/id-param-validators');
const DepartmentAPI = require('./department-api');
const budgetRouter = require('../budget/budget-router');
const budgetTransactionRouter = require('../budget-transaction/b... |
/**
* @license
* Copyright (c) 2014, 2021, Oracle and/or its affiliates.
* Licensed under The Universal Permissive License (UPL), Version 1.0
* as shown at https://oss.oracle.com/licenses/upl/
* @ignore
*/
define(["ojs/ojlogger","ojs/ojmodule-element-utils","ojs/ojmoduleanimations","knockout"],function(e,t,n,i){"... |
/**
* yii2-dynamic-form
*
* A jQuery plugin to clone form elements in a nested manner, maintaining accessibility.
*
* @author Wanderson Bragança <wanderson.wbc@gmail.com>
*/
(function ($) {
var pluginName = 'yiiDynamicForm';
var regexID = /^(.+?)([-\d-]{1,})(.+)$/i;
var regexName = /(^.+?)([\[\d{1,}... |
import React from 'react'
import PropTypes from 'prop-types'
import { withStyles } from '@material-ui/core/styles'
import Typography from '@material-ui/core/Typography'
import Button from '@material-ui/core/Button'
import Container from '@material-ui/core/Container'
import Grid from '@material-ui/core/Grid'
import styl... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import * as ReactDOM from 'react-dom';
import debounce from '../utils/debounce';
import { Tr... |
var bootState = {
create: function () {
// do settings
game.stage.backgroundColor = colors.normalBG;
game.scale.scaleMode = Phaser.ScaleManager.RESIZE;
game.scale.fullScreenScaleMode = Phaser.ScaleManager.RESIZE;
stageMask = new PIXI.Graphics();
stageMask.beginFill... |
App.Servers = DS.Model.extend({
acenteraid: DS.attr('string'),
name: DS.attr('string'),
ipAddress: DS.attr('string'),
image_name: DS.attr('string'),
status: DS.attr('string'),
size: DS.attr(),
region_name: DS.attr('string')
/*diskspacefreeratio: DS.attr('number'),
cpuload: DS.attr('n... |
const swapi = require('../apis/swapi');
const util = require('../helpers/util');
const wrapper = require('../helpers/wrapper');
/**
* controller for all films route
* @return {Promise}
*/
const filmList = async () => {
const swapiResponse = await swapi.films();
const filmList = [];
swapiResponse.forEach(respo... |
/**
* @license Highstock JS v8.1.0 (2020-05-05)
*
* Indicator series type for Highstock
*
* (c) 2010-2019 Paweł Fus
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports ... |
import*as Common from'../common/common.js';import{DataGridNode}from'./DataGrid.js';export class ShowMoreDataGridNode extends DataGridNode{constructor(callback,startPosition,endPosition,chunkSize){super({summaryRow:true},false);this._callback=callback;this._startPosition=startPosition;this._endPosition=endPosition;this.... |
/*! Built with http://stenciljs.com */ |
const fs = require('fs');
const path = require('path');
const plugin = require('../plugin.js');
const cssPath = path.resolve(__dirname, 'stubs', 'style.css');
const minCssPath = path.resolve(__dirname, 'stubs', 'style.min.css');
const cssContent = fs.readFileSync(cssPath, 'utf8');
const minCssContent = fs.readFileSync... |
import BaseSerializer from '../BaseSerializer';
import TextureSerializer from './TextureSerializer';
/**
* VideoTextureSerializer
* @author tengge / https://github.com/tengge1
*/
function VideoTextureSerializer() {
BaseSerializer.call(this);
}
VideoTextureSerializer.prototype = Object.create(BaseSerializer.pro... |
/* eslint-disable import/no-webpack-loader-syntax, import/no-unresolved, import/extensions */
import 'babel-polyfill';
import 'script-loader!moment/min/moment-with-locales.min.js';
import 'script-loader!jquery/dist/jquery.min.js';
import 'script-loader!es6-shim/es6-shim.min.js';
import 'script-loader!components-jqueryu... |
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { getArticleThunk } from '../store'
import ParsedArticle from './parsed-article'
// import history
class ArticleView extends Component {
constructor() {
super()
this.state = { parsedArray: [] }
this.bbCodeParser = thi... |
import { _ } from 'meteor/underscore';
import { Meteor } from 'meteor/meteor';
import { check, Match } from 'meteor/check';
import { dbFoundations } from '/db/dbFoundations';
import { checkImageUrl } from '/server/imports/utils/checkImageUrl';
import { limitMethod } from '/server/imports/utils/rateLimit';
import { deb... |
/* @flow */
export default class VNode {
tag: string | void;
data: VNodeData | void;
children: ?Array<VNode>;
text: string | void;
elm: Node | void;
ns: string | void;
context: Component | void;
key: string | number | void;
componentOptions: VNodeComponentOptions | void;... |
var types = ['default', 'primary', 'warn']
var pageObject = {
data: {
defaultSize: 'default',
primarySize: 'default',
warnSize: 'default',
disabled: false,
plain: false,
loading: false,
items: [
{name: 'USA', value: '美国'},
{name: 'CHN', value: '中国', checked: 'true'},
{nam... |
import Q from 'q'
import editDistance from 'js-levenshtein'
const lookup = {
Essay: 'essay_question',
FileUpload: 'file_upload_question',
MultipleAnswers: 'multiple_answers_question',
FillInMultipleBlanks: 'fill_in_multiple_blanks_question',
MultipleChoice: 'multiple_choice_question',
MultipleD... |
/*!
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/
A.exports=function(){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
P... |
/*!
* vue-carousel v0.14.0
* (c) 2018 todd.beauchamp@ssense.com
* https://github.com/ssense/vue-carousel#readme
*/
"!=" |
import React from 'react';
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
import {Container, TabsContainer, TabItem, TabText} from './styles';
export default function Tabs({translateY}) {
return (
<Container
style={{
transform: [
{
tra... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function applyMixins(derivedCtor, baseCtors) {
baseCtors.forEach(function (baseCtor) {
Object.getOwnPropertyNames(baseCtor.prototype).forEach(function (name) {
derivedCtor.prototype[name] = baseCtor.prototype[name];
... |
var fs = Npm.require('fs');
semanticUiDataPackage = {};
semanticUiDataPackage.getTextFile = function (filePath) {
return Assets.getText(filePath);
};
semanticUiDataPackage.getBinaryFile = function (filePath) {
return Assets.getBinary(filePath);
}; |
import { createContext, useContext } from 'react'
export const AuthContext = createContext()
export function useAuthContext() {
return useContext(AuthContext)
} |
var NAVTREEINDEX15 =
{
"arm__compute_2core_2_utils_8h.xhtml#afa7962c747457714d0944af80cb07058":[6,0,0,0,41,3],
"arm__compute_2core_2_utils_8h.xhtml#afab149f8d8b0f6405303ee8056fa77d3":[6,0,0,0,41,6],
"arm__compute_2core_2_utils_8h.xhtml#afb5698af5404d5d11e3516c87b6e7041":[6,0,0,0,41,44],
"arm__compute_2core_2_utils_8h_s... |
$axure.loadCurrentPage(
(function() {
var _ = function() { var r={},a=arguments; for(var i=0; i<a.length; i+=2) r[a[i]]=a[i+1]; return r; }
return _creator();
})()); |
'use strict'
const path = require('path')
const defaultSettings = require('./src/settings.js')
function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || 'vue Element Admin' // page title
// If your port is set to 80,
// use administrator privileges to execute the command line... |
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import React, { Component, PropTypes } from 'react';
import Button from 'qnui/lib/button';
import 'qnui/lib/grid/index.css';
import { Row, Col } from 'qnui/lib/grid';
import './../CfSetting/cf.css';
import Select, {Option} from 'qnui/lib... |
/** @jsx h */
import { Transforms } from '../../../src'
export default editor => Transforms.decreaseSectionDepth(editor)
export const input = <editor>
<section>
<title>Test</title>
<p><cursor/>Paragraph</p>
</section>
</editor>
export const output = <editor>
<section>
<title>Test... |
;(function($, window, document, undefined){
// our plugin constructor
var OnePageNav = function(elem, options){
this.elem = elem;
this.$elem = $(elem);
this.options = options;
this.metadata = this.$elem.data('plugin-options');
this.$win = $(window);
this.sections = {};
this.didScroll = false;
this.$d... |
let likesTally = 0
const button = document.getElementById('button')
const username = document.getElementById('username')
const div1 = document.getElementById('div1')
const div2 = document.getElementById('div2')
const images= []
const likeButton = document.getElementsByClassName('likebutton')
const likesDiv = documen... |
import React from 'react';
import {Grid, Row, Col, Accordion, Panel, ListGroup, ListGroupItem, Button,Table} from 'react-bootstrap';
import axios from 'axios';
class ReagentDatasets extends React.Component {
constructor(props){
super(props)
this.state = {
datasets:[],
to... |
import React, { useContext } from 'react';
import curry from 'lodash/curry';
import isEmpty from 'lodash/isEmpty';
import PluginContext from './PluginContext';
/** withPlugins should be the innermost HOC */
function _withPlugins(targetName, TargetComponent) { // eslint-disable-line no-underscore-dangle
/** */
fun... |
/**
* EasyBimehLandingLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
'use strict';
const BaseModel = require('./BaseModel');
/**
* Creates an instance of LiabilityDoctorInsurancePolicyFilter
*/
class LiabilityDoctorInsurancePolicyFilter extends BaseModel {
/**
... |
import { isDefined } from '../common/predicates';
import { noop } from '../common/common';
/** A `LocationConfig` mock that gets/sets all config from an in-memory object */
var MemoryLocationConfig = /** @class */ (function () {
function MemoryLocationConfig() {
var _this = this;
this.dispose = noop... |
/* global echarts, EChartsJenkinsApi */
/**
* Renders a trend chart in the specified div using ECharts.
*
* @param {String} chartDivId - the ID of the div where the chart should be shown in
* @param {String} enableLinks - determines if the chart is clickable. If the chart is clickable, then clicking on a
* cha... |
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs";
var STRING, M, A = function() {
"use strict";
function A() {
_class_call_check(this, A);
}
return A.foo = function() {
return "";
}, A;
}();
!function(M) {
var n;
M.n = n;
}(M || (M = {}));
var objA = new... |
'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var TaskSchema = new Schema({
name: {
type: String,
Required: 'Kindly enter the name of the task'
},
Created_date: {
type: Date,
default: Date.now
},
status: {
type: [{
type: String,
enum: ['pendi... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReferenceEvent = void 0;
const events = require("@aws-cdk/aws-events");
/**
* Fields of CloudWatch Events that change references.
*
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html#codebuild_event_ty... |
import { css } from 'lit-element';
export const BsCardOverlayCss = css`
:host {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 1.25rem;
}
`; |
var http = require('http'),
path = require('path'),
methods = require('methods'),
express = require('express'),
bodyParser = require('body-parser'),
session = require('express-session'),
cors = require('cors'),
passport = require('passport'),
errorhandler = require('errorhandler'),
m... |
let collectionsWithAbundace = 0;
let oldLat = location_site_lat;
let oldLon = location_site_long;
let taxonAbundanceOnChange = function (e) {
let value = parseInt(e.target.value);
if (value) {
if (value > 0) {
$(e.target).parent().parent().find('.observed').prop('checked', true);
... |
/**
* @fileoverview Rule to ensure newline per method call when chaining calls
* @author Rajendra Patil
* @author Burak Yigit Kaya
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//----------------------------------------------------------------... |
/**
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { StructureElement, StructureProperties as P } from '../../structure';
import { Segmentation } from '../../../../mol-data/int';
import { CifWriter } from '../..... |
import React, { Component, PropTypes } from "react";
import {
View,
Image,
Text,
StyleSheet,
Platform,
} from "react-native";
import defaultIcons from "./Icons";
import FlipCard from "react-native-flip-card";
const BASE_SIZE = { width: 300, height: 190 };
const s = StyleSheet.create({
cardContainer: {},
... |
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [['module:react-native-dotenv']],
}; |
/* eslint-disable camelcase */
/* eslint-disable no-unused-vars */
const configs = require('configs/index');
const constant = require('common/constant');
const guestODM = require('db/odm/guest.odm');
const userODM = require('db/odm/user.odm');
const eventODM = require('db/odm/event.odm');
const { Types } = require('mon... |
var searchData=
[
['b',['B',['../d4/d7e/structpu_1_1draw_1_1_color.html#a36e86ed99d9cfa21d268584ab0b7d76e',1,'pu::draw::Color']]],
['bgcolor',['bgcolor',['../d7/d15/classpu_1_1_application.html#a05b8e05da76b76cf74337185e0fd3c65',1,'pu::Application']]],
['bgimage',['bgimage',['../d7/d15/classpu_1_1_application.htm... |
'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { ExchangeError, ExchangeNotAvailable, OnMaintenance, ArgumentsRequired, BadRequest, AccountSuspended, InvalidAddress, PermissionDenied, InsufficientFunds, InvalidNonce, In... |
// Copyright 2008 The Closure Library Authors. 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.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
import {Controller} from "jsnes";
// Mapping keyboard code to [controller, button]
const KEYS = {
1: {
"A": [Controller.BUTTON_A, "A"],
"B": [Controller.BUTTON_B, "B"],
"X": [Controller.BUTTON_A, "A"],
"Y": [Controller.BUTTON_B, "B"],
"SELECT": [Controller.BUTTON_SELECT, "SE... |
'use strict';
var spec = {
name: 'P2P',
message: 'Internal Error on zclassic-bitcore-p2p Module {0}'
};
module.exports = require('zclassic-bitcore-lib').errors.extend(spec); |
import React from 'react';
import moment from 'moment';
import { Link } from 'react-scroll';
import github from '../images/GitHub.png';
import email from '../images/Email.svg';
import linkedin from '../images/Linkedin.svg';
const Footer = (props) => {
return (
<div className="footer blue">
<h5 className="h... |
//# sourceMappingURL=chunk-ae0e9a4a.433282c5.js.map |
import React from 'react';
import { Link, useStaticQuery, graphql } from 'gatsby';
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import Navegacion from './Navegacion';
const ListadoRedes = styled.ul`
background-repeat: no-repeat;
padding: 3rem 0 0 0;
`;
const Footer = () => {
con... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
var Icon = require('../../Icon-1083255b.js');
var React = requ... |
define(["exports","./lib/mixins/element-mixin.js","./lib/utils/html-tag.js"],function(_exports,_elementMixin,_htmlTag){Object.defineProperty(_exports,"__esModule",{value:!0}),Object.defineProperty(_exports,"version",{enumerable:!0,get:function(){return _elementMixin.version}}),Object.defineProperty(_exports,"html",{enu... |
angular.module('ejemplo3',[])
.controller('Controller',['$scope',function ($scope) {
$scope.customer={
name:'Ricardo',
address:'Sopocachi'
};
}])
.directive('myCustomer',function () {
return {
template:function (elem,attr){
if(attr.type=='name'){
return 'n... |
define([
'underscore',
'./base/bookmark-component',
'../views/bookmark-button-view',
'oroui/js/app/views/base/collection-view',
'../views/bookmark-item-view'
], function(_, BaseBookmarkComponent, ButtonView, CollectionView, ItemView) {
'use strict';
var FavoriteComponent;
FavoriteCompo... |
/// <reference types="cypress" />
import loc from '../../support/locators'
import '../../support/commandsContas'
import buildEnv from '../../support/buildEnv'
describe('Testes frontend',()=>{
after(()=>{
cy.clearLocalStorage()
})
beforeEach(()=>{
buildEnv()
cy.login('luiz@moura.c... |
import actions from './actions';
import mutations from './mutations';
import weeklyCalendarHelper from "weekly-calendar-helper"
const now = weeklyCalendarHelper.baseHelper.getUtcNow();
const state = {
links: [],
filter: {
categories: [],
tags: [],
users: [],
weeks: [],
years: []
},
selected: {
category... |
// source: google/ads/googleads/v3/enums/bidding_source.proto
/**
* @fileoverview
* @enhanceable
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
var jspb = require('googl... |
import React, { Component } from 'react';
import api from '../utils/api';
import UserContext from './user-context';
class GlobalState extends Component {
state = {
user: {}
};
async componentDidMount() {
await this.getUser();
this.timer = setInterval(() => this.getUser(), 2 * 60 * 1000);
}
getU... |
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export default new Vuex.Store({
state: {
messages: [],
selectedConversation: null,
conversations: [],
search: '',
user: null,
},
mutations: {
setUser(state, user) {
state.user = user;
},
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
import * as _ from 'underscore';
import PromiseRejectionError from '@/lib/promise-rejection-error';
import { durationHumanize } from '@/filters';
import template from './dashboard.html';
import shareDashboardTemplate from './share-dashboard.html';
import './dashboard.less';
function isWidgetPositionChanged(oldPosition... |
import reducer from "../../src/reducers/BeaconsReducer";
import { BeaconActionTypes, ApiActionTypes } from "../../src/actions/actionsTypes";
describe("Beacons reducer", ()=>{
test("should handle beacons changes", ()=> {
// Given
const beacons = [{
uuid: "8de6b7d6-c74f-4646-a733-66528786... |
define({
"_widgetLabel": "Truy tìm Mạng",
"configError": "Tiện ích không được cấu hình đúng.",
"geometryServiceURLNotFoundMSG": "Không thể nhận URL Dịch vụ hình học",
"clearButtonValue": "Xóa",
"GPExecutionFailed": "Không thể hoàn thành truy tìm. Vui lòng thử lại.",
"backButtonValue": "Quay lại",
"exportT... |
const {createCanvas, canvasToImg, dpr} = require('./lib/dom');
const defaults = require('./lib/defaults');
const qrcode = require('./lib/qrcode');
const draw = require('./lib/draw');
module.exports = options => {
const settings = Object.assign({}, defaults, options);
const qr = qrcode(settings.text, settings.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.