text stringlengths 2 1.04M |
|---|
import React, { useEffect, useRef } from 'react';
import { arrayOf, bool, func, number, oneOfType, string } from 'prop-types';
import { logger, useStateWithLabel } from '../../utils';
import PlayersSection from '../Sections/PlayersSection';
import ZombiesSection from '../Sections/ZombiesSection';
import {
GAME_TIME,
... |
import React from "react"
import PropTypes from "prop-types"
import InfoGroup from "../components/info-group";
import Img from "gatsby-image";
const StoreCard = ({store}) => (
<div
className="max-w-sm rounded shadow-lg bg-white w-full"
key={store.id}
>
<div className="px-6 py-4">
<he... |
/*
* @namespace LineUtil
*
* Various utility functions for polyine points processing, used by Leaflet internally to make polylines lightning-fast.
*/
L.LineUtil = {
// Simplify polyline with vertex reduction and Douglas-Peucker simplification.
// Improves rendering performance dramatically by lessening the numb... |
import { FORBIDDEN, OK } from 'http-status-codes'
import joi from 'joi'
import resource from 'rest/resource'
import cacheSettingService from 'services/cache-setting'
import authorize from 'middlewares/authorize'
import config from 'infrastructure/config'
const SCHEMA = joi.object().keys({
ttl: joi.number().min(0).r... |
import cache from '../code/cache.js';
const apply = {
namespaced: true,
state: {
is_login: false,
menus: [],
userInfo: {},
token: '',
roles: '',
showLoginModel: false
},
mutations: {
login(state, provider) {
if (provider) {
console.log('获取用户信息', provider);
stat... |
"use strict";
var _utils = _interopRequireWildcard(require("./utils"));
var _placeholders = require("./placeholders");
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
function _... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { ... |
/**
* https://www.pdftron.com/api/web/CoreControls.DocumentViewer.html#zoomToMouse__anchor
* @fires fitModeUpdated on DocumentViewer
* @see https://www.pdftron.com/api/web/CoreControls.DocumentViewer.html#event:fitModeUpdated__anchor
* @fires zoomUpdated on DocumentViewer
* @see https://www.pdftron.com/api/web/Cor... |
import assert from 'node:assert';
import { ReviewAnalyzer } from '../../lib/reviews.js';
import {
allGreenReviewers,
requestedChangesReviewers,
approvingReviews,
requestingChangesReviews,
commentsWithLGTM,
collaborators
} from '../fixtures/data.js';
describe('ReviewAnalyzer', () => {
it('should parse r... |
/**
* Created by PanJiaChen on 16/11/18.
*/
/**
* @param {string} path
* @returns {Boolean}
*/
export function isExternal(path) {
return /^(https?:|mailto:|tel:)/.test(path)
}
/**
* @param {string} str
* @returns {Boolean}
*/
export function validUsername(str) {
// const reg = /^(?=.*[A-Za-z])(?=.*\d)[^]{... |
import React, { Component } from 'react';
import {getItemList} from '../../redux/actions/'
import {connect} from 'react-redux'
class Posts extends Component {
state = {
reducer: 'POSTS',
}
componentDidMount(){
this.props.getItemList(this.state.reducer)
}
render() {
cons... |
//condicionais if - else
//menores de 18 --> Menor de idade (meia)
//Entre 18 e 60 anos -> Adulto(meia apenas com caaarteirinha)
//maiores de 60 anos - > idoso(meia)
const idade = 35;
const temCarteirinha = false;
if(idade<18){
//menor de idade
console.log("MEIA")
}else if(idade<=60){
if(temCarteirinha==tru... |
import React, { Component } from 'react';
import SearchBar from '../containers/search-bar';
import WeatherList from '../containers/weather-list'
export default class App extends Component {
render() {
return (
<div>
<SearchBar />
<WeatherList />
</div>
);
}
} |
/**
* get app configuration
* cli arguments take priority, then comes .env file, then default values.
*/
const _ = require('lodash');
const env = require('dotenv').config();
const commandLineArgs = require('command-line-args');
const cliOptions = [
{ name: 'port', alias: 'p', type: Number },
{ name: 'API_V1', a... |
/**
* @license Highcharts JS v6.2.0 (2018-10-17)
* Sankey diagram module
*
* (c) 2010-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else if (typeof define === 'function' && de... |
/**
* Combine all reducers in this file and export the combined reducers.
*/
import { combineReducers } from 'redux-immutable';
import { fromJS } from 'immutable';
import { LOCATION_CHANGE } from 'react-router-redux';
import { reducer as formReducer } from 'redux-form/immutable';
import languageProviderReducer from... |
/*
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( 'list', 'ka', {
bulletedlist: 'ღილიანი სია',
numberedlist: 'გადანომრილი სია'
} ); |
//# sourceMappingURL=3.8c1e462a.chunk.js.map |
(function () {
'use strict';
describe('Schoolevents List Controller Tests', function () {
// Initialize global variables
var SchooleventsListController,
$scope,
$httpBackend,
$state,
Authentication,
SchooleventsService,
mockSchoolevent;
// The $resource service augm... |
$(document).ready(function(){
oTable=$('#datatables').dataTable({
"ajax":{
"url":baseurl+"getdatatables",
"dataType": "json"
},
"sServerMethod": "POST",
"bServerSide": true,
"bAutoWidth": false,
"b... |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import './assets/css/reset.css'
import './assets/css/font.css'
import './assets/css/global.css'
import App from './App'
import router from './router'
Vue.con... |
/*!
=========================================================
* NextJS Material Kit v1.0.0 based on Material Kit Free - v2.0.2 (Bootstrap 4.0.0 Final Edition) and Material Kit React v1.8.0
=========================================================
* Product Page: https://www.creative-tim.com/product/nextjs-material-ki... |
global.WebSocket = require('ws')
const given = require('../../steps/given')
const when = require('../../steps/when')
const gql = require('graphql-tag')
const retry = require('async-retry')
const chance = require('chance').Chance()
const { AWSAppSyncClient, AUTH_TYPE } = require('aws-appsync')
require('isomorphic-fetch'... |
/*
* 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 fs = require('fs')
const caminho = __dirname + '/arquivo.json'
// sincrono
const conteudo = fs.readFileSync(caminho, 'utf-8')
console.log(conteudo)
// assincrono...
fs.readFile(caminho, 'utf-8', (err, conteudo) => {
const config = JSON.parse(conteudo)
console.log(`${config.db.host}:${config.db.port}`)
... |
var baseUrl = getBaseUrl();
var monsterPromise = getMonster();
var monster = [];
var currentHP = 0;
// this will either be on the Query String, or we will default to the monster type
var monsterName = "";
$(document).ready(function() {
monsterPromise.done(function(data) {
monster = data;
displa... |
console.log('load _tone_0810_Aspirin_sf2_file');
var _tone_0810_Aspirin_sf2_file={
zones:[
{
midi:81
,originalPitch:6000
,keyRangeLow:0
,keyRangeHigh:62
,loopStart:15
,loopEnd:416
,coarseTune:15
,fineTune:0
,sampleRate:44100
,ahdsr:false
,file:'SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3Ljc... |
const str = {
"connectionString": "mongodb+srv://interview:welcome2byteridge@byteridge-hdrl6.mongodb.net/interviewGaurav",
"secret": "JBJYBJ23jkj232kALKMLAK"
}
module.exports = str; |
/// <reference path="../../../node_modules/phaser/types/phaser.d.ts" />
import Phaser from "phaser";
import Bullet from "../bullet";
export default class BaseGun extends Phaser.GameObjects.Sprite {
constructor(
scene,
owner,
bullet_speed,
bullet_life,
max_bullets,
gun_texture,
gun_frame,
... |
describe('$mdCompiler service', function() {
beforeEach(module('material.core'));
function compile(options) {
var compileData;
inject(function($mdCompiler, $rootScope) {
$mdCompiler.compile(options).then(function(data) {
compileData = data;
});
$rootScope.$apply();
});
ret... |
// @ts-check
// TODO Remove babel-standalone preinitialization
// https://github.com/endojs/endo/issues/768
// eslint-disable-next-line import/no-extraneous-dependencies
import '@agoric/babel-standalone';
// eslint-disable-next-line import/no-extraneous-dependencies
import '@agoric/install-ses';
// eslint-disable-next... |
// All rights and credits goes to David's TV Studio for helping me revive the starters feature.
const loadPost = require("../misc/post_body");
const header = process.env.XML_HEADER;
const fUtil = require("../misc/file");
const nodezip = require("node-zip");
const base = Buffer.alloc(1, 0);
const asset = require("./main... |
/**
* @module gmf.backgroundlayerselector.component
*/
import gmfThemeThemes from 'gmf/theme/Themes.js';
import ngeoMapBackgroundLayerMgr from 'ngeo/map/BackgroundLayerMgr.js';
import * as olEvents from 'ol/events.js';
/**
* @type {!angular.Module}
*/
const exports = angular.module('gmfBackgroundlayerselector', [
... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function () {
var guardElements = { table: 1, ul: 1, ol: 1, blockquote: 1, div: 1 },
directSelectionGuardElements = {},
// All guard elements which can h... |
const Manager = require("../lib/Manager");
const Employee = require("../lib/Employee");
test("Can set office number via constructor argument", () => {
const testValue = 100;
const e = new Manager("Foo", 1, "test@test.com", testValue);
expect(e.officeNumber).toBe(testValue);
});
test('getRole() should return "Ma... |
// import { arrayBufferToBlob } from 'blob-util';
import {
loadLocalImageToImageData,
blobURLFromImageFile,
dataURLtoBlobURL,
getBlobURL
} from '@/util/image.js';
import { getFileName, getExtension } from '@/util/path.js';
import { blobUrlToBuffer, /*saveFile,*/ fetchBlob, loadTextFile } from '@/util/file.js';
impo... |
/*
@ @licstart The following is the entire license notice for the
JavaScript code in this file.
Copyright (C) 1997-2017 by Dimitri van Heesch
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
import { DOn, MetadataStorage } from "../../index.js";
export function On(event, options) {
return function (target, key, descriptor) {
const myClass = target;
const on = DOn.create(event, false, options?.botIds).decorate(myClass.constructor, key, descriptor?.value);
MetadataStorage.instance... |
import * as tslib_1 from "tslib";
import React, { useRef, useCallback } from 'react';
import { durationBase } from '@shopify/polaris-tokens';
import { Transition, CSSTransition } from '@material-ui/react-transition-group';
import { classNames } from '../../../../utilities/css';
import { Key } from '../../../../types';
... |
import React, { Component } from 'react';
import { Container, Col, Row, Button, Table } from 'react-bootstrap';
import UserItem from './UserItem';
import { connect } from 'react-redux';
import { getUser } from '../redux/actions/user';
import UserAdd from './UserAdd';
import UserDelete from './UserDelete';
import UserEd... |
// @flow
import { getFieldErrors } from '../../../steplist/fieldLevel'
import {
getDisabledFields,
getDefaultsForStepType,
} from '../../../steplist/formLevel'
import {
getFieldDefaultTooltip,
getSingleSelectDisabledTooltip,
} from '../utils'
import type { StepFieldName, FormData } from '../../../form-types'
im... |
// Filename: router.js
define([
'jquery',
'underscore',
'backbone',
//'mvc/admin/views/login/adminLogin',
//'mvc/admin/views/adminHome',
'mvc/user/views/login/login',
'mvc/user/views/profile/registerUser',
'mvc/user/views/homePage',
], function($, _, Backbone, loginView, registerView, homePageView) {
var ... |
import React from 'react'
const Resource = (props) => (
<div className="card">
<div className="card-block">
<p className="card-title">{props.resource.name}</p>
<a href={"/calendar/" + props.resource.id} onClick={props.load} className="btn btn-primary">See</a>
</div>
</div>
)
export default Res... |
const { get } = require('../requests');
/**
* getDocumentQCInboxForSectionInteractor
*
* @param {object} applicationContext the application context
* @param {object} providers the providers object
* @param {string} providers.section the section to get the document qc
* @returns {Promise<*>} the promise of the ap... |
import React from 'react';
import classNames from 'classnames';
import { Link } from 'react-router-dom';
import Image from '../../elements/Image';
import '../../../assets/scss/landingPage.scoped.scss';
// import logo from '../../../assets/images/logo.svg'
import logo from '../../../assets/images/react.png'
const Logo... |
import fetch from "node-fetch";
globalThis.fetch = fetch
import https from "https";
globalThis.https = https
import http from "http";
globalThis.http = http
import fs from "fs";
globalThis.fs = fs
import path, { parse } from "path";
globalThis.path = path
import child from 'child_process';
globalThis.child = child... |
import { connect } from 'react-redux';
import { sendSuccessNotification } from '@components/Notifications/state/actions';
import { InternalLocationForm as InternalLocationFormComponent } from './InternalLocationForm';
const mapDispatchToProps = dispatch => ({
sendSuccessNotification: (title, content) =>
dispatch... |
weForms.routeComponents.Tools = {
template: '#tmpl-wpuf-tools',
mixins: [weForms.mixins.Tabs, weForms.mixins.Loading],
data: function() {
return {
activeTab: 'export',
exportType: 'all',
loading: false,
forms: [],
importButton: 'Import',
... |
export async function getStaticPaths() {
const paths = await axios
.get(`http://localhost:5000/api/dpost/dpostids`)
.then(function (response) {
return response.data;
});
return {
paths,
fallback: false,
};
} |
const express = require("express")
const app = express();
const { inviteURL, supportServer } = require("./config.json")
app.get("/", async (req, res) => {
res.status(200).sendFile("/home/runner/website-1/website/html/home.html") //put the path to home.html here or it wont work - That is my path because i used repl.i... |
import * as React from "react";
import { withStyles } from "@material-ui/core/styles";
import AgendaView from "../Common/AgendaView";
import normalize from "json-api-normalizer";
import SideBar from "../Common/SideBar";
const styles = () => ({
root: {
display: "flex",
flexDirection: "row",
width: "100%",... |
var dir_bf12a3ef41f8dce5003b752f18c98f08 =
[
[ "onosproject", "dir_3e94d3bc9f967e53062dcc2e88fc28ac.html", "dir_3e94d3bc9f967e53062dcc2e88fc28ac" ]
]; |
/*! X-editable - v1.5.3
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
* http://github.com/vitalets/x-editable
* Copyright (c) 2015 - 2016 Vitaliy Potapov; Licensed MIT */
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to ... |
import log from "npmlog";
// mocked or stubbed modules
import FileSystemUtilities from "../src/FileSystemUtilities";
import NpmUtilities from "../src/NpmUtilities";
// helpers
import callsBack from "./helpers/callsBack";
import exitWithCode from "./helpers/exitWithCode";
import initFixture from "./helpers/initFixture... |
/**
* 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.
*
* Note: This is a fork of the fb-specific transform.js
*
* @flow
* @format
*/
'use strict';
const crypto = require('crypto');
const ... |
/*
* Copyright 2020 CJWW Development
*
* 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 agree... |
/**
* @fileoverview FTC robot blocks related to optical distance sensor.
* @author lizlooney@google.com (Liz Looney)
*/
// The following are generated dynamically in HardwareUtil.fetchJavaScriptForHardware():
// createOpticalDistanceSensorDropdown
// The following are defined in vars.js:
// createNonEditableField
/... |
import tests from "../test-icons-helper";
describe("PaginationIcons on Web", tests); |
/* eslint react/no-multi-comp:0 */
import { Router, Route, IndexRoute, hashHistory } from 'react-router';
import React, { PropTypes } from 'react';
import ReactDOM from 'react-dom';
import Tabs, { TabPane } from 'rc-tabs';
import 'rc-tabs/assets/index.less';
import TabContent from '../src/TabContent';
import Scrollabl... |
import React from 'react'
import Img from 'gatsby-image'
import styled from '@emotion/styled'
const Wrapper = styled.section`
position: relative;
height: auto;
@media (min-width: ${(props) => props.theme.responsive.small}) {
height: ${(props) => props.height || 'auto'};
}
`
const BgImg = styled(Img)`
pos... |
module.exports = function() {
return function(style) {
style = this || style;
style.import(__dirname + '/index.styl');
}
} |
//# sourceMappingURL=service-worker.js.map |
class User {
constructor(name) {
this.name = name
}
hasAccess() {
return true
}
}
class NullUser {
constructor() {
this.name = 'Guest'
}
hasAccess() {
return false
}
}
//document.getElementById('loginBtn').addEventListener('click', loginClick)
funct... |
//# sourceMappingURL=15.2f2fc9392696fe2c8330.js.map |
module.exports = function (validator) {
return function (req, res, next) {
const { error } = validator(req.body);
if (error) return res.status(400).send(error.details[0].message);
return next();
};
}; |
"use strict";
/**
* Webpack frontend test (w/ coverage) configuration.
*/
var archDevRequire = require("builder-victory-component-dev/require");
var _ = archDevRequire("lodash");
var testCfg = require("./webpack.config.test");
module.exports = _.merge({}, testCfg, {
module: {
rules: (testCfg.module.rules || []... |
$(document).ready(function(){
$('.data-table').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sDom": '<""l>t<"F"fp>'
});
$('.js-example-basic-multiple').select2();
/* $('input[type=checkbox],input[type=radio],input[type=file]').uniform();
$('select').select2();
$("span.icon inpu... |
define([], function() {
'use strict';
/**
* The state for a particular rendering pass. This is used to supplement the state
* in a command being executed.
*
* @private
*/
function PassState(context) {
/**
* The context used to execute commands for this pass.
... |
import React from 'react';
import { Link } from 'react-router-dom';
//STATELESS COMPONENT
//Returns 404-like error message
const Error = () => {
return(
<div className="not-found">
<h2>Uh oh! Page Not Found...</h2>
<h3><Link to='/'>Click here to return to Homepage</Link></h3>
</div>
);... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... |
'use strict';
var _ = require('lodash');
/**
* Utility method to process token refresh on server
*
* @param {Object} req current http request object
* @param {Object} res current http response object
*/
exports.tokenRefresh = function (req, res) {
// get jwt
var jwt = this.get('jwt');
// default resp... |
/* eslint-disable */
$(document).ready(function() {
if (!isMobile.any) {
$('body').addClass('pc');
} else {
$('body').addClass('mobile');
}
// 缩放
(function() {
var ww = window.innerWidth;
var wh = window.innerHeight;
let scaleX = ww / 750;
if (scaleX < 1) {
$('#scaleContainer, .f... |
'use strict';
const chai = require('chai'),
expect = chai.expect,
Utils = require(__dirname + '/../../lib/utils'),
Support = require(__dirname + '/support'),
DataTypes = require(__dirname + '/../../lib/data-types'),
Sequelize = require('../../index'),
Op = Sequelize.Op;
describe(Support.getTestDialectTeas... |
/**
* @license
* Copyright (C) 2017 The Android Open Source Project
*
* 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 require... |
var structrocksdb_1_1spatial_1_1BoundingBox =
[
[ "BoundingBox", "structrocksdb_1_1spatial_1_1BoundingBox.html#a8c37c385ca1a0479fc867d3ea59ad47f", null ],
[ "BoundingBox", "structrocksdb_1_1spatial_1_1BoundingBox.html#a7ce735b4eecba1f6b2a83651f0b0b9f8", null ],
[ "Intersects", "structrocksdb_1_1spatial_1_1B... |
/* eslint class-methods-use-this: 0 */
import React, { Component } from 'react'
// import PropTypes from 'prop-types';
import ReactTooltip from 'react-tooltip';
import { NgagerSearchField, NgagerSelectField, NgagerErrorMessage, NgagerTreeView, ConfirmationDialog, NgagerButton, NgagerGroupButtons, NgagerIconButton, Circ... |
import { middlewares } from './middleware';
describe('store/middlewares', () => {
it('is an array of middleware functions', () => {
expect(middlewares).toHaveLength(4);
});
});
describe('store/makeEnhancers', () => {
beforeEach(() => {
jest.resetModules();
});
it('returns a stanard redux funcitons'... |
Proj4js.defs["EPSG:26591"]="+title= Monte Mario (Rome) / Italy zone 1 EPSG:26591 +proj=tmerc +lat_0=0 +lon_0=-3.45233333333333 +from_greenwich=12.45233333333333 +k=0.999600 +x_0=1500000 +y_0=0 +a=6378388.0, +b=6356911.94612795 +units=m"; |
import React from "react"
import styled from "styled-components"
// Style
import Section from "../layout/Section"
import Header from "../layout/Header"
const Contact = () => {
return (
<Section>
<Text>
<h3>
We’re hard at work to improve our concepts and show you what we can
do!... |
angular.module('app.core.auth', [
'app.core.auth.service',
'app.core.auth.login',
'app.core.auth.logout',
'angular-jwt'
]).constant('AUTH_EVENTS', {
loginSuccess: 'auth-login-success',
loginFailed: 'auth-login-failed',
logoutSuccess: 'auth-logout-success',
sessionTimeout: 'auth-session... |
'use strict';
const Base = require('./Base');
const { StickerFormatTypes, StickerTypes } = require('../util/Constants');
const SnowflakeUtil = require('../util/SnowflakeUtil');
/**
* Represents a Sticker.
* @extends {Base}
*/
class Sticker extends Base {
/**
* @param {Client} client The instantiating client
... |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-rest-not-final-obj.case
// - src/dstr-binding/default/cls-decl-gen-meth-static-dflt.template
/*---
description: Rest element (object binding pattern) may not be followed by any element (static class expression generator m... |
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/event-custom-complex/event-custom-complex.js']) {
}
var __cov_AHka9rIHdg7kTEMummHmBw = __coverage__['build/event-custom-complex/event-custom-complex.js']; |
import React, { PureComponent } from 'react';
import { connect } from 'dva';
import {
Row,
Col,
Card,
Form,
Input,
Button,
Table,
Modal,
Icon,
Dropdown,
Menu,
Badge,
Select,
} from 'antd';
import PageHeaderLayout from '../../layouts/PageHeaderLayout';
import UserCard from './UserCard';
import ... |
define(
({
_widgetLabel: "Mõõtmine"
})
); |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const config_1 = require("./config");
const abis_1 = __importDefault(require("./abis"));
const systemCon... |
sap.ui.define(["sap/ui/core/mvc/Controller","sap/ui/core/ComponentSupport"],e=>{"use strict";return e.extend("capcom.recap.App",{onInit(){}})}); |
import React from 'react';
const Summary = ({recipe}) =>{
return(
<div className="card z-depth-0 summary">
<div className="card-content grey-text text-darken-3">
<span className="card-title">{recipe.name}</span>
{/* <p>posted by {recipe.authorFullName}</p> */}
</di... |
const messageListEl = document.querySelector('[data-container-messages]');
const postTemplateEl = document.querySelector('[data-post]').content;
const inputFilterEl = document.querySelector('[data-input]');
const buttonSortEl = document.querySelector('[data-button-sort]');
const messageTemplateEl = document.querySelect... |
const sequence = {
_id: 1,
get id() {
return this._id++
}
}
const produtos = {}
function salvarProduto(produto){
if(!produto.id) produto.id = sequence.id
produtos[produto.id] = produto
return produto
}
function getProduto(id){//Retorna produto pelo ID
return produtos[id] || {}
}
... |
export const photos = [
{
src: "https://i.ibb.co/Vp7FmX8/home1.jpg",
skb: false,
},
{
src: "/images/SKB.jpeg",
skb: true,
},
{
src: "https://i.ibb.co/TTpHnGC/home2.jpg",
skb: false,
},
{
src: "https://i.ibb.co/yqvF9gQ/home3.jpg",
skb: false,
},
{
src: "https://i.ibb... |
/* eslint-disable */
// this is an auto generated file. This will be overwritten
export const createGame = `mutation CreateGame($input: CreateGameInput!) {
createGame(input: $input) {
id
room
players {
uuid
room
name
avatar
doodles {
name
score
url
... |
import React, {Component} from 'react';
class Demo8 extends Component {
render(){
return(
<ol>
{
React.Children.map(this.props.children,
function(child){
return <li>{child}</li>
})
}
</ol>
);
}
}
export default Demo8 |
import { IonIcon, withIonLifeCycle } from '@ionic/react';
import { starOutline } from 'ionicons/icons';
import React from 'react';
class RatingsButton extends React.Component {
constructor(props) {
super(props);
let ratingsSum = 0;
if (props.ratings) {
props.ratings.map(rati... |
require('babel-register');
require('babel-polyfill');
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
},
},
contracts_directory: './src/contracts/',
contracts_build_directory: './src/abis/',
compilers: {
solc: ... |
/**
* Module dependencies.
*/
/*
var directions = [0, 1, 3, 2];
for (var i = 0; i < directions.length; i++) {
var dir = directions[i];
if (i < 8)
directions.push(directions[i]);
console.log(i);
}
*/
var WS = 10;
var COUNTER = 0;
var cells = [];
for (var i = 0; i < WS; i++) {
for (var j =... |
/**
* History Actions module.
* Action creators for History section
*
* @module HistoryActions
*/
const types = require('../constants/ActionTypes');
const moment = require('moment');
const { push } = require('react-router-redux');
const ReactGA = require('react-ga');
const { setForm } = require('./FormActions');... |
/*
* Copyright (c) 2020 Pangeanic SL.
*
* This file is part of NEC TM
* (see https://github.com/shasha79/nectm).
*
* 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 copy... |
const { merge } = require('webpack-merge');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserJSPlugin = require('terser-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const PurgecssPlugin = require('purgecss-webpack-plugin');
const glob = req... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Lead Formulation Scientist", "CONTRIBUTION AMOUNT (F3L Bundled)": "60.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Mylan Pharmaceuticals Inc", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "624 Robinhood Ln", "CONTRIBUTOR MIDDLE NAME": "J", "DONOR CA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.