path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
site/src/components/ExampleSortConfig.js
pbeshai/react-taco-table
import React from 'react'; import { TacoTable, DataType, SortDirection, Formatters } from 'react-taco-table'; import cellLinesData from '../data/cell_lines.json'; /** * An example demonstrating sort configurations */ const columns = [ { id: 'name', type: DataType.String, value: rowData => rowData.cell...
example/src/app.js
tajo/halogen
var React = require('react'); var selfCleaningTimeout = { componentDidUpdate: function() { clearTimeout(this.timeoutID); }, setTimeout: function() { clearTimeout(this.timeoutID); this.timeoutID = setTimeout.apply(null, arguments); } }; var ComponentPreview = React.createClass(...
src/components/Input/Input.js
hanshenrik/when.fm
import React from 'react'; import Spinner from 'react-spinkit'; import styled from 'styled-components'; const InputField = styled.input.attrs({ autoComplete: "off", autoCorrect: "off", autoCapitalize: "off", spellCheck: "false" })` font: inherit; font-size: 3em; text-align: center; border: none; back...
src/src/main.js
alexberriman/local-deals
import React from 'react' import ReactDOM from 'react-dom' import createBrowserHistory from 'history/lib/createBrowserHistory' import { useRouterHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import injectTapEventPlugin from 'react-tap-event-plugin'; import createStore from './...
src/icons/LaunchIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class LaunchIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M38 38H10V10h14V6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V24h-4v14zM28 6v4h7.17L15....
packages/icons/src/sp/Instagram.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function SpInstagram(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <g> <path d="M24.003 5.055c5.146 0 5.79.021 7.812.114 2.016.092 3.394.412 4.6.88a9.287 9.287 0 0 1 3.355 2.186 9.289 9.289 0 0 1 2.186 3.356c.468 1....
src/component/ToDoListWithFlux/TodoTextInput.react.js
lyc-chengzi/reactProject
/** * Created by liuyc14 on 2016/9/23. */ import React from 'react'; let ReactPropTypes = React.PropTypes; const ENTER_KEY_CODE = 13; export default class TodoTextInput extends React.Component{ constructor(props){ super(props); this.state = { value: this.props.value || '' }; ...
packages/react-server-website/components/homepage-body.js
lidawang/react-server
import React from 'react'; // import {Component} from 'react'; import Markdown from './Markdown'; import GetStartedSection from './content/HomeGetStartedSection.md'; import WhySection from './content/HomeWhySection.md'; import ContributingSection from './content/HomeContributingSection.md'; import {Link} from "react-se...
src/svg-icons/action/input.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInput = (props) => ( <SvgIcon {...props}> <path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"/> </...
src/App.js
TobiasTimm/marked-it
import React from 'react'; import BookmarksContainer from './containers/EntriesContainer'; import Layout from './layouts/App'; const App = () => <Layout />; export default App;
app/components/ToggleOption/index.js
iFatansyReact/react-boilerplate-imagine
/** * * ToggleOption * */ import React from 'react'; import { injectIntl, intlShape } from 'react-intl'; const ToggleOption = ({ value, message, intl }) => ( <option value={value}> {message ? intl.formatMessage(message) : value} </option> ); ToggleOption.propTypes = { value: React.PropTypes.string.isRequir...
components/__tests__/SelectItemGroup-test.js
hellobrian/carbon-components-react
import React from 'react'; import SelectItemGroup from '../SelectItemGroup'; import { shallow } from 'enzyme'; describe('SelectItemGroup', () => { describe('Renders as expected', () => { const wrapper = shallow( <SelectItemGroup className="extra-class" label="test" /> ); it('should have the expect...
src/components/Forms/ProfileForm.js
Franco84/pubstomp
import React, { Component } from 'react'; import {Field, reduxForm} from 'redux-form' import {Button} from 'react-bootstrap' import { connect } from 'react-redux' import { createProfile } from '../../actions' class ProfileForm extends Component { renderField(field) { const { meta: {touched, error} } = field ...
build/webpack-environments/development.js
shtefanntz/cw
/* eslint key-spacing:0 */ import webpack from 'webpack' import config from '../../config' import _debug from 'debug' const debug = _debug('app:webpack:development') export default (webpackConfig) => { debug('Create configuration.') debug('Enable devtool: "source-maps".') webpackConfig.devtool = 'source-map' ...
0020-flowtype/app/src/Timely.js
davidwparker/programmingtil-react
/* @flow */ import React from 'react'; type TimelyProps = { date: Date, name: string, excited: boolean }; class Timely extends React.Component<void, TimelyProps, void> { render() { const hours = this.props.date.getHours(); const timeOfDay = hours > 17 ? 'Evening' : hours > 12 ? 'Afternoon' : 'Mo...
src/index.js
olontsev/react-redux-bootcamp
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { createStore } from 'redux' import { combineReducers } from 'redux-immutable'; import App from './containers/App' import categoriesReducer from './reducers/categoriesReducer' let reducers = { categories: categ...
tgui/packages/tgui/components/Knob.js
ExcessiveUseOfCobblestone/tgstation
/** * @file * @copyright 2020 Aleksej Komarov * @license MIT */ import { keyOfMatchingRange, scale } from 'common/math'; import { classes } from 'common/react'; import { computeBoxClassName, computeBoxProps } from './Box'; import { DraggableControl } from './DraggableControl'; import { NumberInput } from './Number...
imports/ui/components/reading/TextMetaOptions/TextMetaOptions.js
pletcher/cltk_frontend
import React from 'react'; import IconButton from 'material-ui/IconButton'; import PropTypes from 'prop-types'; class TextMetaOptions extends React.Component { render() { const styles = { checkbox: { display: 'inline-block', width: 'auto', }, }; return ( <div className="text-meta-options"> ...
ajax/libs/react-native-web/0.11.7/cjs/vendor/react-native/StaticRenderer/index.js
cdnjs/cdnjs
"use strict"; exports.__esModule = true; exports.default = void 0; var _react = require("react"); var _propTypes = require("prop-types"); function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superCla...
src/mui/field/SelectField.spec.js
marmelab/admin-on-rest
import React from 'react'; import assert from 'assert'; import { shallow } from 'enzyme'; import { SelectField } from './SelectField'; describe('<SelectField />', () => { const defaultProps = { source: 'foo', choices: [{ id: 0, name: 'hello' }, { id: 1, name: 'world' }], translate: x => x, ...
node_modules/web-component-tester/node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.js
callenbatt/callenbatt.github.io
// 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 }; ...
examples/browser/create-splunk-react-app/src/App.js
splunk/splunk-sdk-javascript
import React from 'react'; import './App.css'; import SplunkJsExample from './SplunkJsExample'; function App() { return ( <div className="App"> <header className="App-header"> <p> 1. Edit <code>src/splunkConfig.js</code> to input your Splunk host/port information and restart this project ...
src/components/isdorderdetail/components/moneyinfo.js
lq782655835/ReactDemo
import React from 'react'; import { CtripIcon } from '../../common/carcomponent'; import Alert from '../../common/alert'; class MoneyInfo extends React.Component { moneyDetail = () => { Alert.showOrderDetail(); } render(){ return ( <div className='moneyinfo animated bounceInUp' data-flex...
docs/app/Examples/collections/Table/Variations/TableExampleUnstackable.js
aabustamante/Semantic-UI-React
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleUnstackable = () => { return ( <Table unstackable> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.HeaderCell t...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
RobinSoubry/hack-against-violence
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
examples/src/components/RemoteSelectField.js
bezreyhan/react-select
import React from 'react'; import Select from 'react-select'; var RemoteSelectField = React.createClass({ displayName: 'RemoteSelectField', propTypes: { hint: React.PropTypes.string, label: React.PropTypes.string, }, loadOptions (input, callback) { input = input.toLowerCase(); var rtn = { options: [ ...
app/packs/src/components/common/ToggleSection.js
ComPlat/chemotion_ELN
import React from 'react'; import { Tooltip, OverlayTrigger } from 'react-bootstrap'; import PropTypes from 'prop-types'; const ToggleSection = ({ show }) => ( <div style={{ float: 'right' }}> <OverlayTrigger placement="bottom" overlay={<Tooltip id="toggle_section">Toggle Section</Tooltip>}> <span styl...
app/react/demo/src/App.js
enjoylife/storybook
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <div className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h2>Welcome to React</h2> ...
packages/material-ui-icons/src/SwitchVideoOutlined.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="M8 13h4v2l3-3-3-3v2H8V9l-3 3 3 3z" /><path d="M18 9.5V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.5l4 4v-13l...
lib/components/pages/Journal.js
michaelbontyes/journey
import React from 'react' import { Link } from 'react-router' import { defineMessages, FormattedMessage } from 'react-intl' //import Explorer from '../wordpress/Explorer' const messages = defineMessages({ aboutThanks: { id: 'about.specialThanks', description: 'Thanks to Dan Abramov for the idea of Redux', ...
ajax/libs/zxcvbn/1.0.3/zxcvbn.min.js
Amomo/cdnjs
(function(){var aC,aM,aK,aB,ah,ag,af,ae,ad,ac,ab,t,ap,aL,ao,r,o,m,l,k,i;ab=function(n){var p,q;q=[];for(p in n){q.push(p)}return 0===q.length};ap=function(n,p){return n.push.apply(n,p)};k=function(n,p){var w,u,s,v,q;v=n.split("");q=[];u=0;for(s=v.length;u<s;u++){w=v[u],q.push(p[w]||w)}return q.join("")};r=function(n,p)...
django/contrib/admin/static/admin/js/vendor/jquery/jquery.js
oinopion/django
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function( global, factory ) { if ...
client/gatsby-browser.js
jonathanihm/freeCodeCamp
import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; import { createStore } from './src/redux/createStore'; import AppMountNotifier from './src/components/AppMountNotifier'; import layoutSelector from './utils/gatsby/layoutSelector'; const store = createStore(); expo...
src/elements/container.js
jessy1092/react-semantify
import React from 'react'; import filter from '../filter'; import Div from '../commons/div'; const defaultClassName = 'ui container'; const componentName = 'Container'; const Container = new filter(Div) .classGenerator(defaultClassName) .getComposeComponent(componentName); export default Container;
client/app/components/ContentEditor/customPlugins/link-plugin/LinkButton.js
bryanph/Geist
import React from 'react'; import { EditorState, Entity, KeyBindingUtil, AtomicBlockUtils, SelectionState, Modifier } from 'draft-js' import styles from './styles.css'; import { insertLink, isActive } from './insertLink.js' class LinkButton extends React.Component { constructor(props) { super(props); ...
src/Textfield/Label.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; const propTypes = { children: PropTypes.node, focused: PropTypes.bool, id: PropTypes.string, value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; const ROOT = 'mdc-text-field__label'; const LABE...
examples/universal/server/server.js
lina/redux
/* eslint-disable no-console, no-use-before-define */ import path from 'path'; import Express from 'express'; import qs from 'qs'; import webpack from 'webpack'; import webpackDevMiddleware from 'webpack-dev-middleware'; import webpackHotMiddleware from 'webpack-hot-middleware'; import webpackConfig from '../webpack....
src/About.js
xkawi/create-react-app-now
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; class About extends Component { render() { return ( <div>About page here <Link to='/'>back</Link> | <Link to='/anything'>or Test Not Found Page</Link></div> ); } } export default About;
docs/src/app/components/pages/components/RaisedButton/Page.js
ArcanisCz/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import raisedButtonReadmeText from './README'; import raisedButtonExampleSimpleC...
renderer/components/Channels/ChannelCloseDialog.js
LN-Zap/zap-desktop
import React from 'react' import PropTypes from 'prop-types' import { Flex, Box } from 'rebass/styled-components' import { FormattedMessage, injectIntl } from 'react-intl' import { withFieldState } from 'informed' import { intlShape } from '@zap/i18n' import Delete from 'components/Icon/Delete' import { Dialog, Text, H...
src/components/PostList.js
bobwei/thewebapp-example
import React from 'react'; import PostListItem from './PostListItem'; export default class PostList extends React.Component { render() { return ( <div className="list"> {this.props.postList.map((post, i) => { return (<PostListItem key={i} post={post}/>); })} </div> ); ...
src/components/UIShell/HeaderGlobalAction.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { settings } from 'carbon-components'; import cx from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; imp...
Ch2/02_09/final/public/js/jquery.js
tahoeRobbo/developingForMeanStackLynda
/*! 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...
ajax/libs/rxjs/2.2.26/rx.js
AMoo-Miki/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 }; v...
client/src/app-components/article-add-modal.js
ivandiazwm/opensupports
import React from 'react'; import _ from 'lodash'; import {connect} from 'react-redux'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import ModalContainer from 'app-components/modal-container'; import Header from 'core-components/header'; import Form from 'core-components/form'; import FormFie...
app/components/habits/addHabit.js
liveyourheart/woke-electron
import React, { Component } from 'react'; import { Link } from 'react-router'; import Paper from 'material-ui/paper'; import TextField from 'material-ui/textfield'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import RaisedButton from 'material-ui/RaisedButton'; expor...
packages/@lyra/components/src/radiobutton/story.js
VegaPublish/vega-studio
import React from 'react' import {storiesOf, action} from 'part:@lyra/storybook' import RadioButton from 'part:@lyra/components/radiobutton/default' import { withKnobs, object, boolean, text } from 'part:@lyra/storybook/addons/knobs' import Lyra from 'part:@lyra/storybook/addons/lyra' storiesOf('Radiobutton') ...
springboot/GReact/node_modules/react-bootstrap/es/MediaBody.js
ezsimple/java
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 ...
frontend/app_v2/src/components/WidgetStats/WidgetStatsPresentation.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' // FPCC import useIcon from 'common/useIcon' import SectionTitle from 'components/SectionTitle' function WidgetStatsPresentation({ data }) { const iconStyling = 'fill-current text-tertiaryC h-10 md:h-12 lg:h-14 w-auto mx-auto' const totalStyling = data?...
src/CarouselItem.js
deerawan/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import TransitionEvents from './utils/TransitionEvents'; const CarouselItem = React.createClass({ propTypes: { direction: React.PropTypes.oneOf(['prev', 'next']), onAnimateOutEnd: React.PropTypes.func, active: React.PropTypes.bool, anima...
src/isomorphic/classic/element/ReactElementValidator.js
Riokai/react
/** * Copyright 2014-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 ...
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/Avatar/ExampleSimple.js
pbogdan/react-flux-mui
import React from 'react'; import Avatar from 'material-ui/Avatar'; import FileFolder from 'material-ui/svg-icons/file/folder'; import FontIcon from 'material-ui/FontIcon'; import List from 'material-ui/List/List'; import ListItem from 'material-ui/List/ListItem'; import { blue300, indigo900, orange200, deepOr...
_v1/law/_viewRelation.js
ETBlue/llscanner
import React from 'react' import {HashLink as Link} from 'react-router-hash-link' import _parseArticleID from '../_shared/_parseArticleID' import './_viewRelation.css' export default (relationData, currentLaw) => { let relatedJSX if (relationData) { relatedJSX = Object.keys(relationData).map((relation) => {...
react/features/base/dialog/components/native/ConfirmDialog.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import { View } from 'react-native'; import Dialog from 'react-native-dialog'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; import AbstractDialog from '../AbstractDialog'; import { renderHTML } from '../functions.native'; import styles from ...
ajax/libs/jointjs/0.8.0/joint.js
IonicaBizauKitchen/cdnjs
/*! JointJS v0.8.0 - JavaScript diagramming library 2014-01-22 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! * jQuery JavaScript Library v1.9.1 * http://jquery...
ajax/libs/highcharts/5.0.4/highcharts.src.js
sufuf3/cdnjs
/** * @license Highcharts JS v5.0.4 (2016-11-22) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function(root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.document ? factory(root) : factory; ...
js/Player/AudioPlayer.js
olegk101/test
import React from 'react'; import Radium, { StyleRoot } from 'radium' import stylePlayer from '../style/liveplayer' // import './index.scss'; const log = console.log.bind(console); const logError = console.error ? console.error.bind(console) : log; const logWarning = console.warn ? console.warn.bind(console) : log; ...
docs/src/pages/demos/tabs/CustomizedTabs.js
cherniavskii/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import Tabs, { Tab } from 'material-ui/Tabs'; import Typography from 'material-ui/Typography'; const styles = theme => ({ root: { flexGrow: 1, backgroundColor: theme.palette.background.paper, }, ...
admin/lib/store.js
synthesis-js/react-synthesis
// store.js import React from 'react'; import { createStore, compose } from 'redux'; import { syncHistoryWithStore } from 'react-router-redux'; import { browserHistory } from 'react-router'; // import root reducer import rootReducer from './reducers/rootReducer'; // check local storage for token, save to userData let...
node_modules/case-sensitive-paths-webpack-plugin/demo/src/AppRoot.component.js
webtutorial/builder
import React, { Component } from 'react'; export default class AppRoot extends Component { // we can't use `connect` in this component, so must do naiively: constructor(props) { super(props); this.state = { }; } render() { return ( <div> <h1>This is just an empty demo</h1> ...
doc/_static/jquery.js
xavierfav/freesound-python
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==...
src/client.js
aos2006/tesDeploy
/** * 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 'whatwg-fetch'; import React from 'react'; impor...
node_modules/react-native-svg/elements/Use.js
MisterZhouZhou/ReactNativeLearing
import React from 'react'; import PropTypes from 'prop-types'; import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js'; import extractProps from '../lib/extract/extractProps'; import {pathProps, numberProp} from '../lib/props'; import {UseAttributes} from '...
src/components/event_page/event_details/participant.js
decaster3/hikester_redux
import React from 'react'; import FontAwesome from 'react-fontawesome'; export default class Participant extends React.Component { constructor(props) { super(props); this.state = { }; } render() { let display_style = this.props.show ? 'inline-block' : 'none'; return ( <a cla...
src/routes/Home/components/HomeView.js
ahthamrin/kbri-admin2
import React from 'react' import DuckImage from '../assets/Duck.jpg' import './HomeView.scss' export const HomeView = () => ( <div> <h4>Welcome!</h4> <img alt='This is a duck, because Redux!' className='duck' src={DuckImage} /> </div> ) export default HomeView
cloud-disk/src/main/webapp/assets/js/sea/modules/jquery/1.7.2/jquery-debug.js
allanfish/facetime-demo
define('#jquery/1.7.2/jquery-debug', [], function(require) { /*! * jQuery JavaScript Library v1.7.2 * 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 Do...
frontend/node_modules/react-router-dom/es/HashRouter.js
justdotJS/rowboat
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call &...
test/NavbarSpec.js
azmenak/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Navbar from '../src/Navbar'; import Nav from '../src/Nav'; describe('Nav', function () { it('Should create nav element', function () { let instance = ReactTestUtils.renderIntoDocument( <Navbar /> ); let nav = ...
packages/material-ui-icons/src/DescriptionTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M13 4H6v16h12V9h-5V4zm3 14H8v-2h8v2zm0-6v2H8v-2h8z" opacity=".3" /><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5...
src/containers/Playground/TimeBar/index.js
mmazzarolo/tap-the-number
/* @flow */ /** * The time left bar at the top of the Playground screen. */ import React, { Component } from 'react'; import { View } from 'react-native-animatable'; import { Animated, Easing } from 'react-native'; import styles from './index.style'; import metrics from 'src/config/metrics'; import timings from 'src/...
app/containers/Autocomplete/autocomplete.js
castlemilk/nutry-web
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import Autocomplete from './index'; import * as actions from './actions'; import { getStates, matchStateToTerm, sortStates, styles } from '../../utils/autcomplete-utils'; import ElasticS...
dist/lib/carbon-fields/assets/js/fields/components/association/list-item.js
ArtFever911/statrer-kit
/** * The external dependencies. */ import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { withHandlers } from 'recompose'; /** * The internal dependencies. */ import { preventDefault } from 'lib/helpers'; /** * Render an item that can be associated. * * @param {O...
client/src/javascript/components/icons/LockIcon.js
stephdewit/flood
import React from 'react'; import BaseIcon from './BaseIcon'; export default class LockIcon extends BaseIcon { render() { return ( <svg className={`icon icon--lock ${this.props.className}`} viewBox={this.getViewBox()}> <path d="M9.917 27.364h1.305v-7.91C11.222 9.322 19.464 1 29.5 1c10.03...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-for-of/node_modules/babel-runtime/node_modules/core-js/modules/es6.promise.js
Chen-Hailin/iTCM.github.io
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
ajax/libs/react/0.14.0-beta2/JSXTransformer.js
dmsanchez86/cdnjs
/** * JSXTransformer v0.14.0-beta2 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefin...
ngiiedu-client/src/components/admin/school/sync/common/SampleCheckList.js
jinifor/branchtest
import React, { Component } from 'react'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, } from 'material-ui/Table'; //redux //store에 연결 import { connect } from 'react-redux'; //action 객체사용 import * as actions from '../../../../../actions/in...
build/npm/lib/isReactChildren.js
micahlmartin/react-router
"use strict"; var React = require("react"); function isValidChild(object) { return object == null || React.isValidElement(object); } function isReactChildren(object) { return isValidChild(object) || Array.isArray(object) && object.every(isValidChild); } module.exports = isReactChildren;
node_modules/core-js/client/shim.js
RahulDesai92/PHR
/** * core-js 1.2.7 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
node_modules/react-router/es6/RouterContext.js
xuan6/admin_dashboard_local_dev
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _extends = Object.assign || function (target) { for (var i = 1; i < argum...
src/client/assets/js/nodes/processors/uibuilder/features/canvas/components/svg/Line.js
me-box/iot.red
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import {camelise} from 'nodes/processors/uibuilder/utils'; import { actionCreators as canvasActions, selector } from '../..'; import { connect } from 'react-redux'; @connect(selector, (dispatch) => { return{ actions: bindActio...
ajax/libs/griddle-react/1.0.0-alpha.4/griddle.min.js
wout/cdnjs
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.Griddle=n(require("react")):e.Griddle=n(e.React)}(this,function(__WEBPACK_EXTERNAL_MODULE_3__){return function(e){function n(r){i...
ajax/libs/forerunnerdb/1.3.11/fdb-core+views.min.js
menuka94/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...
docs/src/components/usage-example.js
usirin/nuclear-js
import React from 'react' import { Reactor, Store, toImmutable } from 'nuclear-js' import Code from './code' const storeCode = `import { Reactor, Store, toImmutable } from 'nuclear-js' import React from 'react' const reactor = new Reactor({ debug: true }); reactor.registerStores({ typeFilter: Store({ getInitia...
test/support/GenericSpanComponent.js
ethanselzer/react-touch-position
import React from 'react'; export default React.createClass({ displayName: 'GenericSpanComponent', render() { return (<span />); } });
app/src/components/icon/umbrella.js
vvasilev-/weatheros
/** * The typings. */ import type { IconProps } from 'weatheros' /** * The external dependencies. */ import React from 'react'; /** * The internal dependencies. */ import Icon from 'components/icon'; /** * Render an umbrella. * * @param {Object} props * @return {React.Element} */ const Umbrella = (pr...
node_modules/@fortawesome/fontawesome-free/js/brands.min.js
emccosky/emccosky.github.io
/*! * Font Awesome Free 5.10.2 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={},z={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(z=document)}catch(c){...
src/docs/examples/EyeIcon/EyeIconExample.js
patchygreen/ps-react-patchygreen
import React from 'react'; import EyeIcon from 'ps-react/EyeIcon'; /** SVG Eye Icon */ export default function EyeIconExample() { return <EyeIcon />; }
test/test_helper.js
Skytim/YoutubeReact
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
ajax/libs/yui/3.9.0/datatable-core/datatable-core-coverage.js
billybonz1/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
libs/zeroclipboard/2.0.0/ZeroClipboard.js
Clouda-team/baiducdnstatic
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.0 */ (function(window, undefined) { "use strict";...
packages/material-ui-icons/src/MotorcycleRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19.44 9.03L17.31 6.9l-1.6-1.6c-.19-.19-.45-.3-.71-.3h-3c-.55 0-1 .45-1 1s.45 1 1 1h2.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h.82c.53 0 1.04-.21 1.41-.59l2.18-2.18c-.2.54-.31 1.14-....
src/widgets/highlighter/highlighter.spec.js
Zenika/Pogues
import React from 'react'; import { shallow } from 'enzyme'; import HighLighter from './highlighter'; describe('<HighLighter />', () => { test('Should highlight a subtext in the main text', () => { const wrapper = shallow( <HighLighter highlight="test"> Fake test string and anothertest </Hig...
ajax/libs/yui/3.3.0pr2/event/event-focus.js
ColinEberhardt/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, useActivate = YLang.isFunction( Y.DOM.create('<p onbeforeactivate="...
ajax/libs/angular.js/0.9.15/angular-scenario.js
panshuiqing/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/parser/warlock/affliction/modules/talents/AbsoluteCorruption.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import calculateEffectiveDamage from 'parser/core/calculateEffectiveDamage'; import Events from 'parser/core/Events'; import SPELLS from 'common/SPELLS'; import { formatThousands, formatNumber, formatPercentage } from 'common...
packages/material-ui-icons/src/RadioRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3.24 6.15C2.51 6.43 2 7.17 2 8v12c0 1.1.9 2 2 2h16c1.11 0 2-.9 2-2V8c0-1.1-.9-2-2-2H8.3l7.43-3c.46-.19.68-.71.49-1.17-.19-.46-.71-.68-1.17-.49L3.24 6.15zM7 20c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3...
app/javascript/mastodon/components/dropdown_menu.js
RobertRence/Mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Dropdown, { DropdownTrigger, DropdownContent } from 'react-simple-dropdown'; import PropTypes from 'prop-types'; export default class DropdownMenu extends React.PureComponent { static contextTypes = { router: PropTypes...
local-cli/templates/HelloNavigation/views/chat/ChatListScreen.js
negativetwelve/react-native
'use strict'; import React, { Component } from 'react'; import { ActivityIndicator, Image, ListView, Platform, StyleSheet, View, } from 'react-native'; import ListItem from '../../components/ListItem'; import Backend from '../../lib/Backend'; export default class ChatListScreen extends Component { stat...
src/__tests__/generic-nested.js
brigand/babel-plugin-flow-react-proptypes
const babel = require('babel-core'); const content = ` import React from 'react'; type Generic<T> = T | number; type Generic2<A> = Generic<A> | bool; type Props = { foo: Generic2<string>, }; export default class ArrayTest extends React.Component<Props> { } `; it('generic-nested', () => { const res = babel.transf...
src/js/components/AddTrackMenu.js
StudioLasso/social-music-studio
import React from 'react'; export default class AddTrackMenu extends React.Component { render() { return ( <div> </div> ); } }