path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/templates/blog-post.js
lucasflores/lucasflores.github.io
import React from 'react' import { graphql } from 'gatsby' import TimeAgo from 'react-timeago' import { Flex, Box } from 'grid-styled' import { media } from '../utils/style' import styled, { createGlobalStyle } from 'styled-components' import Breadcrumb from '../components/breadcrumb' import Bar from '../components/ba...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
johncorderox/Socialize
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
assets/node_modules/material-ui/svg-icons/image/control-point.js
janta-devs/nyumbani
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
ajax/libs/yui/3.16.0/event-custom-base/event-custom-base-debug.js
perdona/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
src/esm/components/navigation/header-menu/components/item.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["children", "external", "liProps", "modifier", "button", "size", "isSelected", "as", "tag"]; import React from 'react'; import PropTypes from 'prop-typ...
src/components/share-modal.js
ProjectSunday/rooibus
import React from 'react' import { connect } from 'react-redux' import * as Actions from '../actions/actions' import './share-modal.sass' const mapStateToProps = (state, ownProps) => { return { mapId: state.map.id, sharingModalOpen: state.ui.sharingModalOpen } } class ShareModal extends React...
src/articles/2018-04-14-Battle-For-Azeroth/index.js
fyruna/WoWAnalyzer
import React from 'react'; import { Zerotorescue } from 'CONTRIBUTORS'; import ImageArticle from 'interface/news/ImageArticle'; import BackgroundImage from './Background.jpg'; export default ( <ImageArticle title="Battle for Azeroth" publishedAt="2018-04-14" publishedBy={Zerotorescue} image={BackgroundImage} style...
examples/custom-server/pages/index.js
nelak/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
ajax/libs/material-ui/5.0.0-alpha.24/legacy/InputBase/InputBase.min.js
cdnjs/cdnjs
import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import _defineProperty from"@babel/runtime/helpers/esm/defineProperty";import _extends from"@babel/runtime/helpers/esm/extends";import{formatMuiErrorMessage as _formatMuiErrorMessage}from"@material-ui/utils";import*as React from"re...
app/assets/scripts/views/playground.js
WorldBank-Transport/rra-frontend
'use strict'; import React from 'react'; import Dropdown from '../components/dropdown'; import { Modal, ModalHeader, ModalBody, ModalFooter } from '../components/modal'; class Playground extends React.Component { constructor (props) { super(props); this.state = { modalOpen: false }; } openMo...
node_modules/react-router/es6/Route.js
ArtixZ/LyingMan2
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var func = _React$PropTypes.func; /** * A <Route> is use...
src/components/TrendAnalysis/SelectedSites.js
wrleskovec/thoughtcrime
import React from 'react'; export default class SelectedSites extends React.Component { constructor(props) { super(props); } render() { const { selectedSites, removeSite } = this.props; return ( <div className="col-md-6"> <div className="input-group selected-sites"> {selectedS...
public/bower_components/js-sequence-diagrams-svgjs/node_modules/jison/node_modules/JSONSelect/src/test/js/jquery-1.6.1.min.js
oro8oro/devi
/*! * jQuery JavaScript Library v1.6.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.compat.js
mjangelini/ng-auth-test
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
ajax/libs/phaser/2.1.0/custom/p2.js
sinkcup/cdnjs
/** * The MIT License (MIT) * * Copyright (c) 2013 p2.js authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
src/js/components/DropButton/stories/Simple.js
grommet/grommet
import React from 'react'; import PropTypes from 'prop-types'; import { Close } from 'grommet-icons'; import { Box, Button, DropButton, Heading, Text } from 'grommet'; const DropContent = ({ onClose }) => ( <Box pad="small"> <Box direction="row" justify="between" align="center"> <Heading level={3} margin=...
dist/1.10.2/jquery-ajax-css-dimensions-effects.min.js
eric-seekas/jquery-builder
/*! jQuery v1.10.2 -css,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],d="1.10.2 -css,-aj...
packages/web/examples/SingleDropdownRange/src/index.js
appbaseio/reactivesearch
import React from 'react'; import ReactDOM from 'react-dom'; import { ReactiveBase, SingleDropdownRange, ResultCard, SelectedFilters, ReactiveList, } from '@appbaseio/reactivesearch'; import './index.css'; const Main = () => ( <ReactiveBase app="good-books-ds" url="https://a03a1cb71321:75b6603d-9456-4a5a-a...
ajax/libs/rxjs/2.5.1/rx.lite.js
yinghunglai/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
docs/src/Routes.js
gianpaj/react-bootstrap
import React from 'react'; import Root from './Root'; import HomePage from './HomePage'; import IntroductionPage from './IntroductionPage'; import GettingStartedPage from './GettingStartedPage'; import ComponentsPage from './ComponentsPage'; import SupportPage from './SupportPage'; import NotFoundPage from './NotFound...
ajax/libs/jquery/1.8.2/jquery.min.js
askehansen/cdnjs
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
Project/node_modules/grommet-cli/templates/full/src/js/components/TodoAppDashboard.js
IhtishamShah/GamifiedLearningApp
import React, { Component } from 'react'; import Box from 'grommet/components/Box'; import Heading from 'grommet/components/Heading'; import List from 'grommet/components/List'; import ListItem from 'grommet/components/ListItem'; import Meter from 'grommet/components/Meter'; import Value from 'grommet/components/Value'...
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/List/Page.js
pbogdan/react-flux-mui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import listReadmeText from './README'; import listExampleSimpleCode from '!raw!....
IQApp/src/app.js
victorditadi/IQApp
import React, { Component } from 'react'; import { View, StatusBar, Platform } from 'react-native'; import Router from './Router'; import * as firebase from 'firebase'; class App extends Component { componentWillMount() { const config = { apiKey: "AIzaSyD0157wHVy2Kyw4TbhSJ46pMN0DNmE3ce8", authDomai...
src/javascript/components/device.js
rahulharinkhede2013/xigro-dashboard
import React from 'react'; import { Button, IconButton } from 'att-iot-ui/lib/button'; import classnames from 'classnames'; // style import index from '../index.scss'; import app from '../app.scss'; // Sample Device list json. const deviceList = [ { name: "Intel Liqdd", deviceSerialNumber: "123456...
actor-apps/app-web/src/app/components/dialog/messages/Document.react.js
daodaoliang/actor-platform
import React from 'react'; import classnames from 'classnames'; class Document extends React.Component { static propTypes = { content: React.PropTypes.object.isRequired, className: React.PropTypes.string }; constructor(props) { super(props); } render() { const { content, className } = this....
packages/material-ui-icons/src/SelectAllRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2...
src/shared/components/Shared/SortableTblTd.js
Grace951/ReactAU
import React from 'react'; const SortableTblTd = (props) => { let CustomTd = props.customTd; return( <tr> { props.dKey.map((item, id) => { let CustomTdComponent = null; CustomTdComponent = CustomTd && CustomTd.filter((i)=>{return (i.keyItem === item);}) .reduce( (result,item) => { return item; },...
src/components/PollState/PollState.js
nambawan/g-old
import React from 'react'; import PropTypes from 'prop-types'; import cn from 'classnames'; import withStyles from 'isomorphic-style-loader/withStyles'; import s from './PollState.css'; import VotesList from '../VotesList'; class PollState extends React.Component { static propTypes = { pollId: PropTypes.string.i...
src/components/molecules/HomeJoin/index.js
SIB-Colombia/biodiversity_catalogue_v2_frontend
import React from 'react'; import styled from 'styled-components'; import {Link, HomeButton} from 'components'; import {Grid, Row, Col} from 'react-flexbox-grid' const Wrapper = styled.div ` background-image: -webkit-radial-gradient(#0098A6, #008E9B); background-image: radial-gradient(#0098A6, #008E9B); padding: 70px ...
src/parser/monk/mistweaver/modules/spells/EnvelopingMists.js
sMteX/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatNumber } from 'common/format'; import { TooltipElement } from 'common/Tooltip'; import Analyzer from 'parser/core/Analyzer'; import calculateEffectiveHealing from 'parser/core/calculateEffectiveHeal...
pathfinder/architecturestack/src/Report.js
leanix/leanix-custom-reports
import React, { Component } from 'react'; import CommonQueries from './common/CommonGraphQLQueries'; import DataIndex from './common/DataIndex'; import Utilities from './common/Utilities'; import SelectField from './SelectField'; import Checkbox from './Checkbox'; import Legend from './Legend'; import Matrix from './Ma...
app/containers/Hero/HeroContainer.js
saelili/F3C_Website
import React from 'react' import { Hero } from '../../components' const HeroContainer = () => ( <Hero /> ) export default HeroContainer
src/examples/react/src/controls/utils.js
nikospara/egkyron
import React from 'react'; import ValidationContext from 'egkyron/ValidationContext'; export function attachInput(component, fieldName) { return { value: component.state.value ? component.state.value[fieldName] : null, onChange: component.handleChange.bind(component, fieldName), validity: component.props.validi...
server/node_modules/react-router/es/StaticRouter.js
Atanasov86/Car-System
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
src/components/MessageForm/component.js
Hylozoic/hylo-redux
import React from 'react' import { throttle, isEmpty } from 'lodash' import CommentImageButton from '../CommentImageButton' import { SENT_MESSAGE, trackEvent } from '../../util/analytics' import { onEnterNoShift } from '../../util/textInput' import { getSocket, socketUrl } from '../../client/websockets' import { STARTE...
ajax/libs/yui/3.1.2/event-custom/event-custom.js
MisatoTremor/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
js/example-work.js
sithadmin/my-portfolio
import React from 'react'; import ExampleWorkModal from './example-work-modal'; class ExampleWork extends React.Component { constructor(props) { super(props); this.state = { 'modalOpen': false, 'selectedExample': this.props.work[0] }; this.openModal = this....
src/components/search-bar.js
josebigio/PodCast
import React, { Component } from 'react'; import { connect } from 'react-redux'; import FontAwesome from 'react-fontawesome'; import { bindActionCreators } from 'redux'; import _ from 'lodash'; import { searchPodCast, onSearchResultClicked, handleSearchAll, onSearchFocus, onSearchOnBlur, mouseEntered, mouseLeft } from ...
src/routes/not-found/index.js
willchertoff/Ben-Kinde
import React from 'react'; import Layout from '../../components/Layout'; import NotFound from './NotFound'; const text = `Ooops we couldn't find anything!`; function action() { return { chunks: ['not-found'], title: 'Not Found', component: <Layout><NotFound text={text} /></Layout>, status: 404, };...
internals/templates/notFoundPage/notFoundPage.js
StrikeForceZero/react-typescript-boilerplate
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it...
src/react-todo/Footer.js
rdwrcode/myreact-demo
import React from 'react'; import { connect } from 'react-redux'; import { setVisibilityFilter } from './actions'; const Link = ({active, children, onClick}) => { if (active) { return <span>{children}</span>; } return ( <a href='#' onClick={e => { e.preventDefault(); onClick();...
ajax/libs/redux-form/0.4.0/redux-form.js
kennynaoh/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
scripts/bench/benchmarks/pe-class-components/build.js
leexiaosi/react
'use strict'; const { join, } = require('path'); async function build(reactPath, asyncCopyTo) { // copy the UMD bundles await asyncCopyTo( join(reactPath, 'build', 'dist', 'react.production.min.js'), join(__dirname, 'react.production.min.js') ); await asyncCopyTo( join(reactPath, 'build', 'dis...
app/domains/blog/pages/landing/components/LandingPage/LandingPage.js
alexandregme/react-core-components
import React, { Component } from 'react'; import {render} from 'react-dom'; import { DomainsNavigation } from 'core/components/DomainsNavigation' export default class App extends Component { render () { return ( <div> <DomainsNavigation /> Blog Landing Page </div> ); } }
src/components/common/ComboBox/ComboBoxItem.js
anztrax/simple-image-server-frontend
import React from 'react'; export default class ComboBoxItem extends React.Component{ constructor(props){ super(props); } render(){ const { text, value } = this.props; return ( <option value={value}> {text} </option> ) } }
src/containers/AddNewCartRuleByAmount/AddNewCartRuleByAmount.js
kingpowerclick/kpc-web-backend
import React, { Component } from 'react'; import classNames from 'classnames'; import { Breadcrumb} from 'components'; import { SplitButton, MenuItem } from 'react-bootstrap'; export default class AddNewCartRuleByAmount extends Component { render() { const styles = require('./addNewCartRuleByAmount.scss'); ...
client/src/javascript/components/icons/Checkmark.js
jfurrow/flood
import React from 'react'; import BaseIcon from './BaseIcon'; export default class Checkmark extends BaseIcon { render() { return ( <svg className={`icon icon--checkmark ${this.props.className}`} viewBox={this.getViewBox()}> <polygon points="55.5,18.6 46.1,8.7 24.4,31.5 13.9,20.4 4.5,30.3 24.4,51....
app/containers/HomePage/index.js
nimzco/takemyidea-ui
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import { connect } from 'react-redux'; import { routeActions } from 'react-router-redux'; import shouldPureComponentUpdate from 'react-pure-render/function'; import { createSelector } from 'reselect'; im...
test/ImageSpec.js
mxc/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Image from '../src/Image'; describe('Image', () => { it('should be an image', () => { let instance = ReactTestUtils.renderIntoDocument( <Image /> ); let image = React.findDOMNode(instance); image.nodeName...
examples/stress-test/app.js
davidkpiano/redux-simple-form
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; window.React = require('react/lib/ReactWithAddons'); import { Provider, connect } from 'react-redux'; import { Control, Field, Form, } from 'react-redux-form'; import store from './store.js'; const UPDATE_ON = 'change'; class Rows ex...
packages/mcs-lite-ui/src/StatusLight/StatusLight.js
MCS-Lite/mcs-lite
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; export const Svg = styled.svg` width: 12px; > * { fill: ${props => props.theme.color[props.color]}; transition: fill cubic-bezier(0.47, 0, 0.75, 0.72) 0.3s; } `; const StatusLight = props => ( <Svg ...
ajax/libs/3Dmol/1.0.10/3Dmol-min.js
cdnjs/cdnjs
(function(q,ga){"object"===typeof module&&"object"===typeof module.exports?module.exports=q.document?ga(q,!0):function(q){if(!q.document)throw Error("jQuery requires a window with a document");return ga(q)}:ga(q)})("undefined"!==typeof window?window:this,function(q,ga){function Da(a){var b="length"in a&&a.length,c=d.ty...
src/entypo/Browser.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Browser'; let EntypoBrowser = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M18,2H2C0.9,2,0,2.9,0,4v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V4C20,2.9,19.1,2,18,2z M4.5,3.75c0.414...
src/web/widgets/Visualizer/Notifications.js
cheton/cnc.js
import PropTypes from 'prop-types'; import React from 'react'; import Anchor from '../../components/Anchor'; import { ToastNotification } from '../../components/Notifications'; import Space from '../../components/Space'; import i18n from '../../lib/i18n'; import { NOTIFICATION_PROGRAM_ERROR, NOTIFICATION_M0_PRO...
spec/components/form.js
rubenmoya/react-toolbox
import React from 'react'; import Form from '../../components/form'; const countriesArray = ['Spain', 'England', 'USA', 'Thailand', 'France']; const countries = [ { value: 'EN-gb', label: 'England', img: 'http://' }, { value: 'ES-es', label: 'Spain', img: 'http://' }, { value: 'TH-th', label: 'Thailand', img: '...
ui/src/index.js
damianmoore/photo-manager
import React from 'react' import ReactDOM from 'react-dom' import AppContainer from './containers/AppContainer' import * as serviceWorker from './serviceWorker' import Init from './components/Init' ReactDOM.render( <Init> <AppContainer /> </Init>, document.getElementById('root') ) // If you want your app to...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-typeof-symbol/node_modules/babel-runtime/node_modules/core-js/modules/es6.promise.js
mannyng/ceap
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
packages/material-ui-icons/src/SignalWifi1BarLockTwoTone.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M15.5 14.5c0-2.8 2.2-5 5-5 .36 0 .71.04 1.05.11L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7L12 21.5l3.5-4.36V14.5z" /><path d="M15.5 14.5c0-.23.04-.46.07...
ajax/libs/zeroclipboard/2.2.0/ZeroClipboard.Core.js
thesandlord/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2009-2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.2.0 */ (function(window, undefined) { "use str...
app/javascript/flavours/glitch/features/direct_timeline/components/column_settings.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import SettingToggle from 'flavours/glitch/features/notifications/components/setting_toggle'; import SettingText from '../...
ajax/libs/forerunnerdb/1.3.542/fdb-all.min.js
humbletim/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
ajax/libs/rxjs/2.3.12/rx.all.compat.js
Teino1978-Corp/Teino1978-Corp-cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
ajax/libs/buy-button-js/0.2.15/buybutton.js
holtkamp/cdnjs
var ShopifyBuy = (function () { 'use strict'; var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {} function interopDefault(ex) { return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex; } function cre...
int_frontend/src/index.js
per-garden/webapp
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
src/index.js
allenyin55/reading_with_Annie
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware, compose } from 'redux'; import { Router, browserHistory } from 'react-router'; import reducers from './reducers'; import routes from './routes'; import promise from 'redux-promise'...
codes/chapter05/react-router-v4/basic/demo06/app/components/Topics.js
atlantis1024/react-step-by-step
import React from 'react'; import { Link, Route, Switch } from 'react-router-dom'; class Topic extends React.PureComponent { render() { return ( <div> <h3>ID: {this.props.match.params.id}</h3> </div> ) } } class Topics extends React.PureComponent { render() { return ( <div>...
backend/web/assets/4fa25778/yii.gridView.js
PewSztiePoll/diploma
/** * Yii GridView widget. * * This is the JavaScript widget used by the yii\grid\GridView widget. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ (function ($) { ...
src/components/tcomb/TextInput.js
Jenny-L/lumohacks2017
/** * Text Input template for tcomb * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import { View } from 'react-native'; // Components import { FormInput, FormLabel, FormValidationMessage } from '@ui/'; /* Component ================================...
app/javascript/mastodon/features/compose/components/upload_form.js
increments/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import UploadProgressContainer from '../containers/upload_progress_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import UploadContainer from '../containers/upload_container'; export default class U...
src/backward/Widgets/View.js
sampsasaarela/NativeBase
/* @flow */ import React from 'react'; import { View } from 'react-native'; import { connectStyle } from 'native-base-shoutem-theme'; import mapPropsToStyleNames from '../../Utils/mapPropsToStyleNames'; import NativeBaseComponent from '../Base/NativeBaseComponent'; class ViewNB extends NativeBaseComponent { rende...
ajax/libs/yui/3.14.1/datatable-body/datatable-body.js
abbychau/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = ...
_includes/js/jquery.min.js
mxabierto/mapas
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
Libraries/Network/__tests__/FormData-test.js
arthuralee/react-native
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @emails oncall+react_native */ 'use strict'; const FormData = require('../FormData'); describe('FormData', functio...
node_modules/react/lib/ReactInstanceMap.js
pornvutp/tact
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
ajax/libs/vue/1.0.17-csp/vue.common.min.js
maruilian11/cdnjs
"use strict";function set(e,t,n){if(hasOwn(e,t))return void(e[t]=n);if(e._isVue)return void set(e._data,t,n);var r=e.__ob__;if(!r)return void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var i=r.vms.length;i--;){var a=r.vms[i];a._proxy(t),a._digest()}return n}function del(e,t){if(hasOwn(e,t)){delete e[t];var n=e....
src/components/SvgIcon/Envelope.js
sk-iv/iva-app
import React from 'react'; import SvgIcon from './SvgIcon'; import classNames from 'classnames'; /** * @ignore - internal component. */ let Envelope = props => ( <SvgIcon {...props} className={classNames('icon--size24', props.className)}> <path d="M1.1,6.8L12,13.9l11-7.2 M1.1,17.5l8.6-5 M23,17.5l-8.8-5.1 M23,1...
ajax/libs/react-native-web/0.0.0-51f9ab73e/cjs/exports/unmountComponentAtNode/index.min.js
cdnjs/cdnjs
"use strict";exports.__esModule=!0,exports.default=void 0;var _reactDom=require("react-dom"),_default=_reactDom.unmountComponentAtNode;exports.default=_default,module.exports=exports.default;
ajax/libs/core-js/0.9.18/core.js
sevypannella/cdnjs
/** * core-js 0.9.18 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
src/browser/todos/Todos.js
TheoMer/Gyms-Of-The-World
// @flow import React from 'react'; import todosMessages from '../../common/todos/todosMessages'; import type { State, Todo } from '../../common/types'; import { Box, Button, Text } from '../../common/components'; import { compose, isEmpty, prop, reverse, sortBy, values } from 'ramda'; import { connect } from 'react-re...
ajax/libs/vue-material/0.5.0/components/mdSubheader/index.js
redmunds/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};r...
src/svg-icons/communication/stay-current-landscape.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationStayCurrentLandscape = (props) => ( <SvgIcon {...props}> <path d="M1.01 7L1 17c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2zM19 7v10H5V7h14z"/> </SvgIcon> ); Communicat...
src/_core/index.js
hotboxtech/static
import { Route, Router, hashHistory, } from 'react-router'; import App from './app'; import { HomeView, } from '../views'; import React from 'react'; import {render} from 'react-dom'; function run() { render( <Router history={hashHistory}> <Route component={App}> <Route path="/...
03a-todo-list-from-scratch/src/AllTodos.js
dtanzer/react-basic-examples
import React from 'react'; export class AllTodos extends React.Component { render() { return ( <ul> <li>FIXME render all todos</li> </ul> ); } }
examples/real-world/index.js
darrrk/redux
import 'babel-core/polyfill'; import React from 'react'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import { Provider } from 'react-redux'; import { Router, Route } from 'react-router'; import configureStore from './store/configureStore'; import App from './containers/App'; import UserPage fro...
client/__tests__/components/Admin/AdminReturnRequestsPage.spec.js
amarachukwu-agbo/hello-books
import React from 'react'; import sinon from 'sinon'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import { shallow, mount } from 'enzyme'; import mockData from '../../__mocks__/mockData'; import ConnectedAdminReturnRequestsPage, { AdminReturnRequestsPage } from '../../../compon...
app/assets/javascripts/common/Mapbox/Marker.js
sozialhelden/wheelmap
import React from 'react'; import { Marker as LeafletMarker } from 'react-leaflet'; import { divIcon } from 'leaflet'; const { string } = React.PropTypes; function Marker({ icon, wheelchair, ...props }) { const markerIcon = divIcon({ iconSize: null, iconAnchor: null, popupAnchor: null, className: `m...
tests/routes/Home/components/HomeView.spec.js
easingthemes/easingthemes.github.io
import React from 'react' import { HomeView } from 'routes/Home/components/HomeView' import { render } from 'enzyme' describe('(View) Home', () => { let _component beforeEach(() => { _component = render(<HomeView />) }) })
ajax/libs/rxjs/2.3.23/rx.all.compat.js
iros/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/js/Main.js
o-d-i-n/nsit-fest
'use strict' import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, IndexRoute, Link, browserHistory } from 'react-router'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group' import EventList from './EventList'; import UserPage from './UserPage'; import...
src/js/components/icons/base/Dislike.js
odedre/grommet-final
/** * @description Dislike SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @pr...
__tests__/Table.js
PaulLeCam/react-pure
import React from 'react'; import TestRenderer from 'react-test-renderer'; import Table from '../src/Table'; describe('Table', () => { it('renders a table with class `pure-table` by default', () => { const renderer = TestRenderer.create(<Table className="my-table" />); expect(renderer.toJSON).toMatchSnapsho...
app/screens/login/passwordVerification.js
it-surya/hack-jeninvest
import React from 'react'; import { View, Image, Keyboard, ScrollView } from 'react-native'; import { RkButton, RkText, RkTextInput, RkStyleSheet, RkTheme, RkAvoidKeyboard, RkChoice } from 'react-native-ui-kitten'; import {GradientButton} from '../../components/'; import {scale, scaleModerate, sca...
src/index.js
sottar/react-image-resizer
// @flow import React from 'react'; import ReactDOM from 'react-dom'; import m from './utils'; type Props = { src: string; width: number; height: number; alt?: string; backgroundColor?: string; style?: Object; noImageSrc?: string; noImageAlt?: string; } type State = { width: number; height: number...
ajax/libs/forerunnerdb/1.3.863/fdb-core.js
sufuf3/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
packages/material-ui-icons/src/LocalLaundryServiceOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M18 2.01L6 2c-1.11 0-2 .89-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V4c0-1.11-.89-1.99-2-1.99zM18 20H6L5.99 4H18v16z" /><circle cx="8" cy="6" r...
ajax/libs/react-router-dom/4.0.0-beta.3/react-router-dom.js
BenjaminVanRyseghem/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactRouterDOM"] = ...
src/components/common/PaginationLink.js
kmcarter/karaoke-song-lister
import React from 'react'; import PropTypes from 'prop-types'; const PaginationLink = props => { return ( <button className="btn btn-default" onClick={props.onClick} disabled={props.disabled}>{props.children}</button> ); }; PaginationLink.propTypes = { children: PropTypes.node, disabled: PropTypes.bool.is...
src/js/views/QueueHistory.js
jaedb/Iris
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import TrackList from '../components/TrackList'; import Header from '../components/Header'; import Icon from '../components/Icon'; import * as uiActions from '../services/ui/actions'; import * as pusherA...
src/style/index.js
get-focus/focus-components
import 'react-date-picker/index.css'; import 'material-design-lite/src/material-design-lite.scss'; import 'material-design-icons-iconfont/dist/material-design-icons.scss'; //--- import '../autocomplete-select/index.scss'; import '../autocomplete-text/index.scss'; import '../button/style/button.scss'; import '../button-...