path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
Examples/UIExplorer/Navigator/NavigatorExample.js
pairyo/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, ...
server/sonar-web/src/main/js/apps/projectActivity/components/forms/RemoveCustomEventForm.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info 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, o...
examples/good-times/index.js
loggur/react-redux-provide
import 'react-redux-provide/lib/install'; import React from 'react'; import { render } from 'react-dom'; import { reloadProviders } from 'react-redux-provide'; import { GoodTimes } from './components/index'; import defaultProps from './defaultProps'; function renderGoodTimes(props, element = document.getElementById('r...
stories/babylonjs/Basic/contextBridge.stories.js
brianzinn/react-babylonJS
import React from 'react' import { Engine, Scene } from '../../../dist/react-babylonjs' import { Vector3, Color3 } from '@babylonjs/core/Maths/math' import '../../style.css' export default { title: 'Babylon Basic' }; const ThemeContext = React.createContext({ color: Color3.Red(), posigion: Vector3.Zero(), ...
ajax/libs/webshim/1.14.6-RC1/dev/shims/combos/26.js
Nadeermalangadan/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
demo/include/react-dom.js
betterwaysystems/packer
/** * ReactDOM v15.1.0 * * 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...
static/js/jquery-ui-1.10.3/tests/jquery-1.6.4.js
thiagof/treeio
/*! * jQuery JavaScript Library v1.6.4 * 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. ...
test/LabelSpec.js
zanjs/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Label from '../src/Label'; describe('Label', function () { it('Should output a label with message', function () { let instance = ReactTestUtils.renderIntoDocument( <Label> <strong>Message</strong> </Labe...
src/components/BottomNavbar/index.js
MichelCreatingDev/React-OrderListTest
import React from 'react' import { Router } from 'react-router'; import CategoryImage from './assets/tab-category.png' import ClubsImage from './assets/tab-clubs.png' import MessagesImage from './assets/tab-messages.png' import SettingsImage from './assets/tab-settings.png' // import { LinkContainer, IndexLinkContainer...
assets/javascripts/kitten/components/action/social-button-icon-words/test.js
KissKissBankBank/kitten
import React from 'react' import { FacebookButtonIconWords, TwitterButtonIconWords, LinkedinButtonIconWords, InstagramButtonIconWords, } from './index' import renderer from 'react-test-renderer' import 'jest-styled-components' describe('SocialButtonIconWords', () => { let component describe('<FacebookButt...
src/components/GithubButton/GithubButton.js
rkxtd/react-devops-kit
import React from 'react'; const GithubButton = (props) => { const {user, repo, type, width, height, count, large} = props; let src = `https://ghbtns.com/github-btn.html?user=${user}&repo=${repo}&type=${type}`; if (count) src += '&count=true'; if (large) src += '&size=large'; return ( <iframe src=...
ajax/libs/angular.js/0.9.8/angular-scenario.js
wil93/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/components/navigation-bar.js
josebigio/PodCast
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { navigateTo } from '../actions' class NavigationBar extends Component { render() { const { selection } = this.props; return ( <div className="navigatio...
src/svg-icons/image/rotate-left.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageRotateLeft = (props) => ( <SvgIcon {...props}> <path d="M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1....
examples/03 Nesting/Drag Sources/index.js
pairyo/react-dnd
import React from 'react'; import Container from './Container'; export default class NestingDragSources { render() { return ( <div> <p> <b><a href='https://github.com/gaearon/react-dnd/tree/master/examples/03%20Nesting/Drag%20Sources'>Browse the Source</a></b> </p> <p> ...
examples/auth-with-shared-root/components/PageOne.js
nvartolomei/react-router
import React from 'react' const PageOne = React.createClass({ render() { return <h2>Page One!</h2> } }) export default PageOne
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-classes/node_modules/babel-traverse/lib/path/lib/virtual-types.js
wylie99998/OSUCS419RTS
"use strict"; exports.__esModule = true; exports.Flow = exports.Pure = exports.Generated = exports.User = exports.Var = exports.BlockScoped = exports.Referenced = exports.Scope = exports.Expression = exports.Statement = exports.BindingIdentifier = exports.ReferencedMemberExpression = exports.ReferencedIdentifier = und...
src/svg-icons/action/settings-applications.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsApplications = (props) => ( <SvgIcon {...props}> <path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c...
docs/app/Examples/elements/Image/Variations/ImageSpacedExample.js
jcarbo/stardust
import React from 'react' import { Segment, Image } from 'stardust' const src = 'http://semantic-ui.com/images/wireframe/image.png' const ImageSpacedExample = () => ( <div> <Segment> <p> Te eum doming eirmod, nominati pertinacia <Image src={src} size='mini' spaced /> argumentum ad his. Ex eam alia...
lib/octicons_react/script/build.js
primer/octicons
#!/usr/bin/env node const octicons = require('../../build/data.json') const fse = require('fs-extra') const {join, resolve} = require('path') const srcDir = resolve(__dirname, '../src/__generated__') const iconsFile = join(srcDir, 'icons.js') const typesFile = join(srcDir, 'icons.d.ts') const GENERATED_HEADER = '/* T...
src/svg-icons/image/filter-2.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter2 = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 ...
packages/material-ui-icons/src/ShowChartSharp.js
lgollut/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99l1.5 1.5z" /> , 'ShowChartSharp');
packages/wix-style-react/src/ComposerHeader/ComposerHeader.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import ArrowLeft from 'wix-ui-icons-common/ArrowLeft'; import { st, classes } from './ComposerHeader.st.css'; import TextButton from '../TextButton'; import Text from '../Text/Text'; import { dataHooks } from './constants'; const ComposerHeaderActions = (...
src/parser/deathknight/unholy/modules/features/AlwaysBeCasting.js
FaideWW/WoWAnalyzer
import React from 'react'; import CoreAlwaysBeCasting from 'parser/shared/modules/AlwaysBeCasting'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import SpellLink from 'common/SpellLink'; class AlwaysBeCasting ex...
ajax/libs/yui/3.4.0/event-focus/event-focus-debug.js
BenjaminVanRyseghem/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, useActivate = YLang.isFunction( Y.DOM.create('<p onbeforeactivate="...
squealy/squealy-web/src/Components/ApiDesignView.js
swapnil95/squealy
import React, {Component} from 'react' import QueryEditor from './QueryEditor' import ResultSection from './ResultSection' import TabsComponent from './TabsComponent' import ViewOnlyResults from './ViewModeResults' export default class ApiDesignView extends Component { render() { const { chart, selec...
src/pages/exhibitions.js
thevangelist/esajuhana-2018
import React from 'react' import Helmet from 'react-helmet' import Link from 'gatsby-link' import styled from 'styled-components' import glyphs from './exhibitions/glyphs-2019.jpg' import kek from './exhibitions/kek-2018.jpg' import kansalaisopisto from './exhibitions/kansalaisopisto-2018.jpg' const ExhLink = styled.a...
packages/icons/src/md/action/ShopTwo.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdShopTwo(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M36 11h10v22c0 2.21-1.79 4-4 4H14c-2.21 0-4-1.79-4-4V11h10V7c0-2.21 1.79-4 4-4h8c2.21 0 4 1.79 4 4v4zM24 7v4h8V7h-8zm0 24l11-8-11-6v14zM6 19H2v22c0 2...
packages/react-relay/index.js
atxwebs/relay
/** * 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 strict-local * @format */ // flowlint ambiguous-object-type:error 'use strict'; const EntryPointContainer = require('....
ajax/libs/primereact/6.5.0-rc.1/splitbutton/splitbutton.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { Button } from 'primereact/button'; import { classNames, ObjectUtils, ZIndexUtils, DomHandler, ConnectedOverlayScrollHandler, UniqueComponentId } from 'primereact/utils'; import { CSSTransition } from 'primereact/csstransition'; import { Portal } from 'primereact/portal...
packages/material-ui-icons/src/Explore.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l...
packages/material-ui-icons/src/EventNote.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M17 10H7v2h10v-2zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-5-5H7v2h7...
app/components/ListItem/index.js
guruganeshm/ReactJs
import React from 'react'; import Item from './Item'; import Wrapper from './Wrapper'; function ListItem(props) { return ( <Wrapper> <Item> {props.item} </Item> </Wrapper> ); } ListItem.propTypes = { item: React.PropTypes.any, }; export default ListItem;
examples/with-redux/pages/other.js
arunoda/next.js
import React from 'react' import { bindActionCreators } from 'redux' import { initStore, startClock, addCount, serverRenderClock } from '../store' import withRedux from 'next-redux-wrapper' import Page from '../components/Page' class Counter extends React.Component { static getInitialProps ({ store, isServer }) { ...
src/rocks/timeline-tab/toolbar/TimelineSelector.js
animachine/animachine
import React from 'react' import QuickInterface from 'quick-interface' import {transaction} from 'afflatus' import {Panel} from 'react-matterkit' import {createNameSettings} from '../utils' import OverlayPanel from './OverlayPanel' export default class TimelineSelector extends React.Component { render () { cons...
src/components/ConnectorWidget/index.js
jdpigeon/neurodoro
// index.js (ConnectorWidget) // Binds Redux state to component's props and redux actions to component's props import Component from './component'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { getAndConnectToDevice, setConnectionStatus, } from '../../redux/actions'; /...
local-cli/bundle/buildBundle.js
pglotov/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. */ 'use strict...
packages/material-ui-icons/src/FiberDvrRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4.5 10.5h2v3h-2zM17.5 10.5h2v1h-2z" /><path d="M21 3H3c-1.11 0-2 .89-2 2v14c0 1.1.89 2 2 2h18c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zM8 13.5c0 .83-.67 1.5-1.5 1.5h-3c-.28 0-.5-.22-.5-.5v-...
app/javascript/mastodon/features/ui/util/reduced_motion.js
5thfloor/ichiji-social
// Like react-motion's Motion, but reduces all animations to cross-fades // for the benefit of users with motion sickness. import React from 'react'; import Motion from 'react-motion/lib/Motion'; import PropTypes from 'prop-types'; const stylesToKeep = ['opacity', 'backgroundOpacity']; const extractValue = (value) =>...
website/modules/components/Home/Video.js
DelvarWorld/react-router
import React from 'react' import { Block } from 'jsxstyle' import { DARK_GRAY } from '../../Theme' const Video = () => ( <Block background={DARK_GRAY} color="white" padding="80px 0" > <Block height="45vw" width="80vw" margin="auto" background={DARK_GRAY} boxShadow="0px...
ajax/libs/styled-components/5.3.5/styled-components.js
cdnjs/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react-is"),require("react")):"function"==typeof define&&define.amd?define(["react-is","react"],t):(e=e||self).styled=t(e.ReactIs,e.React)}(this,(function(e,t){"use strict";var r="default"in e?e.default:e,n="default"in t?t.defa...
ajax/libs/react-bootstrap-table/0.8.7/react-bootstrap-table.min.js
extend1994/cdnjs
!function e(t,o,a){function n(s,l){if(!o[s]){if(!t[s]){var c="function"==typeof require&&require;if(!l&&c)return c(s,!0);if(r)return r(s,!0);var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}var p=o[s]={exports:{}};t[s][0].call(p.exports,function(e){var o=t[s][1][e];return n(o?o:e)},p,p.ex...
src/svg-icons/places/free-breakfast.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesFreeBreakfast = (props) => ( <SvgIcon {...props}> <path d="M20 3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zm0 5h-2V5h2v3zM4 19h16v2H4z"/> </SvgIcon> ); PlacesFre...
src/Avatar/__tests__/Avatar.native.js
Fineighbor/ui-kit
/* eslint-env jest */ import React from 'react' import { shallow } from 'enzyme' import Avatar from '../index.ios.js' import { Base, Label } from '../base' import Text from '../../Text' const diveToBase = wrapper => wrapper.find(Base).dive() const diveToLabel = wrapper => wrapper.find(Base).dive().find(Label).dive() ...
client/src/components/new-word/new-word-component.js
jesusreal/learn-with-jesus
import React from 'react'; import WordsSvc from '../../words-service'; import {WORDS_METADATA, WORD_TYPES} from './../../constants'; import $ from 'jquery'; export default class NewWordComponent extends React.Component { constructor(props) { super(props); this.state = { selectedWordType: 'name', ...
src/svg-icons/maps/local-see.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalSee = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5...
example/Example.js
jodybrewster/react-native-linkedin-login
'use strict'; import React, { Component } from 'react'; import { StyleSheet, View, Text, Image, Button, TouchableOpacity, AsyncStorage } from 'react-native'; import LinkedinLogin from 'react-native-linkedin-login'; class example extends Component { constructor(props) { super(props); thi...
src/routes/List/components/List.js
nnti3n/pc-checker-client
/* @flow */ import React from 'react' import Price from '../../../components/Price' class List extends React.Component { constructor () { super() console.log('hello') } componentDidMount () { console.log('mounted', this.props) this.props.fetchList(this.props.id) } render () { if (!this.pr...
packages/react-scripts/template/src/App.js
brysgo/create-react-app
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welco...
client/App.js
Gin-And-Tomic/tune-stream
/** * Root Component */ import React from 'react'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; // Import Routes import routes from './routes'; export default function App(props) { return ( <Provider store={props.store}> <Router history={browserHistory}>...
tests/components/AutoComplete.spec.js
BrandyMint/uvedomi-proto
import React from 'react' import AutoComplete from 'components/AutoComplete/AutoComplete' describe('(Component) AutoComplete', () => { it('should exist', () => { }) })
samples/react-1/lib/App.js
abouthiroppy/sweetpack
import React from 'react'; import styles from './style.css'; const App = () => ( <div> <h1 className={styles.title}>sample</h1> <input /> <div className={styles.js} /> </div> ); export default App;
packages/material-ui/src/ButtonBase/ButtonBase.js
cherniavskii/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; import keycode from 'keycode'; import { polyfill } from 'react-lifecycles-compat'; import ownerWindow from '../utils/ownerWindow'; import withStyles from '../styles/withStyles'; import {...
libs/jquery/jquery.js
lostants/GruntDemo
/*! * jQuery JavaScript Library v1.9.0 * 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-1-14 */ (function( window, undefined ) { "use strict";...
app/components/Geschaefte/RowRenderer.js
barbalex/kapla3
import React from 'react' import PropTypes from 'prop-types' import GeschaefteItem from './GeschaefteItem' const RowRenderer = ({ key, index, style }) => ( <div key={key} style={style}> <GeschaefteItem index={index} /> </div> ) RowRenderer.propTypes = { key: PropTypes.number.isRequired, index: PropTypes....
app/components/Img/index.js
ParkarDev/react-resume
/** * * Img.react.js * * Renders an image, enforcing the usage of the alt="" tag */ import React from 'react'; function Img(props) { return ( <img className={props.className} src={props.src} alt={props.alt} /> ); } // We require the use of src and alt, only enforced by react in dev mode Img.propTypes ...
ajax/libs/6to5/1.12.4/browser.js
lobbin/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.to5=e()}}(function(){var define,module,exports;return...
stories/MixLineBar.js
jerairrest/react-chartjs-2
import React from 'react'; import {Bar} from 'react-chartjs-2'; import { storiesOf, action, linkTo } from '@kadira/storybook'; const options = { responsive: true, tooltips: { mode: 'label' }, elements: { line: { fill: false } }, scales: { xAxes: [ { display: true, ...
src/components/Sidebar/SidebarLinksList.js
vogelino/design-timeline
import React from 'react'; import PropTypes from 'prop-types'; const SidebarLinksList = ({ externalLinks }) => ( <ul className="sidebar_externallinks"> {externalLinks.map((url, index) => ( <li key={url} className="sidebar_externallink"> <a href={url} title={`Link ${index + 1}`} target="_blank"...
src-client/scripts/reviews.js
iLuggit/iLuggit
import Backbone from 'backbone'; import React from 'react'; import ReactDOM from 'react-dom'; import ACTIONS from './ACTiONS.js'; import STORE from './STORE.js'; import AppController from './lugg-view-controller.js'; const showReviews = React.createClass({ render:function(){ let reviews = this.props.newRev...
app/client/routes.js
steelkiwi/hunting-kiwi
import React, { Component } from 'react'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import App from './components/app/app.js'; import HomePage from './components/home-page/home-page.js'; import ProfilePage from './components/profile-page/profile-page.js'; import NotFoundPage from './com...
project/src/components/App/App.js
strues/boldr
/* eslint-disable no-unused-vars, import/max-dependencies */ /* @flow */ import React from 'react'; import type { Element } from 'react'; import Helmet from 'react-helmet'; // internal import '../../styles/main.scss'; // Start routes import boldrNotificationsFactory, { Notif } from '../Notifications'; import Root from ...
ajax/libs/6to5/1.13.3/browser-polyfill.js
SirenHound/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
app/components/Skills/index.js
theClubhouse-Augusta/JobWeasel-FrontEnd
/** * * Skills * */ import React from 'react'; import ReactTags from 'react-tag-autocomplete'; import './style.css'; import './styleM.css'; export default class Skills extends React.PureComponent { constructor (props) { super(props); this.state = { notification: "", user_id: "", tags: []...
components/react-semantify/src/elements/rail.js
react-douban/douban-book-web
import React from 'react'; import ClassGenerator from '../mixins/classGenerator'; let defaultClassName = 'ui rail'; const Rail = React.createClass({ mixins: [ClassGenerator], render: function () { let {className, ...other} = this.props; return ( <div {...other} className={this.getClassName(defau...
ajax/libs/riot/2.6.7/riot+compiler.js
honestree/cdnjs
/* Riot v2.6.7, @license MIT */ ;(function(window, undefined) { 'use strict'; var riot = { version: 'v2.6.7', settings: {} }, // be aware, internal usage // ATTENTION: prefix the global dynamic variables with `__` // counter to give a unique id to all the Tag instances __uid = 0, // tags instances cache ...
imports/plugins/core/orders/client/components/totalActions.js
Thalhalla/reaction
import React, { Component } from "react"; import PropTypes from "prop-types"; import { formatPriceString } from "/client/api"; class TotalActions extends Component { static propTypes = { adjustedTotal: PropTypes.number, invoice: PropTypes.object, isAdjusted: PropTypes.func } renderCapturedTotal() { ...
src/app/createApp.js
dyygtfx/react-redux-boilerplate
import React from 'react'; import { Provider } from 'react-redux'; import Router from './router'; const createApp = (store, history) => ( <Provider store={store}> <Router history={history} /> </Provider> ); export default createApp;
src/components/FilterBar.js
chiefwhitecloud/running-man-frontend
import React from 'react'; import PropTypes from 'prop-types'; export default class FilterBar extends React.Component { constructor(props) { super(props); this.state = {dropdownOpen: false}; } show(evt) { if (evt.target.className == 'dropdown-menu' && !this.state.dropdownOpen){ this.setState({ dr...
client/views/Input/Input.spec.js
alexpalombaro/react-redux-starter-kit
/*eslint-env browser, phantomjs, es6, mocha, jasmine*/ /*eslint-disable no-unused-expressions, no-debugger*/ import React from 'react'; import InputView from './Input.spec.js'; describe('(view) Input', function () { it('Should have a test that works with Chai expectations.', function () { }); });
docs/src/pages/components/lists/NestedList.js
kybarg/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import ListSubheader from '@material-ui/core/ListSubheader'; import List from '@material-ui/core/List'; import ListItem from '@material-ui/core/ListItem'; import ListItemIcon from '@material-ui/core/ListItemIcon'; import ListItemText from...
app/containers/Root.js
yianL/focus-group-tool
// @flow import React from 'react'; import { Provider } from 'react-redux'; import { Router } from 'react-router'; import routes from '../routes'; type RootType = { store: {}, history: {} }; export default function Root({ store, history }: RootType) { return ( <Provider store={store}> <Router history=...
packages/wix-style-react/src/Input/Affix/Affix.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import { st, classes } from './Affix.st.css'; import InputConsumer from '../InputConsumer'; import { FontUpgradeContext } from '../../FontUpgrade/context'; const Affix = ({ children, value }) => ( <InputConsumer consumerCompName={Affix.displayName}> ...
src/svg-icons/places/airport-shuttle.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesAirportShuttle = (props) => ( <SvgIcon {...props}> <path d="M17 5H3c-1.1 0-2 .89-2 2v9h2c0 1.65 1.34 3 3 3s3-1.35 3-3h5.5c0 1.65 1.34 3 3 3s3-1.35 3-3H23v-5l-6-6zM3 11V7h4v4H3zm3 6.5c-.83 0-1.5-.67-1.5-1....
ajax/libs/forerunnerdb/1.3.46/fdb-all.min.js
CyrusSUEN/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/yui/3.13.0/datatable-core/datatable-core-debug.js
victorjonsson/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
js/dest/libs/jquery-1.11.0.min.js.src.js
AlexBeauchemin/startjs
/*! jQuery v1.11.0 | (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/svg-icons/action/input.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInput = (props) => ( <SvgIcon {...props}> <path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"/> </...
src/components/const/snacbar.js
motion123/mbookmakerUI
/** * Created by tomihei on 17/03/27. */ import React from 'react'; import Snackbar from 'material-ui/Snackbar'; export default class Snack extends React.Component { render() { const { open, closeSnackbar, message, } = this.props; return ( <Snackbar open={open} ...
app/containers/App.js
flocks/ledger-test
// @flow import React, { Component } from 'react'; import type { Children } from 'react'; export default class App extends Component { props: { children: Children }; render() { return ( <div> {this.props.children} </div> ); } }
example/examples/FitToSuppliedMarkers.js
ksincennes/react-native-maps
import React from 'react'; import { StyleSheet, View, Dimensions, } from 'react-native'; import MapView from 'react-native-maps'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.78825; const LONGITUDE = -122.4324; const LATITUDE_DELTA = 0.0922; const...
examples/huge-apps/routes/Course/routes/Announcements/components/Sidebar.js
apoco/react-router
import React from 'react'; import { Link } from 'react-router'; export default class AnnouncementsSidebar extends React.Component { static loadProps (params, cb) { console.log('AnnouncementsSidebar', 'loadProps'); cb(null, { announcements: COURSES[params.courseId].announcements }); } render (...
app/components/AddUser/UserSelect/index.js
prudhvisays/newsb
import React from 'react'; import Select, { Option } from 'rc-select'; import 'rc-select/assets/index.css'; import { session, userRole, userRoleType } from '../../../Api/ApiConstants'; export default class UserSelect extends React.Component { //eslint-disable-line constructor(props) { super(props); this.stat...
node_modules/react-svg-pan-zoom/build-es/ui-toolbar/toolbar-button.js
SpatialMap/SpatialMapDev
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
src/svg-icons/device/battery-charging-80.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging80 = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V9h4.93L13 7v2h4V5.33C17 4.6 16.4 4 15.67 4z"/><path d="M13 12.5h2L11 20v-5.5H9L11...
ajax/libs/shariff/1.3.3/shariff.min.js
tholu/cdnjs
/* * shariff - v1.3.2 - 25.11.2014 * https://github.com/heiseonline/shariff * Copyright (c) 2014 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT <http://www.opensource.org/licenses/mit-license.php> license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){...
ajax/libs/react-dom/16.1.0/cjs/react-dom-test-utils.development.js
joeyparrish/cdnjs
/** @license React v16.1.0 * react-dom-test-utils.development.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (function...
sites/all/modules/contrib/devel/jquery-1.4.4-uncompressed.js
front/commerce
/*! * jQuery JavaScript Library v1.4.4 * 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. ...
jenkins-design-language/src/js/components/material-ui/svg-icons/content/link.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ContentLink = (props) => ( <SvgIcon {...props}> <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 ...
ajax/libs/thorax/2.0.0rc2/thorax.min.js
kennynaoh/cdnjs
(function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ...
src/parser/warlock/destruction/modules/talents/Shadowburn.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import AbilityTracker from 'parser/shared/modules/AbilityTracker'; import Events from 'parser/core/Events'; import SPELLS from 'common/SPELLS'; import { formatThousands, formatNumber, formatPercentage } from 'common/format'; ...
ajax/libs/bla/1.4.0/bla.js
MMore/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.9 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { var undef, nextTick = (function() { ...
blueocean-dashboard/src/main/js/creation/github/GithubFlowManager.js
ModuloM/blueocean-plugin
import React from 'react'; import { action, computed, observable } from 'mobx'; import { sseService } from '@jenkins-cd/blueocean-core-js'; import { logging } from '@jenkins-cd/blueocean-core-js'; import waitAtLeast from '../flow2/waitAtLeast'; import FlowManager from '../flow2/FlowManager'; import STATE from './Git...
app/collections/collections-create-form.spec.js
jelliotartz/Panoptes-Front-End
/* eslint prefer-arrow-callback: 0, func-names: 0, 'react/jsx-filename-extension': [1, { "extensions": [".js", ".jsx"] }] */ import React from 'react'; import assert from 'assert'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import CollectionsCreateForm from './collections-create-form'; describe('<Co...
js/components/Monitoring.js
msldiarra/signals-ui
import React from 'react'; import Relay from 'react-relay'; import moment from 'moment'; moment.locale('fr'); class Monitoring extends React.Component { render() { var {monitoring} = this.props.viewer; return ( <div> <div className="page-header"> ...
docs/src/Root.js
joemcbride/react-playground
import React from 'react'; class Root extends React.Component { render() { return ( <html> <head> <link href='assets/bundle.css' rel='stylesheet' /> </head> <body> <div id='app' dangerouslySetInnerHTML={{__html: this.props.markup}}></div> <script src='a...
client/components/UserInfo.js
Lendr-Codesmith/Lendr
import React, { Component } from 'react'; // To be completed... class UserInfo extends Component { render() { return ( <div> <div className="flex-grid"> <div className="col">Stuff I Lent</div> <div className="col">Stuff I Borrow</div> </div> </div> ); } } e...
docs/pages/customization/globals.js
lgollut/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'customization/globals'; const requireDemo = require.context('docs/src/pages/customization/globals', false, /\.(js|tsx)$/); const ...
example/__tests__/index.android.js
davidstoneham/react-native-get-sms-android
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/mixins/CartesianChartPropsMixin.js
yashprit/react-d3
'use strict'; var React = require('react'); var d3 = require('d3'); module.exports = { propTypes: { axesColor: React.PropTypes.string, colors: React.PropTypes.func, colorAccessor: React.PropTypes.func, data: React.PropTypes.array.isRequired, height: ...