path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
server/sonar-web/src/main/js/apps/settings/licenses/LicenseStatus.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...
node_modules/react-icons/md/theaters.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdTheaters = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30 15v-3.4h-3.4v3.4h3.4z m0 6.6v-3.2h-3.4v3.2h3.4z m0 6.8v-3.4h-3.4v3.4h3.4z m-16.6-13.4v-3.4h-3.4v3.4h3.4z m0 6.6v-3.2h-3.4v3.2h3.4z m0 6.8v-3.4h-3.4v3.4h3.4z m16....
code/workspaces/web-app/src/components/modal/EditDataStoreDialog.spec.js
NERC-CEH/datalab
import React from 'react'; import { shallow } from 'enzyme'; import EditDataStoreDialog, { getOnDetailsEditSubmit } from './EditDataStoreDialog'; import modalDialogActions from '../../actions/modalDialogActions'; import dataStorageActions from '../../actions/dataStorageActions'; const editDataStoreDetailsMock = jest.f...
src/pages/Dashboard/UserBehaviorChart.js
chaitanya1375/Myprojects
import React from 'react'; import Chart from 'react-chartist'; let data = { labels: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], series: [ [542, 443, 320, 780, 553, 453, 326, 434, 568, 610, 756, 895], [412, 243, 280, 580, 453, 353, 300, 364, 368, 410, 636, 695] ] ...
ajax/libs/highmaps/1.1.0/highcharts.src.js
camelotceo/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.0 (2015-02-16) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
src/svg-icons/navigation/chevron-right.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationChevronRight = (props) => ( <SvgIcon {...props}> <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/> </SvgIcon> ); NavigationChevronRight = pure(NavigationChevronRight); NavigationChevronRigh...
assets/jqwidgets/demos/react/app/editor/toolscustomization/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxEditor from '../../../jqwidgets-react/react_jqxeditor.js'; class App extends React.Component { render() { let tools = 'bold italic underline | font size | left center right | outdent indent'; let createCommand = (name) => { ...
node_modules/react-router/es/withRouter.js
paul-brabet/tinkerlist
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
example/pages/searchbar/index.js
n7best/react-weui
import React from 'react'; import Page from '../../component/page'; import SampleData from './nameDB'; import { //main component SearchBar, //for display data Panel, PanelHeader, PanelBody, PanelFooter, MediaBox, MediaBoxHeader, MediaBoxBody, MediaBoxTitle, MediaBoxDescr...
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js
supertanglang/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; import classnames from 'classnames'; import AvatarItem from 'components/common/AvatarItem.react'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class ContactItem extends React.Com...
src/svg-icons/action/stars.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionStars = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53...
ajax/libs/react-virtualized/6.3.0/react-virtualized.js
iwdmb/cdnjs
!function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory(require("react"), require("react-dom")) : "function" == typeof define && define.amd ? define([ "react", "react-dom" ], factory) : "object" == typeof exports ? exports.ReactVirtualized = factory(require("rea...
docs/client.js
herojobs/react-bootstrap
import 'bootstrap/less/bootstrap.less'; import './assets/docs.css'; import './assets/style.css'; import './assets/carousel.png'; import './assets/logo.png'; import './assets/favicon.ico'; import './assets/thumbnail.png'; import './assets/thumbnaildiv.png'; import 'codemirror/mode/htmlmixed/htmlmixed'; import 'codemir...
ajax/libs/yui/3.10.3/event-focus/event-focus.js
Mrkebubun/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/routes/privacy/index.js
FamilyPlanerTeam/family-planner
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
surfice/templates/pre-template/js/jquery-1.11.1.min.js
natewinck/surfstat
/*! 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...
frontend/jqwidgets/jqwidgets-react/react_jqxrepeatbutton.js
yevgeny-sergeyev/nexl-js
/* jQWidgets v5.7.2 (2018-Apr) Copyright (c) 2011-2018 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxRepeatButton extends React.Component { componentDidMount() { let options = this.m...
ajax/libs/primeui/4.1.3/primeui-ng-all.js
x112358/cdnjs
/*! * jQuery JavaScript Library v2.2.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-02-22T19:11Z */ (function( global, factory ) { if ( typeof module ==...
packages/material-ui-icons/legacy/BatteryCharging20Outlined.js
mbrookes/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M11 20v-3H7v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17h-4.4L11 20z" /><path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V17h4v-2.5H9L13 7v5.5h2L1...
packages/material-ui-icons/src/ThumbDown.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 ...
src/svg-icons/content/reply.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentReply = (props) => ( <SvgIcon {...props}> <path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/> </SvgIcon> ); ContentReply = pure(ContentReply); ContentReply.displayName = 'ContentReply'...
6.5.0/examples/asyncValidation/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(273),e.exports=n(271)},function(e,t,n){var r=n(4),o=n(37),i=n(20),a=n(21),u=n(38),s="prototype",...
app/javascript/mastodon/features/ui/components/upload_area.js
anon5r/mastonon
import React from 'react'; import PropTypes from 'prop-types'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import { FormattedMessage } from 'react-intl'; export default class UploadArea extends React.PureComponent { static propTypes = { active: PropTypes.boo...
src/js/base/Container.js
MurphyL/Coffee
import React from 'react' import LoadIcon from '../../img/loading.svg'; export default class AbsList extends React.PureComponent { loading() { return <img className="loading" src={ LoadIcon } alt="loading"/>; } }
ajax/libs/redux-form-material-ui/3.0.0/redux-form-material-ui.min.js
dakshshah96/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReduxFormMaterialUi=t():e.ReduxFormMaterialUi=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},i...
app/javascript/mastodon/features/compose/components/poll_form.js
dunn/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import IconButton from 'mastodon/components/icon_butt...
ajax/libs/react-instantsearch/4.2.0/Connectors.js
tholu/cdnjs
/*! ReactInstantSearch UNRELEASED | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && de...
src/components/interlocutor/screens/InterlocutorAdd/views/InterlocutorAddView.js
yasavbrain/yasav
import React from 'react'; import { Form, ListItem, Item, Input, Label, Text } from 'native-base'; import { FlatList } from 'react-native'; import Style from 'src/styles/Forms'; import I18n from 'yasav/locales/i18n'; export default class InterlocutorAddView extends React.Component { constructor(props) { super(p...
src/pages/SearchPage.js
codevinsky/deep-ellum-jukebox-ui
import React from 'react'; import { SearchComponent } from '../components'; import { Grid, Row, Col } from 'react-bootstrap'; export default function SearchPage(props) { return <div className="search-page"> <SearchComponent/> </div> }
client/containers/Project/Interface/InterfaceCol/CaseReport.js
YMFE/yapi
import React from 'react'; import PropTypes from 'prop-types'; import { Row, Col, Tabs } from 'antd'; const TabPane = Tabs.TabPane; function jsonFormat(json) { // console.log('json',json) if (json && typeof json === 'object') { return JSON.stringify(json, null, ' '); } return json; } const CaseReport = f...
ajax/libs/yasr/2.4.14/yasr.bundled.min.js
nagyist/OpenF2-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){...
modules/__tests__/Router-test.js
MattSPalmer/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import Router from '../Router' import Route from '../Route' describe('Router', function () { let node beforeEach(function () { node = document....
201601react/李兰兰/1/app/index.js
zhufengreact/homework
'use strict'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; class HelloWorld extends Component { render(){ return ( <h1>Hello world lanlan</h1> ) } } ReactDOM.render(<HelloWorld />, document.getElementById('app'));
App/src/features/main.js
DupK/dashboard-epitech
/** * Created by jules on 20/01/17. **/ import React, { Component } from 'react'; import {Platform, StatusBar, StyleSheet, View} from 'react-native'; import { Router, Scene } from 'react-native-mobx'; import Login from './login/Login'; import Home from './home/Home'; import Calendar from './calendar/Calendar'; impor...
Examples/UIExplorer/AssetScaledImageExample.js
F2EVarMan/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
src/svg-icons/action/shopping-cart.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionShoppingCart = (props) => ( <SvgIcon {...props}> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11...
react-flux-mui/js/material-ui/src/svg-icons/notification/airline-seat-flat.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatFlat = (props) => ( <SvgIcon {...props}> <path d="M22 11v2H9V7h9c2.21 0 4 1.79 4 4zM2 14v2h6v2h8v-2h6v-2H2zm5.14-1.9c1.16-1.19 1.14-3.08-.04-4.24-1.19-1.16-3.08-1.14-4.24.04-1.16 1.19-1.1...
src/components/FooterBar/Responses/Favorite.js
welovekpop/uwave-web-welovekpop.club
import React from 'react'; import PropTypes from 'prop-types'; import { translate } from 'react-i18next'; import FavoritedIcon from '@material-ui/icons/Favorite'; import FavoriteIcon from '@material-ui/icons/FavoriteBorder'; import Button from './Button'; const enhance = translate(); const handleFavorite = onFavorite...
src/v2/stories/NotificationsDropdown.stories.js
aredotna/ervell
import React from 'react' import { storiesOf } from '@storybook/react' import Specimen from 'v2/stories/__components__/Specimen' import Notifications from 'v2/components/NotificationsDropdown/components/Notifications' import NotificationsDropdown from 'v2/components/NotificationsDropdown' storiesOf('NotificationsDrop...
packages/Tabs/story.js
ancestorcloud/trace-ui
import React from 'react' import { storiesOf } from '@kadira/storybook' import {Tabs, TabList, TabPanels} from './index' storiesOf('Tabs', module) .add('style 1', () => { const Tab = ({ onClick, isDisabled, isActive, children, }) => { const tabStyles = { display: 'inline...
ajax/libs/react-select/0.6.5/react-select.js
cdnjs/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.Select = f()}}...
web/src/client/createRoutes.js
vampolo/react-experiments
import App from './app/app.react'; import Home from './pages/home.react'; import Login from './pages/auth.react'; import Me from './pages/me.react'; import NotFound from './pages/notFound.react'; import React from 'react'; import Todos from './pages/todos.react'; import Sysdig from './pages/sysdig.react'; import {Index...
ajax/libs/infamous/4.0.1/infamous.js
Piicksarn/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["infamous"] = factory(); else root["infa...
app/bower_components/html5-boilerplate/js/vendor/jquery-1.10.2.min.js
firstCalled/formula1
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.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=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/components/Views/Team/index.js
jmikrut/keen-2017
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import ViewWrap from '../../ViewWrap'; import DocumentMeta from 'react-document-meta'; import randomArray from '../../../utilities/randomNumberArray'; import Facebook from '../../Icons/Facebook'; import LinkedIn from '../../Icons/Linke...
frontend-new/src/js/components/common/errorPages/Unauthorized.js
leapfrogtechnology/vyaguta-resource
import React, { Component } from 'react'; import DocumentTitle from 'react-document-title'; class Unauthorized extends Component { render() { return( <DocumentTitle title='Unauthorized'> <div className="error"> <div className="error-code m-b-10 m-t-20">Unauthorized <i className="fa fa-war...
src/components/Feedback/Feedback.js
bleedjent/ab_application
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { Component } from 'react'; import s from '....
src/svg-icons/maps/directions-boat.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsBoat = (props) => ( <SvgIcon {...props}> <path d="M20 21c-1.39 0-2.78-.47-4-1.32-2.44 1.71-5.56 1.71-8 0C6.78 20.53 5.39 21 4 21H2v2h2c1.38 0 2.74-.35 4-.99 2.52 1.29 5.48 1.29 8 0 1.26.65 2.62.99...
src/__tests__/Form.spec.js
reactstrap/reactstrap
import React from 'react'; import { shallow } from 'enzyme'; import { Form } from '../'; describe('Form', () => { it('should render with "form" tag', () => { const wrapper = shallow(<Form>Yo!</Form>); expect(wrapper.type()).toBe('form'); }); it('should render children', () => { const wrapper = shal...
ajax/libs/yui/3.17.0/scrollview-base/scrollview-base.js
janpaepke/cdnjs
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview *...
packages/material-ui-icons/src/FlipCameraAndroidRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M9 12c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z" /><path d="M8 9c0-.55-.45-1-1-1H5.09C6.47 5.61 9.05 4 12 4c3.49 0 6.45 2.24 7.54 5.36.14.39.53.64.94.64.68 0 1.18-.67.96-1.31...
ajax/libs/babel-core/4.7.0/browser.min.js
iamJoeTaylor/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.babel=e()}}(function(){var e,n,l;return function t(e,n,...
examples/dynamic-segments/app.js
ryardley/react-router
import React from 'react'; import { Router, Route, Link, Redirect } from 'react-router'; var App = React.createClass({ render() { return ( <div> <ul> <li><Link to="/user/123">Bob</Link></li> <li><Link to="/user/abc">Sally</Link></li> </ul> {this.props.children} ...
node_modules/react-icons/md/thumb-up.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdThumbUp = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m38.4 16.6l-0.1 0.2h0.1v3.2c0 0.5-0.1 0.9-0.3 1.3l-5.1 11.7c-0.4 1.1-1.6 2-3 2h-15c-1.8 0-3.4-1.6-3.4-3.4v-16.6c0-0.9 0.4-1.7 1.1-2.3l10.9-11.1 1.8 1.8c0.5 0.5 0.7 1....
src/services/toastWrapper.js
juandjara/open-crono
import React from 'react' import { toast } from 'react-toastify'; const ToastBody = ({text}) => ( <p style={{ background: '#333', color: 'white' }}>{text}</p> ) export default function(type, text) { toast[type](<ToastBody text={text} />) }
eventkit_cloud/ui/static/ui/app/tests/MapTools/DrawAOIToolbar.spec.js
venicegeo/eventkit-cloud
import React from 'react'; import { createShallow } from '@material-ui/core/test-utils'; import DrawAOIToolbar from '../../components/MapTools/DrawAOIToolbar'; import DrawBoxButton from '../../components/MapTools/DrawBoxButton'; import DrawFreeButton from '../../components/MapTools/DrawFreeButton'; import MapViewButton...
packages/material-ui-icons/src/SpeakerPhoneRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M7.76 7.83l.02.02c.35.35.89.38 1.3.09.83-.57 1.84-.92 2.92-.92s2.09.35 2.92.93c.4.29.95.26 1.3-.09l.02-.02c.42-.42.39-1.14-.09-1.49C14.98 5.5 13.55 5 12 5s-2.98.5-4.14 1.34c-.49.35-.52 1.07-.1 1.49zM1...
Dnn.AdminExperience/ClientSide/Dnn.React.Common/src/DropdownWithError/dropdownwitherror.stories.js
valadas/Dnn.Platform
import React from "react"; import { storiesOf } from "@storybook/react"; import DropdownWithError from "./index"; storiesOf("DropdownWithError", module).add("with content", () => ( <DropdownWithError error={true} errorMessage="Please select an item" label="Test" options={[ { label: "Opt 1", val...
src/components/Page.js
shitangdama/electron-exhentai
import React, { Component } from 'react'; import autobind from 'autobind-decorator'; import { withRouter } from 'react-router-dom'; import { inject, observer } from 'mobx-react'; import request from 'request'; import CircularProgress from 'material-ui/CircularProgress'; import { Card, CardActions, CardHeader, CardMed...
test/app/entry.js
mbaasy/react-router-path-extractor-webpack-plugin
'use strict' import React from 'react' import { render } from 'react-dom' import { renderToString } from 'react-dom/server' import { RouterContext, Router, browserHistory, match, createMemoryHistory } from 'react-router' import routes from './routes' const template = (html, assets) => (` <!DOCTYPE html> <ht...
components/InteriorLeftNav.js
hellobrian/carbon-components-react
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import classnames from 'classnames'; import window from 'window-or-global'; import InteriorLeftNavList from './InteriorLeftNavList'; import InteriorLeftNavItem from './InteriorLeftNavItem'; import Icon from './Icon'; class InteriorLeftNav e...
ajax/libs/babel-core/5.0.8/browser.min.js
brix/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;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,n;return function r(e,t,...
app/javascript/mastodon/features/ui/components/confirmation_modal.js
unarist/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, FormattedMessage } from 'react-intl'; import Button from '../../../components/button'; @injectIntl export default class ConfirmationModal extends React.PureComponent { static propTypes = { message: PropTypes.node.isRequired, ...
ajax/libs/foundation/4.0.4/js/vendor/jquery.js
staabm/cdnjs
/*! * 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...
app/javascript/mastodon/features/compose/components/search.js
mimumemo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import { searchEnabled } from '../...
assets/jqwidgets/demos/react/app/datatable/rowselectionhover/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDataTable from '../../../jqwidgets-react/react_jqxdatatable.js'; import JqxDropDownList from '../../../jqwidgets-react/react_jqxdropdownlist.js'; import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js'; import JqxInput from '../../../j...
app/components/navBar.js
BZhawaii/ArtStorm
import React from 'react'; class NavBar extends React.Component { render() { return ( <div className="navbar-fixed stormNav"> <nav id="nav_f" className="default_color" role="navigation"> <div className="container"> <div className="nav-wrapper"> ...
src/photos/lib/confirm.js
goldoraf/cozy-drive
import React from 'react' import ReactDOM from 'react-dom' const confirm = (component, saga) => { const wrapper = document.body.appendChild(document.createElement('div')) const abort = () => { ReactDOM.unmountComponentAtNode(wrapper) } const confirm = () => { saga().then(() => { ReactDOM.unmoun...
ajax/libs/yui/3.9.0/event-focus/event-focus-min.js
dakshshah96/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
ajax/libs/reactable/0.11.2/reactable.min.js
kiwi89/cdnjs
window.React["default"]=window.React;(function(c,a){if(typeof define==="function"&&define.amd){define(["exports"],a)}else{if(typeof exports!=="undefined"){a(exports)}else{var b={exports:{}};a(b.exports);c.filter_props_from=b.exports}}})(this,function(a){a.filterPropsFrom=c;var b={columns:true,sortable:true,filterable:t...
src/Type/StringType.js
reactmob/dos-filter
import React from 'react'; import AbstractType from './AbstractType'; const FILTER_EQUAL = 'EQUAL'; const FILTER_NOT_EQUAL = 'NOT_EQUAL'; const FILTER_EMPTY = 'EMPTY'; const FILTER_NOT_EMPTY = 'NOT_EMPTY'; const FILTER_CONTAINS = 'CONTAINS'; const FILTER_NOT_CONTAINS = 'NOT_CONTAINS'; const FILTER_STARTS_WITH = 'STAR...
examples/src/components/RemoteSelectField.js
iLikeKoffee/react-select
import React from 'react'; import Select from 'react-select'; var RemoteSelectField = React.createClass({ displayName: 'RemoteSelectField', propTypes: { hint: React.PropTypes.string, label: React.PropTypes.string, }, loadOptions (input, callback) { input = input.toLowerCase(); var rtn = { options: [ ...
homepage/index.js
pixelass/pixelass-homepage
import React from 'react' import {render} from 'react-dom' import Impressum from '../src/containers/impressum' import Header from '../src/containers/header' import Footer from '../src/containers/footer' import Main from '../src/containers/main' import Art from '../src/containers/art' import Fractals from '../src/conta...
lib/components/MapUrlTile.js
phantomlds/react-native-maps
import PropTypes from 'prop-types'; import React from 'react'; import { ViewPropTypes, } from 'react-native'; import decorateMapComponent, { USES_DEFAULT_IMPLEMENTATION, SUPPORTED, } from './decorateMapComponent'; const propTypes = { ...ViewPropTypes, /** * The url template of the tile server. The patt...
example/src/screens/Actions.js
snapme/react-native-navigation
import React from 'react'; import { StyleSheet, ScrollView } from 'react-native'; import Row from '../components/Row'; class Actions extends React.Component { constructor(props) { super(props); this._fab = false; this._rightButton = null; this._contextualMenu = false; this._toggleTabs = 'shown'...
public/src/Root.js
thomasjosephgreco/rejection
import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; import App from './App'; import { Router, Route, hashHistory, IndexRoute } from 'react-router'; import SignInForm from './user/SignIn' import Profile from './user/Profile' // import MuiThemeProvider from 'material-ui/...
node_modules/react-bootstrap/es/InputGroup.js
acalabano/get-committed
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 ...
test/test_helper.js
Mweeden36/react-app
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...
test/regressions/tests/Button/MultilineButton.js
Kagami/material-ui
import React from 'react'; import Button from '@material-ui/core/Button'; export default function MultilineButton() { return ( <Button variant="contained" style={{ width: 400 }}> {[ 'Raised buttons are rectangular-shaped buttons.', 'They may be used inline.', 'They lift and display ...
NavigationReactNativeWeb/sample/zoom/App.js
grahammendick/navigation
import React from 'react'; import {View} from 'react-native'; import {NavigationHandler} from 'navigation-react'; import {NavigationStack} from 'navigation-react-native'; import createStateNavigator from './createStateNavigator'; import ZoomShared from './ZoomShared'; var stateNavigator = createStateNavigator(); cons...
docs/app/Examples/elements/Step/Content/StepExampleDescriptions.js
ben174/Semantic-UI-React
import React from 'react' import { Step } from 'semantic-ui-react' const { Description, Group, Title } = Step const StepExampleDescriptions = () => ( <div> <Group> <Step> <Title>Shipping</Title> <Description>Choose your shipping options</Description> </Step> </Group> <br /> ...
packages/stockflux-launcher/src/search-results/SearchResults.js
ScottLogic/bitflux-openfin
import React from 'react'; import classNames from 'classnames'; import SearchResult from './SearchResult'; export default ({ results, paddingNeeded }) => results && results.length > 0 && ( <div className={classNames('cards', { 'padding-top': paddingNeeded })}> {results.map(result => ( <SearchResu...
src/svg-icons/image/photo-size-select-small.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePhotoSizeSelectSmall = (props) => ( <SvgIcon {...props}> <path d="M23 15h-2v2h2v-2zm0-4h-2v2h2v-2zm0 8h-2v2c1 0 2-1 2-2zM15 3h-2v2h2V3zm8 4h-2v2h2V7zm-2-4v2h2c0-1-1-2-2-2zM3 21h8v-6H1v4c0 1.1.9 2 2 2zM3 7H...
src/containers/home/home.js
psenger/ReactJS-Rapid-Prototype-Template
import React, { Component } from 'react'; import I18NInjector from '../../decorator/i18nInjector'; import PropTypes from 'prop-types'; @I18NInjector() export class Home extends Component { constructor (props) { super(props); this.displayName = 'containers/home'; } render () { let {translate} = this...
es/components/Chat/Markup/Code.js
welovekpop/uwave-web-welovekpop.club
import _objectWithoutProperties from "@babel/runtime/helpers/builtin/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; var Code = function Code(_ref) { var children = _ref.children, props = _objectWithoutProperties(_ref, ["children"]); return React.createElement("code"...
src/views/LoginView.js
abachuk/quotes
import React from 'react' import 'styles/core.scss' import Firebase from 'firebase' import constants from 'utils/constants' import { actions as authActions } from '../redux/modules/auth' import { connect } from 'react-redux' import { Link } from 'react-router' const ref = new Firebase(constants.FIREBASE) // let auth =...
app/main.js
epd/react-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore } from 'redux'; import reducers from './reducers'; import App from './components/App'; const store = createStore(reducers); ReactDOM.render(<App store={store} />, document.getElementById('main'));
examples/angular2/node_modules/bower-traceur-runtime/traceur-runtime.js
sammcgrail/todomvc
(function(global) { 'use strict'; if (global.$traceurRuntime) { return ; } var $Object = Object; var $TypeError = TypeError; var $create = $Object.create; var $defineProperties = $Object.defineProperties; var $defineProperty = $Object.defineProperty; var $freeze = $Object.freeze; var $getOwnProp...
ajax/libs/cyclejs-dom/2.1.1/cycle-web.js
cgvarela/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.CycleWeb = f()...
app/routes/home.server.routes.js
thedigitalgarage/cochera
'use strict'; module.exports = function(app) { // Root routing var home = require('../../app/controllers/home.server.controller'); var subscription = require('../../app/controllers/subscription.server.controller'); var events = require('../../app/controllers/events.server.controller'); var invoice = require('../....
src/containers/HotDetail/component/Recommend/Recommend.js
MeetDay/dreampark-web
import React from 'react'; import PropTypes from 'prop-types'; import { appendQiNiuQueryParamsForImageUrl } from '../../../../helpers/QiNiuHelpers' export default class Recommend extends React.Component { static propTypes = { recommend: PropTypes.object } render() { const styles = require(...
ajax/libs/forerunnerdb/1.3.484/fdb-legacy.min.js
seogi1004/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...
ajax/libs/foundation/4.0.9/js/vendor/jquery.min.js
yang/cdnjs
(function(e,t){function n(e){var t=e.length,n=lt.type(e);return lt.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e){var t=wt[e]={};return lt.each(e.match(ut)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(lt.acceptData(e)){var o,a,s=lt.expan...
src/templates/not-found-template.js
hb-gatsby/gatsby-starter-lumen
// @flow strict import React from 'react'; import Sidebar from '../components/Sidebar'; import Layout from '../components/Layout'; import Page from '../components/Page'; import { useSiteMetadata } from '../hooks'; const NotFoundTemplate = () => { const { title, subtitle } = useSiteMetadata(); return ( <Layout...
packages/react-devtools-shared/src/hooks/__tests__/__source__/__compiled__/inline/react-sources-extended/ContainingStringSourceMappingURL.js
yungsters/react
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Component = Component; var _react = _interopRequireWildcard(require("react")); var _jsxFileName = ""; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWil...
src/svg-icons/av/replay.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvReplay = (props) => ( <SvgIcon {...props}> <path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"/> </SvgIcon> ); AvReplay = pure(AvReplay); AvReplay...
examples/auth-with-shared-root/components/PageTwo.js
shunitoh/react-router
import React from 'react' const PageTwo = React.createClass({ render() { return <h2>Page Two! Wooo!</h2> } }) module.exports = PageTwo
ajax/libs/yui/3.5.0/datatable-body/datatable-body.js
chinakids/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isArray, ...
examples/React-Native.js
Adrianteri/hello-worlds
import React, { Component } from 'react'; import { Text } from 'react-native'; export default class HelloWorldApp extends Component { render() { return ( <Text>Hello world!</Text> ); } }
ajax/libs/swagger-ui/3.0.9/swagger-ui.js
tholu/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-polyfill"),require("deep-extend"),require("redux"),require("immutable"),require("redux-immutable"),require("serialize-error"),require("base64-js"),require("ieee754"),require("isarray"),require("shallowequal"),require("xml")...