text stringlengths 2 1.05M |
|---|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["articles-show"],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/admin/articles/shortcuts.vue?vue&type=script&lang=js&":
/*!***************************************************************... |
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... |
import { useMemo } from 'react';
function useScrollPositionFromPercentage(animationAreaStartY, animationAreaStep, percentage) {
const usedStartY = Number.isNaN(animationAreaStartY) ? 0 : animationAreaStartY;
return useMemo(() => {
return usedStartY + percentage * animationAreaStep;
}, [animationAreaStep, per... |
const { GraphQLInputObjectType, GraphQLEnumType, GraphQLNonNull, GraphQLString, GraphQLBoolean } = require('graphql');
const { extendSchema } = require('../../../utils/schema.utils');
let MedicationResourceInputType = new GraphQLEnumType({
name: 'MedicationResourceInputType',
values: {
Medication: { value: 'Me... |
// @flow
import { Group } from "../models";
export default function present(group: Group) {
return {
id: group.id,
name: group.name,
memberCount: group.groupMemberships.length,
createdAt: group.createdAt,
updatedAt: group.updatedAt,
};
}
|
"use strict";
const DisableTryItOutPlugin = function() {
return {
statePlugins: {
spec: {
wrapSelectors: {
allowTryItOutFor: () => () => false
}
}
}
}
}
window.onload = function() {
const ui = SwaggerUIBundle({
url: "https://raw.githubusercontent.com/datosgobar/georef-ar-api/... |
module.exports={A:{A:{"1":"E B A","2":"K C G WB"},B:{"1":"D u Y I M H"},C:{"1":"0 1 2 3 4 5 6 7 F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y v RB","2":"UB z SB"},D:{"1":"0 1 2 3 4 5 6 7 F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o... |
const httpError = require('http-errors')
const productMocks = [{ id: 1, name: 'Product A', shortDescription: 'First product.' }, { id: 2, name: 'Product B', shortDescription: 'Second product.' }]
exports.resolver = {
Query: {
products(root, { id }, context) {
const results = id ? productMocks.filter(p => p.id =... |
import "./App.css";
import Navbar from "./components/Navbar";
import TextForm from "./components/TextForm";
import React, { useState } from "react";
import Alert from "./components/Alert";
import About from "./components/About";
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
function App() ... |
export const API_KEY = "https://www.thesportsdb.com/api/v1/json/1";
// export const NEWS_API_KEY = "e38e540406e643bba69034aea4379fc7";
export const NEWS_BASE_URL =
"https://saurav.tech/NewsAPI/top-headlines/category";
|
import { svg } from 'lit';
export const file = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M4.797 15.485c1.124-2.52 3.2-5.44 4.487-6.962-1.248-1.246-2.162-1.931-2.818-2.3A7.977 7.977 0 0 0 4 12c0 1.25.286 2.432.797 3.485zm4.051-... |
// @flow
'use babel'
/** @jsx etch.dom */
import etch from 'etch'
/*
Public: Abstract class for handling the initialization
boilerplate of an Etch component.
*/
export default class EtchComponent {
props: any
refs: Object
element: HTMLElement
constructor (props: Object) {
this.props = props
et... |
const glob = require('glob')
const path = require('path')
const { merge } = require('webpack-merge')
const fs = require('fs')
const root = path.resolve(__dirname, '..')
const resolvePath = file => path.resolve(root, file)
const dest = path.join(root, 'dist/api')
const extendApi = require(resolvePath('src/api.extends.j... |
/* Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved.
* This program are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
import {ShapeParameters} from './ShapeParameters';
... |
import 'react-native'
import 'jest-enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Enzyme from 'enzyme'
/**
* Set up DOM in node.js environment for Enzyme to mount to
*/
const { JSDOM } = require('jsdom')
const jsdom = new JSDOM('<!doctype html><html><body></body></html>')
const { window } = jsdom
fun... |
function geoController () {
const Geo = require('../models/geoSchema');
const Address = require('../models/addressSchema');
const ProcessingUtil = require('../util/processing')
this.getAllCountry = function(req, res) {
Geo.distinct("country", { 'related_address.1': { $exists: true } })
.exec((err, coun... |
const manageTranslations = require('react-intl-translations-manager').default;
manageTranslations({
messagesDirectory: './build/messages',
translationsDirectory: 'src/translations',
languages: ['en', 'zh-Hans', 'zh-Hant'],
});
|
/*!
* ui-grid - v4.11.0 - 2021-08-12
* Copyright (c) 2021 ; License: MIT
*/
angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("sk",{headerCell:{aria:{defaultFilterLabel:"Filter pre stĺpec",removeFilter:"Odstrániť filter",columnMenuButtonLabel:... |
const baseUrl =
process.env.NODE_ENV === 'production'
? 'https://nextcom-eight.vercel.app/'
: 'http://localhost:3000';
export default baseUrl;
|
exports.execute = (featureModel) => {
let constraints = featureModel.constraints;
if (constraints.length !== 0) {
return countNumberOfFeaturesReferencedInConstraints(constraints);
}
return 0;
}
countNumberOfFeaturesReferencedInConstraints = async (constraints) => {
let numberOfFeaturesRef... |
process.env.BABEL_ENV = 'production'
var
fs = require('fs'),
path = require('path'),
zlib = require('zlib'),
rollup = require('rollup'),
uglify = require('uglify-js'),
buble = require('rollup-plugin-buble'),
json = require('rollup-plugin-json'),
vue = require('rollup-plugin-vue'),
localResolve = requ... |
"use strict";
var React = require('react');
//var update = require('react-addons-update');
var Table = require('react-bootstrap').Table;
var Button = require('react-bootstrap').Button;
var ButtonToolbar = require('react-bootstrap').ButtonToolbar;
var PatternView = require('./patternView');
var PatternsService = re... |
$(document).ready(function(){
//victima
$('#billar').find('form').on('submit', function() {
var form = $(this);
var data = form.serialize();
var url_form = form.attr('action');
$.post(url_form, data,
function(r_data) {
console.log(r_data);
... |
const path = require('path');
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
module.exports = {
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js',
},
resolve: {
extensions: ['.... |
/*!
* Copyright 2014 Google Inc. 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 required by appli... |
import React from 'react'
import ReactDOM from 'react-dom'
ReactDOM.render(
<div style={{ maxWidth: 450 }}>
<Squeak
apiHost='YOUR_API_HOST'
apiKey='YOUR_SUPABASE_ANON_KEY'
url='YOUR_SUPABASE_URL'
organizationId='YOUR_ORGANIZATION_ID'
/>
</div>,
document.getElementById('demo')
)
|
"\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74";window.requestAnimFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(GB){window.setTimeout(GB,1000/60);};})();window.cancelAnimationFrame=(function(){return window... |
let sButtonText = "";
let sButtonReload = undefined;
let _tick;
const RELOAD_INTERVAL_MILLISECONDS = 200;
let hospitalList;
let hospitalListStrCache;
const _className = "_" + Math.random().toString(36).substring(2, 7);
const _buttonStyle = "width: 175px;height: 38px;line-height: 38px;text-align: center;background: line... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {createSelector} from 'reselect';
import {General, Preferences} from 'constants';
import {getConfig} from 'selectors/entities/general';
import {getCurrentTeamId} from 'selectors/entities/teams';
im... |
/**
* transport.js
*
* @author <a href="https://github.com/pahund">Patrick Hund</a>
* @since 02 Jul 2016
*/
import {
CHANGE_TRANSPORT_STATE,
UPDATE_BEAT_BAR,
TOGGLE_AUTOPILOT
} from "../actions";
export default (state = {}, action) => {
switch (action.type) {
case CHANGE_TRANSPORT_STATE:
... |
import React from 'react';
import { render } from '@testing-library/react';
import Overview from '../src/components/overview/overview.jsx'
import ImageGallery from '../src/components/overview/ImageGallery.jsx'
import ProductInfo from '../src/components/overview/ProductInfo.jsx'
import StyleSelector from '../src/compon... |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'widget', 'cy', {
'move': 'Clcio a llusgo i symud',
'label': '%1 widget' // MISSING
} );
|
import request from '@/utils/request'
// 获取任务列表
export function getTaskLists(data) {
return request({
url: '/admin/task/getTaskLists.html',
method: 'post',
data
})
}
// 获取单个任务详情
export function getTaskInfo(data) {
return request({
url: '/admin/task/getTaskInfo.html',
method: 'post',
data
... |
var denon = require('../../lib/app')
, config = require('./config');
var avr = new denon(new denon.transports.telnet(config));
avr.connect();
avr.on('connect', function() {
console.log('Connected');
// set the volume to -80.0dB
avr.setVolumeAscii("00", function(err, volume) {
if (err) {
console.log(... |
import { isArray } from '@ember/array';
import { _getModelClass, _getModelName, _getStoreFromRecord } from './build-url';
export default function serializeAndPush(response) {
const isJsonApi = response.jsonapi && response.jsonapi.version;
if (!isJsonApi) {
// eslint-disable-next-line no-console
console.war... |
function changeTitleColorOnHover() {
this.getElementsByClassName('title')[0].classList.add('has-text-primary');
}
function changeTitleColorOnMouseQuit() {
this.getElementsByClassName('title')[0].classList.remove('has-text-primary');
}
function addListeners() {
const artistHero = document.getElementById('artist-... |
function LabelsViewer(options) {
this.className = 'LabelsViewer';
this.setting = {
// id: doc element
// data: labels dataset
};
this.view;
this.addBtn;
this.searchBar; // input and btn
this.searchList;
this.allLabels;
this.labelsGrid;
this.isNewLabel = true;
this.__editLabelElt;
this.e... |
var data = {cetegory: {}}; |
"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[2622],{47615:(e,t,n)=>{n.d(t,{O3:()=>F,lG:()=>v,my:()=>S,q9:()=>l});var r=n(10064),o=n(3182),i=n(80457),a=n(80031);const s={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoin... |
var dir_d28a4824dc47e487b107a5db32ef43c4 =
[
[ "ray-casting", "dir_3391e8a000e63e3f2777969534e7100a.html", "dir_3391e8a000e63e3f2777969534e7100a" ]
]; |
import React from 'react';
import {Col} from 'antd';
import _ from 'lodash';
import {connect} from 'react-redux';
import {getElement} from '../factories/elementFactory';
function mapStateToProps(store) {
return {
router: store.router,
formDefinitionLoaded: store.formReducer.formDefinitionLoaded,
... |
const WordArray = require("crypto-js/lib-typedarrays");
const { Uint8ArrayEncoder } = require("../utils");
describe("utils/Uint8Encoder", () => {
describe("#parse", () => {
it("should be able to parse bytes correctly (aligned 4 bytes)", () => {
const result = Uint8ArrayEncoder.parse(new Uint8Array([1, 2, 3... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var FilePdfOutline = {
name: 'file-pdf',
theme: 'outline',
icon: {
tag: 'svg',
attrs: { viewBox: '64 64 896 896', focusable: false },
children: [
{
tag: 'path',
at... |
load("fcfbc86708bc3a4062c2091a062e13b6.js");
load("faa81dc98fc13338aca921d45eebae79.js");
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Correct interpretation of DIGITS
*
* @path ch07/7.6/S7.6_A4.3_T1.js
* @description Iden... |
var Sails = require('sails'),
sails;
before(function(done) {
Sails.lift({
// configuration for testing purposes
}, function(err, server) {
sails = server;
if (err) return done(err);
// here you can load fixtures, etc.
done(err, sails);
});
});
after(function(done) {
// here you can clear... |
import { useState } from 'react';
import './App.css';
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faCopy } from "@fortawesome/free-solid-svg-icons"
function App() {
// Initiate states
const [url, setUrl] = useState();
const [showUrl, setShowUrl] = useState(false);
const [error, ... |
describe('aa.formExtensinos.js >', function () {
beforeEach(module('aa.formExtensions'));
describe('aaField >', function () {
var scope, form, element;
beforeEach(inject(function($compile, $rootScope) {
scope = $rootScope.$new();
form = angular.element('<div ng-form="e... |
/**
* Generated by `createschema ticket.TicketCommentFile 'organization:Relationship:Organization:CASCADE;file?:File;ticketComment?:Relationship:TicketComment:SET_NULL'`
*/
const { makeLoggedInAdminClient, makeClient, UUID_RE, DATETIME_RE } = require('@core/keystone/test.utils')
const { TicketCommentFile, createTes... |
function enable_ContactBtn(){
document.getElementById("ContactSubmit").disabled = false;
}
function enable_EventBtn(){
document.getElementById("EventSubmit").disabled = false;
} |
// Copyright (c) YugaByte, Inc.
import React, { Component } from 'react';
import { Link, withRouter, browserHistory } from 'react-router';
import { Grid, DropdownButton, MenuItem, Tab, Alert } from 'react-bootstrap';
import Measure from 'react-measure';
import { mouseTrap } from 'react-mousetrap';
import { CustomerMet... |
var pais = 'Brasil'
console.log(`Vivendo em ${pais}`)
if (pais == 'Brasil') {
console.log('Brasileiro')
} else {
console.log('Estrangeiro')
} |
/* eslint-disable */
var icon = require('vue-svgicon');
icon.register({
flag: {
width: 32,
height: 32,
viewBox: '0 0 24 24',
data: '<path pid="0" d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1zM4 22v-7"/>',
},
});
|
import React from 'react';
import { shallow } from 'enzyme';
import renderer from 'react-test-renderer';
import ListItem from './index';
const props = {
data: {}, upvoteHandler: () => { }, hideItemHandler: () => { }
};
describe('ListItem component', () => {
it('shallow renders without crashing', () =>... |
import Vue from 'nativescript-vue'
import App from './components/App'
import VueDevtools from 'nativescript-vue-devtools'
if(TNS_ENV !== 'production') {
Vue.use(VueDevtools)
}
Vue.registerElement("PullToRefresh", () => require("nativescript-pulltorefresh").PullToRefresh);
// Prints Vue logs when --env.production i... |
'use strict';
/**
* 어떤 일을 하고 있습니까?
* @class BoundingRectangle
*/
var BoundingRectangle = function(x, y)
{
if (!(this instanceof BoundingRectangle))
{
throw new Error(Messages.CONSTRUCT_ERROR);
}
this.minX = 100000;
this.maxX = -100000;
this.minY = 100000;
this.maxY = -100000;
};
BoundingRectangle.prototype... |
import * as firebase from 'firebase/app'
import 'firebase/auth'
import { vuexfireMutations } from 'vuexfire'
export const state = () => ({
user: null
})
export const getters = {
getterValue: (state) => {
return state.value
}
}
export const mutations = {
setUser: (state, payload) => {
state.user = pay... |
var packing_8inl =
[
[ "u3u3u2", "unionglm_1_1detail_1_1u3u3u2.html", "unionglm_1_1detail_1_1u3u3u2" ],
[ "u4u4", "unionglm_1_1detail_1_1u4u4.html", "unionglm_1_1detail_1_1u4u4" ],
[ "u4u4u4u4", "unionglm_1_1detail_1_1u4u4u4u4.html", "unionglm_1_1detail_1_1u4u4u4u4" ],
[ "u5u6u5", "unionglm_1_1detail_1_... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{115:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return s})),n.d(t,"metadata",(function(){return l})),n.d(t,"rightToc",(function(){return u})),n.d(t,"default",(function(){return p}));var a=n(3),o=n(7),r=(n(0),n(406)),c=n(414),i=n(415),s={i... |
let test = function (testMessage, test) {
let status;
try {
status = test();
} catch (e) {
status = false;
throw e;
}
if (status !== false) {
console.log('SUCCESS', testMessage);
} else {
console.warn('FAIL', testMessage);
}
}
test('.ready()', () => ... |
module.exports = require('./lib/crypto_random_generator');
|
"use strict";
gulp.task('serveprod', function() {
connect.server({
root: [your_project_path],
port: process.env.PORT || 5000, // localhost:5000
livereload: false
});
});
// Load plugins
const autoprefixer = require("gulp-autoprefixer");
const browsersync = require("browser-sync").create();
const clean... |
import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import errorLog from './modules/errorLog'
import permission from './modules/permission'
import tagsView from './modules/tagsView'
import user from './modules/user'
import getters from './getters'
import axios from 'axios'
Vue.use(Vuex)
const... |
const mongoose = require('mongoose');
const Materia = mongoose.model('Materia',{
nome:{
type:String,
required:true
},
escola_id:{
type:mongoose.Types.ObjectId,
required: true,
ref:'Escola'
},
})
module.exports = Materia; |
window.customElements.define('eh-inline-edit',
class EhEditField extends HTMLElement {
constructor () {
super()
this.attachShadow({mode: 'open'})
this.onClick = this.onClick.bind(this)
}
static get observedAttributes() {
return ["value"]
}
get type() {
return this.g... |
const Discord = require("discord.js");
function wait(ms){var start = new Date().getTime();var end = start;while(end < start + ms) {end = new Date().getTime()}}
function getID (role) {
if (!role.includes('<@&') && !role.includes('>')) return undefined
role = role.replace('<@&', '')
role = role.repla... |
document.addEventListener('included', function (){
new Vue({
el: '#app',
data: {
img_paths: window.img_paths,
current: -1,
style: 'contain',
page: 1,
page_size: 10,
array_page_size: [ 10, 20, 40, 80, 99999999 ],
select_folder: [],
current_folder: {},
folder_prev: '',
folder_use: 'asse... |
const Telegraf = require('telegraf')
const fetch = require('node-fetch')
const escape = require('markdown-escape')
const bot = new Telegraf(process.env.BOT_TOKEN)
bot.start((ctx) => ctx.replyWithMarkdown('Hi there! Please use `/help` for usage details'))
bot.help((ctx) => {
ctx.replyWithMarkdown('1. Add me to cha... |
import React from 'react';
import DocPage2 from '../../utils/DocPage2';
const requireMd = require.context('!raw-loader!./md', false, /.md$/);
const requireCode = require.context('!raw-loader!./samples', false, /.js$/);
const requireJs = require.context('./samples', false, /.js$/);
export default function Notification... |
var path = require('path')
var config = require('../config')
var utils = require('./utils')
var projectRoot = path.resolve(__dirname, '../')
module.exports = {
entry: {
app: './src/main.js'
},
output: {
path: config.build.assetsRoot,
publicPath: process.env.NODE_ENV === 'production' ? config.build.as... |
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.... |
var app = new Vue({
el: '#vue-app',
data: {
tipoId: '',
insumos: insumos,
fecha_ing: fecha,
insumoId: '',
itemId: '',
item: [],
items: [],
cantidad: 0,
fecha_venc: '',
lote: '',
totalCantidad: 0,
},
methods: {
... |
import React, { useEffect, useState } from 'react';
import {
Box,
Container,
makeStyles
} from '@material-ui/core';
import Page from 'src/components/Page';
import VisibilityIcon from '@material-ui/icons/Visibility';
import DeleteForeverIcon from '@material-ui/icons/DeleteForever';
//import Toolbar from './Toolba... |
/* vim:set ts=2 sw=2 sts=2 et: */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
function test() {
var tab1 = gBrowser.addTab();
var tab2 = gBrowser.addTab();
gBrowser.selectedTab = tab2;
openConsole(tab2, function() {
let cmd = document.get... |
import Login from './views/Login.vue'
import NotFound from './views/404.vue'
import Home from './views/Home.vue'
import Main from './views/Main.vue'
import Table from './views/nav1/Table.vue'
import Form from './views/nav1/Form.vue'
import Page4 from './views/nav2/Page4.vue'
import Page5 from './views/nav2/Page5... |
export * from './Suggestions/Suggestions';
export * from './Suggestions/Suggestions.types';
export * from './Suggestions/SuggestionsItem';
export * from './Suggestions/SuggestionsItem.types';
export * from './Suggestions/SuggestionsController';
export * from './AutoFill/BaseAutoFill';
export * from './AutoFill/BaseAuto... |
const { exec } = require('child_process')
const colors = require('colors')
const config = require('../config/config.js')
const serviceCommands = require('./commands/service-commands.json')
const axios = require('axios').default
const _ = require('lodash')
// Constants
// Path to audius-protocol
const PROTOCOL_DIR = c... |
// Generated by CoffeeScript 1.6.3
(function() {
var $, Dialog, EventEmitter, Overlay, Q, ready,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.protot... |
let converteu = document.getElementById('converteu');
let type = '';
let buttonsave = document.getElementById('salva');
function json2csv(){
let csv;
let conteudo = document.getElementById('conteudo').value;
if(conteudo == ''){
alert('insira um texto para ser convertido')
}
if(!validaJson(... |
import GenericBlock from '../GenericBlock';
const DAYS = [
31, // 1
29, // 2
31, // 3
30, // 4
31, // 5
30, // 6
31, // 7
31, // 8
30, // 9
31, // 10
30, // 11
31 // 12
];
class ConditionTime extends GenericBlock {
constructor(props) {
super(props, Conditio... |
import React from 'react';
import { storiesOf } from '@storybook/react';
import { BrowserRouter } from 'react-router-dom';
import order from '../__mocks__/order';
import orderExpired from '../__mocks__/orderExpired';
import OrderInfo from '../containers/order/OrderInfo';
import '../css/index.scss';
import '../css/or... |
pbjsChunk([260],{146:function(r,e,n){r.exports=n(147)},147:function(r,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"spec",function(){return a});var t=n(1),c=n(2);function u(){return(u=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var t in n)Object.prot... |
// TODO Limit the number of addresses we store.
class PeerAddresses extends Observable {
constructor() {
super();
// Set of PeerAddressStates of all peerAddresses we know.
this._store = new HashSet();
// Map from signalIds to RTC peerAddresses.
this._signalIds = new HashMap... |
'use strict'
// Напиши функцию formatString(string) принимающую строку в параметр string.
// Если длина строки не превышает 40 символов, функция возвращает ее в исходном виде.
// Если длина больше 40 символов, то функция обрезает строку до 40-ка символов и добавляет в конец строки троеточие '...', после чего возвраща... |
if(ON_GUI) {
leftFeedback = GUIAPI.GetFeedback("TV_STATE_LEFT");
rightFeedback = GUIAPI.GetFeedback("TV_STATE_RIGHT");
centerFeedback = GUIAPI.GetFeedback("TV_STATE_MIDDLE");
}
if(ON_CONTROLLER) {
leftFeedback = CTRLAPI.GetFeedback("TV_STATE_LEFT");
rightFeedback = CTRLAPI.GetFeedback("TV_STATE_RIGHT");
centerFe... |
const { verifyFuncParams, convertFuncParams } = require('./utils');
function add(x, y) {
verifyFuncParams('add', x, y);
({ x, y } = convertFuncParams(x, y));
return x.plus(y);
}
function sub(x, y) {
verifyFuncParams('sub', x, y);
({ x, y } = convertFuncParams(x, y));
return x.minus(y);
}
function mul... |
import React, { useContext } from 'react';
import {
Grid,
} from '@material-ui/core';
import { UserProfileContext } from '../UserProfileProvider';
import useStyles from '../useStyles';
import Subtitle from '../Subtitle';
import WorkExperiencesPreview from './WorkExperiencesPreview';
import WorkExperiencesEdit from '.... |
// Copyright 2017 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: pending
description: >
It is a syntax error if AsyncGeneratorBody contains SuperProperty is true.
negative:
phase: early
type... |
const BundleTracker = require('webpack-bundle-tracker');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const path = require('path');
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');
const glob = require('glob');
const resolve = path.resolve.bind(path, __dirname);
// ... |
const colors = {
transparentDark: 'rgba(0, 0, 0, 0.75)',
black: 'rgb(0, 0, 0)',
white: 'rgb(255,255,255)',
grayLight: '#EDEDED', // todo: use rgb
}
export default colors
|
const { registerLineDecorator } = require('../editor')
const {
NodeType, NodeTypeNames, builtins, parseBash, traverseAST
} = require('../parser')
const { getOption, setDefaultOptions } = require('../startup')
const colors = require('../colors')
const env = require('../env')
function makeHL(type, loc) {
return... |
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import "./faLibrary.js";
import "css/global.scss";
ReactDOM.render(<App />, document.getElementById("root"));
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53fda9aa"],{5811:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return a}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return c}),n.d(e,"g",functi... |
// @flow
import * as React from 'react'
import {connect} from 'react-redux'
import {
FormGroup,
CheckboxField,
InputField,
DropdownField,
RadioGroup,
type DropdownOption,
type HoverTooltipHandlers
} from '@opentrons/components'
import i18n from '../../localization'
import {selectors as pipetteSelectors} f... |
/**
* Basic structure: TC_Class is the public class that is returned upon being called
*
* So, if you do
* var tc = $(".timer").TimeCircles();
*
* tc will contain an instance of the public TimeCircles class. It is important to
* note that TimeCircles is not chained in the conventional way, che... |
export default (editor, config = {}) => {
const c = config;
let bm = editor.BlockManager;
if (c.blocks.heading) {
bm.add('heading', {
label: VjLocalized.Heading,
category: VjLocalized.Basic,
attributes: { class: 'fas fa-heading' },
content: {
type: 'heading',
content: 'Heading',
}
});
}... |
(function($,_,Backbone){var _interpolateBackup=_.templateSettings;_.templateSettings={interpolate:/\{\{(.+?)\}\}/g,evaluate:/<%([\s\S]+?)%>/g};var template=_.template(' <% if (title) { %> <div class="modal-header"> <% if (allowCancel) { %> <a class="close">×</a> <% } %> <h3>{{title... |
/* eslint-env node */
const { Blueprint } = require ('ember-cli-blueprint-helpers');
module.exports = Blueprint.extend ({
packages: [
{name: '@material/slider'}
],
addons: [
{name: 'ember-cli-mdc-animation'},
{name: 'ember-cli-mdc-base'},
{name: 'ember-cli-mdc-rtl'},
{name: 'ember-cli-mdc-t... |
import _default from './components/circle/Circle';
export { _default as default }; |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { toastNotifications } from 'ui/notify';
import { MLRequestFailure } ... |
const Generator = require('yeoman-generator');
const nodeConfig = require('../package.json');
const StringUtility = require('./StringUtility');
module.exports = class BaseGenerator extends Generator {
constructor(args, opts) {
super(args, opts);
this.strings = new StringUtility();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.