target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
ajax/libs/webshim/1.15.6-RC1/dev/shims/es6.js
idleberg/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
src/parent-ques/QuestionList.js
mrinalkrishnanm/Sld
import React from 'react'; import QuestionBox from './QuestionBox.js' class QuestionList extends React.Component{ constructor(){ super() this.state={ inc: 0 } } quesUpdate(answers){ if(this.state.inc==19) { this.props.updateChildButton(); } else { this.props.ansUpdate(answers);...
packages/react-dom/src/shared/checkReact.js
VioletLife/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import React from 'react'; import invariant from 'shared/invariant'; invariant( React, 'ReactDOM was loaded befor...
ajax/libs/highcharts/4.1.1/highcharts.src.js
bootcdn/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.1 (2015-02-17) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
src/entypo/Check.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Check'; let EntypoCheck = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M8.294,16.998c-0.435,0-0.847-0.203-1.111-0.553L3.61,11.724c-0.465-0.613-0.344-1.486,0.27-1.951c0.615-0....
src/app/views/shared/Button/index.js
lpan/htn-challenge
import { cond, always, equals, T } from 'ramda'; import React, { PropTypes } from 'react'; import styles from './styles.css'; const getColor = cond([ [equals('primary'), always('#0EC6FD')], [equals('warning'), always('#FCAD0F')], [T, always('#0EC6FD')], ]); const Button = ({ type, label, onClick }) => { cons...
sample/components/checkbox.js
LINKIWI/react-elemental
import React, { Component } from 'react'; import { Checkbox, Spacing, Text } from 'react-elemental'; export default class SampleCheckbox extends Component { state = { enabled: true, disabledChecked: true, }; handleChange = (key) => (isChecked) => this.setState({ [key]: isChecked }); render() { co...
ajax/libs/rxjs/2.3.16/rx.lite.compat.js
victorjonsson/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...
test/test_helper.js
faraazm/ReactApp2
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...
src/scripts/index.js
donlion/react-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render(<App />, document.getElementById('root'));
UI/app/components/Main.js
Acheron-VAF/Acheron
// @flow import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import routes from '../constants/routes.json'; import styles from './Home.css'; import Terminal from 'terminal-in-react'; import SessionTracker from '../utils/SessionTracker'; import MenuBar from './MenuBar'; import WindowCont...
src/svg-icons/places/smoking-rooms.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesSmokingRooms = (props) => ( <SvgIcon {...props}> <path d="M2 16h15v3H2zm18.5 0H22v3h-1.5zM18 16h1.5v3H18zm.85-8.27c.62-.61 1-1.45 1-2.38C19.85 3.5 18.35 2 16.5 2v1.5c1.02 0 1.85.83 1.85 1.85S17.52 7.2 16....
tosort/2016/jspm/lib_react_101/components/journey/index.js
Offirmo/web-tech-experiments
import React from 'react'; import List from 'material-ui/lib/lists/list'; import Divider from 'material-ui/lib/divider'; import Step from '../step/index' const data = [ { id: 1, type: 'flight', start_place: 'Paris ', start_date: new Date(2016, 6, 2, 16, 40), duration_min: 6.5 * 60 }, { id: ...
ajax/libs/algoliasearch.zendesk-hc/2.13.0/algoliasearch.zendesk-hc.min.js
dakshshah96/cdnjs
/*! * Algolia Search for Zendesk's Help Center v2.13.0 * https://github.com/algolia/algoliasearch-zendesk * Copyright 2017 Algolia <support@algolia.com>; Licensed MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);els...
src/basic/components/hello-world.js
deibeljc/react-talk
import React from 'react'; export default class Hello extends React.Component { render() { return ( <span>{this.props.text}</span> ) } }
src/svg-icons/navigation/subdirectory-arrow-right.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationSubdirectoryArrowRight = (props) => ( <SvgIcon {...props}> <path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"/> </SvgIcon> ); NavigationSubdirectoryArrowRight = pure(Navigat...
Libraries/Components/Slider/Slider.js
frantic/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
src/cms/preview-templates/post-preview.js
dalareo/dalareo.github.io
// @flow strict import React from 'react'; import type { Entry, WidgetFor } from '../../types'; type Props = { entry: Entry, widgetFor: WidgetFor }; const PostPreview = ({ entry, widgetFor }: Props) => { const body = widgetFor('body'); const title = entry.getIn(['data', 'title']); return ( <div classNa...
src/components/ShareExperience/common/FacebookFail.js
chejen/GoodJobShare
import React from 'react'; import PropTypes from 'prop-types'; import Feedback from 'common/Feedback'; const FacebookFail = ({ buttonClick }) => ( <Feedback buttonClick={buttonClick} heading="Facebook 登入失敗" info="為了避免使用者大量輸入假資訊,我們會以您的 Facebook 帳戶做驗證。但別擔心!您的帳戶資訊不會以任何形式被揭露、顯示。" buttonText="以 f 認證,送出資料...
app/client/src/views/TablesWithPks.js
lealhugui/schema-analyser
import React, { Component } from 'react'; import JsonApiReq from '../Requests'; import { API_URL, removeLogoAnimation, addLogoAnimation } from '../constants'; import DynamicTable from '../DynamicTable'; /** * @description View that shows a grid with the tables with their PKs */ class TablesWithPks extend...
example/bower_components/backbone/backbone.js
berzniz/backbone.directives
// 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 ...
src/Survey/Complex/Plant/Edit/Main/index.js
NERC-CEH/irecord-app
import { observer } from 'mobx-react'; import React from 'react'; import { IonButton, IonLabel, IonList } from '@ionic/react'; import DynamicMenuAttrs from 'Components/DynamicMenuAttrs'; import AppMain from 'Components/Main'; import PropTypes from 'prop-types'; import SpeciesList from './components/SpeciesList'; import...
node_modules/react-bootstrap/es/NavbarCollapse.js
mohammed52/something.pk
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 ...
views/blocks/Likes/Likes.js
urfu-2016/team5
import React from 'react'; import b from 'b_'; import './Likes.css'; const likeCounter = b.lock('like-counter'); export default class Likes extends React.Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); } handleClick() { this.props.on...
test/specs/views/Item/ItemExtra-test.js
koenvg/Semantic-UI-React
import faker from 'faker' import React from 'react' import ItemExtra from 'src/views/Item/ItemExtra' import * as common from 'test/specs/commonTests' describe('ItemExtra', () => { common.isConformant(ItemExtra) common.rendersChildren(ItemExtra) common.implementsCreateMethod(ItemExtra) describe('content prop...
.storybook/config.js
tombatossals/react-dates
import React from 'react'; import moment from 'moment'; import { configure, addDecorator, setAddon } from '@storybook/react'; import infoAddon from '@storybook/addon-info'; import { setOptions } from '@storybook/addon-options'; import './storybook.scss'; import '../css/styles.scss'; addDecorator((story) => { moment....
investninja-web-ui-app/src/frontend/component/Carteira/GrupoCarteiraBox.js
InvestNinja/InvestNinja-web-ui
import React from 'react'; import Input from 'react-toolbox/lib/input'; import GrupoCarteira from './GrupoCarteira.js'; // A button with complex overrides export default class GrupoCarteiraBox extends React.Component { constructor() { super(); this.state = { nomeGrupoCarteira: ''} } ...
ajax/libs/angular.js/0.9.11/angular-scenario.js
laffer1/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. ...
examples/auth-with-shared-root/components/PageOne.js
tylermcginnis/react-router
import React from 'react' const PageOne = React.createClass({ render() { return <h2>Page One!</h2> } }) module.exports = PageOne
src/vendor/react-fitter-happier-text.js
codevinsky/deep-ellum-jukebox-ui
import React from 'react' import { debounce } from 'lodash' class FitterHappierText extends React.Component { constructor () { super () this.resize = debounce(this.resize.bind(this)) this.state = { width: 256, height: 24 } } resize () { let el = React.findDOMNode(this.refs.text...
ajax/libs/analytics.js/2.3.2/analytics.min.js
pm5/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
application/components/shared/paymentMethodsView/oneTimePaymentListItem/index.js
ronanamsterdam/squaredcoffee
import React, { Component } from 'react'; import { StyleSheet, Text, TextInput, View, WebView, ScrollView } from 'react-native'; import Button from 'react-native-button'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import AppActions from '../../../../actions'; import AwesomeIco...
src/esm/components/structure/cards/crowdfunding-card/components/button.js
KissKissBankBank/kitten
import React from 'react'; import PropTypes from 'prop-types'; import { Button } from '../../../../action/button'; var CardButton = function CardButton(_ref) { var text = _ref.text, loading = _ref.loading; return /*#__PURE__*/React.createElement("div", { className: "k-CrowdfundingCard__cardButton k-Crowd...
packages/wix-style-react/src/TimeInput/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, playground, api, testkit, } from 'wix-storybook-utils/Sections'; import TimeInput from '..'; import { storySettings } from './storySettings'; import LockLocked from 'wix-ui-icons-common/Loc...
ajax/libs/reactive-coffee/1.2.1/reactive-coffee.js
lxsli/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...
code/workspaces/web-app/src/PrivateApp.js
NERC-CEH/datalab
import { Redirect, Route, Switch } from 'react-router-dom'; import React from 'react'; import { permissionTypes } from 'common'; import ModalRoot from './containers/modal/ModalRoot'; import NavigationContainer from './containers/app/NavigationContainer'; import ProjectNavigationContainer from './containers/app/ProjectN...
ajax/libs/react-native-web/0.14.8/modules/useResponderEvents/index.js
cdnjs/cdnjs
/** * Copyright (c) Nicolas Gallagher * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ /** * Hook for integrating the Responder System into React * * function SomeComponent({ onStartShouldSetResponder }) { * const ref...
src/components/pages/Admin/Customers/AdminCustomers.js
ESTEBANMURUZABAL/my-ecommerce-template
/** * Imports */ import React from 'react'; import connectToStores from 'fluxible-addons-react/connectToStores'; import moment from 'moment'; import {FormattedMessage} from 'react-intl'; // Flux import IntlStore from '../../../../stores/Application/IntlStore'; import CustomersListStore from '../../../../stores/Custo...
app/components/Comment/index.js
mclxly/react-study
/** * * Comment * */ import React from 'react'; import marked from 'marked'; import styles from './styles.css'; class Comment extends React.Component { constructor(props) { super(props); marked.setOptions({ gfm: true, tables: true, breaks: false, pedantic: false, sanitize: tr...
app/javascript/mastodon/features/ui/components/navigation_panel.js
Kirishima21/mastodon
import React from 'react'; import { NavLink, withRouter } from 'react-router-dom'; import { FormattedMessage } from 'react-intl'; import Icon from 'mastodon/components/icon'; import { profile_directory, showTrends } from 'mastodon/initial_state'; import NotificationsCounterIcon from './notifications_counter_icon'; impo...
projects/frontend/src/containers/main.js
we3x/organizator
import React from 'react'; import PropTypes from 'prop-types'; import { Router, hashHistory } from 'react-router'; import { connect } from 'react-redux'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import { StyleRoot } from 'radium'; import { requireAuth } from '../utils'; import Landing from '....
src/modules/pages/HealthCheckPage/Correct.js
hellofresh/janus-dashboard
import React from 'react' import PropTypes from 'prop-types' import block from '../../../helpers/bem-cn' import InfoPanel from '../../../components/InfoPanel/InfoPanel' import Icon from '../../../components/Icon/Icon' const propTypes = { className: PropTypes.string } const Correct = ({ className }) => { const b...
react/JSXTransformer.js
milk-cocoa/js-examples
/** * JSXTransformer v0.13.2 */ (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!=="undefined"){g...
packages/core/helper-plugin/lib/src/components/EmptyStateLayout/index.js
wistityhq/strapi
import React from 'react'; import { EmptyStateLayout as Layout } from '@strapi/design-system/EmptyStateLayout'; import EmptyDocuments from '@strapi/icons/EmptyDocuments'; import EmptyPermissions from '@strapi/icons/EmptyPermissions'; import EmptyPictures from '@strapi/icons/EmptyPictures'; import { useIntl } from 'reac...
LogIndexer/LogIndexer.Core.Web/Scripts/jquery-1.10.2.js
JuanjoFuchs/Log-Indexer
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
assets/js/components/common/auth.js
ivantsov/AnimeStorage
import React, {PropTypes} from 'react'; var userStore = require('../../flux/stores/user'); module.exports = function (Component) { return React.createClass({ statics: { willTransitionTo(transition) { if (!userStore.user) { transition.redirect('/login', {}, { ...
src/Controls/ControlString.js
vslinko-forks/react-demo
import React from 'react' import Group from './Group' import InputText from './InputText' export default React.createClass({ displayName: 'Demo.Controls.ControlString', propTypes: { name: React.PropTypes.string.isRequired, value: React.PropTypes.string.isRequired, onChange: React.PropTypes.func.isReq...
src/App.js
ir4y/scimitar
import React from 'react'; import logo from './logo.svg'; import './App.css'; import tree from './libs/tree'; import serviceProviderFactory from './libs/service-provider'; import services from './services'; import CounterList from './components/counter-list'; import People from './components/people'; const ServicePro...
node_modules/react-icons/md/stars.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdStars = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m27 30l-1.8-8 6.2-5.4-8.2-0.7-3.2-7.5-3.2 7.5-8.2 0.7 6.2 5.4-1.8 8 7-4.2z m-7-26.6c9.2 0 16.6 7.4 16.6 16.6s-7.4 16.6-16.6 16.6-16.6-7.4-16.6-16.6 7.4-16.6 16.6-16.6z"...
src/esm/components/structure/cards/simple-card/components/paragraph.js
KissKissBankBank/kitten
import React from 'react'; import PropTypes from 'prop-types'; import { Text } from '../../../../typography/text'; import { HorizontalStroke } from '../../../../typography/horizontal-stroke'; import { parseHtml } from '../../../../../helpers/utils/parser'; export var Paragraph = function Paragraph(_ref) { var paragra...
src/example.js
economist-components/component-teaser
import React from 'react'; import Teaser from './'; import TeaserFlyTitle from './teaser-flytitle'; import TeaserImage from './teaser-image'; import TeaserLink from './teaser-link'; import TeaserPublishDate from './teaser-publish-date'; import TeaserSection from './teaser-section'; import TeaserText from './teaser-text...
src/page/todo/components/Footer.js
xincyang/webpack-demo
import React from 'react' import FilterLink from '../containers/FilterLink.js' const Footer = () => ( <p> Show: {" "} <FilterLink filter="SHOW_ALL">ALL</FilterLink> {" "} <FilterLink filter="SHOW_ACTIVE">ACTIVE</FilterLink> {" "} <FilterLink filter="SHOW_COMP...
examples/async/containers/Root.js
przeor/redux
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import configureStore from '../store/configureStore'; import AsyncApp from './AsyncApp'; const store = configureStore(); export default class Root extends Component { render() { return ( <Provider store={store}> {() ...
packages/wix-style-react/src/PageFooter/test/PageFooter.spec.js
wix/wix-style-react
import React from 'react'; import { createRendererWithUniDriver, cleanup } from '../../../test/utils/unit'; import PageFooter from '../PageFooter'; import { pageFooterPrivateDriverFactory } from './PageFooter.private.uni.driver'; describe(PageFooter.displayName, () => { const render = createRendererWithUniDriver(pa...
fields/types/password/PasswordColumn.js
alobodig/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var PasswordColumn = React.createClass({ displayName: 'PasswordColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...
test/unit/src/common/components/vanilla-modules/t_notification.js
canonical-websites/build.snapcraft.io
import expect, { createSpy } from 'expect'; import React from 'react'; import { shallow } from 'enzyme'; import Notification from '../../../../../../src/common/components/vanilla-modules/notification'; describe('The Notification component', () => { let element; context('when children prop is supplied', () => { ...
node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/weinre/web/client/BreakpointsSidebarPane.js
estelora/portfolio2.0
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
fields/types/url/UrlField.js
nickhsine/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput } from 'elemental'; module.exports = Field.create({ displayName: 'URLField', openValue () { var href = this.props.value; if (!href) return; if (!/^(mailto\:)|(\w+\:\/\/)/.test(href)) { href = 'http://' + href; } window.o...
imports/plugins/core/router/client/app.js
evereveofficial/reaction
import React, { Component, PropTypes } from "react"; import classnames from "classnames"; import { Reaction, Router } from "/client/api"; import { composeWithTracker } from "/lib/api/compose"; import { Loading } from "/imports/plugins/core/ui/client/components"; import ToolbarContainer from "/imports/plugins/core/dashb...
ajax/libs/cyclejs-dom/3.0.1/cycle-dom.js
emijrp/cdnjs
(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!=="undefined"){g=self}else{g=this}g.CycleDOM = f()...
client/app/components/RestaurantPage/Common/FavoriteButton.js
yanhao-li/menu-plus
import React from 'react'; import PropTypes from 'prop-types'; import Chip from 'material-ui/Chip'; import { toggleFavorite } from 'actions/FavoritesActions'; const propTypes = { dispatch: PropTypes.func.isRequired, restaurant: PropTypes.object.isRequired, }; class FavoriteButton extends React.PureComponent { c...
src/components/collapse.js
thbgh/antdPro
import React from 'react'; import {Collapse} from 'antd'; const Panel = Collapse.Panel; export default class Ccpllapse extends React.Component { render() { const text = ` A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as ...
src/js/components/FilterByFormTab.js
jcloud-shengtai/dcos-ui_CN
import { Dropdown } from "reactjs-components"; import React from "react"; class FilterByFormTab extends React.Component { constructor() { super(); this.onItemSelection = this.onItemSelection.bind(this); } onItemSelection(obj) { this.props.handleFilterChange(obj.value); } getItemHtml(item) { ...
profiles/multipurpose_corporate_profile/modules/contrib/jquery_update/replace/jquery/1.5/jquery.js
valdinxx/Envios-y-Mas-Express
/*! * jQuery JavaScript Library v1.5.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/svg-icons/av/forward-5.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvForward5 = (props) => ( <SvgIcon {...props}> <path d="M4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8zm6.7.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1....
client/src/javascript/components/sidebar/FeedsButton.js
stephdewit/flood
import {defineMessages, injectIntl} from 'react-intl'; import React from 'react'; import FeedIcon from '../icons/FeedIcon'; import Tooltip from '../general/Tooltip'; import UIActions from '../../actions/UIActions'; const MESSAGES = defineMessages({ feeds: { id: 'sidebar.button.feeds', defaultMessage: 'Feeds...
client/trello/src/app/routes/signUp/SignUp.spec.js
Madmous/madClones
import { shallow, mount } from 'enzyme'; import { Provider } from 'react-redux'; import sinon from 'sinon'; import React from 'react'; import chai from 'chai'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import nock from 'nock'; import SignUpContainer from './SignUpContainer'; ...
javascripts/foundation/jquery.js
syntagm/pdmsys
/*! * jQuery JavaScript Library v1.8.1 * 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 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time) */ (function(...
app/app.js
carney520/lg-react-boilerplate
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; impor...
stories/examples/LayoutRowCols.js
reactstrap/reactstrap
import React from 'react'; import { Container, Row, Col } from 'reactstrap'; const Example = (props) => { return ( <Container> <h6>xs="2"</h6> <Row xs="2"> <Col className="bg-light border">Column</Col> <Col className="bg-light border">Column</Col> <Col className="bg-light bord...
test/specs/views/Item/ItemExtra-test.js
clemensw/stardust
import faker from 'faker' import React from 'react' import * as common from 'test/specs/commonTests' import ItemExtra from 'src/views/Item/ItemExtra' describe('ItemExtra', () => { common.isConformant(ItemExtra) common.rendersChildren(ItemExtra) describe('content prop', () => { it('renders text', () => { ...
docs/src/app/components/pages/components/List/ExampleSettings.js
pradel/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import Checkbox from 'material-ui/Checkbox'; import Toggle from 'material-ui/Toggle'; const ListE...
ajax/libs/react/15.3.2/react-dom.min.js
dlueth/cdnjs
/** * ReactDOM v15.3.2 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directo...
packages/watif-display/src/components/verb-bar.js
jwillesen/watif
import React from 'react' import {arrayOf, func} from 'prop-types' import {verbShape} from '../property-shapes' import './verb-bar.css' export default class VerbBar extends React.Component { static propTypes = { verbs: arrayOf(verbShape), onVerbClick: func, } renderVerbs() { if (!this.props.verbs) ...
src/components/message/message.stories.js
teamleadercrm/teamleader-ui
import React from 'react'; import { addStoryInGroup, MID_LEVEL_BLOCKS } from '../../../.storybook/utils'; import { TextBody } from '../typography'; import Message from './Message'; import Link from '../link'; export default { component: Message, title: addStoryInGroup(MID_LEVEL_BLOCKS, 'Message'), parameters: {...
src/Plupload.js
lemonCMS/react-plupload
import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import BrowseButton from './BrowseButton'; import UploadButton from './UploadButton'; let count = 0; const EVENTS = [ 'PostInit', 'Browse', 'Refresh', 'StateChanged', 'QueueChanged', 'OptionChanged', 'BeforeUpload', 'Up...
src/js/components/icons/base/UserNew.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
docs/app/Examples/elements/Container/Types/index.js
ben174/Semantic-UI-React
/* eslint-disable max-len */ import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import { Message } from 'semantic-ui-react' const ContainerTypesExamples = () => ( <ExampleSection titl...
ajax/libs/react-bootstrap-table/3.1.7/react-bootstrap-table.js
BenjaminVanRyseghem/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
RNTester/js/ActivityIndicatorExample.js
frantic/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow * ...
ajax/libs/golden-layout/1.5.4/goldenlayout.js
AMoo-Miki/cdnjs
(function($){var lm={"config":{},"container":{},"controls":{},"errors":{},"items":{},"utils":{}}; lm.utils.F = function () {}; lm.utils.extend = function( subClass, superClass ) { subClass.prototype = lm.utils.createObject( superClass.prototype ); subClass.prototype.contructor = subClass; }; lm.utils.createObject...
ajax/libs/react-router/0.10.2/react-router.js
hcxiong/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
node_modules/karma-es6-shim/node_modules/es6-shim/es6-shim.min.js
diztinct-tim/ESL
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.34.4 * see https://github.com/paulmillr/es6-shim/blob/0.34.4/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-s...
src/components/photoshop/PhotoshopPointerCircle.js
conorhastings/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import shallowCompare from 'react-addons-shallow-compare' export class PhotoshopPointerCircle extends ReactCSS.Component { shouldComponentUpdate = shallowCompare.bind(this, this, arguments[0], arguments[1]) classes(): any { re...
packages/test-studio/schemas/color.js
VegaPublish/vega-studio
/* eslint-disable react/display-name */ import React from 'react' import icon from 'react-icons/lib/md/format-color-fill' export default { name: 'colorTest', type: 'document', title: 'Color', icon, preview: { select: { title: 'title', color: 'testColor1' }, prepare({title, color}) { ...
node_modules/react-icons/md/hourglass-empty.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdHourglassEmpty = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 19.1l6.6-6.6v-5.9h-13.2v5.9z m6.6 8.4l-6.6-6.6-6.6 6.6v5.9h13.2v-5.9z m-16.6-24.1h20v10l-6.6 6.6 6.6 6.6v10h-20v-10l6.6-6.6-6.6-6.6v-10z"/></g> </Icon>...
RNDemo/RNComment/node_modules/react-native/Libraries/Utilities/throwOnWrongReactAPI.js
995996812/Web
/** * 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...
examples/scalajs-react/generated/todomvc-opt.js
marchant/todomvc
(function(){'use strict'; function aa(){return function(a){return a}}function ba(){return function(){}}function d(a){return function(b){this[a]=b}}function g(a){return function(){return this[a]}}function k(a){return function(){return a}}var l,ca="object"===typeof __ScalaJSEnv&&__ScalaJSEnv?__ScalaJSEnv:{},n="object"===...
react-starter/src/index.js
jakedeichert/create-app
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import AppRoot from 'components/AppRoot'; import { store } from 'store/init'; render( <Provider store={store}> <AppRoot /> </Provider>, document.getElementById('app') );
src/Flags/Lithuania.js
runjak/css-flags
// @flow import React from 'react'; import LinearFlag from './LinearFlag'; import gradient from '../utils/gradient'; const yellow = '#FDBA0A'; const green = '#006A43'; const red = '#C22229'; export default function Lithuania() { return ( <LinearFlag gradient={`${gradient([yellow, green, red])}`} /> ...
src/components/organisms/ConfirmModal/index.stories.js
DimensionLab/narc
import React from 'react' import { storiesOf } from '@storybook/react' import { action } from '@storybook/addon-actions' import { ConfirmModal } from 'components' storiesOf('ConfirmModal', module) .add('default', () => ( <ConfirmModal name="confirm" onConfirm={action('confirmed')} onClose={acti...
ajax/libs/react-data-grid/0.13.6/react-data-grid.js
honestree/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactDataGrid"] = f...
lib/components/confirmPanel.js
tombenke/react-ui-archetype
import React from 'react'; import { Button, Glyphicon, Panel } from 'react-bootstrap'; class ConfirmPanel extends React.Component { render() { return ( <Panel> <h5><Glyphicon glyph="question-sign" /> {this.props.text}</h5> <p> <Button onClic...
ajax/libs/react-intl/1.2.0/react-intl-with-locales.min.js
cdnjs/cdnjs
(function(){"use strict";function a(a){var b,c,d,e,f=Array.prototype.slice.call(arguments,1);for(b=0,c=f.length;c>b;b+=1)if(d=f[b])for(e in d)o.call(d,e)&&(a[e]=d[e]);return a}function b(a,b,c){this.locales=a,this.formats=b,this.pluralFn=c}function c(a){this.id=a}function d(a,b,c,d,e){this.id=a,this.useOrdinal=b,this.o...
src/components/Line.js
phodal/growth-ng
import React, { Component } from 'react'; import { View } from 'react-native'; import AppStyle from '../theme/styles'; class Line extends Component { static componentName = 'Line'; render() { return (<View style={AppStyle.line} />); } } export default Line;
ajax/libs/angular-ui-select/0.9.1/select.js
boneskull/cdnjs
/*! * ui-select * http://github.com/angular-ui/ui-select * Version: 0.9.1 - 2014-12-03T16:41:44.798Z * 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: ...
ajax/libs/jQRangeSlider/5.5.0/jQRangeSlider.js
sajochiu/cdnjs
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function ($, undefined) { "use strict"; $.widget("ui.rangeSlider", { options: { bounds: {min:0, max:100}, defaultValues: {min...
sample/app/app.js
wonday/react-native-aliyun-push
/** * @flow */ 'use strict'; import React, { Component } from 'react'; import { View, Linking, Text } from 'react-native'; import AliyunPush from 'react-native-aliyun-push'; export default class App extends Component { constructor(props) { super(props); } componentWillMount() { ...
docs/src/app/components/pages/components/Popover/Page.js
ngbrown/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 popoverReadmeText from './README'; import PopoverExampleSimple from './Ex...
svg-icons/av/games.js
NickZnaj/frozen_mui
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...