path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
chapter-06/hoc/src/inheritance/ModifyPropsHOC.js
mocheng/react-and-redux
import React from 'react'; const modifyPropsHOC = (WrappedComponent) => { return class NewComponent extends WrappedComponent { render() { const elements = super.render(); const newStyle = { color: (elements && elements.type === 'div') ? 'red' : 'green' } const newProps = {...this...
src/components/pages/IE/BrowsersList.js
PulseTile/PulseTile-React
import React from 'react'; // icons import chromeIcon from './images/chrome.png'; import firefoxIcon from './images/firefox.png'; import safariIcon from './images/safari.png'; const browsers = [ { name: 'Chrome', link: 'https://www.google.com/chrome/', image: chromeIcon, }, { name: 'Safari', ...
web_module/public/lib/angular-ui-select/dist/select.js
VipulSarin/citenet
/*! * ui-select * http://github.com/angular-ui/ui-select * Version: 0.19.5 - 2016-10-24T23:13:59.434Z * License: MIT */ (function () { "use strict"; var KEY = { TAB: 9, ENTER: 13, ESC: 27, SPACE: 32, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, SHIFT: 16, CTRL: 17, ALT: 18,...
packages/ui/.storybook/welcome/Welcome.js
dino-dna/donut
import React from 'react' import Markdown from 'react-remarkable' const md = ` # donut This is \`donut\`'s storybook. A storybook is a composition of many stories. A story is a single state of one or more UI components. You can have as many stories as you want. Basically a story is like a visual test case. Check o...
src/js/components/icons/base/Revert.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
dev/scripts/components/account.js
CoryWilson/soccer-react-redux-project
import React from 'react' export default React.createClass({ render() { return ( <div> <div className="section"> <h2>Account</h2> <form> <div className="form-group"> <label>Name</label> <input ...
assets/js/components/Something.js
peksipatongeis/Going-Websockets
import React from 'react'; class Something extends React.Component { constructor(props) { super(props); this.state = {}; this.handleClick = this.handleClick.bind(this); } componentDidMount() { } handleClick(item) {} render() { return ( <div> ...
src/components/Application.js
cintiamh/ReduxPinBoard
import React from 'react'; import '../../css/main.css'; const Application = () => ( <div> <h1>My Board</h1> </div> ); export default Application;
src/components/app.js
ronaldofs/starterkit-electron-react-es6
import React from 'react'; import ReactDOM from 'react-dom'; import Main from './main/Main.js'; const remote = window.require('remote'); let container = document.createElement('div'); document.body.appendChild(container); ReactDOM.render(<Main />, container);
src/svg-icons/action/perm-camera-mic.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermCameraMic = (props) => ( <SvgIcon {...props}> <path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 ...
packages/material-ui-icons/src/MoneyOutlined.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 16h3c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1zm1-6h1v4h-1v-4zm-7 6h3c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1zm1-6h1v4h-1v-4zM5 8h2v...
client/modules/Todo/components/TodoCreateWidget/TodoCreateWidget.js
mobeendude/reactToDoMERN
import React, { Component, PropTypes } from 'react'; import { injectIntl, intlShape, FormattedMessage } from 'react-intl'; export class TodoCreateWidget extends Component { addTodo = () => { const todoTextRef = this.refs.todoText; if (todoTextRef.value) { this.props.addTodo(todoTextRef.value); t...
src/collections/Grid/GridColumn.js
aabustamante/Semantic-UI-React
import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { customPropTypes, getElementType, getUnhandledProps, META, SUI, useKeyOnly, useOnlyProp, useTextAlignProp, useValueAndKey, useVerticalAlignProp, useWidthProp, } from '../../lib' /** * A column sub-c...
ajax/libs/6to5/3.4.1/browser.js
jonathantneal/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
src/index.js
learnfwd/lfa-printview-hotspot-editor
import React from 'react'; import ReactDOM from 'react-dom'; import './css/index.css'; import App from './views/App'; import * as serviceWorker from './serviceWorker'; ReactDOM.render(<App />, document.getElementById('root')); // If you want your app to work offline and load faster, you can change // unregister() t...
src/components/CurrencyConverter.js
jhkmjnhamster/vcash-electron
import React from 'react' import { translate } from 'react-i18next' import { action, computed, observable } from 'mobx' import { inject, observer } from 'mobx-react' import { Input, Tooltip } from 'antd' import { decimalSeparator } from '../utilities/common' import moment from 'moment' @translate(['wallet'], { wait: t...
example/src/components/1-ScopedSelectors/ScopedSelectors.js
KenPowers/css-modules-electron
import styles from './ScopedSelectors.css'; import React, { Component } from 'react'; export default class ScopedSelectors extends Component { render() { return ( <div className={ styles.root }> <p className={ styles.text }>Scoped Selectors</p> </div> ); } };
src/vendor/recharts/demo/component/CartesianAxis.js
donal-crotty/fuzzy-telegram
import React from 'react'; import { Surface, CartesianAxis } from 'recharts'; export default React.createClass({ render () { let ticks = [ { value: 10, coord: 50 }, { value: 1000, coord: 100 }, { value: 20, coord: 150 }, { value: 40, coord: 200 }, { value: 90, coord: 250 } ]; ...
media/akeeba_strapper/js/akeebajq.js
lenguyenitc/jmsliderrevolution
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license | sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return ...
src/shared/components/User-Form/User-Form.js
Rhadow/isomorphic-react-example
import React, { Component, PropTypes } from 'react'; // import './_User-Form.css'; class UserForm extends Component { _onClickHandler() { const newUser = this.refs.userName.value; if (newUser) { this.refs.userName.value = ''; this.props.onSubmitHandler(newUser); } ...
src/svg-icons/content/filter-list.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentFilterList = (props) => ( <SvgIcon {...props}> <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/> </SvgIcon> ); ContentFilterList = pure(ContentFilterList); ContentFilterList.displayName = 'Con...
app/containers/LoginPage/index.js
spiridonov-oa/management-tool
import React from 'react'; import {connect} from 'react-redux'; import {createStructuredSelector} from 'reselect'; import Button from 'components/Button'; import Form from 'styled-components/Form'; import Input from 'styled-components/Input'; import { onChangeEmail, onChangePassword, login } from './actions'; import {...
react-frontend/__tests__/components/expenses/ExpensesItem.spec.js
0ortmann/wg-tools
import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import ExpensesItem from '../../../src/components/expenses/ExpensesItem.jsx'; describe('ExpensesItem', () => { const expItemData = { id: 123, color: '#ff', name: 'foo', amount: 23.42, comment: 'commi'}; co...
011/src/components/child.js
StephenGrider/RallyCodingWeekly
import React, { Component } from 'react'; export default class User extends Component { render() { return ( <div> <ul> <li>User #1</li> <li>User #2</li> <li>User #3</li> </ul> </div> ); } }
packages/mcs-lite-admin-web/src/containers/App/App.js
MCS-Lite/mcs-lite
import React from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import TopBarProgress from 'react-topbar-progress-indicator'; import MLToast from 'mcs-lite-ui/lib/Toast'; import Transition from 'react-motion-ui-pack'; import Portal from 'react-overlays/lib/Portal'; import { HeightConta...
app/js/components/FontComponents/Qbzz.js
arcsecw/myfd
import React from 'react'; import { Link, } from 'react-router'; import { Grid, Col, List, ListItem, Image, Badge, } from 'amazeui-react' var Qbzz = React.createClass({ render() { return ( <div> <Grid> <Col sm={3} className = 'padding-left-rem'> <...
ajax/libs/redux-form/3.0.0-beta-2/redux-form.min.js
BenjaminVanRyseghem/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].expor...
stories/Introduction/index.js
skyiea/wix-style-react
import React from 'react'; import {storiesOf} from '@storybook/react'; import AutoDocs from '../utils/Components/AutoDocs'; import Markdown from '../utils/Components/Markdown'; import TabbedView from '../utils/Components/TabbedView/TabbedView'; import Readme from '../../README.md'; import TestsReadme from '../../docs...
src/pages/about.js
pascalwhoop/pascalwhoop.github.io
import React from 'react' import { graphql } from 'gatsby' import { Link } from 'gatsby' import Helmet from 'react-helmet' import Layout from '../components/layout' import { faIconMapper } from '../functions/icons' import ContactForm from '../components/Contact' import moment from 'moment' import Timeline from '../comp...
src/client/common/components/TextArea.js
jmicmoore/merit-badge-university
import React from 'react'; import PropTypes from 'prop-types'; import {getErrorMessageForField} from '../util/validation'; const showErrorFeedback = (message) => { if(message){ return ( <div className="invalid-feedback"> {message} </div> ); } else { ...
src/utils/prop-types.js
staticinstance/material-ui
import React from 'react'; const horizontal = React.PropTypes.oneOf(['left', 'middle', 'right']); const vertical = React.PropTypes.oneOf(['top', 'center', 'bottom']); export default { corners: React.PropTypes.oneOf([ 'bottom-left', 'bottom-right', 'top-left', 'top-right', ]), horizontal: horiz...
static/js/jquery-ui/js/jquery-1.10.2.js
zhiminJimmyXiang/Pregelix_Graph_UI
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
ajax/libs/vis/3.5.0/vis.js
drewfreyling/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 3.5.0 * @date 2014-09-16 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
__tests__/index.ios.js
lucianomlima/react-native-fbsdk-android-example
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
files/yasqe/2.5.2/yasqe.bundled.min.js
MichaelSL/jsdelivr
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
src/components/Helper/HelperFunctions.js
Sylencia/pokemon-go-iv
import React from 'react'; import Pokemon from '~/assets/data/Pokemon.json'; import Dust from '~/assets/data/Dust.json'; export function getPokemonList() { return Pokemon.filter((p) => (p.isActive)).map((p) => (p.name)).sort(); } export function getDustList() { return Dust.map((d) => (d.cost)).sort((a, b) => (a -...
packages/material-ui-icons/src/RowingRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4.75 18.25c-.41.41-.41 1.09 0 1.5.41.41 1.09.41 1.5 0L9 17h2l-2.5-2.5-3.75 3.75zM15 5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" /><path d="M20.29 20.3l-2-2.01c-.18-.18-.44-.29-.71-...
src/scripts/router.js
Joywok/Joywok-Mobility-Framework
import React from 'react'; import { Router, Route,hashHistory} from 'dva/router'; import IndexPage from './routers/IndexPage'; import Error from "./routers/Error"; module.exports = function({hashHistory}) { return ( <Router history={hashHistory}> <Route path="/" component={IndexPage} /> <Route path="...
modules/__tests__/TransitionHook-test.js
tmbtech/react-router
import expect from 'expect'; import React, { render } from 'react'; import MemoryHistory from '../MemoryHistory'; import TransitionHook from '../TransitionHook'; import Router from '../Router'; import Route from '../Route'; describe('TransitionHook', function () { it('calls routerWillLeave when the router leaves the...
react/presentation/index.js
YashdalfTheGray/talks
// Import React import React from 'react'; // Import Spectacle Core tags import { Code, CodePane, Deck, Fill, Heading, Image, Layout, Link, ListItem, List, Slide, Text } from 'spectacle'; // Import theme import createTheme from 'spectacle/lib/themes/default'; // Requir...
examples/idle-game/index.js
joshwreford/idle-game
import React from 'react' import ReactDOM from 'react-dom' import { render } from 'react-dom' import {createStore} from 'redux' import { Provider } from 'react-redux' import Statistics from './components/Statistics' import Enemy from './components/Enemy' import Battle from './components/Battle' import Messages from './...
ajax/libs/rxjs/2.4.8/rx.compat.js
NameFILIP/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 }; ...
node_modules/react-bootstrap/es/Breadcrumb.js
vietvd88/developer-crawler
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/components/tabs/Tab.js
edgemesh/emui
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Radium from 'radium'; import { colors } from '../../utils/colors'; import Icon from '../icon/Icon'; import View from '../view/View'; @Radium export default class Tab extends Component { static propTypes = { // Tab configuration ...
ajax/libs/vue/1.0.3/vue.js
x112358/cdnjs
/*! * Vue.js v1.0.3 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(t...
EvergreenApp/components/Weather/WeatherScreen.js
tr3v0r5/evergreen
import React, { Component } from 'react'; import { ActivityIndicator, AppRegistry, StyleSheet, Text, TextInput, View, Alert, Button,ScrollView, Dimensions ,AsyncStorage} from 'react-native'; import { FormLabel, FormInput,FormValidationMessage } from 'react-native-elements' import Carousel from 'react-native-snap-caro...
app/root/launcher.js
TinyTheBrontosaurus/CricketTrainer
import React, { Component } from 'react'; import { AppRegistry, } from 'react-native'; import Scoreboard from '../model/scoreboard.js'; import Board from '../component/board.js'; import Control from '../component/control.js'; import Stats from '../component/stats.js'; import { Col, Grid } from "react-native-easy-g...
src/svg-icons/social/group.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialGroup = (props) => ( <SvgIcon {...props}> <path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.3...
ajax/libs/forerunnerdb/1.3.716/fdb-legacy.min.js
dc-js/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...
src/containers/Root.js
baruinho/cashier
import React from 'react'; import { BrowserRouter as Router, Route } from 'react-router-dom'; import { Provider } from 'react-redux'; import App from './App/App'; import PropTypes from 'prop-types' const Root = ({ store }) => ( <Provider store={store}> <Router> <Route path="/" component={App} /> </Rout...
react/gameday2/components/embeds/EmbedNotSupported.js
nwalters512/the-blue-alliance
import React from 'react' const EmbedNotSupported = () => { const containerStyles = { margin: 20, textAlign: 'center', } const textStyles = { color: '#ffffff', } return ( <div style={containerStyles}> <p style={textStyles}>This webcast is not supported.</p> </div> ) } export de...
themes/docsy/assets/vendor/Font-Awesome/js-packages/@fortawesome/fontawesome-free/js/brands.min.js
tgirke/GEN242
/*! * Font Awesome Free 5.14.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */ !function() { "use strict"; var c = {}, l = {}; try { "undefined" != typeof window && (c = window), "undefined" !=...
scripts/main.js
patlillis/stella
import React from 'react'; import ReactDom from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import Details from '../components/Details.jsx'; import List from '../components/List.jsx'; import Locator from '../components/Locator.jsx'; import Stella from '../components/Stella.jsx...
src/components/attributes/scatter-plot/Data.js
C-JSN/D3-ID3
import React from 'react'; export default (props) => { // console.log('Data', props); return( <div> </div> ); }
app/src/js/index.js
seanislegend/RushDiscography-ReactDemo
// @flow import React from 'react'; import {render} from 'react-dom'; import AlbumListContainer from './containers/AlbumList'; import '../sass/main.scss'; render(<AlbumListContainer />, document.querySelector('#app')); if (module.hot) { module.hot.accept(); }
src/routes/index.js
danieljwest/ExamGenerator
import React from 'react' import { Route, IndexRoute } from 'react-router' // NOTE: here we're making use of the `resolve.root` configuration // option in webpack, which allows us to specify import paths as if // they were from the root of the ~/src directory. This makes it // very easy to navigate to files regardless...
src/Dashboard.js
steveblackmon/probot
import React from 'react'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; export default () => ( <Grid container item> <Card> <CardC...
node_modules/react-icons/md/repeat.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdRepeat = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.4 28.4v-6.8h3.2v10h-20v5l-6.6-6.6 6.6-6.6v5h16.8z m-16.8-16.8v6.8h-3.2v-10h20v-5l6.6 6.6-6.6 6.6v-5h-16.8z"/></g> </Icon> ) export default MdRepeat
src/components/TabManager.js
RamonGebben/react-perf-tool
import React, { Component } from 'react'; import TabHeader from './TabHeader'; class TabManager extends Component { constructor(props) { super(props); this.children = [].concat(props.children); this.state = { activeTab: this.children[0].key, }; } componentDidMount() { } componentWill...
client/js/modules/entries/components/list/__tests__/FeedEntryListItem_test.js
fdietz/whistler_news_reader
import React from 'react'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import EntryListItem from '../EntryListItem'; const entry = { id: 1, title: 'title', published: '2016-01-01', unread: true, summary: 'summary', subscription_id: 1, subscription_title: 'feed title', image_url: 'test...
src/layouts/default.js
KopiSusu/universal-react
/* eslint react/prefer-stateless-function: 0, react/no-danger: 0, react/forbid-prop-types: 0 */ import React from 'react'; import ReactDOM from 'react-dom/server'; import serialize from 'serialize-javascript'; import { webpackHost, webpackPort } from '../../config/env'; export default class Default extends React.Compo...
Design and Implement Cloud Services/HOLs/HOL-BuildingAppsWithCaching/Source/Ex1-CacheSessionState/End/CloudShop/Scripts/jquery-1.10.2.js
Evilazaro/MCSDAzureTraining
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
src/components/NodeEditor.js
kevinb7/react-text-editor
import React, { Component } from 'react'; import Node from './renderers'; import Selection from './selection'; import Gutter from './gutter'; import store from '../store'; class NodeEditor extends Component { constructor(props) { super(props); this.handleKeyDown = this.handleKeyDown.bind(this); ...
es/components/viewer2d/rulerX.js
cvdlab/react-planner
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; }; var _createClass = function () { function defineProperties(ta...
ajax/libs/jquery/1.9.0/jquery.min.js
barnettdan/cdnjs
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
node_modules/mongoose/node_modules/ms/test/support/jquery.js
dronadal/fish
/*! * jQuery JavaScript Library v1.7.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. ...
src/layout.js
gyaresu/labelr
import React from 'react' import NavHelper from './components/nav-helper' import ampersandMixin from 'ampersand-react-mixin' export default React.createClass({ mixins: [ampersandMixin], // https://facebook.github.io/react/docs/reusable-components.html displayName: 'Layout', render () { const {me} = this....
site/component/utils.js
MarshallChen/ant-design
import React from 'react'; import ReactDOM from 'react-dom'; import { Link } from 'react-router'; import { getTagName, getAttributes, getChildren, isElement } from 'jsonml.js/lib/utils'; import toReactComponent from 'jsonml-to-react-component'; import VideoPlayer from './VideoPlayer'; import ImagePreview from './ImageP...
src/svg-icons/action/compare-arrows.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionCompareArrows = (props) => ( <SvgIcon {...props}> <path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"/> </SvgIcon> ); ActionCompareArrows = pure(ActionCompareArrows); Acti...
ajax/libs/react/0.13.2/react-with-addons.min.js
F2X/cdnjs
/** * React (with addons) v0.13.2 * * 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...
ajax/libs/extjs/4.2.1/src/form/Basic.js
bseib/cdnjs
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
ajax/libs/forerunnerdb/1.3.435/fdb-core+views.min.js
jdh8/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...
packages/material-ui-icons/src/Toll.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z" /><path fill="none" d="M0 0h24v24H0V0z" /><path d="M3 12c0-2.61 1....
ui-centric-question(react)/node_modules/react-router/es6/RouteUtils.js
foobearer/code-challenge
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; }; import React from 'react'; function isValidChild(object) { ...
src/components/settings.js
DarklyLabs/LaserWeb4
import React from 'react'; import ReactDOM from 'react-dom' import { connect } from 'react-redux'; import stringify from 'json-stringify-pretty-compact'; import { FileStorage, LocalStorage } from '../lib/storages'; import update from 'immutability-helper'; import omit from 'object.omit'; import Validator from 'validat...
src/js/components/Comment.js
SergeyFrancev/react-comment
import React from 'react'; import UserStory from '../stories/UserStory.js'; class Comment extends React.Component { constructor(props){ super(props); this.state = { comment: props.comment, isEdit: false, isShowFull: false, countVideo: 0 }; this._user = null; this.setUser(props.user); } render...
assets/js/components/Dashboard.js
nicksergeant/leather
import React from 'react'; const Dashboard = () => { return <div className="column" />; }; Dashboard.propTypes = {}; export default Dashboard;
app/containers/FeaturePage/index.js
SilentCicero/react-boilerplate
/* * FeaturePage * * List all the features */ import React from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import messages from './messages'; import { FormattedMessage } from 'react-intl'; import Button from 'components/Button'; import H1 from 'components/H1'; impor...
archive/js/jquery-1.11.1.min.js
dangcpham/dangcpham.github.io
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
app/components/Home.js
paladinze/testSemantic
'use strict' import React from 'react'; import {Link} from 'react-router'; import {Container, Button, Form, Input} from 'semantic-ui-react'; class Home extends React.Component{ render() { return ( <div> <h1>Github Home</h1> <p>Some fancy motto</p> <Link to='/playerOne'> ...
examples/planout-example/isomorphic/base/components/docs.js
stephanwlee/mendel
/* Copyright 2015, Yahoo Inc. Copyrights licensed under the MIT License. Contributed by Shalom Volchok <shalom@digitaloptgroup.com> See the accompanying LICENSE file for terms. */ import React from 'react'; export default ({ style }) => { return ( <div style={style}> To get a new random...
src/js/app/import.js
oTranscribe/oTranscribe
import showMessage from './message-panel'; const $ = require('jquery'); import {setEditorContents} from './texteditor'; export default function() { $('#local-file-import').change(reactToInput); } function loadFile( fileRaw ){ try { const file = JSON.parse(fileRaw); setEditorContents(file.text...
etc/http/scripts/JSRootTree.js
tc3t/qoot
/// @file JSRootTree.js /// Collect all TTree-relevant methods like reading and processing (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( ['JSRootCore', 'JSRootIOEvolution', 'JSRootMath'], factory ); } else { if (typ...
test/serialize-and-encode.js
concordancejs/react
import test from 'ava' import { compareDescriptors, describe, deserialize, formatDescriptor, serialize } from 'concordance' import React from 'react' import renderer from 'react-test-renderer' import plugin from '..' import HelloMessage from './fixtures/react/HelloMessage' const plugins = [plugin] const useDeserial...
src/dumb/editor/custom_field/form_templates/FreeTextFormTemplate.js
jeckhummer/wf-constructor
import React from 'react'; import {GenericTextFormTemplate} from "./GenericTextFormTemplate"; export const FreeTextFormTemplate = ({label, update}) => { const props = { onLabelChange: label => update({label}), label }; return ( <GenericTextFormTemplate {...props}/> ); };
ajax/libs/react-bootstrap-table/0.9.6/react-bootstrap-table.min.js
sajochiu/cdnjs
!function e(t,n,o){function r(s,l){if(!n[s]){if(!t[s]){var i="function"==typeof require&&require;if(!l&&i)return i(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.ex...
client/components/DashboardSubscription.js
mmazzarolo/numvalidate
/* @flow */ import React, { Component } from 'react'; import Modal from './Modal'; import Button from './Button'; import DashboardSection from './DashboardSection'; import DashboardSubscriptionModal from './DashboardSubscriptionModal'; import backendService from '../services/backend'; import analyticsService from '../s...
app/containers/LanguageProvider/index.js
shiftunion/bot-a-tron
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
wp-content/themes/twentytwelve/js/jquery-1.9.1.js
devnia/devnia_tvlive
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/Popover.js
mengmenglv/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; const Popover = React.createClass({ mixins: [ BootstrapMixin ], propTypes: { /** * An html id attribute, necessary for accessibility ...
[3]. Demo_native/rn_into_ios/node_modules/babel-plugin-react-transform/test/fixtures/code-class-extends-component-with-render-method/actual.js
knightsj/RN_Demo
import React, { Component } from 'react'; class Foo extends Component { render() {} }
src/Parser/Core/Modules/Items/PrePotion.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SPECS from 'common/SPECS'; import ITEMS from 'common/ITEMS'; import RESOURCE_TYPES from 'common/RESOURCE_TYPES'; import ItemLink from 'common/ItemLink'; import Wrapper from 'common/Wrapper'; import Analyzer from 'Parser/Core/Analyzer'; import Comba...
packages/material-ui-icons/src/FormatItalicRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M10 5.5c0 .83.67 1.5 1.5 1.5h.71l-3.42 8H7.5c-.83 0-1.5.67-1.5 1.5S6.67 18 7.5 18h5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-.71l3.42-8h1.29c....
html/scripts/bundle.js
Techbot/RockPaperScissorsReactRedux
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
examples/custom-server-micro/pages/index.js
BlancheXu/test
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> )
node_modules/sinon/test/rhino/env.rhino.1.2.js
nvoron23/shiny-server
/* * Envjs core-env.1.2.13 * Pure JavaScript Browser Environment * By John Resig <http://ejohn.org/> and the Envjs Team * Copyright 2008-2010 John Resig, under the MIT License */ var Envjs = function(){ var i, name, override = function(){ for(i=0;i<arguments.length;i++){ ...
files/graphiql/0.7.0/graphiql.min.js
PeterDaveHello/jsdelivr
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.GraphiQL=f()}}(function(){var define;return function e(...
app/containers/SignInPage/index.js
coocooooo/webapp
/** * Sign In Form * * Contain validator */ import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { Form } from 'semantic-ui-react'; import { inputEmail, inputPassword, pingStart } from './actions'; import...
src/routes/User/Register.js
ascrutae/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
packages/material-ui-icons/custom/Twitter.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 ...