target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
node_modules/react-icons/fa/play-circle.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaPlayCircle = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20.1 2.9q4.7 0 8.6 2.3t6.3 6.2 2.3 8.6-2.3 8.6-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3z m8.6 18.3q0.7-0.4 0.7-1.2t-0.7-1.2l-12.1-7.2q-0.7-...
lib/ui/components/LatestRequestNotifications.js
500tech/mimic
import React from 'react'; import styled from 'styled-components'; import URLStamp from 'ui/components/common/URLStamp'; import Icon from 'ui/components/common/Icon'; import throttle from 'lodash/throttle'; import EVENTS from 'api/constants/events'; import get from 'lodash/get'; import API from 'api'; import UIState f...
src/webapp/components/_containers/LoginContainer.js
nus-mtp/cubist
import _ from 'lodash'; import React from 'react'; import Helmet from 'react-helmet'; import Immutable from 'immutable'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import { pushState } from 'redux-router'; import PureComponent from 'react-pure-render/component'; import { Logger } from ...
packages/react-instantsearch-dom/src/components/__tests__/Menu.js
algolia/react-instantsearch
import React from 'react'; import renderer from 'react-test-renderer'; import Enzyme, { mount } from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import Link from '../Link'; import Menu from '../Menu'; Enzyme.configure({ adapter: new Adapter() }); jest.mock('../../widgets/Highlight', () => () =...
ajax/libs/react/0.11.0-rc1/react-with-addons.js
fredericksilva/cdnjs
/** * React (with addons) v0.11.0-rc1 */ !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.React=e()}...
ajax/libs/redux-little-router/11.0.1/redux-little-router.min.js
extend1994/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReduxLittleRouter=t(require("react")):e.ReduxLittleRouter=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])r...
app/webroot/vendor/magnific-popup/website/third-party-libs/jquery.js
Eurobber/Sweesh
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/client/js/pages/Home.js
GoodBoy123/crendorianinvitational
import React from 'react'; import { connect } from 'react-redux'; import { ciAppSelector } from '../selectors/ciAppSelector'; import {fetchPosts, fetchResults, fetchOverall} from '../actions/actions'; import NewsFeed from '../news/NewsFeed'; import WeekMatches from '../weekmatches/WeekMatches'; import OverallTable f...
src/components/settings/SetSoundAlerts.js
whphhg/vcash-electron
import React from 'react' import { translate } from 'react-i18next' import { inject, observer } from 'mobx-react' /** Ant Design */ import Switch from 'antd/lib/switch' /** Component */ import { SwitchIcon } from '../utilities/Common.js' @translate(['common']) @inject('gui') @observer class SetSoundAlerts extends Re...
src/server.js
isTravis/radiumSSRBugDemo
import Express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './createStore'; import ApiCl...
node_modules/react/lib/React.js
chuntielin/Blog_Yeoman_Fullstack
/** * 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 ...
tools/clean.js
taekungngamonosus/monoreact
/** * 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 { cleanDir } from './lib/fs'; /** * Cleans up ...
node_modules/react-navigation/src/navigators/createNavigator.js
joan17cast/Enigma
/* @flow */ import React from 'react'; import type { NavigationRouter, NavigationNavigator, NavigationNavigatorProps, NavigationRouteConfigMap, } from '../TypeDefinition'; import type { NavigatorType } from './NavigatorTypes'; /** * Creates a navigator based on a router and a view that renders the screens....
src/svg-icons/image/looks.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLooks = (props) => ( <SvgIcon {...props}> <path d="M12 10c-3.86 0-7 3.14-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.86-3.14-7-7-7zm0-4C5.93 6 1 10.93 1 17h2c0-4.96 4.04-9 9-9s9 4.04 9 9h2c0-6.07-4.93-11-11-1...
src/svg-icons/content/forward.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentForward = (props) => ( <SvgIcon {...props}> <path d="M12 8V4l8 8-8 8v-4H4V8z"/> </SvgIcon> ); ContentForward = pure(ContentForward); ContentForward.displayName = 'ContentForward'; export default Conte...
src/svg-icons/maps/layers.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLayers = (props) => ( <SvgIcon {...props}> <path d="M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z"/> </SvgIcon> ); MapsLayers = pure(MapsLayer...
src/icons/Filter4Icon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class Filter4Icon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M6 10H2v32c0 2.21 1.79 4 4 4h32v-4H6V10zm24 20h4V10h-4v8h-4v-8h-4v12h8v8zM42 2H14c-2.21 0-4 1.79-4 4v28c0 ...
src/components/label-list-item.component.js
dyesseyumba/git-point
import React from 'react'; import styled from 'styled-components'; import { Icon } from 'react-native-elements'; import { LabelButton } from 'components'; import { colors } from 'config'; type Props = { label: Object, removeLabel: Function, }; const LabelListItemContainer = styled.View` border-bottom-color: ${c...
responsive-web/worksheet 1/with-phonegap-solution/lib/jq/jquery-1.8.2.js
SoftlySplinter/sem2220-worksheets
/*! * 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/Parser/Paladin/Retribution/Modules/PaladinCore/BlessingOfTheAshbringer.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Combatants from 'Parser/Core/Modules/Combatants'; import Analyzer from 'Parser/Core/Analyzer'; const debug = false; class BlessingOfTheAshbringer extends A...
style/js/dependencies.min.js
Yeupho/yeupho.github.io
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/components/Header/Header.js
attdona/bota
import React from 'react' import { Link } from 'react-router' import IconMenu from 'material-ui/IconMenu' import IconButton from 'material-ui/IconButton' import FontIcon from 'material-ui/FontIcon' import NavigationExpandMoreIcon from 'material-ui/svg-icons/navigation/expand-more' import MenuItem from 'material-ui/...
analysis/warriorarms/src/modules/talents/DefensiveStance.js
anom0ly/WoWAnalyzer
import { t } from '@lingui/macro'; import { formatNumber, formatThousands } from 'common/format'; import SPELLS from 'common/SPELLS/talents/warrior'; import { SpellIcon } from 'interface'; import { SpellLink } from 'interface'; import { Tooltip } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/...
src/routes.js
iwollmann/WebPoshTestUI
import React from 'react'; import {Route, IndexRoute } from 'react-router'; import App from './components/App'; export default ( <Route path="/" component={App}>> </Route> );
docs/src/PageHeader.js
thealjey/react-bootstrap
import React from 'react'; const PageHeader = React.createClass({ render() { return ( <div className="bs-docs-header" id="content"> <div className="container"> <h1>{this.props.title}</h1> <p>{this.props.subTitle}</p> </div> </div> ); } }); export default Pag...
ajax/libs/cleave.js/0.4.7/cleave.js
pvnr0082t/cdnjs
;(function(window, document, undefined) { 'use strict'; /** * Construct a new Cleave instance by passing the configuration object * * @param {String / HTMLElement} element * @param {Object} opts */ var Cleave = function (element, opts) { var owner = this; if (typeof element === 'string') { owner...
src/modules/textNodes/components/AddTranslationDialog/AddTranslationDialog.js
CtrHellenicStudies/Commentary
import React from 'react'; import PropTypes from 'prop-types'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import TextField from 'material-ui/TextField'; import { compose } from 'react-apollo'; // graphql import translationCreateMutation from '../../graphql/mutations/textN...
js/pages/iptt_report/components/sidebar/sidebar.js
mercycorps/TolaActivity
import React from 'react'; import IPTTFilterForm from './filterForm'; export default () => { return ( <div className="sidebar_wrapper"> <div className="collapse width show" id="sidebar"> <IPTTFilterForm /> </div> <div className="sidebar-toggle"> ...
src/index.js
gaearon/react-stateful
import React, { Component } from 'react'; export default function Stateful({ initialize, reducers }) { return DecoratedComponent => class StateContainer extends Component { constructor(props) { super(props); this.state = initialize(props); this.reducers = {}; Object.keys(reducers).forEac...
packages/material-ui-icons/src/Battery90.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Battery90 = props => <SvgIcon {...props}> <path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V8h10V5.33z" /><path d="M7 8v12.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34...
stories/components/form/formSelect/index.js
NestorSegura/operationcode_frontend
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import FormSelect from 'shared/components/form/formSelect/formSelect'; storiesOf('shared/components/form/formSelect', module) .add( 'Default', () => ( <FormSelect prompt="Se...
app/packs/src/components/NovncStatus.js
ComPlat/chemotion_ELN
import React from 'react'; const ConnectedBtn = () => (<span> <i className="fa fa-check-circle-o" aria-hidden="true" style={{ color: '#90ee90', float: 'right', fontSize: '20px' }} /> </span>); const DisconnectedBtn = () => (<span> <i className="fa fa-times-circle-o" aria-hidden="true" st...
packages/material-ui-icons/src/Timer3Rounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M11.61 12.97c-.16-.24-.36-.46-.62-.65-.25-.19-.56-.35-.93-.48.3-.14.57-.3.8-.5.23-.2.42-.41.57-.64.15-.23.27-.46.34-.71.08-.24.11-.49.11-.73 0-.55-.09-1.04-.28-1.46-.18-.42-.44-.77-.78-1.06-.33-.28-.7...
src/components/navigation-bar.js
tddbin/tddbin-frontend
import React from 'react'; const TWITTER_URL = 'http://twitter.com/tddbin'; const GITHUB_URL = 'http://github.com/tddbin/tddbin-frontend'; const PLAUSIBLE_URL = 'https://plausible.io/tddbin.com'; const transpileCheckbox = (transpileToEs5, transpileOnOff) => { const checkbox = <input type="checkbox" checked...
ajax/libs/forerunnerdb/1.3.40/fdb-core.min.js
kennynaoh/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...
tests/helpers/testdoc.js
rranauro/boxspringjs
exports.overview = { "_id": "7069bbe22ec69bfd8c1d3aa95c4a7017", "_rev": "1-c4ec8822f7fdef13783968a99527e4ca", "type": "cached-query", "rows": { "category": { "Neoplasms": { "Adenoma, Islet Cell": 1, "Endocrine Gland Neoplasms": 1, "Neoplasms": 4...
test/helpers/shallowRenderHelper.js
bb595700239/react-Dome
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
fields/types/cloudinaryimages/CloudinaryImagesField.js
codevlabs/keystone
import _ from 'underscore'; import React from 'react'; import ReactDOM from 'react-dom'; import Field from '../Field'; import { Button, FormField, FormInput, FormNote } from 'elemental'; import Lightbox from '../../../admin/client/components/Lightbox'; import classnames from 'classnames'; const SUPPORTED_TYPES = ['ima...
bower_components/backbone/backbone.js
mromarreyes/screencasts
// Backbone.js 1.1.2 // (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(root, factory) { // Set up Backbone appropriately for ...
actor-sdk/sdk-web/src/components/call/CallAvatar.react.js
y0ke/actor-platform
/* * Copyright (C) 2015-2016 Actor LLC. <https://actor.im> */ import React, { Component, PropTypes } from 'react'; import classNames from 'classnames'; import { CallStates } from '../../constants/ActorAppConstants'; import AvatarItem from '../common/AvatarItem.react'; class CallAvatar extends Component { static p...
src/components/EventsWrapper.js
lhew/manguezal-test
import React, {Component} from 'react' export default class EventsWrapper extends Component{ render(){ return ( <iframe src="https://calendar.google.com/calendar/embed?mode=AGENDA&amp;height=250&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=7637pm8icc5fhidvd4gdfhh138%40group.calendar.google.com&amp;...
src/components/icons/TodayIcon.js
InsideSalesOfficial/insidesales-components
import React from 'react'; const TodayIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24"> {props.title && <title>{props.title}</title>} <path d="M0 0h24v24H0z" fill="none" /> <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2...
ajax/libs/onsen/1.3.19/js/onsenui.min.js
rlugojr/cdnjs
/*! onsenui - v1.3.17 - 2016-06-29 */ !function(){function getAttributes(element){return Node_get_attributes.call(element)}function setAttribute(element,attribute,value){try{Element_setAttribute.call(element,attribute,value)}catch(e){}}function removeAttribute(element,attribute){Element_removeAttribute.call(element,att...
packages/mcs-lite-ui/src/DatetimePickerDialog/DatetimePickerDialog.js
MCS-Lite/mcs-lite
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import Transition from 'react-motion-ui-pack'; import Dialog from '../Dialog'; import DatetimePicker from '../DatetimePicker'; import A from '../A'; export const Container = styled.div` position: fixed; bottom: 0...
src/shared/element-react/dist/npm/es6/src/button/__test__/Button_test.js
thundernet8/Elune-WWW
import React from 'react'; import { shallow, mount } from 'enzyme'; import sinon from 'sinon'; import Button from '../'; describe('Button test', function () { it('create', function () { var w = shallow(React.createElement( Button, { type: 'primary' }, 'TEST' )); expect(w.hasClass('el-b...
src/components/Header.js
liuli0803/myapp
/** * Created by 大丽丽 on 2017/10/16. */ import React, { Component } from 'react'; import logo from './logo.svg'; import './Header.css'; class Header extends Component { render() { return ( <div> <header className="App-header"> <img src={logo} className="App-...
src/client/assets/js/nodes/processors/uibuilder/features/mapper/components/Properties/Properties.js
me-box/platform-sdk
import React, { Component } from 'react'; import CSSTransitionGroup from 'react-addons-css-transition-group'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Flex, Box } from 'reflexbox'; import Cell from 'components/Cell'; import Cells from 'components/Cells'; import Textfi...
src/index.js
Imvoo/MiniZinc-webui
import React from 'react'; import ReactDOM from 'react-dom'; import { Router } from './Router'; import './index.css'; import { createStore } from 'redux'; import { Provider } from 'react-redux'; import minizincApp from './Reducers'; const store = createStore(minizincApp, window.__REDUX_DEVTOOLS_EXTENSION__ && window....
packages/icons/src/plus.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 wid...
webapp/src/components/__tests__/buttons/IconButtonDropdown.spec.js
unicef/rhizome
import React from 'react' import { expect } from 'chai' import { shallow } from 'enzyme' import IconButtonDropdown from '../../button/IconButtonDropdown' import IconButton from '../../button/IconButton' import Dropdown from '../../dropdown/Dropdown' import sinon from 'sinon' describe ('IconButtonDropdown', () => { l...
app/components/city.js
CodingHard-Inc/honest-weather
import React from 'react' import SearchCity from './searchCity' import iSearch from '../static/i_search.png' class City extends React.Component { // handleSubmit() { // var newCity = this.newCity.value // this.newCity.value = '' // this.props.changeCity(newCity) // } // setRef(ref) { // this.new...
react/LogoRainbow/LogoRainbow.js
seekinternational/seek-asia-style-guide
import styles from './LogoRainbow.less'; import LogoRainbowText from './LogoRainbowText'; import LogoRainbowIcon from './LogoRainbowIcon'; import Logo from '../Logo/Logo'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; const viewportDimensions = type => ({ defau...
packages/material-ui-icons/src/BorderColor.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M17.75 7L14 3.25l-10 10V17h3.75l10-10zm2.96-2.96c.39-.39.39-1.02 0-1.41L18.37.29c-.39-.39-1.02-.39-1.41 0L15 2.25 18.75 6l1.96-1.96z" /><path fillOpacity=".36" d="M0 20h24v4H0z" /></g> , 'BorderCol...
packages/bonde-styleguide/src/content/Icon/svg/Star.js
ourcities/rebu-client
import React from 'react' const Icon = ({ className, color, size }) => ( <svg xmlns='http://www.w3.org/2000/svg' className={className} width={size || '14'} height={size || '13'} viewBox='0 0 14 13' > <path fill={color || '#000'} fillRule='evenodd' d='M11.329 13L7 10.45 2.6...
src/icons/PhoneAndroidIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class PhoneAndroidIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M32 2H16c-3.31 0-6 2.69-6 6v32c0 3.31 2.69 6 6 6h16c3.31 0 6-2.69 6-6V8c0-3.31-2.69-6-6-6zm-4 40h-8v-...
ajax/libs/angular.js/0.9.8/angular-scenario.js
theironcook/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/entypo/Raft.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Raft'; let EntypoRaft = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M5.6734395,19c-0.877316,0-1.6501045-0.3605442-2.1763153-1.0143661c-0.6450326-0.8027058-0.8514075-1.935459...
node_modules/react-icons/fa/recycle.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaRecycle = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m18.7 26.1l-0.4 8.2 0 0.5-9.4-0.6q-0.8-0.1-1.5-0.8t-1-1.4q-0.3-0.6-0.4-1.2t0.1-1.5 0.3-1.2 0.5-1.5 0.4-1.1q1.7 0.2 11.4 0.6z m-8.7-13.1l4 8.5-3.2-2.1q-1.4 1.6-2.5 3.2...
src/ui/SegmentedControl.js
touchstonejs/touchstonejs
import classnames from 'classnames'; import React from 'react'; import Tappable from 'react-tappable'; module.exports = React.createClass({ displayName: 'SegmentedControl', propTypes: { className: React.PropTypes.string, equalWidthSegments: React.PropTypes.bool, isInline: React.PropTypes.bool, hasGutter: Re...
components/Articles.js
feedreaderco/app
import React, { Component } from 'react'; import { ActivityIndicator, ListView, Settings, Text, View } from 'react-native'; import Article from './Article'; import api from '../api'; export default class Articles extends Component { constructor(props) { super(props); this.state = {}; this.updat...
src/svg-icons/notification/phone-forwarded.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPhoneForwarded = (props) => ( <SvgIcon {...props}> <path d="M18 11l5-5-5-5v3h-4v4h4v3zm2 4.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26...
ajax/libs/rxjs/4.0.1/rx.lite.extras.compat.js
humbletim/cdnjs
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
src/index.js
clucasalcantara/clucasalcantara.github.io
import React from 'react' import ReactDOM from 'react-dom' import { BrowserRouter } from 'react-router-dom' import { renderRoutes } from 'react-router-config' // Routes import routes from 'routes' // Services import { serviceWorker } from 'services' // Store import { createContext } from 'store' const baseContext =...
ajax/libs/jquery/1.11.1-rc1/jquery.js
dmsanchez86/cdnjs
/*! * jQuery JavaScript Library v1.11.1-rc1 * 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-04-18T15:33Z */ (function( global, factory ) { ...
src/js/components/SkipLinkAnchor.js
odedre/grommet-final
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import CSSClassnames from '../utils/CSSClassnames'; const CLASS_ROOT = CSSClassnames.SKIP_LINK_ANCHOR; export default class SkipLinkAnchor extends Component { render ()...
server/sonar-web/src/main/js/apps/project-admin/links/Table.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
src/library/Icon/IconCheckBoxIndeterminate.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconCheckBoxIndeterminate(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon ...
ajax/libs/core-js/0.4.4/shim.js
voronianski/cdnjs
/** * Core.js 0.4.4 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
react/src/browser/app/components/pseudo.js
janprasil/mi-vmm-product-quality-rating
/* @flow */ import React from 'react'; type State = { hover: bool, }; const pseudo = (WrappedComponent: Function) => class Pseudo extends React.Component { state: State = { hover: false, }; onMouseEnter = () => { this.setState({ hover: true }); }; onMouseLeave = () => { th...
app/index.js
giuge/electron-react-es6-boilerplate
import React from 'react' import { render } from 'react-dom' import App from './components/App' render(<App />, document.getElementById('app'))
webpack/scenes/RedHatRepositories/components/SearchBar.js
ares/katello
/* eslint-disable import/no-extraneous-dependencies */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { Form, FormGroup } from 'react-bootstrap'; import { selectOrganizationProducts } from '../../../redux/OrganizationProducts/OrganizationP...
src/svg-icons/places/kitchen.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesKitchen = (props) => ( <SvgIcon {...props}> <path d="M18 2.01L6 2c-1.1 0-2 .89-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.11-.9-1.99-2-1.99zM18 20H6v-9.02h12V20zm0-11H6V4h12v5zM8 5h2v3H8zm0 7h2v5H8z"/> ...
src/index.js
basham/webpack-react-demo
import React from 'react'; import Greeting from './components/Greeting'; React.render( <Greeting name="World"/>, // Inject id from Webpack DefinePlugin globals. document.getElementById(CONTAINER_ID) );
ajax/libs/jointjs/0.8.1/joint.js
shelsonjava/cdnjs
/*! JointJS v0.8.1 - JavaScript diagramming library 2014-02-24 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 v2.0.3 * http://jquery...
packages/material-ui-icons/src/MicOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z" /><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.9...
assets/js/src/search/components/Input.js
maurobringolf/mb
import React from 'react' class Input extends React.Component { render() { return ( <input type="text" placeholder="Search posts" value={this.props.text} style={{ width: '100%', textAlign: 'center', boxSizing: 'border-box', backgroundColor: '#eee', border: ...
Ethereum-based-Roll4Win/node_modules/react-context-toolbox/es/forwardRef.js
brett-harvey/Smart-Contracts
import React from 'react'; export default function forwardRef(renderFn, _ref) { var displayName = _ref.displayName, propTypes = _ref.propTypes, defaultProps = _ref.defaultProps, _ref$allowFallback = _ref.allowFallback, allowFallback = _ref$allowFallback === void 0 ? false : _ref$allowFallback;...
src/js/containers/root.js
vaiRk/react-redux-base
'use strict'; import React from 'react'; import { Provider } from 'react-redux'; import BaseComponent from 'components/base'; import configureStore from 'configure-store'; const store = configureStore(); export default class Root extends BaseComponent { constructor(props, context) { super(props, context); } re...
src/containers/NotFoundPage.js
radekzz/netlify-cms-test
import React from 'react'; export default () => ( <h2>Not Found</h2> );
node_modules/babylon/node_modules/babel-runtime/helpers/typeof-react-element.js
m-mitsuhide/jThree
"use strict"; var _Symbol = require("babel-runtime/core-js/symbol")["default"]; exports["default"] = typeof _Symbol === "function" && _Symbol."for" && _Symbol."for"("react.element") || 60103; exports.__esModule = true;
src/components/FuelSavingsTextInput.spec.js
bryancr89/uLikeReact
import React from 'react'; import {shallow} from 'enzyme'; import chai, {expect} from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import FuelSavingsTextInput from './FuelSavingsTextInput'; chai.use(sinonChai); describe('<FuelSavingsTextInput />', () => { it('should be an input element', (...
client/modules/core/components/.stories/nav_public.js
StorytellerCZ/Socialize-starter
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { setComposerStub } from 'react-komposer'; import NavPublic from '../nav_public.jsx'; storiesOf('core.NavPublic', module) .add('default view', () => { return ( <NavPublic /> ); })
server/sonar-web/src/main/js/components/shared/status-icon.js
abbeyj/sonarqube
import React from 'react'; export default React.createClass({ render() { if (!this.props.status) { return null; } var className = 'icon-status-' + this.props.status.toLowerCase(); return <i className={className}></i>; } });
ajax/libs/react-foundation-apps/0.6.0/react-foundation-apps.min.js
abbychau/cdnjs
var RFA=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports={Accordion:n(1),ActionSheet:n(2),Iconic:n(3),Interchange:n(4),Modal:n(5),Notification:n...
App/node_modules/react-native/Libraries/Core/Timers/JSTimers.js
Dagers/React-Native-Differential-Updater
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
ajax/libs/yui/3.3.0/simpleyui/simpleyui.js
Ranks/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global name...
ajax/libs/react-select/2.0.0-beta.5/react-select.min.js
sashberd/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("emotion"),require("react"),require("react-dom"),require("react-input-autosize"),require("prop-types")):"function"==typeof define&&define.amd?define(["emotion","react","react-dom","react-input-autosize","prop-types"],t):e.Selec...
src/containers/ServiceBookingAtDatePage.js
onlinebooking/booking-frontend
import React from 'react'; import { connect } from 'react-redux'; import moment from 'moment'; import BookingRangeList from '../components/BookingRangeList'; import BookingSteps from '../components/BookingSteps'; import ErrorAlert from '../components/ErrorAlert'; import InvalidBookPeriod from '../components/InvalidBook...
src/svg-icons/editor/title.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorTitle = (props) => ( <SvgIcon {...props}> <path d="M5 4v3h5.5v12h3V7H19V4z"/> </SvgIcon> ); EditorTitle = pure(EditorTitle); EditorTitle.displayName = 'EditorTitle'; EditorTitle.muiName = 'SvgIcon'; ex...
src/containers/views/tests/configuration.spec.js
ashmaroli/jekyll-admin
import React from 'react'; import { shallow } from 'enzyme'; import Errors from '../../../components/Errors'; import Editor from '../../../components/Editor'; import Button from '../../../components/Button'; import { Configuration } from '../Configuration'; import { config } from './fixtures'; const defaultProps = { ...
src/Weather.js
larsthorup/redux-weather-demo
import React from 'react'; import {connect} from 'react-redux'; import {fetchingWeather} from './action'; function Weather (props) { let city = null; const onForecast = (ev) => { ev.preventDefault(); // Note: prevent traditional form submit from reloading the page props.fetchingWeather(city.value); } r...
src/icons/DescriptionIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class DescriptionIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M28 4H12C9.79 4 8.02 5.79 8.02 8L8 40c0 2.21 1.77 4 3.98 4H36c2.21 0 4-1.79 4-4V16L28 4zm4 32H16v-4h16...
App/Containers/ListviewExample.js
okmttdhr/YoutuVote
// @flow import React from 'react'; import { View, Text, ListView } from 'react-native'; import { connect } from 'react-redux'; // For empty lists import AlertMessage from '../Components/AlertMessage'; // Styles import styles from './Styles/ListviewExampleStyle'; class ListviewExample extends React.Component { st...
ajax/libs/angular-ui-select/0.14.4/select.js
hare1039/cdnjs
/*! * ui-select * http://github.com/angular-ui/ui-select * Version: 0.14.3 - 2016-02-18T19:58:15.912Z * License: MIT */ (function () { "use strict"; var KEY = { TAB: 9, ENTER: 13, ESC: 27, SPACE: 32, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, SHIFT: 16, CTRL: 17, ALT: 18,...
js/jquery.min.js
barbagallo/KendoUIWeb
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
src/Chapter1.js
stegben/novel-example
import React from 'react'; import cn from 'classnames'; import Paragraph from './components/Paragraph'; import MusicTrigger from './components/MusicTrigger'; import part1 from './content/1-1'; const Chapter1 = () => { const insideClass = cn( 'col-xs', 'col-sm', 'col-md', 'col-lg', ); return ( ...
src/widgets/WithFlash.js
sussol/mobile
/* eslint-disable react/forbid-prop-types */ import React from 'react'; import PropTypes from 'prop-types'; import * as Animatable from 'react-native-animatable'; import { useConditionalAnimationRef } from '../hooks/index'; import { MILLISECONDS } from '../utilities/index'; export const WithFlash = ({ children, condit...
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...
ajax/libs/yui/3.8.1/scrollview-base/scrollview-base-debug.js
drewfreyling/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie, NATIVE_TRA...
docs/2.3.0/js/docs-setup.js
D-Mobilelab/barney
NG_DOCS={ "sections": { "version": "API Reference" }, "pages": [ { "section": "version", "id": "analytics", "shortName": "analytics", "type": "overview", "moduleName": "analytics", "shortDescription": "Analytics", "keywords": "analytics barney barneyanalytics comp...