path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
src/containers/Interfaces/NameGeneratorAutoComplete.js
codaco/Network-Canvas
import React, { Component } from 'react'; import { map } from 'lodash'; import { bindActionCreators, compose } from 'redux'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import withPrompt from '../../behaviours/withPrompt'; import Search from '../../containers/Search'; import { actionCreat...
ajax/libs/legojs/0.0.1/lego.min.js
StoneCypher/cdnjs
/* * __ _ * / /__ ____ ____ (_)____ * / / _ \/ __ `/ __ \ / / ___/ * / / __/ /_/ / /_/ / / (__ ) * /_/\___/\__, /\____(_)_/ /____/ * /____/ /___/ * * * https://github.com/tybenz/legojs * * made in 2013 * by * Tyler Benziger * -...
packages/material-ui-icons/src/CellWifiOutlined.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="M20 10.78V20h-9.22L20 10.78m2-4.81L6 22h16V5.97z" opacity=".3" /><path d="M18 9.98L6 22h12V9.98zM3.93 5.93l1.29 1.29c3.19-3.19 8.38-3.19 11.5...
client/components/TestM/testMessage.js
RicardormDev/ReactEnviroment
import React from 'react'; import classnames from 'classnames'; import PropTypes from 'prop-types'; class TestMessage extends React.Component { constructor(props) { super(props); } onClick = (e) => { this.props.removeTest('1'); } render() { const { id, type, text } = this.props.payload; re...
App/Containers/PresentationTab.js
oreofish/v2exClient
// @flow import React from 'react' import { ScrollView, Text, Image, View } from 'react-native' import { Images } from '../Themes' import RoundedButton from '../Components/RoundedButton' import PageContainer from '../Components/common/PageContainer' import { Actions as NavigationActions } from 'react-native-router-flu...
frontend/tests/components/threads/category-picker.js
1905410/Misago
import assert from 'assert'; import React from 'react'; // jshint ignore:line import CategoryPicker from 'misago/components/threads/category-picker'; // jshint ignore:line import * as testUtils from 'misago/utils/test-utils'; /* jshint ignore:start */ let list = { name: "All", nameLong: "All threads", path: '' }...
src/components/Search/Search.js
Andumino/SimpleWeatherApp
import React from 'react'; import { connect } from 'react-redux'; import { fetchWeather, fetchForecast, fetchForecast16} from '../../actions'; import Autocomplete from 'react-google-autocomplete'; class Search extends React.Component { // constructor(props) { // super(props); // // this.onFetchFotr...
node_modules/antd/es/tree-select/index.js
yhx0634/foodshopfront
import _extends from 'babel-runtime/helpers/extends'; import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possib...
examples/es6/src/components/Layout.js
lore/lore
/** * This component is intended to reflect the high level structure of your application, * and render any components that are common across all views, such as the header or * top-level navigation. All other components should be rendered by route handlers. **/ import React from 'react'; import PropTypes from 'prop...
ui/src/containers/Routes.js
mozilla/splice
import React, { Component } from 'react'; import { Router, Route, Redirect } from 'react-router'; import App from './App' import WebtilesPreviewer from './WebtilesPreviewer'; export default class Routes extends Component { render() { return ( <Router> <Redirect from="/" to="/distributions" /> ...
client/pages/ProjectContent.js
bifrostio/bifrost
/* global google */ import React, {Component} from 'react'; import {FormControls, Button, Modal, Alert} from 'react-bootstrap'; import { Link } from 'react-router'; import validator from 'validator'; import GoogleMapsLoader from 'google-maps/lib/Google.min'; import StationForm from '../components/StationForm'; import ...
app/javascript/mastodon/features/bookmarked_statuses/index.js
koba-lab/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchBookmarkedStatuses, expandBookmarkedStatuses } from '../../actions/bookmarks'; import Column from '../ui/components/column'; import ColumnHeader...
src/index.js
one-love/frontend
import React from 'react' import ReactDOM from 'react-dom' import './index.css' import App from './App' import registerServiceWorker from './registerServiceWorker' ReactDOM.render(<App />, document.getElementById('root')) registerServiceWorker()
src/scenes/home/informationForm/formComponents/workInfo.js
sethbergman/operationcode_frontend
import React from 'react'; import { Line } from 'rc-progress'; import Form from 'shared/components/form/form'; import PropTypes from 'prop-types'; import FormSelect from 'shared/components/form/formSelect/formSelect'; import { WORKINFO, MENTOR_ANSWERS } from 'shared/constants/status'; import styles from './formComponen...
course/format/amd/src/local/courseeditor/dndsection.js
kordan/moodle
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
app/app.js
ikopcc/ikop-frontend
import React from 'react' import { render } from 'react-dom'; import $ from 'jquery'; import NewsList from './NewsList.js'; render(<NewsList/>, $('#content')[0]);
ajax/libs/yui/3.3.0pr1/loader/loader-base-debug.js
KOLANICH/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
public/js/components/chat/tabs.react.js
IsuruDilhan/Coupley
import React from 'react'; import Tabs from 'material-ui/lib/tabs/tabs'; import Tab from 'material-ui/lib/tabs/tab'; import PreviousChat from './ChatPrevious.react'; import PreviousChatContainer from './ChatPreviousContainer.react'; const styles = { headline: { width: 300, fontSize: 24, paddingTop: 16, ...
le-react-app/src/partials/navbar.js
TS000/react-app
import React, { Component } from 'react'; import logo from '../logo.svg'; import logobackground from '../mkii2.jpg'; const logowrap = { width: "130px", height: "102px", backgroundImage: `url(${logobackground})` } class NavBar extends Component { render() { return ( <header className="App-header"> ...
ajax/libs/yasgui/0.0.8/yasgui.min.js
Timbioz/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...
Front/app/vendors/backgrid-paginator.js
NaturalSolutions/NsPortal
/* backgrid-paginator http://github.com/wyuenho/backgrid Copyright (c) 2013 Jimmy Yuen Ho Wong and contributors Licensed under the MIT @license. */ (function(root, factory) { // CommonJS if (typeof exports == 'object') { module.exports = factory(require('underscore'), requi...
src/components/Masthead/index.js
evandromacedo/evandromacedo.com
import React from 'react' import PropTypes from 'prop-types' import * as S from './styled' const Masthead = ({ addInfo }) => ( <S.MastheadWrapper> {/* Desktop Masthead */} <S.MastheadHeading>Evandro</S.MastheadHeading> <S.MastheadLowerText> <S.MastheadSubheading>Macedo</S.MastheadSubheading> ...
ajax/libs/reactive-coffee/1.2.2/reactive-coffee.js
jozefizso/cdnjs
(function() { var rxFactory, __slice = [].slice, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = ne...
examples/Basic/__tests__/index.ios.js
react-native-fellowship/react-native-side-menu
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 /> ); });
packages/material-ui-icons/src/DiscFull.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let DiscFull = props => <SvgIcon {...props}> <path d="M20 16h2v-2h-2v2zm0-9v5h2V7h-2zM10 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" /> </SvgIcon...
index.android.js
bestofsong/rn-nav-tab-redux
'use strict' import React from 'react'; import {AppRegistry} from 'react-native'; import App from './app/app' AppRegistry.registerComponent('navExpRedux', () => App)
src/containers/pages/miscellaneous/terms-of-service/content/feedback.js
vFujin/HearthLounge
import React from 'react'; const Feedback = () => { return ( <li> <h3 id="feedback">Feedback</h3> <p> We appreciate hearing from our users and welcome your comments regarding the Service. Please be advised, however, that if you send to us any comments, suggestions or recommendations r...
src/main.js
DDDDDanica/react-udacity-myReads
import React from 'react'; import { render } from 'react-dom'; import Index from './Index'; // This is seperated to another file so that way we don't have // to render the app when we compile and load the index file // for the test cases. This is only needed when running the real app. render(<Index />, document.getEle...
chrome/extension/popup/index.js
theaidem/reachext
import React from 'react' import { render } from 'react-dom' import Root from './Root' window.addEventListener('load', () => { chrome.storage.local.get(null, (store) => { render(<Root { ...store } />, document.querySelector('#root')) }) })
src/components/app/PasswordRecovery.js
metasfresh/metasfresh-webui-frontend
import React, { Component } from 'react'; import counterpart from 'counterpart'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import classnames from 'classnames'; import { push } from 'react-router-redux'; import { resetPasswordRequest, getResetPasswordInfo, resetPasswordComplete, ...
coverage/assets/0.10.0/application.js
JellyRating/JellyRating
/*! * jQuery JavaScript Library v1.6.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 Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
components/search/facet-button.js
sgmap/inspire
import React from 'react' import PropTypes from 'prop-types' import FilterIcon from 'react-icons/lib/fa/filter' const FacetButton = ({onClick}) => ( <div onClick={onClick}> <FilterIcon /> <style jsx>{` @import 'colors'; div { background-color: $blue; color: $white; marg...
ajax/libs/video.js/5.4.2/alt/video.novtt.js
dakshshah96/cdnjs
/** * @license * Video.js 5.4.2 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}e...
dist/1.10.2/jquery-ajax-css-dimensions-effects.min.js
eric-seekas/jquery-builder
/*! jQuery v1.10.2 -css,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],d="1.10.2 -css,-aj...
src/components/PersonList.js
janimattiellonen/fgr
import React from 'react'; import styles from './PersonList.pcss'; import Person from './Person'; import { pure } from 'recompose'; const PersonList = props => { const { persons, deletePerson } = props; return ( <div className={styles.root}> {persons.map(person => <Person key={person.id} person=...
app/containers/FeaturePage/index.js
abasalilov/react-boilerplate
/* * FeaturePage * * List all the features */ import React from 'react'; import { Helmet } from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import H1 from 'components/H1'; import messages from './messages'; import List from './List'; import ListItem from './ListItem'; import ListItemTitle from '...
dac/ui-lib/example/src/index.js
dremio/dremio-oss
import './index.css' import React from 'react' import ReactDOM from 'react-dom' import App from './App' ReactDOM.render(<App />, document.getElementById('root'))
docs/src/app/components/pages/discover-more/Contributing.js
lawrence-yu/material-ui
import React from 'react'; import Title from 'react-title-component'; import contributingText from '../../../../../../CONTRIBUTING.md'; import MarkdownElement from '../../MarkdownElement'; const Contributing = () => ( <div> <Title render={(previousTitle) => `Contributing - ${previousTitle}`} /> <MarkdownElem...
app/components/Chunk/index.js
brainsandspace/ship
/** * * Chunk * */ import shortid from 'shortid'; import React from 'react'; import PropTypes from 'prop-types'; // import styled from 'styled-components'; import WordChoice from 'components/WordChoice'; import Ellipsis from 'components/Ellipsis'; import Tangent from 'components/Tangent'; import Normative from 'contai...
react-apollo/src/checkout.js
TMaszko/react-apollo
import { gql } from 'react-apollo' const CheckoutFragment = gql` fragment CheckoutFragment on Checkout { id webUrl totalTax subtotalPrice totalPrice lineItems (first: 250) { edges { node { id title variant { id title ...
Libraries/CustomComponents/Navigator/NavigatorNavigationBar.js
sunblaze/react-native
/** * Copyright (c) 2015, Facebook, Inc. All rights reserved. * * Facebook, Inc. ("Facebook") owns all right, title and interest, including * all intellectual property and other proprietary rights, in and to the React * Native CustomComponents software (the "Software"). Subject to your * compliance with these t...
ajax/libs/jquery/1.8.2/jquery.js
chriszarate/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
src/components/buttons/CreateButton.js
shrimpliu/shradmin
import React from 'react'; import PropTypes from 'prop-types'; import { Button } from 'antd'; import { actions } from 'mirrorx'; import { translate } from '../../i18n'; const CreateButton = ({ translate, model }) => ( <Button type="primary" icon="plus" onClick={() => actions.routing.push(`/${model}/create`)}> {t...
config.js
jamiehill/stardust
const path = require('path') const yargs = require('yargs') const { argv } = yargs const env = process.env.NODE_ENV || 'development' const __DEV__ = env === 'development' const __STAGING__ = env === 'staging' const __TEST__ = env === 'test' const __PROD__ = env === 'production' const __BASE__ = __PROD__ ? '/stardust'...
developers.diem.com/src/components/docs/NotificationBar/index.js
libra/libra
import React from 'react'; import styles from './styles.module.css'; const NotificationBar = ({children}) => ( <div className={styles.root}>{children}</div> ); export default NotificationBar;
src/components/WorkTeam/WorkTeam.js
nambawan/g-old
import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/withStyles'; import { defineMessages, FormattedMessage } from 'react-intl'; import s from './WorkTeam.css'; import Heading from '../Heading'; import Value from '../Value'; // import Menu from '../Menu'; import...
app/javascript/packs/application.js
robotstart/mastodon
import Mastodon from 'mastodon/containers/mastodon'; import React from 'react'; import ReactDOM from 'react-dom'; import 'font-awesome/css/font-awesome.css'; import '../styles/application.scss'; if (!window.Intl) { require('intl'); require('intl/locale-data/jsonp/en.js'); } window.jQuery = window.$ = require('jqu...
ajax/libs/preact-compat/1.5.0/preact-compat.js
BenjaminVanRyseghem/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('proptypes'), require('preact-svg'), require('preact')) : typeof define === 'function' && define.amd ? define(['exports', 'proptypes', 'preact-svg', 'preact'], factory) : (factory((global.preactCompa...
src/app/containers/widgets/ChatBox.js
ucokfm/admin-lte-react
import React from 'react'; export default function ChatBox() { return ( <div className="box box-success"> <div className="box-header"> <i className="fa fa-comments-o"></i> <h3 className="box-title">Chat</h3> <div className="box-tools pull-right" data-toggle="to...
node_modules/react-native/Libraries/react-native/React.js
hpdmitriy/Bjj4All
/** * Copyright (c) 2016-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...
staticfiles/js/components/SocialMediaLink/SocialMediaLink.js
alemneh/negativity-purger
import React from 'react'; import styles from './SocialMediaLink.css'; const SocialMediaLink = ({ name, url }) => { return ( <li className={styles.twitterBtn}> <a href={url}>{name}</a> </li> ) }; export default SocialMediaLink;
ajax/libs/material-ui/5.0.0-alpha.3/es/Accordion/AccordionContext.js
cdnjs/cdnjs
import * as React from 'react'; /** * @ignore - internal component. * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>} */ const AccordionContext = /*#__PURE__*/React.createContext({}); if (process.env.NODE_ENV !== 'production') { AccordionContext.displayName = 'AccordionCont...
src/containers/comics-search/ComicsSearchPage.js
CyberThugs/JavaScript-Applications-Team-Project
import React, { Component } from 'react'; import { connect } from 'react-redux'; import ComicsSearchForm from '../../components/comics-search-form/ComicsSearchForm'; import ComicsList from "../../components/comics-list/ComicsList"; class ComicsSearchPage extends Component { render() { console.log(this.pr...
ajax/libs/yasr/2.3.1/yasr.bundled.min.js
quba/cdnjs
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){...
resources/public/js/compiled/out/sablono/core.js
weirp/om-next-play
// Compiled by ClojureScript 1.7.145 {} goog.provide('sablono.core'); goog.require('cljs.core'); goog.require('clojure.string'); goog.require('goog.string'); goog.require('sablono.util'); goog.require('sablono.interpreter'); goog.require('goog.dom'); goog.require('cljsjs.react'); /** * Add an optional attribute argume...
ajax/libs/jquery/1.8.0/jquery.js
SyntaxColoring/cdnjs
/*! * jQuery JavaScript Library v1.8.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time) */ (function(...
docs/src/app/components/pages/components/List/ExampleChat.js
spiermar/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import Avatar from 'material-ui/Avatar'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import CommunicationChatBubble from 'material-ui/svg-icon...
src/svg-icons/toggle/check-box.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleCheckBox = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/> </SvgIcon> );...
node_modules/react-dom/lib/ReactCoroutine.js
rwarr/futaba-db
/** * Copyright 2014-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 st...
src/client/container/Landing.js
JulienPradet/quizzALJP
import React from 'react' import { Link } from 'react-router' import Block from '../components/ui/Block' /* * The landing page allows the user to choose his actions * He can either create a new party or join one */ export default class Landing extends React.Component { render() { return <div> ...
src/main/webapp/static/SuperSlide/jquery1.42.min.js
zhaozh2/companyhome
/*! * 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...
ajax/libs/zeroclipboard/2.1.2/ZeroClipboard.Core.js
mgoldsborough/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.2 */ (function(window, undefined) { "use strict";...
app/scripts/components/import/kakapo.js
bluedaniel/Kakapo-app
import React from 'react'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { lifecycle } from 'recompose'; import { length, map, pick, pipe, prop } from 'ramda'; import { searchActions } from 'actions/'; import { cx } from 'utils/'; import KakapoItem from './kakapoItem'; ex...
ajax/libs/yui/3.1.1/event-custom/event-custom-debug.js
Nadeermalangadan/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
pootle/static/js/auth/components/SignUpForm.js
phlax/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import assign from 'object-assi...
src/components/idea-page/ExampleSlider.js
CodeDraken/IdeaZone
import React from 'react'; import SliderRow from './SliderRow'; // Slider of examples on the idea page const ExampleSlider = (props) => { let slideArray; let genSlides; let sliderHtml = ''; // generate the HTML for slider if there are examples if (props.examples) { let examples = props.examples; ...
src/index.js
blrubin/react-chat
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render(<App />, document.getElementById('app'));
profiles/oc/modules/contrib/jquery_update/replace/jquery/1.8/jquery.js
marzeelabs/oc-drops-7
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
src/chat/input/ChatInput.js
easyCZ/enlighten
import React, { Component } from 'react'; import { Col } from 'react-flexbox-grid'; import Input from 'react-toolbox/lib/input'; import Firebase from '../../firebase/Firebase'; const initialState = { message: '' } class ChatInput extends Component { constructor(props) { super(props); this.state = Objec...
packages/material-ui-icons/src/WrapText.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let WrapText = props => <SvgIcon {...props}> <path d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z" /> </SvgIcon>; WrapText = pu...
src/components/title/Title.js
jshack3r/ws-redux-counters-router
import React from 'react' class Title extends React.Component { constructor(props) { super(props) } componentDidMount() { this.props.onLoad() } render() { let { onClick } = this.props return <h2 className="text-muted" onClick={onClick} style={{cursor:'pointer'}}>Redux Counters</h2> } } Tit...
node_modules/react-bootstrap/es/Jumbotron.js
vietvd88/developer-crawler
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ajax/libs/forerunnerdb/1.3.551/fdb-core+persist.js
sreym/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/hoc/StateGlobal.js
sk-iv/iva-app
import React from 'react'; import {graphql, compose} from 'react-apollo'; import { pure, branch, renderComponent } from 'recompose'; import gql from 'graphql-tag'; import {CHANGE_LOCATION_SEARCH} from '../store' const STATE_GLOBAL_QUERY = gql` query stateGlobal { actionBear @client { slugAction type...
src/BaseComponents/test-common.js
skyiea/wix-style-react
import React from 'react'; import ReactDOM from 'react-dom'; const componentFactory = Component => { let element; let componentInstance; const wrapperDiv = document.createElement('div'); const ClonedComponent = React.cloneElement(Component, {ref: r => componentInstance = r}); ReactDOM.render(<div ref={r => ...
local-cli/server/middleware/heapCapture/src/heapCapture.js
ankitsinghania94/react-native
/** * Copyright (c) 2016-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...
node_modules/react-icons/io/android-checkbox-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoAndroidCheckboxOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m13.2 16.8l5.2 5.2 14.3-14.3 2.3 2.3-16.6 16.6-7.5-7.5z m18.4 14.8v-13.2h3.4v13.2c0 1.8-1.6 3.4-3.4 3.4h-23.2c-1.8 0-3.4-1.6-3.4-3.4v-23.2c0-1.8 1.6-3....
ajax/libs/yasr/2.5.5/yasr.bundled.min.js
keicheng/cdnjs
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){...
src/icons/AndroidUnlock.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class AndroidUnlock extends React.Component { render() { if(this.props.bare) { return <g> <path d="M376,186h-20v-40c0-55-45-100-100-100S156,91,156,146h37.998c0-34.004,28.003-62.002,62.002-62.002 c34.004,0,62.002,2...
client/components/List/EnhancedList.js
XuHaoJun/tiamat
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import _throttle from 'lodash/throttle'; import ScrollContainerHoc from '../ScrollContainer/ScrollContainerHoc'; import PullRefresh, { Indicator } from '@xuhaojun/react-pullrefresh'; import Portal from '@material-ui/core...
src/svg-icons/av/featured-video.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFeaturedVideo = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 9H3V5h9v7z"/> </SvgIcon> ); AvFeaturedVideo = pure(AvFeaturedVideo)...
src/client/lib/flux/decorate.js
langpavel/react-svg-path-editor
import Component from '../../components/component.react'; import Flux from './flux'; import React from 'react'; export default function decorate(store) { return BaseComponent => class Decorator extends Component { static propTypes = { initialState: React.PropTypes.object } constructor(props) { ...
packages/rocketchat-otr/package.js
NMandapaty/Rocket.Chat
Package.describe({ name: 'rocketchat:otr', version: '0.0.1', summary: 'Off-the-record messaging for Rocket.Chat', git: '' }); Package.onUse(function(api) { api.use([ 'ecmascript', 'less', 'rocketchat:lib', 'tracker', 'reactive-var' ]); api.use('templating', 'client'); api.addFiles([ 'client/rock...
src/main/resources/static/bower_components/jqwidgets/demos/react/app/datetimeinput/defaultfunctionality/app.js
dhawal9035/WebPLP
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDateTimeInput from '../../../jqwidgets-react/react_jqxdatetimeinput.js'; class App extends React.Component { render () { return ( <div id='content'> <label>Date Input</label> <JqxDateTimeInput width={300} heig...
src/NavbarToggle.js
glenjamin/react-bootstrap
import classNames from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; import { elementType } from 'prop-types-extra'; import { createBootstrapComponent } from './ThemeProvider'; import NavbarContext from './NavbarContext'; class NavbarToggle extends React.Component { static propTypes =...
tests/layouts/CoreLayout.spec.js
TheModevShop/craft-app
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
node_modules/react-icons/io/ios-stopwatch.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosStopwatch = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m31.1 11.5c2.5 2.7 3.9 6.2 3.9 10 0 8.1-6.7 14.8-15 14.8s-15-6.7-15-14.8c0-3.8 1.4-7.4 4-10.1l0.1-0.1h-1.4l-0.7 0.7-1.8-1.8 3.2-3.2 1.8 1.8-0.7 0.7v1.4c2.5-2.4 5...
presentation/slides/util/slidify-code.js
DSchau/webpack-presentation
import React from 'react'; import CodeSlide from 'spectacle-code-slide'; export default function(extendProps, key) { if ( !extendProps.code ) { extendProps = { code: extendProps }; } const props = Object.assign({ code: {}, lang: 'js', ranges: [], transition: ['slide'], }, extendP...
src/common/CustomTitle/CustomTitle.js
Syncano/syncano-dashboard
import React from 'react'; import Truncate from '../Truncate'; const CustomTitle = ({ title, id, ...other }) => { const styles = { id: { padding: '0 5px' }, titleWrapper: { display: 'flex', flex: 1, marginRight: 10, minWidth: 0, whiteSpace: 'nowrap', fontSize: 20...
packages/material-ui-icons/src/MonochromePhotos.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let MonochromePhotos = props => <SvgIcon {...props}> <path d="M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c...
node_modules/semantic-ui-react/src/elements/Flag/Flag.js
mowbell/clickdelivery-fed-test
import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, META, } from '../../lib' const names = [ 'ad', 'andorra', 'ae', 'united arab emirates', 'uae', 'af', 'afghanistan', 'ag', 'antigua',...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/SvgInclusion.js
1Body/prayer-app
/** * 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...
ajax/libs/react-modal/3.4.4/react-modal.min.js
ahocevar/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.ReactModal=t(require("react"),require("react-dom")):e.ReactModal=t(e.React,e.ReactDOM)}("undefin...
samples/web/App.js
gtg092x/react-redux-universal
import React from 'react'; import Home from './components/Home'; import { Provider } from 'react-redux'; const App = ({ store }) => ( <Provider store={store}> <Home /> </Provider> ); export default App;
src/components/Badge/Badge.js
GetAmbassador/react-ions
import React from 'react' import PropTypes from 'prop-types' import style from './style.scss' import classNames from 'classnames/bind' import Icon from '../Icon' const Badge = props => { const cx = classNames.bind(style) const iconPlusText = (props.icon && props.text) ? 'padded' : null const iconSize = props.siz...
src/renderers/shared/reconciler/__tests__/ReactUpdates-test.js
Rafe/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...
build/ui/af.ui.jquery.js
chengjunjian/appframework
/*! intel-appframework - v2.1.0 - 2014-04-29 */ /** * jq.appframework.js * @copyright Intel 2013 * @author Ian Maffett * @description A plugin to allow jQuery developers to use App Framework UI */ /* jshint eqeqeq:false */ (function($,window){ "use strict"; var nundefined, document = window.document,class...
www/imports/mapPage/shortlist/ShortEntryPres_forBarCharts.js
ucscHexmap/hexagram
// Presentational component for the short list entry. import React from 'react'; import PropTypes from 'prop-types'; //import Slider, { Range } from 'rc-slider'; // We can just import Slider or Range to reduce bundle size // import Slider from 'rc-slider/lib/Slider'; // import Range from 'rc-slider/lib/Range'; //impor...
src/components/ImageBtn.js
evgenity/react-html5-video-editor
import React from 'react'; import Icon from './Icon'; var ImageBtn = React.createClass({ propTypes: { copyKeys: React.PropTypes.object, togglePlay: React.PropTypes.func, paused: React.PropTypes.bool }, /** * As controls receive all props for extensibility, we do a quick ...
pootle/static/js/shared/components/FormValueInput.js
evernote/zing
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import AutosizeTextarea from '...