text stringlengths 2 1.04M |
|---|
import update from './update.js';
// even though Rollup is bundling all your files together, errors and
// logs will still point to your original source modules
console.log('if you have sourcemaps enabled in your devtools, click on main.js:5 -->');
update(); |
import React from 'react';
import { parse } from 'react-docgen';
import CodeExample from '../../../components/CodeExample';
import ComponentHeader from '../../../components/ComponentHeader';
import PropTypeDescription from '../../../components/PropTypeDescription';
import Demo from './Demo';
// eslint-disable-next-lin... |
//=============================================================================
// AutoTextFeed.js
// ----------------------------------------------------------------------------
// Copyright (c) 2017 n2naokun(柊菜緒)
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
// ... |
const fs = require('fs');
const through = require('through2').obj;
const PluginError = require('plugin-error');
const PLUGIN_NAME = 'gulp-inject-css';
module.exports = function () {
'use strict';
const PATTERN = /<\!--\s*inject-css\s*(.*?)\s*-->/gi;
function styleInject(file, _enc, callback) {
if (file.is... |
import React from "react";
import ScrollTo from "./ScrollTo";
import SetActiveItem from "./SetActiveItem";
import logo_white from "../assets/images/halografix_light.svg";
import logo_dark from "../assets/images/halografix_primary.svg";
import menu_light from "../assets/images/menu-light.svg";
import menu_dark from "../... |
import styled from "styled-components";
import Colors from "theme/Colors";
// import tw, {theme} from "twin.macro";
export const Container = styled.div`
background: #ffffff 0% 0% no-repeat padding-box;
border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0px 3px 6px #00000029;
overflow: hidden;
max-widt... |
'use strict'
const usuarios = require('./usuarios.js')
const sesiones = require('./sesiones.js')
const maestros = require('./maestros.js')
const movimientos = require('./movimientos.js')
module.exports = (app) => {
usuarios(app, '/api/pub/usuarios')
sesiones(app, '/api/pub/sesiones')
maestros(app, '/api/pu... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
require('../styles/scss/video-react.scss');
var _index = require('./index');
Object.keys(_index).forEach(function(key) {
if (key === 'default' || key === '__esModule') return;
Object.defineProperty(exports, key, {
enumerable: tru... |
/*!
* enquire.js v2.1.2 - Awesome Media Queries in JavaScript
* Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/enquire.js
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
! function(a, b, c) {
var d = window.matchMedia;
"undefined" != typeof module && module.exports ? modul... |
import React from 'react';
import { useConnection } from './ConnectionProvider';
function ConnectOverlay() {
const { connectWallet } = useConnection()
return (
<div className="blur-bg">
<button className="clickable center" onClick={connectWallet}>Connect</button>
</div>
);
}
e... |
import { Link } from 'react-router-dom';
import styled from 'styled-components';
export const PricingSection = styled.div`
padding: 100px 0 160px;
display: flex;
flex-direction: column;
justify-content: center;
background: #4b59f7;
`;
export const PricingWrapper = styled.div`
display: flex;
flex-directi... |
/**
* @fileOverview interval shapes
* @author dxq613@gmail.com
* @author sima.zhang1990@gmail.com
* @author huangtonger@aliyun.com
*/
var Util = require('../../util');
var Shape = require('./shape');
var PathUtil = require('../util/path');
var GPathUtil = require('@antv/g').PathUtil;
var Global = require('../../g... |
import React from 'react';
import { Link } from 'react-router-dom';
import logo from '../Images/favicon.svg';
import PropTypes from 'prop-types';
import './EmptyPagePlaceholder.css';
export default function EmptyPagePlaceholder({ msg, linkTo, linkToMsg }) {
return (
<div className="placeholder-container">
... |
window.common = (function({ $, common = { init: [] }}) {
const stepClass = '.challenge-step';
const prevBtnClass = '.challenge-step-btn-prev';
const nextBtnClass = '.challenge-step-btn-next';
const actionBtnClass = '.challenge-step-btn-action';
const finishBtnClass = '.challenge-step-btn-finish';
const subm... |
const { GraphQLServer } = require("graphql-yoga");
const { Query } = require("./resolvers/Query");
const { Mutation } = require("./resolvers/Mutation");
const resolvers = {
Query,
Mutation
};
const titles = [
{
id: `title-0`,
title: "new post"
}
];
const server = new GraphQLServer({
typeDefs: "./src... |
'use strict';
const Express = require('express');
const Axios = require('axios');
const NodeCache = require('node-cache');
const LAUNCHER_META_ENDPOINT = 'https://launchermeta.mojang.com';
const VERSION_MANIFEST_URI = `${LAUNCHER_META_ENDPOINT}/mc/game/version_manifest.json`;
const CACHE_MANIFEST = 'versionManifest'... |
// This example adds a search box to a map, using the Google Place Autocomplete
// feature. People can enter geographical searches. The search box will return a
// pick list containing a mix of places and predicted search terms.
// This example requires the Places library. Include the libraries=places
// parameter when... |
import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import useBaseUrl from '@docusaurus/useBaseUrl';
import styles from './styles.module.css';
const features = [
{
title: ... |
'use strict';
const path = require('path');
const confusingBrowserGlobals = require('confusing-browser-globals');
module.exports = {
extends: path.join(__dirname, 'index.js'),
env: {
node: false,
browser: true,
},
rules: {
'no-restricted-globals': [
'error',
...confusingBrowserGlobals,
],
},
}; |
'use strict';
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actua... |
import './index.scss';
import $ from 'jquery';
import assets from './assets';
import header from '../partials/header';
import footer from '../partials/footer';
function Ecosystem(router, api) {
this.router = router;
this.templateIndex = require('./index.html');
}
Ecosystem.prototype = {
index: function () {
... |
import { combineReducers } from 'redux';
import user from './reducers/user';
import auth from './reducers/auth';
import events from './reducers/events';
import loading from './reducers/loading.reducer';
import error from './reducers/error.reducer';
import event from './reducers/event.reducer';
export default combineR... |
var createScene = function (engine, canvas) {
var scene = new BABYLON.Scene(engine);
// Setup camera
var camera = new BABYLON.ArcRotateCamera("Camera", 0, 0, 10, BABYLON.Vector3.Zero(), scene);
camera.setPosition(new BABYLON.Vector3(-10, 10, 0));
camera.attachControl(canvas, true);
// Lights
... |
import React, { useRef, useEffect } from 'react';
import { graphql } from 'gatsby';
import PropTypes from 'prop-types';
import { Helmet } from 'react-helmet';
import styled from 'styled-components';
import { srConfig } from '@config';
import sr from '@utils/sr';
import { Layout } from '@components';
import { Icon } fro... |
var pageNumber = 0;
var hasAppend = false;
var hasMoreContent = true;
$("#simplePostList").scroll(function(){
viewH =$(this).height(),//可见高度
contentH =$("#simplePostUl").height(),//内容高度
scrollTop =$(this).scrollTop();//滚动高度
//if(contentH - viewH - scrollTop <= 100) { //到达底部100px时,加载新内容
if(scrollTop/(con... |
const express = require("express");
const router = express.Router();
const Register = require("./controllers/register");
const Login = require("./controllers/login");
const PatientControllers = require("./controllers/patient-controllers");
const ProfessionalControllers = require("./controllers/professional-controllers... |
window._ = require('lodash');
try {
require('bootstrap');
} catch (e) {}
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
window... |
import React, {useEffect, useState, useRef} from "react";
import {useDispatch, useSelector} from "react-redux";
import {connect} from "./redux/blockchain/blockchainActions";
import {fetchData} from "./redux/data/dataActions";
import * as s from "./styles/globalStyles";
import styled from "styled-components";
import './... |
/**
* Mnemonist Typed Array Helpers
* ==============================
*
* Miscellaneous helpers related to typed arrays.
*/
/**
* When using an unsigned integer array to store pointers, one might want to
* choose the optimal word size in regards to the actual numbers of pointers
* to store.
*
* This helpers d... |
const path = require("path"),
webpack = require("webpack"),
HtmlWebpackPlugin = require("html-webpack-plugin"),
AutoDllPlugin = require("autodll-webpack-plugin")
module.exports = {
entry: {
app: [path.resolve(__dirname, "src/index.tsx")],
vendor: ["react", "react-dom"],
},
output: {
filename: "... |
var express = require('express');
var vfutils = require('./utils/utils.js');
var MyLog = require('./utils/MyLog.js');
var redis = require('redis');
var app = express();
var bodyParser = require('body-parser');
app.use(bodyParser.json({limit: '50mb'}));
app.use(bodyParser.urlencoded({limit: '50mb', extended: true}));... |
mycallback( {"CONTRIBUTOR OCCUPATION": "MD", "CONTRIBUTION AMOUNT (F3L Bundled)": "500", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Self-Employed", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "4033 3rd Avenue", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CAND... |
import React from "react";
import { mount } from "enzyme";
import Description from "./Description";
describe("<Description />", () => {
it("renders description", () => {
const wrapper = mount(<Description description="Hello world"/>)
expect(wrapper.find('Description').text()).toBe("Hello world")
});
}); |
/*
* forgerock-sample-web-react
*
* index.js
*
* Copyright (c) 2021 ForgeRock. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
import React, { useEffect } from 'react';
import { NativeModules } from 'react-native';
... |
/**
* Created by xingo on 2017/02/18.
*/
let socketIO = require('socket.io');
let wsController = require('../wsController');
function startSocketIO(server) {
let ws = socketIO(server);
ws = ws
.of('/ws');
wsController.setWebSocket(ws);
}
module.exports = startSocketIO; |
var searchData=
[
['da_145',['da',['../structieee80211__mgmt.html#a4c18dc4a47a10b48ae9df9efa44958a1',1,'ieee80211_mgmt']]],
['deauth_146',['deauth',['../structieee80211__mgmt.html#a28550d689526a864c41436d63c212450',1,'ieee80211_mgmt']]],
['delay_5fbound_147',['delay_bound',['../structwmm__tspec__element.html#a07d... |
//from system
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Grid, Row, Glyphicon } from 'react-bootstrap';
import {URL_BASE} from '../../helper/constant'
import { history } from '../../route/history';
import DashboardHeader from '../../components/DashboardHeader';
import Foot... |
const { day09_1, day09_2 } = require("./index");
describe.skip("Day 09 Part 1", () => {});
describe.skip("Day 09 Part 2", () => {}); |
const calculateWeightedResults = (
runSimulation,
simulationCount,
doorsCount,
) => {
let games = []
for (let i = 0; i < simulationCount; i++) {
games.push(runSimulation(doorsCount))
}
const totalResults = games.reduce((totalResults, gameResult) => [
totalResults[0] + gameRe... |
import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { render } from "@testing-library/react";
import { App } from "./App";
it("render content", () => {
const filter = { category: "Categoria", year: "Año" };
const { asFragment } = render(<App filter={filter} />);
expect(asFragment(... |
"use strict";
const stringUtils = require("ember-cli-string-utils");
const useTestFrameworkDetector = require("../test-framework-detector");
module.exports = useTestFrameworkDetector({
description: "Generates a mixin unit test.",
locals: function(options) {
let projectName = options.inRepoAddon
? option... |
define(
"dojo/cldr/nls/en-au/currency", //begin v1.x content
{
"AUD_symbol": "$",
"USD_symbol": "US$"
}
//end v1.x content
); |
const gutil = require('gulp-util');
const webpack = require('webpack');
const _ = require('lodash');
const { scripts: scriptsConfig } = require('./../config.js');
const handleError = require('./../utils/handleError.js');
const { browserSync } = require('./browserSync');
const scriptsTask = function scripts(done) {
... |
import React, { useState, useEffect} from "react";
import api from 'services/api'
import "./styles.css";
function App() {
const [repositories, setRepositories ] = useState([])
useEffect(() => {
api.get('repositories').then(response => {
setRepositories(response.data)
})
}, [])
async function ... |
module.exports = {
name: 'avatar',
aliases: ['icon', 'pfp'],
description: 'Get profile picture of a user',
args: true,
usage: '<user>',
execute(message, args) {
if (!message.mentions.users.size) {
return message.channel.send(
`Your avatar: ${message.author.displayAvatarURL}`
);
}... |
var fs = require('fs')
var crunchify = require('.')
fs.readFile('./test.css', 'utf8', function (err, css) {
if (err) return console.error(err)
console.log('original:\n' + css)
console.log('crunchy:\n' + crunchify(css))
}) |
// Create function for Data plotting (Bar, gauge, bubble)
function getdata(tm) {
d3.json("Resources/basketball_table.json").then(function (nbaData) {
// console.log(nbaData);
// var trying = Object.values(nbaData);
// // console.log(trying);
// var code = nbaData.value();
// console.log(code);
... |
import { Icon } from 'antd';
import React from 'react';
import styles from './ThemeColor.less';
const Tag = ({ color, check, ...rest }) => {
return (
<div
{...rest}
style={{
backgroundColor: color,
}}
>
{check ? <Icon type="check" /> : ''}
</div>
);
};
const ThemeColor ... |
'use strict';
// YOU KNOW WHAT TO DO //
/**
* each: Designed to loop over a collection, Array or Object, and applies the
* action Function to each value in the collection.
*
* @param {Array or Object} collection: The collection over which to iterate.
* @param {Function} action: The Function to be applied to ea... |
import React, {useEffect, useState } from 'react';
import { withNavigationFocus } from 'react-navigation';
import api from '~/services/api'
import Icon from 'react-native-vector-icons/MaterialIcons'
import Background from '../../components/Background';
import Appointment from '../../components/Appointment';
import ... |
'use strict';
const angular = require('angular');
module.exports = angular.module('spinnaker.dcos.loadBalancer.details', [
require('./details.controller.js'),
]); |
/// <reference path="../../../../angular2/typings/node/node.d.ts" />
var { Cc, Ci, Cu } = require('chrome');
var os = Cc['@mozilla.org/observer-service;1'].getService(Ci.nsIObserverService);
var ParserUtil = require('./parser_util');
class Profiler {
constructor() {
this._profiler = Cc['@mozilla.org/tools/p... |
export const deDE = {
props: {
MuiTablePagination: {
backIconButtonText: 'Nächste Seite',
labelRowsPerPage: 'Zeilen pro Seite:',
labelDisplayedRows: ({ from, to, count }) => `${from}-${to === -1 ? count : to} von ${count}`,
nextIconButtonText: 'Nächste Seite',
},
MuiRating: {
... |
import { getUsers } from '../../api/getUsers'
export const fetchUserRequest = () => {
return {
type: 'FETCH_USER_REQUEST'
}
}
export const fetchUserSuccess = users => {
return {
type: 'FETCH_USER_SUCCESS',
payload: users
}
}
export const fetchUserFail = () => {
return {
type: 'FETCH_USER_FA... |
'use strict';
var Model = require('../../../lib/model');
describe('model', function() {
it('should instantiate connection', function() {
// given
var waypoints = [ { x: 0, y: 0 }, { x: 100, y: 100 } ];
// when
var connection = Model.create('connection', {
waypoints: waypoints
});
... |
import React from "react";
import { createDrawerNavigator } from "@react-navigation/drawer";
import CustomDrawer from "../components/CustomDrawer";
import HomeNavigation from "./HomeNavigation";
import SongbookNavigation from "./SongbookNavigation";
import OldSongbookNavigation from "./OldSongbookNavigation";
import R... |
var path = require("path");
var isPathInside = require("path-is-inside");
var _ = require("lodash");
var urlJoin = require("url-join");
/**
* The base URL to use for all static content.
*
* This can be a relative or absolute URL, and is used to calculate
* resource paths for getUrl() later on.
*
* It's set to /... |
export function removePortalLinkFromUrl() {
const [path] = window.location.hash.substr(1).split('?');
const linkRegex = /^\/portal\/?(?:\/(\w+(?:\/\w+)*))?\/?$/;
if (path && linkRegex.test(path)) {
window.history.pushState('', document.title, window.location.pathname + window.location.search);
}... |
import bar from './charts/bar.js';
import donut from './charts/donut.js';
import legend from './charts/legend.js';
import line from './charts/line.js';
import loadingStates from './charts/helpers/load.js';
import tooltip from './charts/tooltip.js';
import miniTooltip from './charts/mini-tooltip.js';
import sparkline fr... |
import AbstractRenderingTestCase from './abstract-rendering';
import { privatize as P } from '@ember/-internals/container';
export default class RenderingTestCase extends AbstractRenderingTestCase {
constructor() {
super(...arguments);
let { owner } = this;
this.env = owner.lookup('service:-glimmer-envi... |
/**
* @author Charlie Calvert
*/
var PersonController = function($scope) {
'use strict';
$scope.people = [
{ firstName: 'George', lastName: 'Washington', sequence: 1 },
{ firstName: 'John', lastName: 'Adams', sequence: 2 },
{ firstName: 'Thomas', lastName: 'Jefferson', sequence: 3 },
... |
export default (value) =>
Object.prototype.toString.call(value) === '[object String]'; |
//= require ../lib/_jquery
//= require ../lib/_imagesloaded.min
;(function () {
'use strict';
var htmlPattern = /<[^>]*>/g;
var loaded = false;
var debounce = function(func, waitTime) {
var timeout = false;
return function() {
if (timeout === false) {
setTimeout(function() {
fu... |
const Map = (elems = {}) => {
let items = { ...elems };
const has = function (key) {
return !!items[key];
};
const set = function (key, value) {
items[key] = value;
};
const remove = function (key) {
if (has(key)) {
delete items[key];
return tru... |
import { lazy, Suspense } from 'react';
import {Route, Switch} from 'react-router-dom'
import { TestPage } from '../pages/TestPage';
const Home = lazy(() => import('../pages/Home'))
const Crypto = lazy(() => import('../pages/Crypto'))
const Coin = lazy(() => import('../components/Coin/CoinUpdate'))
const About = lazy((... |
import React, { useState, useEffect } from 'react';
import api from './services/api';
import './global.css';
import './App.css';
import './Sidebar.css';
import './Main.css';
import DevItem from './components/DevItem';
import DevForm from './components/DevForm';
function App() {
const [devs, setDevs] = useState([])... |
import App from "../app";
import {pubsub} from "../helpers/subscriptionManager.js";
import * as Classes from "../classes";
App.on("addObjective", args => {
const {objective, simulatorId} = args;
const obj = new Classes.Objective(
simulatorId ? Object.assign({}, objective, {simulatorId}) : objective,
);
App... |
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
var webpack = require("webpack")
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
context: path.resolve(__dirna... |
/**
* @type {Partial<jest.InitialOptions>}
*/
const config = {
preset: "ts-jest",
rootDir: "..",
testMatch: [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/src/**/?(*.)+(spec|test).ts?(x)",
],
testPathIgnorePatterns: ["dist"],
coverageThreshold: {
global: {
branches: 80,
fun... |
const Route = ReactRouterDOM.Route;
const Link = ReactRouterDOM.Link;
const HashRouter = ReactRouterDOM.HashRouter;
const UserContext = React.createContext({users:[{
name:'user',
email:'user@domain.com',
password:'password',
balance:0,
deposit:[],
withdrawal:[]}]});
function Card(props){
f... |
import {
SET_WAVES,
LOADING_DATA,
UPVOTE_WAVE,
UNUPVOTE_WAVE,
DELETE_WAVE,
POST_WAVE,
SET_ERRORS,
CLEAR_ERRORS,
LOADING_UI,
SET_WAVE,
STOP_LOADING_UI,
POST_COMMENT
} from '../types';
import axios from 'axios';
const baseUrl = "https://us-central1-vibe-32481.cloudfunctions.net/api";
// Get all waves
expo... |
// xxxxxxxxxx Working For Sign Up Form xxxxxxxxxx
// xxxxxxxxxx Full Name Validation xxxxxxxxxx
function checkUserFullName(){
var userSurname = document.getElementById("userFullName").value;
var flag = false;
if(userSurname === ""){
flag = true;
}
if(flag){
document.getElementById("u... |
const React = require('react');
const { View } = require('react-native');
const { Button } = require('react-native');
const { WebView } = require('react-native-webview');
const { connect } = require('react-redux');
const { ScreenHeader } = require('../screen-header.js');
const { reg } = require('@joplinapp/lib/registr... |
import { resendInvite } from 'typedefs/company.gql';
import withMutation from '../withMutation';
export default (config) => {
return withMutation({
config,
mutation: resendInvite,
mutationName: 'resendInvite',
defaultPropName: 'resendInvite',
});
}; |
// flow-typed signature: 49dd8de5240c00acb572bb6edb681042
// flow-typed version: <<STUB>>/@babel/plugin-proposal-throw-expressions_v^7.8.3/flow_v0.118.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-throw-expressions'
*
* Fill this stub out by replacing all the `any` types.
*
* O... |
class HeroUpdateShieldHandler {
static get ID() {
return 5659;
}
constructor() {
this._handler = (e, a) => {
let parsedJson = JSON.parse(e.detail);
if(window.hero){
window.hero.maxShd = parsedJson[Variables.heroInitMaxShd];
window.hero.shd = parsedJson[Variables.heroUpdateShd];
}
}
}... |
/* */
'use strict';
var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');
var getNodeForCharacterOffset = require('./getNodeForCharacterOffset');
var getTextContentAccessor = require('./getTextContentAccessor');
function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
return anchorNode... |
const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: {
camera: ['./client/camera/entry.js'],
projector: ['./client/projector/entry.js'],
editor: ['./client/editor/entry.js'],
},
output: {
path: path.join(__dirname, 'www'),
filename: '[name].js',
},
m... |
var tests = [
{
name: 'minimal',
jsonform: {
schema: {
mainappcolor: {
type: 'string',
title: 'One color',
format: 'color',
'default': 'blue'
}
}
}
},
{
name: 'form',
jsonform: {
schema: {
mainappcolor: {
... |
import { useFetch } from '../hooks/fetch';
import getConfig from 'next/config';
import Link from 'next/link';
function HomePage({ publicRuntimeConfig }) {
const { timesSquareApiUrl } = publicRuntimeConfig;
const pagesDataUrl = `${timesSquareApiUrl}/v1/pages`;
const { status, error, data: pageResources } = useFe... |
const publisherSchema = require('./publisher');
module.exports = {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"domain": {
"type": "string"
},
"cat": {
"type": "array",
"items": {
"type": "string"
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const radioOpts = require("radio-browser");
const prism = require("prism-media");
class default_1 {
static async search(options) {
if (!options)
throw new Error("(discord-radio-player) No search options were provided");... |
import Post from './components/Post.js';
(async () => {
// Get data from backend
const response = await fetch("https://jsonplaceholder.typicode.com/posts");
const data = await response.json();
// Render blog posts
const $blog = document.getElementById("blog");
if (!$blog) {
throw new Error("Blog conta... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _types = require("./types");
function _interopRequireDefault(obj) { return obj && o... |
//\Fable>babel out\bundle.js --plugins=transform-es3-property-literals,ransform-es3-member-expression-literals -o bundle-2.js
var fs=require("fs");
var filenameIn=process.argv[2];
var filenameOut=process.argv[3];
function patch(data)
{
fs.writeFile(filenameOut,"this.Map=polyfill.Map;\n"+... |
window.mobileAndTabletcheck = function () {
var check = false;
return check;
};
(function ($) {
"use strict";
$.formhelper = function (options, el) {
var self = this;
var $form = $(el);
if (window.FormData === undefined) {
$form.find("button[type='submit']").att... |
import React from 'react'
const DEFAULT_SIZE = 24
export default ({
fill = 'currentColor',
width = DEFAULT_SIZE,
height = DEFAULT_SIZE,
style = {},
...props
}) => (
<svg
viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` }
style={{ fill, width, height, ...style }}
{ ...props }
>
<path d... |
define(["require", "exports"], function (require, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
var DEFAULT_COLORS = { '5V': '#f01414', GND: '#333333' };
var DARK = 50;
var Point = /** @class */ (function () {
function Point(x, y) {
this.x = x;
... |
// Copyright 2017, Google LLC 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 applicable... |
var structepoll__event =
[
[ "data", "structepoll__event.html#a53f7d2180f70d504405d2d9fac0d5a58", null ],
[ "events", "structepoll__event.html#a4eb5ccec6b1c1e58d8ccd9aaa3aed6ed", null ]
]; |
const { Command } = require('../../../src/index');
module.exports = class Settings extends Command {
constructor(client) {
super(client, {
filename: 'setting',
name: 'setting',
description: 'description',
arguments: ['[arguments]'],
examples: `template${client.suffix} [arguments]`,
... |
webpackJsonp([7],[
/* 0 */
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file.
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
module.exports = function normalizeC... |
var canvas;
var gl;
var NumVertices = 36;
var pointsArray = [];
var colorsArray = [];
var vertices = [
vec4( -0.2, -0.2, 0.2, 1.0 ),
vec4( -0.2, 0.2, 0.2, 1.0 ),
vec4( 0.2, 0.2, 0.2, 1.0 ),
vec4( 0.2, -0.2, 0.2, 1.0 ),
vec4( -0.2, -0.2, -0.2, 1.0 ),
vec4( -0.2, 0.2, -0.2, 1.0 ),
vec4( 0.2, 0.2, -0... |
/*eslint no-console:0*/
var mdns = require('../');
var TIMEOUT = 5000; //5 seconds
//if you have avahi or bonjour or other mdns service running on the same system
//you REALLY would like to exlude 0.0.0.0 from the interfaces bound to
//mdns.excludeInterface('0.0.0.0')
var browser = mdns.createBrowser(); //defaults t... |
var queueMicrotask = require("../../../runtime/queueMicrotask");
function AsyncValue() {
/**
* The data that was provided via call to resolve(data).
* This property is assumed to be public and available for inspection.
*/
this.w_ = undefined;
/**
* The data that was provided via call to reject(err)
... |
import React from 'react'
import Head from 'next/head'
import styles from '../styles/Home.module.css'
import SchedulePage from "../components/Schedule/SchedulePage";
import Nav from '../components/Nav/Nav'
import Footer from '../components/Footer/Footer'
function Schedule() {
return (
<div>
<He... |
/*
p5.play
by Paolo Pedercini/molleindustria, 2015
http://molleindustria.org/
*/
(function(root, factory) {
if (typeof define === "function" && define.amd)
define("p5.play", ["p5"], function(p5) {
factory(p5);
});
else if (typeof exports === "object") factory(require("../p5"));
else fac... |
const express = require("express");
const serveStatic = require("serve-static");
const path = require("path");
const history = require("connect-history-api-fallback");
const app = express();
app.use(history());
app.use("/", serveStatic(path.join(__dirname, "/dist")));
const port = process.env.PORT || 8080;
app.liste... |
import React, { Component } from "react";
import {
Col,
Row,
Layout,
Form,
Input,
Icon,
Divider,
Button,
Spin,
notification,
Upload,
message
} from "antd";
import BreadcrumbBee from "../../../../../componentes/BreadcrumBee";
import { connect } from "react-redux";
import { bindActionCreators } fr... |
export default {
// Target (https://go.nuxtjs.dev/config-target)
target: 'static',
// Global page headers (https://go.nuxtjs.dev/config-head)
head: {
title: 'Mathew Dacosta',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.