path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
tests/react_custom_funs/create_element.js
TiddoLangerak/flow
// @flow import React from 'react'; declare var any: any; React.createElement(); // Error: Needs a minimum of two arguments. React.createElement('div'); // OK React.createElement(42); // Error: Number is not a valid component type. React.createElement('div', {}); // OK React.createElement(42, {}); // Error: Number i...
src/examples/react/src/editors/InputGender.js
nikospara/egkyron
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Form from 'react-bootstrap/Form'; import { makeMessages, simpleShouldComponentUpdate } from 'controls/utils'; export default class InputGender extends Component { _handlers = { handleChange: null }; constructor(props) { super...
ajax/libs/react-data-grid/0.13.28/react-data-grid.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["ReactDataGrid"] = f...
ajax/libs/rxjs/2.3.2/rx.lite.compat.js
featurist/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...
client/components/basic/burger/BurgerBadge.js
Sing-Li/Rocket.Chat
import { Badge } from '@rocket.chat/fuselage'; import React from 'react'; function BurgerBadge({ children }) { return <Badge position='absolute' insetInlineEnd='neg-x8' insetBlockStart='neg-x4' zIndex='3' variant='danger' children={children} />; } export default BurgerBadge;
src/index.js
kaermemeda/myReact
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
admin/src/components/MobileNavigation.js
ligson/keystone
import blacklist from 'blacklist'; import classnames from 'classnames'; import React from 'react'; import { Container } from 'elemental'; const Transition = React.addons.CSSTransitionGroup; var MobileListItem = React.createClass({ displayName: 'MobileListItem', propTypes: { className: React.PropTypes.string, chi...
ajax/libs/forerunnerdb/1.3.444/fdb-all.js
extend1994/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...
web/old_src/ResourceWindow.js
vmprobe/vmprobe
import React from 'react'; import PureComponent from 'react-pure-render/component'; import Tooltip from './Tooltip'; import Draggable from 'react-draggable'; import { Resizable, ResizableBox } from 'react-resizable'; export class ResourceWindow extends PureComponent { static defaultProps = { closeable: true, ...
public/systemjs/app/pages/component/generic.js
inquisive/keystonejs-site
import React from 'react'; /** * A generic container * expects a html prop * */ class Generic extends React.Component { constructor(props) { super(props) this.displayName = 'Generic ' this.state = { html: props.html || props.response } this.props = props }, componentWillReceiveProps(props) { ...
client/src/app/app.js
Rob0h/Boop
import React from 'react'; import {render} from 'react-dom'; import {Router, Route, Link, browserHistory} from 'react-router'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import boopApp from './reducers/index.js'; import Main from './M...
packages/material-ui-icons/src/ControlPointRounded.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="M12 7c-.55 0-1 .45-1 1v3H8c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V8c0-.55-.45-1-1-1zm0-5C...
packages/react-interactions/events/src/dom/Tap.js
chenglou/react
/** * 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. * * @flow */ import type { ReactDOMResponderContext, ReactDOMResponderEvent, PointerType, } from 'shared/ReactDOMTypes'; impo...
src/components/Navbar/index.js
danbovey/Dekt
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Link, browserHistory } from 'react-router'; import classNames from 'classnames'; import * as authActions from 'actions/auth'; import * as lightActions from 'actions/lights'; import Drop...
lib/Badge/stories/Badge.stories.js
folio-org/stripes-components
import React from 'react'; import { storiesOf } from '@storybook/react'; import withReadme from 'storybook-readme/with-readme'; import readme from '../readme.md'; import BasicUsage from './BasicUsage'; storiesOf('Badge', module) .addDecorator(withReadme(readme)) .add('Basic Usage', () => <BasicUsage />);
SSBW/Tareas/Tarea9/restaurantes2/node_modules/react-bootstrap/es/ButtonGroup.js
jmanday/Master
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 ...
ajax/libs/6to5/2.11.2/browser.js
cluo/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/routes/error/index.js
benbenye/react-on-react-start-kit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import App from '../../componen...
src/index.js
sgrj/berlin-walks
import 'leaflet/dist/leaflet.css'; import './style.css'; import React from 'react'; import ReactDOM from 'react-dom'; import WalksMap from './walks-map'; import walks from './walks'; ReactDOM.render( <WalksMap walks={walks} />, document.getElementById('root') );
ajax/libs/vue/2.5.10/vue.esm.browser.js
jonobr1/cdnjs
/*! * Vue.js v2.5.8 * (c) 2014-2017 Evan You * Released under the MIT License. */ /* */ const emptyObject = Object.freeze({}); // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } function isDef ...
ajax/libs/material-ui/4.9.3/esm/internal/svg-icons/Close.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), 'Close');
js/react/es6-react/app.js
Pearyman/webexamples
import React from 'react'; class App extends React.Component { constructor(){ super(); this.state={ txt:'this is the state text', cat:0 } } update(e){ this.setState({txt: e.target.value}) } render() { return ( <div> <input type="text...
public/localization/nl-BE.js
Whatsit2yaa/vast-tundra-84597
module.exports = { generic: { LOCALE_DISPLAY: 'Nederlands', PENCILBLUE: 'PencilBlue', ALL_RIGHTS: 'Alle rechten voorbehouden', NONE: 'Geen', LEFT: 'Links', CENTER: 'Centreren', RIGHT: 'Rechts', YES: 'Ja', NO: 'Nee', NEW: 'Nieuw', ...
client/src/components/AboutPage.js
fmoliveira/rexql-boilerplate
import React from 'react' import { FormatMessage } from 'react-easy-intl' import Hero from './Hero' export default () => ( <div> <Hero title='About'>We don't just exist, we are!</Hero> </div> )
examples/website/src/components/buttons/ShareButton.js
w-y/ecma262-jison
import PropTypes from 'prop-types'; import React from 'react'; export default function ShareButton({onShareButtonClick, snippet}) { return ( <button type="button" disabled={!snippet} onClick={onShareButtonClick}> <i className="fa fa-share fa-fw" />&nbsp;Share... </button> ); } Shar...
src/components/Header/Header.js
successkrisz/fx-rates-right
import React from 'react' import Navigation from '../Navigation' import './Header.scss' export const Header = () => ( <div className='header__primary'> <Navigation /> </div> ) export default Header
src/svg-icons/image/filter-b-and-w.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterBAndW = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16l-7-8v8H5l7-8V5h7v14z"/> </SvgIcon> ); ImageFilterBAndW = pure(Im...
{{cookiecutter.repo_name}}/app/src/components/layouts/AuthLayout.js
thorgate/django-project-template
import React from 'react'; import PropTypes from 'prop-types'; import { Helmet } from 'react-helmet-async'; import { Container, Row, Col, Card } from 'reactstrap'; const AuthLayout = ({ children }) => ( <> <Helmet defaultTitle="Authentication" /> <Container> <Row> <Col l...
src/components/common/TextEditor/Nodes/CommentNode/CommentNode.js
anztrax/simple-image-server-frontend
import React from 'react'; import Style from './Style.css'; import ReactDOM from 'react-dom'; export default class CommentNode extends React.Component{ constructor(props){ super(props); this.state = { isOnHover : false }; this.handleOnFocus = this.handleOnFocus.bind(this); this.handleOnBlu...
src/index.js
jqueryWH/gallery-by-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
Libraries/Components/LazyRenderer.js
jaggs6/react-native
/** * Copyright (c) 2015-present, 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. * * @provides...
node_modules/jsdoc/lib/jsdoc/tutorial.js
djhvscf/useful-javascript-functions
/** @overview @author Rafał Wrzeszcz <rafal.wrzeszcz@wrzasq.pl> @license Apache License 2.0 - See file 'LICENSE.md' in this project. */ 'use strict'; var markdown = require('jsdoc/util/markdown'); var util = require('util'); var hasOwnProp = Object.prototype.hasOwnProperty; /** Removes child tutorial fr...
src/components/form/index.spec.js
raisebook/valedictorian
import React from 'react'; import PropTypes from 'prop-types'; import { shallow, } from 'enzyme'; import Form from './'; describe('<Form>', () => { let enzymeWrapper = null; describe("getChildContext", () => { let component; beforeEach(() => { component = { props: {} } }); d...
src/main/resources/assets/javascripts/app.js
loconsolutions/airpal
/** * App Bootstrap */ import 'es6-shim'; import 'whatwg-fetch'; import AirpalApp from './components/AirpalApp.jsx'; import React from 'react'; // Start the main app React.render( <AirpalApp />, document.querySelector('.js-react-app') );
ajax/libs/formsy-react/0.15.0/formsy-react.min.js
hare1039/cdnjs
!function t(i,e,r){function n(o,u){if(!e[o]){if(!i[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var d=e[o]={exports:{}};i[o][0].call(d.exports,function(t){var e=i[o][1][t];return n(e?e:t)},d,d.ex...
examples/src/components/UsersField.js
jakeland/react-select
import GravatarOption from './CustomOption'; import GravatarValue from './CustomSingleValue'; import React from 'react'; import Select from 'react-select'; const USERS = require('../data/users'); var UsersField = React.createClass({ propTypes: { hint: React.PropTypes.string, label: React.PropTypes.string, }, r...
app/containers/HomePage.js
foysalit/wallly-electron
// @flow import React, { Component } from 'react'; import Home from '../components/Home'; export default class HomePage extends Component { render() { return ( <Home /> ); } }
lib/cli/generators/REACT_NATIVE/template/storybook/stories/index.js
rhalff/storybook
import React from 'react'; import { Text } from 'react-native'; import { storiesOf } from '@storybook/react-native'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import Button from './Button'; import CenterView from './CenterView'; import Welcome from './Welcome'...
src/layouts/layout-5-1.js
nuruddeensalihu/binary-next-gen
import React from 'react'; export default (components, className, onClick) => ( <div className={className} onClick={onClick}> <div className="vertical"> {components[0]} </div> <div className="vertical"> {components[1]} {components[2]} {compone...
packages/material-ui-icons/src/PlaylistAddCheckTwoTone.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="M2 6h12v2H2zM2 10h12v2H2zM2 14h8v2H2zM16.01 17L13 14l-1.5 1.5 4.51 4.5L23 13l-1.5-1.5z" /></React.Fragment> , 'PlaylistAddCheckTwoTone');
modules/jaggery-apps/admin-web/src/site/themes/default/lib/bootstrap/js/tests/vendor/jquery.js
madusankapremaratne/product-apim
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function( window, undefined ) { // Use the correct document accordingly with window argument (sandbox) var document = window.document, navigator = window.navigator, location = window.location; var jQuery = (function() { // Define a local copy of jQuery var jQuer...
docs/previous/challenge2011/common/js/jquery.js
LinkedOpenData/challenge2015
/*! * jQuery JavaScript Library v1.5.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. ...
frontWeb/main/react/react-router/basic/dev/app9.js
skycolor/study
import React from 'react'; import ReactDOM from 'react-dom'; import App from './preventingTransitionsExample.js'; ReactDOM.render(<App /> , document.getElementById('app') );
ajax/libs/forerunnerdb/1.3.608/fdb-all.min.js
joeyparrish/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/svg-icons/action/power-settings-new.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPowerSettingsNew = (props) => ( <SvgIcon {...props}> <path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 ...
app/javascript/mastodon/components/modal_root.js
tri-star/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import 'wicg-inert'; import { multiply } from 'color-blend'; export default class ModalRoot extends React.PureComponent { static propTypes = { children: PropTypes.node, onClose: PropTypes.func.isRequired, backgroundColor: PropTypes.shape({ ...
src/atoms/Line/index.js
policygenius/athenaeum
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import styles from './line.module.scss'; function Line(props) { const { className, border, spacer, } = props; const classes = [ styles['line'], styles[border], styles[`spacer-${spacer}`], ...
Speech Lucy/Asistente personal Lucy/Asistente personal Lucy/bin/Debug/Recursos/Ayuda/Ayuda No animation_files/skins.min.js
VictorPisciotti/Asistente-Lucy
define("skins/util/skins",[],function(){"use strict";var a={};return a["wysiwyg.common.components.cloudwidget.viewer.skins.CloudWidgetSkin"]={react:[["iframe","iframe",[],{}],["div","overlay",[],{}]],exports:{preloaderOverlay:{skin:"wysiwyg.viewer.skins.TPAPreloaderSkin",styleGroup:"preloaderStyleGroup"},unavailableMes...
packages/react-look/demo/client.js
rofrischmann/react-look
import React from 'react' import { render } from 'react-dom' import { StyleSheet, LookRoot, Presets, Plugins } from '../modules' import App from './app.jsx' StyleSheet.addCSS({ '*': { padding: 0, margin: 0, fontFamily: '"Lato", sans-serif', fontWeight: 300, boxSizing: 'border-box', userSelec...
frontend/src/Components/Table/Cells/VirtualTableSelectCell.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import CheckInput from 'Components/Form/CheckInput'; import VirtualTableRowCell from './VirtualTableRowCell'; import styles from './VirtualTableSelectCell.css'; export function virtualTableSelectCellRenderer(cellProps) { const { cellKe...
ajax/libs/fixed-data-table/0.6.1/fixed-data-table.min.js
brix/cdnjs
/** * FixedDataTable v0.6.1 * * Copyright (c) 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 direc...
node_modules/material-ui/svg-icons/action/card-travel.js
manojadd/bob-demo
'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...
app/components/Footer/index.js
IntAlert/chatplayer
/** * * Footer * */ import React from 'react'; // import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; var style = { backgroundColor: "#F8F8F8", borderTop: "1px solid #E7E7E7", textAlign: "center", padding: "20px", position: "fi...
react/Secondary/Secondary.js
seek-oss/seek-style-guide
import styles from './Secondary.less'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; export default function Secondary({ children, className, ...restProps }) { return ( <span {...restProps} className={classnames(styles.root, className)}> {children} ...
website/components/Icon.js
rofrischmann/fela
import React from 'react' import { useFela } from 'react-fela' import VisuallyHidden from './VisuallyHidden' const base = { display: 'inline-block', height: '1em', width: '1em', verticalAlign: '-2px', overflow: 'hidden', } const svg = { color: 'inherit', fill: 'currentcolor', verticalAlign: 'baseline',...
website/src/pages/index.js
Pop-Code/keystone
import React, { Component } from 'react'; import Helmet from 'react-helmet'; import Hero from './components/home/Hero'; import ValueProps from './components/home/ValueProps'; import CommunityResponse from './components/home/CommunityResponse'; import AdminInterface from './components/home/AdminInterface'; import Value...
src/basic/Button.js
sampsasaarela/NativeBase
/* @flow */ import React, { Component } from 'react'; import { TouchableOpacity, Platform, View, TouchableNativeFeedback } from 'react-native'; import { connectStyle } from 'native-base-shoutem-theme'; import variables from './../theme/variables/platform'; import { Text } from './Text'; import computeProps from '../U...
src/index.js
JalenMoorer/React-Fake-Post-Generator
import React from 'react'; import ReactDOM from 'react-dom'; import {browserHistory} from 'react-router'; import Routes from './routes'; import ThemeProvider from 'react-toolbox/lib/ThemeProvider'; import theme from './assets/react-toolbox/theme'; import './assets/react-toolbox/theme.css'; import './index.css'; Reac...
latest/src/index.js
nathan-k/GamePainter
import React from 'react'; import {render} from 'react-dom'; import {createStore, combineReducers, applyMiddleware} from 'redux'; import {Provider} from 'react-redux'; import thunk from 'redux-thunk'; import {Router, Route, hashHistory} from 'react-router'; import {AppReducer, AssetReducer} from './reducers'; import A...
ajax/libs/angular-google-maps/2.4.1/angular-google-maps_dev_mapped.js
seogi1004/cdnjs
/*! angular-google-maps 2.4.1 2017-01-05 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, _, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted...
src/components/item.js
AdinoyiSadiq/back-office-tool
import React from 'react'; class Item extends React.Component { render() { const { details, index } = this.props; const isAvailable = details.status === 'available'; const buttonText = isAvailable ? 'Add To Cart' : 'Out Of Stock'; return ( <section className="col-md-6 panel panel-default"> <img classNa...
actor-apps/app-web/src/app/components/modals/Preferences.react.js
Ajunboys/actor-platform
import React from 'react'; import Modal from 'react-modal'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import { Styles, FlatButton, RadioButtonGroup, RadioButton, DropDownMenu } from 'material-ui'; import { KeyCodes } from 'constants/ActorAppConstants'; import Actor...
src/components/tools/ToolsHomeContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; import { Grid, Row, Col } from 'react-flexbox-grid/lib'; import { FormattedMessage, injectIntl } from 'react-intl'; import messages from '../../resources/messages'; import { urlToExplorer, urlToTopicMapper, urlToSource...
client/src/components/NavBar.js
redcom/pinstery
import React from 'react'; import { NavLink } from 'react-router-dom'; import { defaultNavBorderColor, defaultTextColor, headerFontSize, } from '../styles/vars'; import styled from 'styled-components'; const Navigation = styled.div` display: flex; justify-content: space-around; padding: 20px 10%; `; const...
components/Calculator/index.js
haaswill/open-wallet-app
import React from 'react'; import { View, Text } from 'react-native'; import { Button } from '../Button'; import styles from './styles'; // input buttons to be displayed in the calculator const inputButtons = [ ['c', '⌫'], ['1', '2', '3', '÷'], ['4', '5', '6', 'x'], ['7', '8', '9', '-'], ['0', '.', '=', '+']...
src/parser/druid/restoration/modules/items/azeritetraits/LaserMatrixRestoDruid.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import LaserMatrix from 'parser/shared/modules/spells/bfa/azeritetraits/LaserMatrix'; import SpellLink from 'common/SpellLink'; import { formatNumber, formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/oth...
src/renderers/shared/event/__tests__/EventPluginHub-test.js
patryknowak/react
/** * 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. * * @emails react-co...
ajax/libs/yasgui/0.0.12/yasgui.bundled.min.js
the-destro/cdnjs
!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.YASGUI=e()}}(function(){var e;return function t(e,n,r...
ajax/libs/x-editable/1.4.5/bootstrap-editable/js/bootstrap-editable.js
StoneCypher/cdnjs
/*! X-editable - v1.4.5 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
js/jqwidgets/demos/react/app/grid/rowdetails/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js'; class App extends React.Component { componentDidMount() { this.refs.myGrid.showrowdetails(0); this.refs.myGrid.showrowdetails(1); } render() { let data = ne...
src/daypicker/DayPickerTop.js
buildo/react-datepicker
import React from 'react'; import capitalize from 'lodash/capitalize'; import t from 'tcomb'; import { props } from 'tcomb-react'; import View from 'react-flexview'; import { pure, skinnable } from '../utils'; import { MomentDate, Mode } from '../utils/model'; import { getWeekdaysMin } from '../utils/DateUtils.js'; imp...
MyWeibo/node_modules/react/lib/ReactNodeTypes.js
alucardlockon/LearnCode
/** * Copyright 2013-present, 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. * * @providesModu...
node_modules/react-scripts/config/paths.js
84danie/84danie.github.io
// @remove-on-eject-begin /** * Copyright (c) 2015-present, 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 ...
website/sections/NextSteps.js
sahat/boilerplate
import React from 'react'; import { VelocityComponent, VelocityTransitionGroup } from 'velocity-react'; const CHECK_SVG = ( <svg xmlns="http://www.w3.org/2000/svg" version="1" width="18px" height="18px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" style={{ verticalAlign: 'bottom' }}> <path d="M 12 2 C 6...
app/components/Help.js
jaytrepka/kryci-jmena
// @flow import React, { Component } from 'react'; import Board from './Board'; class Help extends Component { render() { return ( <div> <Board help /> </div> ); } } export default Help;
ajax/libs/jquery/1.11.0/jquery.min.js
tharakauka/cdnjs
/*! jQuery v1.11.0 | (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...
ajax/libs/jquery-handsontable/0.10.2/jquery.handsontable.full.js
hperrin/cdnjs
/** * Handsontable 0.10.2 * Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright 2012, Marcin Warpechowski * Licensed under the MIT license. * http://handsontable.com/ * * Date: Thu Jan 23 2014 23:06:23 GMT+0100 (CET) */ /*jslin...
ajax/libs/react/0.9.0/react.min.js
nouveller/cdnjs
/** * React v0.9.0 * * Copyright 2013-2014 Facebook, Inc. * * 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 appl...
ajax/libs/mobx/2.1.6/mobx.js
holtkamp/cdnjs
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; registerGlobals(); exports._ = { quickDiff: ...
src/shared/utils/flattenChildren.js
rlugojr/react
/** * Copyright 2013-present, 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. * * @providesModu...
app/js/components/content/ListItemComponent.js
lukemarsh/tab-hq-react
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import TimerMixin from 'react-timer-mixin'; import Moment from 'moment'; require('../../../styles/ListItemComponent.sass'); const ListItemComponent = React.createClass({ mixins: [TimerMixin], getInitialState() { return { title...
ajax/libs/react-highcharts/6.0.0/highmaps.js
froala/cdnjs
!function(r,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Highcharts=t(require("react")):r.Highcharts=t(r.react)}(this,function(r){return function(r){function t(o){if(e[o])return e[o].exp...
docs/src/pages/components/buttons/IconButtonSizes.js
mbrookes/material-ui
import React from 'react'; import Box from '@material-ui/core/Box'; import IconButton from '@material-ui/core/IconButton'; import DeleteIcon from '@material-ui/icons/Delete'; export default function IconButtonSizes() { return ( <Box sx={{ '& button': { m: 1 } }}> <IconButton aria-label="delete" size="small...
index.js
Crash--/react-native-router
'use strict'; var React = require('react-native'); var NavBarContainer = require('./components/NavBarContainer'); var { StyleSheet, Navigator, StatusBarIOS, View, } = React; var Router = React.createClass({ getInitialState: function() { return { route: { name: null, index: null...
views/User.js
Haroenv/monumentrun
// @flow import React, { Component } from 'react'; import { View, Button, Text } from 'react-native'; import Ionicons from 'react-native-vector-icons/Ionicons'; import { StackNavigator } from 'react-navigation'; import { loginWithFacebook, getUser, signOut } from '../helpers/auth'; class SignedIn extends Component {...
client/src/app/routes/smartadmin-intel/index.js
zraees/sms-project
import React from 'react'; import HtmlRender from '../../components/utils/HtmlRender' export default { path: 'smartadmin', component: require('../../components/common/Layout').default, childRoutes: [ { path: 'app-layouts', getComponent(nextState, cb){ System.import('html-loader?-attrs!./...
src/index.js
ssorallen/react-todos
/* @flow */ import App from './App'; import React from 'react'; import ReactDOM from 'react-dom'; const todoappRoot = document.getElementById('todoapp'); if (todoappRoot == null) throw new Error('App element #todoapp not found'); ReactDOM.render(<App />, todoappRoot);
Inspector/js/app.js
rafael-chavez/WebDriverAgent
/** * Copyright (c) 2015-present, 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. */ import Rea...
ui/src/Components/Cruises/Cruises.js
hloughrey/js-end-to-end-app
'use strict'; import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import PropTypes from 'prop-types'; import axios from 'axios'; class Table extends Component { constructor(props) { super(props); this.state = { cruises: [] }; this.onClick = this.onClic...
src/index.js
likeDoMine/gallery-by-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
app/javascript/mastodon/containers/mastodon.js
imas/mastodon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { BrowserRouter, Route } from 'react-router-dom'; import { ScrollContext } from 'react-router-scroll-4'; import UI from '../features/ui'; import { fetchCust...
app/component/Modal.js
vankai/hitokoto-pwa
import React from 'react'; import ReactDOM from 'react-dom'; const modalRoot = document.getElementById('modal-root'); const ANIMATION_DURING = 300; export class Modal extends React.Component { constructor(props) { super(props); this.el = document.createElement('div'); this.el.classList.add('modal__root...
ajax/libs/reel.js/1.2rc2/jquery.reel.js
pombredanne/cdnjs
/** @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@ @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @ @@@@@@@@ @@@@@@@@@ @@@ @@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@ ...
web/src/js/__tests__/components/ContentView/ContentViewSpec.js
ujjwal96/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import TestUtils from 'react-dom/test-utils' import { Provider } from 'react-redux' import { ViewServer, ViewImage, PureViewServer, Edit } from '../../../components/ContentView/ContentViews' import { TFlow, TStore } from '../../ducks/tutils' import mo...
app/javascript/mastodon/features/ui/components/column.js
lynlynlynx/mastodon
import React from 'react'; import ColumnHeader from './column_header'; import PropTypes from 'prop-types'; import { debounce } from 'lodash'; import { scrollTop } from '../../../scroll'; import { isMobile } from '../../../is_mobile'; export default class Column extends React.PureComponent { static propTypes = { ...
ajax/libs/clappr/0.0.65/clappr.js
jonobr1/cdnjs
require=(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)...
lib/svg-icons/content/undo.js
domagojk/material-ui
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var ContentUndo = React.createClass({ displayName: 'ContentUndo', mixins: [PureRenderMixin], render: function render() { return React.createElement( SvgIcon...
src/utils/bungie/inventory.js
MrRandol/littleLight
import React from 'react'; // Internal import { LLException } from '../errorHandler'; import * as Message from '../message'; import * as Request from './request'; import * as Store from '../store/manifest'; import * as BUNGIE from './static'; var _ = require('underscore'); export function getStoreDatas(storeKey, sta...
public/src/demo/Animation.js
codelegant/myReact
/** * Author: 赖传峰 * Email: laichuanfeng@hotmail.com * Homepage: http://laichuanfeng.com/ * Date: 2016/7/17 */ import React from 'react'; //开发环境写法 import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; //生产环境写法 // const ReactCSSTransitionGroup=React.addons.CSSTransitionGroup; export default clas...
Native/Learn_Touch/__tests__/index.ios.js
renxlWin/React-Native_Demo
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 /> ); });