path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/navigation/TreePanel.js
ello/webapp
import React from 'react' import PropTypes from 'prop-types' import { css, media, select } from '../../styles/jss' import * as s from '../../styles/jso' const panelStyle = css( s.pl30, s.overflowHidden, select('& > p:first-child', s.mt0), select('.TreeButton.isCollapsed + &', { height: 0 }), media(s.minBreak...
githubprofileviewer/__tests__/index.android.js
pritamstyz4ever/github-profile-viewer
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/tree/NodeActionButtons.js
Ameobea/noise-asmjs
/** * Constructs a GUI component that renders a button that, when clicked, adds a new child to the composition tree. */ import React from 'react'; import { connect } from 'react-redux'; import R from 'ramda'; import { Button } from 'semantic-ui-react'; import { addNode, deleteNode } from 'src/actions/compositionTre...
BUILD/js/components_js/product-details/product-detail-content.js
kevincaicedo/MyStore-Front-end
import React from 'react' export default class ProductContent extends React.Component { render(){ return <div className="caption-full"> <h4 className="pull-right price">{this.props.price}</h4> <h4><a href="#">{this.props.name}</a></h4> <p>{this.props.brand}</p> ...
ajax/libs/6to5/1.12.11/browser-polyfill.js
bragma/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...
src/js/components/icons/base/DocumentStore.js
kylebyerly-hp/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...
src/routes/Counter/components/Counter.js
shuliang/ReactConventionDemo
import React from 'react' export const Counter = (props) => ( <div style={{ margin: '0 auto' }} > <h2>Counter: {props.counter}</h2> <button className='btn btn-default' onClick={props.increment}> Increment </button> {' '} <button className='btn btn-default' onClick={props.doubleAsync}> ...
fields/types/datearray/DateArrayField.js
w01fgang/keystone
import ArrayFieldMixin from '../../mixins/ArrayField'; import DateInput from '../../components/DateInput'; import Field from '../Field'; import React from 'react'; import moment from 'moment'; const DEFAULT_INPUT_FORMAT = 'YYYY-MM-DD'; const DEFAULT_FORMAT_STRING = 'Do MMM YYYY'; module.exports = Field.create({ dis...
docs/src/pages/premium-themes/onepirate/SignIn.js
Kagami/material-ui
import withRoot from './modules/withRoot'; // --- Post bootstrap ----- import React from 'react'; import PropTypes from 'prop-types'; import compose from 'recompose/compose'; import { withStyles } from '@material-ui/core/styles'; import Link from '@material-ui/core/Link'; import { Field, Form, FormSpy } from 'react-fin...
packages/react-router/modules/Router.js
asaf/react-router
import warning from 'warning' import invariant from 'invariant' import React from 'react' import PropTypes from 'prop-types' /** * The public API for putting history on context. */ class Router extends React.Component { static propTypes = { history: PropTypes.object.isRequired, children: PropTypes.node }...
src/interface/common/ReadableList.js
sMteX/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; /** * I think this is ugly but it works so I am going to concede and use it. Turns React elements into a human readable sentence. * E.g. <Maintainer1><Maintainer2><Maintainer3> becomes <Maintainer1>, <Maintainer2> and <Maintainer3> */ const ReadableList...
packages/reactor-boilerplate/src/NavMenu.js
dbuhrman/extjs-reactor
import React from 'react'; import PropTypes from 'prop-types'; import { TreeList } from '@extjs/ext-react'; Ext.require('Ext.data.TreeStore'); /** * The main navigation menu */ export default function NavMenu({ onItemClick, selection, ...props }) { return ( <TreeList {...pro...
lib/components/active-file.js
danjwinter/note-taker
import React from 'react'; import sendGist from '../send-gist'; import MarkdownButtons from './markdown-buttons'; import MarkdownBox from './markdown-box'; import EditableNote from './editable-note'; module.exports = ( {file} ) => { if (!file.markdown) file = Object.assign({}, file, {className: "raw-file-content-no-...
ajax/libs/yui/3.0.0pr2/loader/loader-debug.js
tonytlwu/cdnjs
/** * Loader dynamically loads script and css files. It includes the dependency * info for the version of the library in use, and will automatically pull in * dependencies for the modules requested. It supports rollup files and will * automatically use these when appropriate in order to minimize the number of * ...
packages/react-codemod/test/pure-render-mixin-test3.js
zs99/react
var React = require('react/addons'); var Foo = 'Foo'; var PureRenderMixin = React.addons.PureRenderMixin; var MyComponent = React.createClass({ mixins: [PureRenderMixin], render: function() { return <div />; } }); module.exports = MyComponent;
src/components/Page/Page.js
SgtRock91/FantasyOptimizer
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present 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 PropTypes from 'prop-...
src/components/chatbot/chatpicker.js
gordongordon/hom
import { Picker, List } from "antd-mobile"; import React, { Component } from 'react'; import { DISTRICK } from 'DISTRICK'; import { createForm } from 'rc-form'; import PropTypes from 'prop-types'; const seasons = [ [ { label: "2013", value: "2013" }, { label: "2014", value: "201...
src/components/Map.js
Open-Seat-Philly/open-seat
import React, { Component } from 'react'; import Filters from './map/Filters'; import MapView from './map/MapView'; import { filterDivisions, divisionsHavingSeats } from './map/divisions'; const SMALL_ZOOM = [10]; const MEDIUM_ZOOM = [12]; const LARGE_ZOOM = [13]; const DEFAULT_CENTER = [-75.1452, 39.9826]; cons...
src/components/wysiwygEditor/wysiwygEditor.stories.js
teamleadercrm/teamleader-ui
import React from 'react'; import { addStoryInGroup, MID_LEVEL_BLOCKS } from '../../../.storybook/utils'; import WysiwygEditor from './WysiwygEditor'; export default { component: WysiwygEditor, title: addStoryInGroup(MID_LEVEL_BLOCKS, 'WysiwygEditor'), }; export const Basic = (args) => <WysiwygEditor {...args} />...
example/src/views/fonts_detail.js
kosiakMD/react-native-elements
import Expo from 'expo'; import React, { Component } from 'react'; import { View, ScrollView, StyleSheet, Platform } from 'react-native'; import { Text, Button, Icon } from 'react-native-elements'; import colors from 'HSColors'; import socialColors from 'HSSocialColors'; import fonts from 'HSFonts'; class FontsDetai...
src/layouts/CoreLayout/CoreLayout.js
Edmondton/weather-forecasts
import React from 'react'; import Header from '../../components/Header'; import classes from './CoreLayout.scss'; import '../../styles/core.scss'; export const CoreLayout = ({children}) => ( <div className="container text-center"> <Header /> <div className={classes.mainContainer}> {children} </div> </div> )...
ajax/libs/vkui/4.28.0/components/NativeSelect/NativeSelect.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/extends";import _defineProperty from"@babel/runtime/helpers/defineProperty";import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["style","defaultValue","align","pla...
src/svg-icons/image/assistant-photo.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageAssistantPhoto = (props) => ( <SvgIcon {...props}> <path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/> </SvgIcon> ); ImageAssistantPhoto = pure(ImageAssistantPhoto); ImageAssistantPhoto.displayName = 'Image...
build/tmp/expandedArchives/OnlineNounResources-1.0.0-SNAPSHOT.war_6umft816k1ag7mfpp7xxaxhh0/src/node_modules/reactify/node_modules/react-tools/src/browser/eventPlugins/ChangeEventPlugin.js
azibit/noun
/** * 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 ...
test/specs/elements/Label/Label-test.js
vageeshb/Semantic-UI-React
import faker from 'faker' import _ from 'lodash' import React from 'react' import Label from 'src/elements/Label/Label' import LabelDetail from 'src/elements/Label/LabelDetail' import LabelGroup from 'src/elements/Label/LabelGroup' import * as common from 'test/specs/commonTests' import { SUI } from 'src/lib' import {...
test/integration/basic/pages/link.js
dizlexik/next.js
import React from 'react' import Link from 'next/link' export default () => ( <div>Hello World. <Link href='/about'><a>About</a></Link></div> )
app/components/PlayerStatsList/PlayerStatsList.js
arnef/ligatool-hamburg
import React from 'react'; import { View } from 'react-native'; import { connect } from 'react-redux'; import { StaticListHeader, Container, ListItem, Text, Separator, } from '../../components'; import { navigate, getNavigationStateParams, } from '../../redux/modules/navigation'; import Routes from '../.....
src/svg-icons/communication/phonelink-setup.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationPhonelinkSetup = (props) => ( <SvgIcon {...props}> <path d="M11.8 12.5v-1l1.1-.8c.1-.1.1-.2.1-.3l-1-1.7c-.1-.1-.2-.2-.3-.1l-1.3.4c-.3-.2-.6-.4-.9-.5l-.2-1.3c0-.1-.1-.2-.3-.2H7c-.1 0-.2.1-.3.2l-.2 1...
react-flux-mui/js/material-ui/src/svg-icons/maps/beenhere.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsBeenhere = (props) => ( <SvgIcon {...props}> <path d="M19 1H5c-1.1 0-1.99.9-1.99 2L3 15.93c0 .69.35 1.3.88 1.66L12 23l8.11-5.41c.53-.36.88-.97.88-1.66L21 3c0-1.1-.9-2-2-2zm-9 15l-5-5 1.41-1.41L10 13.17l7.59...
app/javascript/mastodon/features/ui/components/column_subheading.js
kazh98/social.arnip.org
import React from 'react'; import PropTypes from 'prop-types'; const ColumnSubheading = ({ text }) => { return ( <div className='column-subheading'> {text} </div> ); }; ColumnSubheading.propTypes = { text: PropTypes.string.isRequired, }; export default ColumnSubheading;
js/entry.js
daigof/react-starter
import Greeter from './Greeter'; import React from 'react'; import ReactDOM from 'react-dom'; require('../css/style.css'); ReactDOM.render(<Greeter name = "Diego" />, document.getElementById('app'));
src/Parser/Priest/Shadow/Modules/Features/AlwaysBeCasting.js
hasseboulen/WoWAnalyzer
import React from 'react'; import { formatPercentage } from 'common/format'; import { STATISTIC_ORDER } from 'Main/StatisticBox'; import CoreAlwaysBeCasting from 'Parser/Core/Modules/AlwaysBeCasting'; import SPELLS from 'common/SPELLS'; class AlwaysBeCasting extends CoreAlwaysBeCasting { static ABILITIES_ON_GCD = ...
src/tools/LimitDoubleClickButton.js
wangliguang/myRNTools
import React from 'react'; import { TouchableHighlight, TouchableOpacity, TouchableWithoutFeedback, } from 'react-native'; type GGLimitDoubleClickButtonProps = { onPress: Function, style: Object, children: Object, touchableType: string, limitTime?: number, }; export default class GGLimitDoubleClickBut...
app/templates/MasterSlavery/Master/EditForm/index.js
bruceli1986/react-qdp
/* * * MasterEditForm * */ import React from 'react'; import { connect } from 'react-redux'; import moment from 'moment'; import selectMasterEditForm from './selectors'; import { Modal, Form, Input, Row, Col } from 'antd'; import { initEditFormAction, setSubmitAction, submitEditFormAction, } from './actions'...
src/ReactHOC.js
talee/react-hoc
import React from 'react' import Renderable from './Renderable' // Goals // - Do not unmount templates unless rendering a new template in the same place // - Given views, render them into a template // - Allow communication between views per template // - One render per data requirements received. No nested renders tr...
javascript/frameworks-libraries/react-redux-stack/src-3-middleware/index.js
arturparkhisenko/til
import React from 'react'; import {render} from 'react-dom'; // Components --------------------------- import App from './App'; // Styles ------------------------------- import 'normalize.css'; import './index.css'; // -------------------------------------- render( <App/>, document.getElementById('root') );
src/components/dialog/dialog.component.js
Sage/carbon
import React, { useRef, useEffect, useLayoutEffect, useCallback } from "react"; import PropTypes from "prop-types"; import createGuid from "../../__internal__/utils/helpers/guid"; import Modal from "../modal"; import Heading from "../heading"; import useResizeObserver from "../../hooks/__internal__/useResizeObserver"...
ajax/libs/analytics.js/1.3.30/analytics.min.js
steakknife/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
examples/with-kea/pages/_app.js
azukaru/next.js
import React from 'react' import { Provider } from 'react-redux' import withRedux from 'next-redux-wrapper' import { initStore } from '../store' function MyApp({ Component, pageProps, store }) { return ( <Provider store={store}> <Component {...pageProps} /> </Provider> ) } export default withRedux(i...
src/index.js
kellhellia/vkReduxLast
import React from 'react'; import ReactDOM from 'react-dom'; import Root from './Root'; import './styles/app.less'; ReactDOM.render(<Root />, document.getElementById('root'));
playground/components/JsonFormatter.js
apiaryio/attributes-kit
import eidolon from 'eidolon'; import React from 'react'; import ReactDom from 'react-dom'; import PropTypes from 'prop-types'; import JSONFormatter from 'json-formatter-js'; // import 'json-formatter-js/dist/style.css'; class JsonFormatter extends React.Component { static propTypes = { element: PropTypes.objec...
__mocks__/react-native-camera.js
spittet/futoro-test3
import React from 'react'; import PropTypes from 'prop-types'; const constants = { Aspect: {}, BarCodeType: {}, Type: {}, CaptureMode: {}, CaptureTarget: {}, CaptureQuality: {}, Orientation: {}, FlashMode: {}, TorchMode: {} }; class Camera extends React.Component { static constants = constants ...
cm19/ReactJS/your-first-react-app-exercises-master/exercise-16-hooks/shared/Card.js
Brandon-J-Campbell/codemash
import React from 'react'; import classNames from 'classnames'; import ThemeContext from '../theme/context'; import styles from './Card.css'; export default function Card({ children }) { return ( <ThemeContext.Consumer> {({theme}) => ( <div className={classNames(styles.card, styles[theme])}>{chil...
src/components/Select/styles/Arrow.js
Bandwidth/shared-components
import React from 'react'; import styled from 'styled-components'; import Icon from 'components/Icon'; const Arrow = styled(Icon)` transform: ${props => (props.expanded ? 'rotate(180deg)' : 'rotate(0deg)')}; transition: 0.2s ease all; cursor: pointer; `; export default props => <Arrow {...props} name="expandArr...
examples/sidebar/app.js
KamilSzot/react-router
import React from 'react'; import createHistory from 'history/lib/createHashHistory'; import { Router, Route, Link } from 'react-router'; import data from './data'; var Category = React.createClass({ render() { var category = data.lookupCategory(this.props.params.category); return ( <div> <h1>{...
ajax/libs/analytics.js/2.8.21/analytics.js
drewfreyling/cdnjs
(function umd(require){ if ('object' == typeof exports) { module.exports = require('1'); } else if ('function' == typeof define && define.amd) { define(function(){ return require('1'); }); } else { this['analytics'] = require('1'); } })((function outer(modules, cache, entries){ /** * Global ...
ajax/libs/mobx-react/3.0.4/native.min.js
tholu/cdnjs
!function(){function e(e,t,n){function o(e){return n?n.findDOMNode(e):null}function r(e){var t=o(e);t&&c.set(t,e),d.emit({event:"render",renderTime:e.__$mobRenderEnd-e.__$mobRenderStart,totalTime:Date.now()-e.__$mobRenderStart,component:e,node:t})}function i(e,t){var n=e[t],o=u[t];e[t]=function(){n&&n.apply(this,argume...
assets/jqwidgets/demos/react/app/sortable/displayastable/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxSortable from '../../../jqwidgets-react/react_jqxsortable.js'; class App extends React.Component { render() { return ( <JqxSortable ref='sortable' className='sortable'> <div>1</div> <div>...
node_modules/react-icons/io/ios-star.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoIosStar = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35 16.2l-10.9 7.6 4.2 12.5-10.8-7.8-10.8 7.8 4.2-12.5-10.9-7.6h13.4l4.1-12.4 4.1 12.4h13.4z"/></g> </Icon> ) export default IoIosStar
ajax/libs/react-bootstrap-table/3.0.0-beta.9/react-bootstrap-table.min.js
tonytomov/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R...
ajax/libs/6to5/1.13.0/browser.js
cnbin/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...
Backstagr/src/Scripts/Home/react/Components/header.js
airien/workbits
import React from "react"; import { Link } from "react-router-dom"; import { withRouter } from "react-router-dom"; import PropTypes from "prop-types"; import MenuList from "@material-ui/core/MenuList"; import MenuItem from "@material-ui/core/MenuItem"; import Paper from "@material-ui/core/Paper"; import { withStyles }...
example/lab/test21.js
flywingdevelopers/rn-naive
import React from 'react' import { Screen, Block, Bar, Text } from '../rn-naive' export default class App extends React.Component { render() { return ( <Screen scrollable style={{borderWidth:1, margin:8, borderRadius:2}}> <Bar title='Bars in Block' /> <Block lines={4} style={{borderWidth:1,...
src/client/components/Note.js
ampext/graphql-notes
import React from 'react'; import PropTypes from 'prop-types'; import { createFragmentContainer } from 'react-relay'; import Button from './Button'; class Note extends React.PureComponent { onRemoveButton = () => this.props.onRemove(this.props.item.id); onEditButton = () => { const {id, content, date} = this...
src/interface/home/Changelog/SpecSpecificPanel.js
sMteX/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import Toggle from 'react-toggle'; import 'react-toggle/style.css'; import { TooltipElement } from 'common/Tooltip'; import Changelog from './index'; class SpecSpecificPanel extends React.PureComponent { static propTypes = { changelog: PropTypes.on...
ajax/libs/ink/2.2.1/js/ink-all.js
wenliang-developer/cdnjs
(function() { 'use strict'; /** * @module Ink_1 */ /** * global object * * @class Ink */ // skip redefinition of Ink core if ('Ink' in window) { return; } // internal data /* * NOTE: * invoke Ink.setPath('Ink', '/Ink/'); before requiring local...
src/app/_server.js
mdjasper/React-Reading-List
import React from 'react'; import docTemplate from './HTML.js'; import { renderToString } from 'react-dom/server'; import { match, RouterContext } from 'react-router'; import { Provider } from 'react-redux'; import Helmet from 'react-helmet'; import routes from './routes.js'; import getStore from './store.js'; import {...
src/_examples/App.js
beestripes/react-highcharts-wrapper
import React from 'react'; import { BrowserRouter as Router, Route, Switch, Redirect } from 'react-router-dom'; import routes from './routesMap'; const App = () => { return ( <div className="App"> <Router> <div> <sidebar> <a href="https://react-highcharts-wrapper.fi...
public/docs/api/latest/@stdlib/number/float64/base/get-high-word/benchmark_bundle.js
stdlib-js/www
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
React Router/src/index.js
olliecee/React-Projects
import React from 'react'; import { render } from 'react-dom'; // CSS import './css/style.css'; // Routes import routes from './routes'; // Render render( routes, document.getElementById('root') );
examples/src/app.js
javier-garcia-anfix/react-select
/* eslint react/prop-types: 0 */ import React from 'react'; import Select from 'react-select'; import CustomRenderField from './components/CustomRenderField'; import MultiSelectField from './components/MultiSelectField'; import RemoteSelectField from './components/RemoteSelectField'; import SelectedValuesField from '...
src/routes/index.js
mgcrea/react-webpack-factory
import React from 'react'; import {Router, Route, Redirect, browserHistory} from 'react-router'; import {syncHistoryWithStore} from 'react-router-redux'; import App from 'containers/App'; import userRoutes from 'containers/Users/routes'; import Counter from 'components/Counter'; const NotFoundView = props => ( <div...
react-apollo/src/containers/ProductsPage/index.js
strapi/strapi-examples
/** * * ProductsPage * */ import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { Query } from 'react-apollo'; import { GET_PRODUCTS } from '../../queries'; import Table from '../../components/Table'; // Utils import './styles.scss'; class ProductsPage e...
src/addons/editors/__tests__/AutoCompleteAsyncEditor.spec.js
jbrissier/react-data-grid
'use strict'; var React = require('react'); var TestUtils = require('react/lib/ReactTestUtils'); var rewire = require('rewire'); var rewireModule = require('../../../../test/rewireModule'); var StubComponent = require('../../../../test/StubComponent...
test/integration/theming.spec.js
matthewoates/material-ui
/* eslint-disable react/prefer-es6-class */ // NOTE: all these tests depend on DarkRawTheme, and Colors // Modifying any of the above files will break these tests! import React from 'react'; import TestUtils from 'react-addons-test-utils'; import {expect} from 'chai'; import AppBar from 'src/AppBar'; import RaisedBut...
ajax/libs/yui/3.17.1-rc-1/datatable-body/datatable-body-coverage.js
WebReflection/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-body/datatable-body.js']) { __coverage__['build/datatable-body/datatable-body.js'] = {"path":"build/datatable-body/datatable-body.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
src/components/Modal/ModalBody.js
cantonjs/re-admin
import React from 'react'; import { observer } from 'mobx-react'; import AppConfigContext from 'contexts/AppConfig'; import ModalControllerContext from './ModalControllerContext'; export default observer(function ModalBody() { return ( <AppConfigContext.Consumer> {({ modals }) => ( <ModalControllerContext.Co...
ajax/libs/6to5/3.0.7/browser-polyfill.js
upgle/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/Timer10Outlined.js
Kagami/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="M-.01 7.72V9.4l3-1V18h2V6h-.25L-.01 7.72zm23.78 6.65c-.14-.28-.35-.53-.63-.74-.28-.21-.61-.39-1.01-.53s-.85-.27-1.35-.38c-.35-.07-.64-.15-.87...
index.android.js
fancyer/GuanTian
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class GuanTian extends Component { render() { return ( <View style={styles.container}> <Text...
src/member-games.js
FederationOfFathers/ui
import React, { Component } from 'react'; import dpr from './lib/dpr' import LazyLoad from 'react-lazy-load' var gamesCache = {} class Games extends Component { componentWillMount = () => { var data = false if ( typeof gamesCache[this.props.member.ID] !== "undefined" ) { data = gamesCache[this.props.member.ID...
ajax/libs/react-flip-move/2.1.0/react-flip-move.js
ahocevar/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
node_modules/react/lib/ReactTransitionEvents.js
viktorkh/elastickit_express
/** * 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. * */ 'use strict...
docs/pages/_document.js
jedwards1211/breakout
/* eslint-env node */ import React from 'react' import Document, { Html, Head, Main, NextScript } from 'next/document' import { ServerStyleSheets } from '@material-ui/core/styles' import theme from '../src/theme' class MyDocument extends Document { render() { return ( <Html lang="en"> <Head> ...
jquery-1.11.3.min.js
SodhanaLibrary/jqImgBlurEffects
/*! jQuery v1.11.3 | (c) 2005, 2015 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/views/CaretakerRolesMenu/CaretakerRolesMenu.spec.js
araneforseti/caretaker-app
import React from 'react'; import CaretakerRolesMenu from './CaretakerRolesMenu'; import UserGateway, { Permissions } from '../../data/UserGateway'; import CaretakerRolesGateway from '../../data/CaretakerRoles/CaretakerRoles.gateway'; import CaretakerRolesFixture from '../../data/CaretakerRoles/CaretakerRoles.fixture';...
docs/src/app/components/pages/components/Dialog/ExampleScrollable.js
xmityaz/material-ui
import React from 'react'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import RaisedButton from 'material-ui/RaisedButton'; import {RadioButton, RadioButtonGroup} from 'material-ui/RadioButton'; const styles = { radioButton: { marginTop: 16, }, }; /** * Dialog co...
ajax/libs/redux-form/6.0.0-rc.4/redux-form.min.js
rlugojr/cdnjs
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("react-redux"),require("redux")):"function"==typeof define&&define.amd?define(["react","react-redux","redux"],r):"object"==typeof exports?exports.ReduxForm=r(require("react"),require("react-redux"),require("redux"...
ajax/libs/orb/1.0.4/orb.min.js
bragma/cdnjs
/** * orb v1.0.4, Pivot grid javascript library. * * Copyright (c) 2014 Najmeddine Nouri <devnajm@gmail.com>. * * @version v1.0.4 * @link http://nnajm.github.io/orb/ * @license MIT */ "use strict";!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof...
onos/apis/namespaceorg_1_1onosproject_1_1reactive_1_1routing.js
onosfw/apis
var namespaceorg_1_1onosproject_1_1reactive_1_1routing = [ [ "ReactiveRoutingFib", "classorg_1_1onosproject_1_1reactive_1_1routing_1_1ReactiveRoutingFib.html", "classorg_1_1onosproject_1_1reactive_1_1routing_1_1ReactiveRoutingFib" ], [ "SdnIpReactiveRouting", "classorg_1_1onosproject_1_1reactive_1_1routing_1_1S...
packages/docs/components/Examples/linkify/CustomComponentLinkifyEditor/index.js
draft-js-plugins/draft-js-plugins
import React, { Component } from 'react'; import { EditorState } from 'draft-js'; import Editor from '@draft-js-plugins/editor'; import createLinkifyPlugin from '@draft-js-plugins/linkify'; import linkifyIt from 'linkify-it'; import tlds from 'tlds'; import editorStyles from './editorStyles.module.css'; const linkifyP...
src/icons/Location.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class Location extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M256,64c-65.9,0-119.3,53.7-119.3,120c0,114.6,119.3,264,119.3,264s119.3-149.4,119.3-264C375.3,117.7,321.9,64,256,64z...
core/misc/tabledrag.js
saitanay/doitwithd8
(function ($, Drupal, drupalSettings) { "use strict"; /** * Store the state of weight columns display for all tables. * Default value is to hide weight columns. */ var showWeight = JSON.parse(localStorage.getItem('Drupal.tableDrag.showWeight')); /** * Drag and drop table rows with field manipulat...
collect-webapp/frontend/src/common/components/DatePicker.js
openforis/collect
import React from 'react' import PropTypes from 'prop-types' import moment from 'moment' import { TextField } from '@mui/material' import { DatePicker as MuiDatePicker } from '@mui/x-date-pickers/DatePicker' import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment' import { LocalizationProvider } from '@mui...
source/themes/memtech/memtech-sculpin/css/require-built.js
memtech/memphistechnology.org
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.5 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requi...
app/components/Stats.js
vanHeemstraDesigns/CreationsEcosystemStatic
import React from 'react'; import StatsStore from '../stores/StatsStore' import StatsActions from '../actions/StatsActions'; class Stats extends React.Component { constructor(props) { super(props); this.state = StatsStore.getState(); this.onChange = this.onChange.bind(this); } componentDidMount() { ...
packages/icons/src/cpu.js
geek/joyent-portal
import React from 'react'; import Rotate from './rotate'; import calcFill from './fill'; export default ({ fill = null, light = false, disabled = false, direction = 'down', colors = {}, style = {}, ...rest }) => ( <Rotate direction={direction}> {({ style: rotateStyle }) => ( <svg xml...
client/index.js
Moises404/artpost
// if (process.env.BROWSER) require('./styles/_Main.scss') import './styles/_Main.scss' import {Provider} from 'react-redux' import React from 'react' import configureStore from './store/configureStore' import { render } from 'react-dom' import routes from './routes' const initialState = window.__INITIAL_STATE__ const...
ajax/libs/instantsearch.js/1.6.3/instantsearch.min.js
extend1994/cdnjs
/*! instantsearch.js 1.6.3 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.instantsearch=t():e.instantsea...
src/index.js
barillas/react-book-store
// ./src/index.js import 'babel-polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import { render } from 'react-dom'; import { Router, browserHistory } from 'react-router'; import routes from './routes'; import '../node_modules/bootstrap/dist/css/bootstrap.min.css'; import * as bookActions f...
src/Table.js
aabenoja/react-bootstrap
import React from 'react'; import classNames from 'classnames'; const Table = React.createClass({ propTypes: { striped: React.PropTypes.bool, bordered: React.PropTypes.bool, condensed: React.PropTypes.bool, hover: React.PropTypes.bool, responsive: React.PropTypes.bool }, render() { let c...
Web/admin/chart_js/highcharts.src.js
thepetronics/PetroFDS
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.5 (2015-04-13) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
src/CheckBox/CheckBox.js
ctco/rosemary-ui
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { isDefined } from '../util/utils'; const PROPERTY_TYPES = { disabled: PropTypes.bool, label: PropTypes.string, defaultValue: PropTypes.bool, value: PropTypes.bool, onChange: PropTypes.func, ...
packager/react-packager/src/Cache/index.js
genome21/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. */ 'use strict...
examples/real-world/index.js
fanhc019/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...
src/parser/demonhunter/havoc/CONFIG.js
fyruna/WoWAnalyzer
import React from 'react'; import { Mamtooth, Yajinni } from 'CONTRIBUTORS'; import SPECS from 'game/SPECS'; import retryingPromise from 'common/retryingPromise'; import CHANGELOG from './CHANGELOG'; export default { // The people that have contributed to this spec recently. People don't have to sign up to be long...
app/containers/OrderFormContainer.js
nosplashurinal/order-management
import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import React from 'react'; import SearchForm from '../components/OrderSearchForm'; import { orderSearchActive, searchBy } from '../actions'; const mapStateToProps = (state) => { const formActive = state.orderFormReducers.formActive;...
app/pages/HomePage/index.js
bluce1017/betterthangoodell
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import styles from './styles.css'; export class HomePage extends React.Component { // eslint-disable-line react/prefer-stateless-function render() { const mainContent = ( <div className={styl...
source/src/containers/app.js
vgudzhev/DiagramTool
import React from 'react'; import { render } from 'react-dom'; import Dashboard from 'containers/dashboard'; import Footer from 'containers/footer'; import DynamicContainer from 'containers/dynamicContainer'; class App extends React.Component { render() { return ( <div className='container-nar...
test/specs/collections/Form/FormFieldRadio-test.js
vageeshb/Semantic-UI-React
import React from 'react' import FormRadio from 'src/collections/Form/FormRadio' import Radio from 'src/addons/Radio/Radio' import * as common from 'test/specs/commonTests' describe('FormRadio', () => { common.isConformant(FormRadio) it('renders a FormField with a Radio control', () => { shallow(<FormRadio /...