text stringlengths 2 1.04M |
|---|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var StyledIconBase_1 = require("../../StyledIconBase");
exports.RadioButton = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "curre... |
import React from 'react';
const FAQ = () => {
return (
<section id="FAQ" className="content">
<h2>FAQ</h2>
<div className="questionAnswer">
<h3>How does it work?</h3>
<blockquote>
Sint nisi quis dolor aliquip sint amet nostrud ea incididunt et laboris veniam velit dolor do... |
CKEDITOR.plugins.setLang("iframe","is",{border:"Show frame border",noUrl:"Please type the iframe URL",scrolling:"Enable scrollbars",title:"IFrame Property",toolbar:"IFrame"}); |
import stripePackage from 'stripe'
import { calculateCost } from './libs/billing-lib'
import { success, failure } from './libs/response-lib'
export async function main (event, context) {
const { storage, source } = JSON.parse(event.body)
const amount = calculateCost(storage)
const description = 'Scratch charge'
... |
import test from 'ava';
import {Visualization} from '../src/Visualization.js';
test.before( (t) => {
const coordsIndices1 = new Uint8Array([0, 0, 0, 0, 0, 0, 8, 28]);
t.context.jsonData1 = {
coordinate_indices: coordsIndices1,
data: 'coordinate_indices',
encoding_type: 1,
id: 'US-SVL-TC2-1',
im... |
/// <autosync enabled="true" />
/// <reference path="js/site.js" />
/// <reference path="js/websocket.min.js" />
/// <reference path="lib/bootstrap/dist/js/bootstrap.js" />
/// <reference path="lib/jquery/dist/jquery.js" />
/// <reference path="lib/jquery-validation/dist/jquery.validate.js" />
/// <reference path="lib... |
import Cookies from 'universal-cookie';
import {
selectedProjectCookieName,
defaultProjectId
} from './Utilities/SelectedProject';
// kentico cloud
import { DeliveryClient, TypeResolver } from 'kentico-cloud-delivery';
// models
import { AboutUs } from './Models/about_us';
import { Accessory } from './Models/acce... |
const period = require('./period');
module.exports = {
use: String,
text: String,
family: String,
given: [String],
prefix: [String],
suffix: [String],
period,
}; |
/**
* skylark-threejs-editor - A version of threejs-editor that ported to running on skylarkjs
* @author Hudaokeji, Inc.
* @version v0.9.0
* @link https://github.com/skylark-integration/skylark-threejs-editor/
* @license MIT
*/
(function(factory,globals) {
var define = globals.define,
require = globals.re... |
module.exports={A:{A:{"2":"K D G E A B gB"},B:{"2":"2 C d J M H I"},C:{"1":"0 1 3 4 7 9 k l m n o L q r s t u v w x y z GB FB AB CB DB","2":"2 6 dB BB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c XB WB","194":"e f g h i j"},D:{"1":"0 1 3 4 7 9 e f g h i j k l m n o L q r s t u v w x y z GB FB AB CB DB QB i... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class SkyServer {
constructor(options, socketHandler, webHandler) {
}
delete() {
}
}
exports.default = SkyServer;
//# sourceMappingURL=SkyServer.js.map |
(function($) {
"use strict"; // Start of use strict
// Toggle the side navigation
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
$("body").toggleClass("sidebar-toggled");
$(".sidebar").toggleClass("toggled");
if ($(".sidebar").hasClass("toggled")) {
$('.sidebar .collapse').col... |
/* globals Fig */
const figure = new Fig.Figure({
scene: [-3, -3, 3, 3],
backgroundColor: [1, 1, 0.9, 1],
});
const { rand } = Fig;
for (let i = 0; i < 250; i += 1) {
const r = rand(0.1, 0.2);
const p = [rand(-2.9 + r, 2.9 - r), rand(-2.7 + r, 2.9 - r)];
const e = figure.add({
make: 'polygon',
radius... |
{
"size": 2,
"limit": 3,
"isLastPage": true,
"values": [
{ "id": 3 },
{ "id": 4 }
],
"start": 3,
"filter": null
} |
import React from 'react';
import PropTypes from 'prop-types';
import ReactTable from 'react-table';
import { Badge } from 'reactstrap';
import { useStore } from 'effector-react';
import {
operators,
auth,
} from 'store';
import './ControlPanelAlarms.scss';
import { statusChecker } from 'helpers';
const Alarms =... |
import React, { useState } from "react";
import { Form, Button } from "antd";
import Title from "antd/lib/typography/Title";
const PaymentMethods = () => {
const [form] = Form.useForm();
const [formLayout, setFormLayout] = useState('horizontal');
const onFormLayoutChange = ({ layout }) => {
setFormLayout(l... |
"use strict";
import React, { Component } from "react";
import PropTypes from "prop-types";
import { View, Animated, Platform, ViewPropTypes } from "react-native";
export default class FlipCard extends Component {
static propTypes = {
style: ViewPropTypes.style
};
constructor(props) {
super(props);
... |
// Assembly: sub1
(function(window,document,undefined) {
var langKeys = ["TEST","YES","NO","WHY"];
var langs = {
// Included locale file: strings_de.json
"de": ["Dies ist ein Test.","Ja","Nicht","Why?"],
// Included locale file: strings_en.json
"en": ["This is a test.","Yes","No","Why?"],
// Included locale file:... |
module.exports = {
root: true,
extends: '@react-native-community',
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
semi: [2, 'never'],
'no-unused-vars': 2,
'react-native/no-inline-styles': 0,
'jsx-quotes': [2, 'prefer-single'],
'no-shadow': 0,
'no-catch-shadow': 0,
'no-... |
/**
* @author NHN Ent. FE Development Team <dl_javascript@nhn.com>
* @fileoverview Test cases of "src/js/component/flip.js"
*/
import fabric from 'fabric';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Flip from '../src/js/component/flip';
describe('Flip', () => {
let graphics, flipM... |
// Copyright 2018. box.la 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 applicable law or agreed ... |
/*
artifact generator: C:\My\wizzi\v4\node_modules\v4-wizzi-js\lib\artifacts\js\module\gen\main.js
primary source IttfDocument: c:\my\wizzi\v4\plugins\wizzi-codegen\src\ittf\lib\js\statements\test.js.ittf
utc time: Wed, 11 Oct 2017 11:02:31 GMT
*/
'use strict';
var util = require('util');
var u = require('.... |
var foodDemand = function (food) {
console.log("I want to eat" + " " + food);
}
foodDemand("Pho!"); |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
require('dotenv').config()
const { expect } = require('chai')
const Ringover = require('../index')
describe('deleteNumbersContactByID', function() {
this.timeout(0)
const { TEST_TOKEN, TEST_CONTACT_ID } = process.env
const clientInvalid = new Ringover('invalidtoken')
const client = new Ringover(TEST_TOKEN)
... |
function _templateObject2() {
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-around;\n width: 100%;\n > div {\n width: ", ";\n height: ", ";\n border: 4px solid #f3f3f3;\n /* stylelint-disable */\n border-top: 4px solid #555555 !important;\n /* stylelint-enable */... |
import {combineReducers} from 'redux';
import { createAsyncReducer } from '../common/redux.helpers';
import { keys as movieActionKeys } from './movie-browser.actions';
import movieModalReducer from './movie-modal/movie-modal.reducer';
const moviesSuccessReducer = (state, action) => {
const existingMovies = state.res... |
// target elements with the "draggable" class
interact('.draggable')
.draggable({
// enable inertial throwing
inertia: true,
// keep the element within the area of it's parent
restrict: {
restriction: "parent",
endOnly: true,
elementRect: { top: 0, left: 0, bottom: 1, right: 1 }
... |
window._ = require('lodash');
// this way import js files or library in laravel mix
import Popper from 'popper.js/dist/umd/popper.js';
import Bundle from 'bootstrap/dist/js/bootstrap.bundle.min';
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features ... |
var superContain;
(function (superContain) {
(function (_contain) {
(function (my) {
(function (buz) {
(function (data) {
function foo() {
}
data.foo = foo;
})(buz.data || (buz.data = {}));
... |
const render = require('preact-render-to-string')
const cheerio = require('cheerio')
const { html } = require('../../utils')
const Nav = require('../Nav.js')
const renderNav = ({ route } = {}) => {
return cheerio.load(
render(
html`
<${Nav} route=${route} //>
`,
),
)
}
describe('Nav',... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chartline = require('./chartline');
var _chartline2 = _interopRequireDefault(_chartline);
var _chartcircle = require('./chartcircle');
var _chartcircle2 = _interopRequireDefault(_chartcircle);
function _interopRequireDefault(obj) ... |
import {useEffect} from 'react';
import {message} from 'antd';
export function useMessage(connected) {
useEffect(() => {
if (connected !== undefined) {
if (connected) {
message.info('WS connection successful');
} else {
message.error('WS connection lo... |
/*
Modules
*/
var express = require('express'),
bodyParser = require('body-parser'),
cookieParser = require('cookie-parser'),
compress = require('compression');
/*
The App
*/
var app = module.exports = express();
/*
Set App variables
*/
app.set('port', process.env.PORT || 4000);
app.set('environment', process... |
let add = (x,y) => x+y;
console.log(add(2,2));
function square(){
let addition = (x,y) => { return x+y;}
let square1 = x => x*x;
let three = () => 3;
console.log(square1(addition(2,three())));
}
square();
function addi(){
var num = [1,2,3,4,5];
var tot = 0;
var double = 0;
num.forEach... |
chrome.storage.sync.get({
pageTitle: '',
url: ''
}, settings => {
if (settings.url) {
window.location.replace(settings.url);
} else {
document.title = settings.pageTitle;
}
}); |
import React, { Component } from "react";
import "./MusicCard.css";
import { Link, withRouter } from "react-router-dom";
import { base, subUrl, prodUrl } from "./../../config/environment";
/**
* Music card component which render and display the playlist card of a specific category
*
* @author Abdallah Hemdan
*
* ... |
var webpack = require("webpack");
var webpackConfig = require("./webpack.config.js");
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
// Project configuration.
grunt.initConfig({
webpack: {
options: webpackConfig,
build: {
plugins: web... |
const { expectRevert, time } = require('@openzeppelin/test-helpers');
const Lottery = artifacts.require('Lottery');
const MockBEP20 = artifacts.require('MockBEP20');
const LotteryNFT = artifacts.require('LotteryNFT');
const LotteryUpgradeProxy = artifacts.require("LotteryUpgradeProxy");
const fs = require('fs');
const... |
import { createGlobalStyle } from "styled-components";
export const GlobalStyle = createGlobalStyle`
@font-face {
font-family: 'Avenir Next';
font-style: normal;
font-weight: 400;
src: url('../assets/fonts/AvenirNextLTPro-Regular.otf');
}
@font-face {
font-family: '... |
var fs = require('fs'),
os = require('os'),
path = require('path');
var LogLevel = require('../../built/logger').LogLevel,
Logger = require('../../built/logger').Logger,
WriteTo = require('../../built/logger').WriteTo;
describe('the logger', function() {
var logFile = path.resolve(os.tmpdir(), 'logge... |
"use strict";
const jwt = require("jsonwebtoken");
const bcrypt = require("bcrypt");
require("dotenv").config();
const Users = (sequelize, DataTypes) => {
const userModule = sequelize.define("user", {
username: { type: DataTypes.STRING, allowNull: false, unique: true },
password: { type: DataTypes.STRING, al... |
'use strict';
Wish.all=[];
function Wish(disc,wishdate){
this.wishDisc = disc;
this.wishDate = wishdate;
this.comeTrue = genRandomNum();
Wish.all.push(this)
}
var container = document.getElementById('divResult');
var btn = document.getElementById('btnSubmit');
var tbl = document.getElementById('ResultT... |
// Configuração
const testObj = {
"an entree": "hamburger",
"my side": "veggies",
"the drink": "water"
};
// Altere apenas o código abaixo desta linha
const entreeValue = testObj["an entree"]; // Altere esta linha
const drinkValue = testObj["the drink"]; // Altere esta linha |
import Sequelize from 'sequelize';
import config from './../config';
const DB = config.DB;
const sequelize = new Sequelize(DB.DATABASE, DB.USER, DB.PASSWORD, {
host: DB.HOST,
dialect: 'postgres',
operatorsAliases: false,
});
const db = {
User: sequelize.import('./user'),
};
// Object.keys(db).forEach(modelNa... |
/* eslint-disable */
/**
* 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.
*/
'use strict';
// This alternative WebpackDevServer combines the functionality of:
// https://github.com/webpack/we... |
import React from 'react';
import { Modal as AModal } from 'amazeui-react';
const Modal = {
dialog: null,
setDialog(dialog) {
this.dialog = dialog;
},
close() {
if (this.dialog) {
this.dialog.close();
}
},
loading() {
if (this.dialog) {
let modal = <AModal type="loading" titl... |
import { useRef } from 'react'
import Head from 'next/head';
import { faBalanceScale } from '@fortawesome/pro-light-svg-icons';
import DocPage from '../../components/DocPage'
import DocSection from '../../components/DocSection'
import Code from '../../components/Code'
var low = require('lowlight')
var tree = low.highli... |
const http = require("http");
const {parse: urlparse} = require("url");
const {parse: qsparse} = require("querystring");
const bytesized = require("bytesized");
const stringWriter = require("@zingle/string-writer");
const bulk = require("./bulk")
const {calculateSize: calculateQueueSize} = require("./queue");
const MA... |
/*
* Kendo UI v#= version # (http://www.telerik.com/kendo-ui)
* Copyright #= year # Telerik AD. All rights reserved.
*
* Kendo UI commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
* If you do not own a commercial license, this file shall be governed by the tria... |
const fs = require('fs');
const _ = require('lodash');
const path = require('path');
const qiniu = require('qiniu');
const stream = require('stream');
const systemConfig = require('../config/system');
const { qiniu: { bucket, accessKey, secretKey } } = systemConfig;
/**
* 将 buffer 转为 Stream
* @param {Buffer} buffer... |
import React, { useEffect } from "react"
import { Link, useStaticQuery, graphql } from "gatsby"
import $ from "jquery"
import "easy-pie-chart/dist/jquery.easypiechart"
import Parser from "html-react-parser"
import { scoreAnimation } from "../functions/scoreAnimation"
export default function RecommendedBroker(props) {
... |
import React from 'react';
import { View, StyleSheet, Text } from 'react-native';
const Policies = ({ policies }) => {
return (
<View style={styles.textWrapper}>
<Text style={styles.h1}>Essentials</Text>
{policies.map((val, index) => (
<Text key={index} style={styles.sh1}>
{val}
... |
const { createFilter } = require("@rollup/pluginutils");
const {readFileSync} = require("fs");
function base64(opts = {}) {
if (!opts.include) {
throw Error("include option must be specified");
}
const filter = createFilter(opts.include, opts.exclude);
return {
name: "base64",
transform(data, id) ... |
import React from 'react'
import ReactDOM from 'react-dom'
import createStore from './store/createStore'
import './styles/main.scss'
import injectTapEventPlugin from 'react-tap-event-plugin';
// Store Initialization
// ------------------------------------
const store = createStore(window.__INITIAL_STATE__)
// Render ... |
var searchData=
[
['write_5fimplementation_30',['write_implementation',['../classssd1331__spi__dc__cs__res.html#aafc604113e2d228551c66762347ac4b5',1,'ssd1331_spi_dc_cs_res']]]
]; |
!function(a){const r=a.tk=a.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"%0 of %1":"1%-iň 0%-i",Aquamarine:"Akuamarin",Black:"Gara",Blue:"Gök",Cancel:"Ýatyr","Dim grey":"Goýy çal","Dropdown toolbar":"Açylýan gurallar paneli","Editor toolbar":"Redaktor gurallar paneli",Green:"Ýaşyl",Grey:"Çal","Insert paragraph ... |
/*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/portal'), require('@angular/core')) :
typeof define === 'function' && define.amd ? define('@angular/components-examples/cdk/portal', ['exports', '@angular/cdk/portal', '@angular/co... |
var nome = "Minha calculadora V1";
function soma(a,b){
return a + b;
}
function mult(a,b){
return a * b;
}
function sub(a,b){
return a-b;
}
function div(a,b){
return a/b;
}
module.exports = {
soma,
mult,
sub,
div,
nome
}; |
const julian = require('julian');
const { SY, MO } = require('./const.lib.js');
const { month } = require('./localization.lib.js');
/**
* Myanmar Month
*
* @param {Date} gDate Gregorian Date
* @param {Number} tg1 First Day of Tagu by Julian Day Number
* @param {Number} c Is Watat Year
* @param {Number} b Is Big ... |
module.exports = {
root: true,
parser: "vue-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
sourceType: "module"
},
env: {
browser: true,
node: true
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:vue/recom... |
import { combineReducers } from 'redux';
import { ServerException } from '../util/exceptions';
import * as fromDefaultPlayableApi from '../apis/defaultPlayable';
import { ACTION_PREFIX } from '../strings';
// API
// REDUCER MOUNT POINT
const reducerMountPoint = 'defaultPlayable';
// ACTIONS
export const FETCH_DEFAULT_... |
"use strict";
var v8_clone_mod = require('bindings')('clone');
var v8_clone = v8_clone_mod.clone;
var Cloner = module.exports.Cloner = function (deep, map) {
this._deep = !!deep;
this.setCircularChecks(true);
this._map = {};
if (typeof map === 'object') {
for (var clazz in map) if (map.hasOwnProperty(claz... |
const fetch = require('node-fetch');
const url = 'https://www.nseindia.com/market-data/live-market-indices'
const init = {
headers: {
'Host': 'www.nseindia.com',
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0',
'Accept': 'text/html,application/x... |
import Vue from 'vue'
import boxVue from './main.vue'
const defaults = {
title: '',
type: '',
postList: '' // 职位列表,用于搜索特定职位的下的人员
}
const Constructor = Vue.extend(boxVue)
let currentMsg, instance
const defaultCallback = action => {
if (currentMsg) {
let callback = currentMsg.callback
if (typeof callb... |
var fs = require('fs'),
gui = require('nw.gui'),
crypt = require('crypto'),
child_process = require('child_process');
var AppClass = new Class({
Implements: Events
});
window.addEvent('appready', function() {
var view;
// localStorage
// Dispatch the anchor
var myURI = new URI();
... |
import React from 'react';
import styled from 'styled-components';
import { Switch, Route, withRouter } from 'react-router-dom';
import { TransitionGroup, CSSTransition } from 'react-transition-group';
import Stage from './Stage';
import Game from './Game';
import Start from './Start';
function Container({ location }... |
import React from 'react';
export default function Header() {
return (
<header>
Hello World! Quotes App.
</header>
);
} |
'use strict';
System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-framework', '../common/attributeManager', '../common/attributes', '../control/control'], function (_export, _context) {
"use strict";
var bindable, customElement, noView, inject, computedFrom, AttributeManager, getBo... |
import React, { Component } from 'react';
import FeedbackIcon from '@material-ui/icons/Feedback';
import "./Style.scss";
import pastry from "../../assets/pastry.jpg";
import logo1 from '../../assets/img/brand/logo2.png'
//import mobiscroll from "mobiscroll";
import logo from "../../assets/logo.png";
import Menu from "... |
import React from "react"
import styled from "styled-components"
import { motion } from "framer-motion"
const StyledBurger = styled(motion.button)`
position: absolute;
top: 25%;
right: 2rem;
display: flex;
flex-direction: column;
justify-content: space-around;
width: 2rem;
height: 2rem;
background: t... |
import { SET_USER } from "../types";
import { SET_BOOKS } from "../types";
import { SET_BOOKS_CONTROLLER } from "../types";
import { SET_BOOKS_FOR_SEARCH } from "../types";
import { SET_SEARCHED_BOOK } from "../types";
export const setUser = user => {
return dispatch => {
dispatch({
type: SET_USER,
u... |
import React from 'react';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { axe } from 'jest-axe';
import CopyTextButton from 'app/components/CopyTextButton';
const defaults = {
text: 'default text',
textToCopy: 'default textToCopy',
label: ... |
// @flow
import React from 'react';
import {setTitle} from '../util';
import {NewWindowLink, SafeHtml} from '../components';
const Manual = () => {
setTitle('Overview');
return <div>
<h1>Overview <NewWindowLink /></h1>
<h2>MOBA GM Manual</h2>
<p>MOBA GM is a MOBA (Multiplayer online battle are... |
(function(window) {
function Observable(value) {
this.value = value;
this.observers = [];
this.changed = Observable.prototype.changed.bind(this);
this.get = Observable.prototype.get.bind(this);
this.notify = Observable.prototype.notify.bind(this);
this.set = Observab... |
import React from 'react';
import PropTypes from 'prop-types';
import { hotkeys } from 'react-keyboard-shortcuts';
import VideoPlayer from './VideoPlayer';
import PlayerControls from './PlayerControls';
import ProgressBar from './ProgressBar';
import returnHotKeys from './defaultHotKeys';
import styles from './index.... |
import React, {Component} from 'react';
import {Button, Icon, Image} from "semantic-ui-react";
import {Link} from "react-router-dom";
import {History, Pages} from "../../common";
import {Container} from "./index";
import {SocialLink} from './../../common/Link'
import {Logo} from "../../common/Images";
class Header ext... |
// External
const html = require('bel');
// Ours
const { append } = require('../../utils/dom');
require('./index.scss');
function Comments() {
if (!window.ABC) {
return html`
<div></div>
`;
}
const livefyreRootEl = html`
<div class="Comments-livefyreRoot u-layout"></div>
`;
if (ABC.News.... |
const Discord = require("discord.js")
const db = require("quick.db")
const ms = require('parse-ms');
const { truncate } = require("fs");
const fs = require('fs')
const yaml = require("js-yaml");
const { mainprefix , token , status , dpunishment } = yaml.load(fs.readFileSync("./antiraid.yml"));
module.exports = {
... |
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 clsx from 'clsx';
import withStyles from '../styles/withStyles';
export const styles ... |
'use strict';
var _16 = {
elem: 'svg',
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
width: 16,
height: 16,
},
content: [
{
elem: 'path',
attrs: { d: 'M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z' },
},
{
elem: 'path',
attrs: {
d... |
const merge = require("webpack-merge")
const prod = require("./webpack.prod")
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
module.exports = merge(prod, {
plugins: [
new BundleAnalyzerPlugin(),
],
}) |
/*!
* Bootlint - an HTML linter for Bootstrap projects
* https://github.com/twbs/bootlint
* Copyright (c) 2014 Christopher Rebert
* Licensed under the MIT License.
*/
/*eslint-env node */
var cheerio = require('cheerio');
var parseUrl = require('url').parse;
var semver = require('semver');
var _location = requir... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux'
import store from "./redux/store";
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
const rootElement = document.getElementById('root')
ReactDOM.render(
<Provider sto... |
import React, { Fragment } from "react";
import PropTypes from "prop-types";
const ProfileAbout = ({
profile: {
bio,
skills,
user: { name }
}
}) => (
<div className="profile-about bg-light p-2">
{bio && (
<Fragment>
<h2 className="text-primary">{name.trim().split(" ")[0]}'s Bio</h2>... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
ActivityIndicator,
Alert,
KeyboardAvoidingView,
Button,
StyleSheet,
Text,
TextInput,
TouchableOpacity,
View,
} from 'react-native';
import { graphql, compose } from 'react-apollo';
import { connect } from 'react-red... |
import { graphql, useStaticQuery } from 'gatsby'
const GetSiteSettings = () => {
const { markdownRemark } = useStaticQuery(
graphql`
query SITE_SETTINGS {
markdownRemark(frontmatter: {templateKey: {eq: "sitesettings"}}) {
id
frontmatter {
headercolor
headerbackground... |
import _ from 'lodash'
import { logger } from '../../logger'
let commits = {}
let head = null
let branches = { 'master': head }
let curBranch = 'master'
let direction = 'LR'
let seq = 0
function getRandomInt (min, max) {
return Math.floor(Math.random() * (max - min)) + min
}
function getId () {
const pool = '01... |
'use strict'
const debug = require('debug')
/** @typedef {import('../types').EventEmitterFactory} Events */
/** @type Events */
const EventEmitter = require('events')
const errcode = require('err-code')
const { pipe } = require('it-pipe')
const MulticodecTopology = require('../topology/multicodec-topology')
const { ... |
const buttons = document.querySelectorAll('button');
const display = document.querySelector('header div#mainDisplay');
const history = document.querySelector('header div#historyDisplay');
let operations = [];
let operationsHistory = [];
let lastNumber = 0;
let lastOperator = '';
let firstAddAfterDot = false;
let comesF... |
var searchData=
[
['neighboringparticle',['NeighboringParticle',['../class_s_p_h_1_1_neighboring_particle.html#a1d8f64e5edcfe070c5983362f6e7a6aa',1,'SPH::NeighboringParticle::NeighboringParticle()'],['../class_s_p_h_1_1_neighboring_particle.html#a7574f80eceddff47cbbcf2615ca5d3fd',1,'SPH::NeighboringParticle::Neighbor... |
'use strict';
//Setting up route
angular.module('notes').config(['$stateProvider',
function($stateProvider) {
// Notes state routing
$stateProvider.
state('listNotes', {
url: '/notes',
templateUrl: 'modules/notes/views/list-notes.client.view.html'
}).
state('createNote', {
url: '/notes/create',
... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.BibleDimensions = exports.Bible = void 0;
var _extends2 = _interopRequireDefault(requir... |
/*!
* Module dependencies.
*/
'use strict';
const MongooseError = require('./');
/**
* The connection failed to reconnect and will never successfully reconnect to
* MongoDB without manual intervention.
*
* @param {String} type
* @param {String} value
* @inherits MongooseError
* @api private
*/
function Di... |
System.registerDynamic([], true, function ($__require, exports, module) {
var global = this || self,
GLOBAL = global;
var $__pathVars = System.registry.get('@@cjs-helpers').getPathVars(module.id),
__filename = $__pathVars.filename,
__dirname = $__pathVars.dirname;
console.log(__filename);
}); |
export const RIF_TOKEN_ADDRESS = {
30 : process.env.REACT_APP_RIF_TOKEN_ADDRESS_MAINNET,
31 : process.env.REACT_APP_RIF_TOKEN_ADDRESS_TESTNET
}
export const RSK_RPC_URL = {
30 : process.env.REACT_APP_RSK_RPC_URL_MAINNET,
31 : process.env.REACT_APP_RSK_RPC_URL_TESTNET
}
export const RSK_EXPLORER = {
30 : pro... |
let data = {
"body": "<path d=\"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3... |
// Manipulating strings
var iframeInfo = '<iframe src="https://www.youtube.com/embed/QH2-TGUlwu4?enablejsapi=1" width="560" height="315" ' +
'frameborder="0"></iframe>';
if (iframeInfo.includes("enablejsapi=1") == false) {
alert('Parâmetros de controle de vídeo não inseridos.');
}
var splittedIframeInfo = ifra... |
import Ext_Container from '../Ext/Container.js';
export default class Ext_NavigationView extends Ext_Container {
static PROPERTIES() { return [
'activeChildTabIndex',
'activeItem',
'alignSelf',
'allowFocusingDisabledChildren',
'alwaysOnTop',
'ariaAttributes',
'ariaDescribedBy',
'ariaL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.