path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
modules/bibedit/lib/bibedit_holdingpen.js
ashhher3/invenio
/* * This file is part of Invenio. * Copyright (C) 2010, 2011 CERN. * * Invenio is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. ...
src/MovableObject.js
react-vienna/react-challenge
import React, { Component } from 'react'; export default class extends Component { state = { toggled: false, offset: { x: 0, y: 0 } } handleMouseDown(event) { this.setState({ toggled: true }); } handleMouseUp(event) { this.setState({ toggled: false }); ...
src/index.js
amberleyromo/cboard
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { PersistGate } from 'redux-persist/es/integration/react'; import configureStore, { getStore } from './store'; import SpeechProvider from './components/SpeechProvider'; import LanguageProvider from './components...
client/modules/Main/__tests__/components/PostList.spec.js
Blaumeiser/dronegames
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import PostList from '../../components/PostList'; const posts = [ { name: 'Prashant', title: 'Hello Mern', slug: 'hello-mern', cuid: 'f34gb2bh24b24b2', content: "All cats meow 'mern!'" }, { name: 'Mayank', title: 'Hi Mern', slug: ...
src/routes/homepage/index.js
yunqiangwu/kmadmin
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'dva' import { Loader } from 'components' import styles from './index.less' const bodyStyle = { bodyStyle: { height: 432, background: '#fff', }, } function Homepage ({ homepage, loading }) { return ( <div style={bod...
admin/src/components/Footer.js
mekanics/keystone
import blacklist from 'blacklist'; import classnames from 'classnames'; import React from 'react'; import { Container } from 'elemental'; var Footer = React.createClass({ displayName: 'Footer', propTypes: { appversion: React.PropTypes.string, backUrl: React.PropTypes.string, brand: React.PropTypes.string, Us...
examples/flux-utils-todomvc/js/app.js
Lhuihui/flux
/** * Copyright (c) 2014, 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 */ 'use s...
app/containers/NotFoundPage/index.js
MaleSharker/Qingyan
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route */ import React from 'react'; import { FormattedMessage } from 'react-intl'; import H1 from 'components/H1'; import messages from './messages'; export default function NotFound() { return ( <article> ...
client/react/PanelManager.js
uclaradio/uclaradio
// home.html // let DJ edit personal info import React from 'react'; import ReactDOM from 'react-dom'; import { Grid, Row, Col, Well, Panel, Button } from 'react-bootstrap'; // Panel Elements import ActionTable from './panel/ActionTable'; import PanelLinksNavbar from './panel/PanelLinksNavbar'; import ShowList from '...
src/components/Bio/index.js
TheodorTomas/theodortomas.github.io
/** * Render the bio as a unordered list. */ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { COLORS } from '../../containers/App/theme'; export const StyledDiv = styled.div` /* Flex-box */ display: flex; flex-flow: row wrap; justify-content: cen...
src/index.js
orouvinen/dnf-ranks-frontend
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import './index.css'; import App from './App'; import PlayerDetailsContainer from './containers/player-details-container'; import IndexLayout from '...
packages/babel-plugin-chameleon-import/test/fixtures/modules-false/actual.js
didi/chameleon
import React from 'react'; import ReactDom from 'react-dom'; import { Button } from 'antd'; ReactDOM.render(<div> <Button>xxxx</Button> </div>, document.getElementById('react-container'));
ajax/libs/js-data-http/3.0.0-alpha.3/js-data-http.js
AMoo-Miki/cdnjs
/*! * js-data-http * @version 3.0.0-alpha.3 - Homepage <http://www.js-data.io/docs/dshttpadapter> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2016 Jason Dobry * @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE> * * @overview HTTP (XHR) adapter for js-data in the browser....
src/input-field/index.js
Bilprospekt/bilprospekt-ui
import React, { Component } from 'react'; import classNames from 'classnames'; import EventUtil from '../helpers/EventUtil.js'; import $ from 'jquery'; import _ from 'underscore'; const BuiInputField = React.createClass({ propTypes: { hint: ...
src/svg-icons/navigation/arrow-drop-up.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationArrowDropUp = (props) => ( <SvgIcon {...props}> <path d="M7 14l5-5 5 5z"/> </SvgIcon> ); NavigationArrowDropUp = pure(NavigationArrowDropUp); NavigationArrowDropUp.displayName = 'NavigationArrowDrop...
src/Radio/macOs/index.js
gabrielbull/react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Hidden, { hiddenPropTypes } from '../../style/hidden'; import Radium, { getState } from 'radium'; import styles from './styles/10.11'; import Text from '../../Text/macOs'; import Circle from './Circle'; import ValueRef from '../../Valu...
client/components/lanes/lanes.js
gdumitrescu/aggregator
import React, {Component} from 'react' import {Card, CardHeader, CardTitle, CardText} from 'material-ui' import {AlertError, AlertWarning, ActionDone} from 'material-ui/svg-icons' import {red700, yellow700, green700} from 'material-ui/styles/colors' import './lanes.styl' export default class Lanes extends Component {...
packages/material-ui-icons/src/WrapTextTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M4 17h6v2H4z" /><path d="M17 11H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4zM4 5h16v2H4z" /></g></Re...
src/index.js
dpastoor/chatterbox
import React from 'react'; import { render } from 'react-dom' import App from './App.jsx' render(<App name="React" />, document.getElementById('root'));
src/components/common/Navigation.js
mdicarlo3/cautious-disco
import React from 'react'; import { Link } from 'react-router'; const Navigation = () => { return( <nav className="navigation"> <ul> <li><Link to="/">Home</Link></li> <li><Link to="/adventures">Adventures</Link></li> <li><Link to="/map">Map</Link></li> <li><Link to="/stay">s...
EntitySearch/EntitySearch.Demo.Web/Scripts/jquery-1.10.2.min.js
jesslilly/feline-search
/* 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...
js/jqwidgets/demos/react/app/datetimeinput/templates/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDateTimeInput from '../../../jqwidgets-react/react_jqxdatetimeinput.js'; class App extends React.Component { render() { return ( <div> <div>Default</div> <JqxDateTimeInput ...
wegas-app/src/main/node/wegas-react-form/src/Views/Interacting/eventselect.js
Heigvd/Wegas
import PropTypes from 'prop-types'; import React from 'react'; import Select from '../select'; import { getY } from '../../index'; const choices = currentValue => () => new Promise(resolve => { const gmId = getY().Wegas.Facade.GameModel.cache.get('currentGameModelId'); getY().Wegas.Facade.GameModel.cache.sendR...
src/server/lib/node/js/components/Dialogue/Dialogue.js
me-box/platform-sdk
//import React, { Component } from 'react'; import {NODE_EDITOR_PADDING, PALETTE_WIDTH, TOOLBAR_HEIGHT} from '../../constants/ViewConstants'; //import Toolbar from 'react-md/lib/Toolbars'; import './dialogue.scss'; //import Button from 'react-md/lib/Buttons'; import Toolbar from '../Toolbar'; class Dialogue extends R...
static/js/jquery-1.12.3.min.js
syed-mohsin/solar-map
/*! jQuery v1.12.3 | (c) jQuery Foundation | 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 window?window:this,fu...
examples/client/index.js
ninja/ninja
import 'babel-polyfill'; import {Provider} from 'react-redux'; import React from 'react'; import {Router} from 'react-router'; import {createHistory} from 'history'; import {createStore} from 'redux'; import {reducers} from './reducers'; import {render} from 'react-dom'; import {routes} from './routes'; const history ...
src/js/Components/Heart.js
gabsprates/facomp-quiz
import React from 'react'; export default function Heart(props) { let duracao = (function(beat) { if (beat == 0) { return 0; } else if (beat < 40) { beat = 40; } else if (beat > 120) { beat = 120; } return 40 / (( beat / 0.22222 ) - 140); })(props.beat); const iconStyle = ...
ajax/libs/vis/1.0.0/vis.js
icco/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 1.0.0 * @date 2014-05-02 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
src/components/prompts/ErrorListener.js
codeforboston/cliff-effects
import React from 'react'; /** * Prompt for latest uncaught error. * @extends React.Component * * @param props {object} * @param props.callback {onLeaveCallback} * @param props.askForFeedback {function} */ class ErrorListener extends React.Component { handleError = ({ error }) => { let promptData = { ...
frontend/tests/components/banned-page.js
1905410/Misago
import assert from 'assert'; import moment from 'moment'; // jshint ignore:line import React from 'react'; // jshint ignore:line import BannedPage from 'misago/components/banned-page'; // jshint ignore:line import * as testUtils from 'misago/utils/test-utils'; describe("Banned page", function() { afterEach(function(...
ajax/libs/rxjs/2.2.2/rx.js
viskin/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
examples/todo/js/components/TodoListFooter.js
Aweary/relay
/** * This file provided by Facebook is 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, * FITNES...
ajax/libs/yui/3.4.0pr2/event-custom-base/event-custom-base-debug.js
xymostech/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
pkg/interface/soto/src/js/components/input.js
jfranklin9000/urbit
import React, { Component } from 'react'; import { store } from '../store'; import { api } from '../api'; import { cite } from '../lib/util'; import { Spinner } from './lib/icons/icon-spinner'; export class Input extends Component { constructor(props) { super(props); this.state = { awaiting: false, ...
src/index.js
dsbrower/boilerplate-react-redux
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware()(createStore); ReactDOM.render...
src/svg-icons/device/bluetooth-searching.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBluetoothSearching = (props) => ( <SvgIcon {...props}> <path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-.9...
grails-app/assets/javascripts/dependencies/node_modules/react-router/es6/IndexRoute.js
puaykai/noodles
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { component, components, falsy } from './InternalPropTypes'; var func = React.PropTypes.func; /** * An <IndexRoute> i...
src/SideNav.js
chris-gooley/react-materialize
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import idgen from './idgen'; class SideNav extends Component { constructor (props) { super(props); this.id = props.id || `sidenav_${idgen()}`; } componentDidMount () { const { options = {} } = this.props; $(this._trigg...
services/ui/src/components/AddTask/components/Empty.js
amazeeio/lagoon
import React from 'react'; export default () => <React.Fragment></React.Fragment>;
ajax/libs/ionic/0.9.25/js/ionic.js
itvsai/cdnjs
/*! * Copyright 2014 Drifty Co. * http://drifty.com/ * * Ionic, v0.9.25 * A powerful HTML5 mobile app framework. * http://ionicframework.com/ * * By @maxlynch, @helloimben, @adamdbradley <3 * * Licensed under the MIT license. Please see LICENSE for more information. * */ ; // Create namespaces window.ioni...
ajax/libs/react-native-web/0.13.12/vendor/react-native/Animated/createAnimatedComponent.js
cdnjs/cdnjs
/** * Copyright (c) 2015-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. * * * @format */ 'use strict'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.leng...
client/vehicle-finder-spa/src/components/registration/registration-form.js
Del7a/vehicle-finder
import React, { Component } from 'react'; export default class Form extends Component { constructor(props) { super(props); this.state = { touched: { username: false, password: false, } }; this.validate = this.validat...
src/services/client/client.js
grxy/boilerplate
import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import { Provider } from 'react-redux'; import { BrowserRouter } from 'react-router-dom'; import App from 'components/App'; import { createStore } from 'services/redux/store'; const init = () => { const...
mobile/src/App.js
lnmx/goread
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import idbKeyval from 'idb-keyval'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import AppBar from 'material-ui/AppBar'; import Dialog from 'material-ui/Dialog'; import IconButton from 'material-ui/IconButton'; import ...
src/ReactBoilerplate/Scripts/containers/Manage/Manage.js
pauldotknopf/react-dot-net
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { Row, Col, Nav, NavItem } from 'react-bootstrap'; import { LinkContainer } from 'react-router-bootstrap'; class Manage extends Component { static propTypes = { children: PropTypes.object.isRequired }; render()...
index.js
MingSeng-W/dva-demo
import React from 'react'; import dva ,{connect} from 'dva'; import '.style.css'
src/PickADateTime/lib/jquery-1.11.2.js
chadevansMX/PickADateTime
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function( global, factory ) { if ...
src/svg-icons/maps/local-convenience-store.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalConvenienceStore = (props) => ( <SvgIcon {...props}> <path d="M19 7V4H5v3H2v13h8v-4h4v4h8V7h-3zm-8 3H9v1h2v1H8V9h2V8H8V7h3v3zm5 2h-1v-2h-2V7h1v2h1V7h1v5z"/> </SvgIcon> ); MapsLocalConvenienceStore = ...
ajax/libs/jquery/1.10.1/jquery.min.js
jrbasso/cdnjs
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim...
pages/catalog.js
sgmap/inspire
import React from 'react' import PropTypes from 'prop-types' import {flowRight, get} from 'lodash' import getConfig from 'next/config' import {_get, _post} from '../lib/fetch' import {isObsolete} from '../lib/catalog' import attachI18n from '../components/hoc/attach-i18n' import withErrors from '../components/hoc/wit...
ajax/libs/js-data/1.0.0-alpha.4-3/js-data.js
wmkcc/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file js-data.js * @version 1.0.0-alpha.4-3 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined...
actor-apps/app-web/src/app/components/dialog/MessagesSection.react.js
boyley/actor-platform
import React from 'react'; import _ from 'lodash'; import VisibilityStore from 'stores/VisibilityStore'; import MessageActionCreators from 'actions/MessageActionCreators'; import MessageItem from 'components/common/MessageItem.react'; let _delayed = []; let flushDelayed = () => { _.forEach(_delayed, (p) => { ...
react-flux-mui/js/material-ui/src/Divider/Divider.spec.js
pbogdan/react-flux-mui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Divider from './Divider'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Divider />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallow(node, {contex...
ajax/libs/mobx/2.1.7/mobx.umd.min.js
cdnjs/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ !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:...
ajax/libs/history/4.0.0-0/history.js
emmy41124/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["History"] = factory(); else root["Histo...
ajax/libs/forerunnerdb/1.3.727/fdb-core+views.js
brix/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...
packages/react-instantsearch-dom/src/components/Menu.js
algolia/react-instantsearch
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { translatable } from 'react-instantsearch-core'; import { createClassNames } from '../core/utils'; import Highlight from '../widgets/Highlight'; import List from './List'; import Link from './Link'; const cx = createClassNames('Menu'...
ajax/libs/rxjs/4.0.5/rx.lite.extras.compat.js
pombredanne/cdnjs
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
pootle/static/js/admin/app.js
translate/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import 'imports?Backbone=>require("backbone")!backbone-mov...
src/icons/Replay10Icon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class Replay10Icon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M24 10V2L14 12l10 10v-8c6.6 0 12 5.4 12 12s-5.4 12-12 12-12-5.4-12-12H8c0 8.8 7.2 16 16 16s16-7.2 16-16-7...
packages/material-ui-icons/src/FilterTiltShiftRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M11 3.23c0-.64-.59-1.13-1.21-.99-1.12.26-2.18.7-3.12 1.3-.53.34-.61 1.1-.16 1.55.32.32.83.4 1.21.16.77-.49 1.62-.85 2.54-1.05.44-.1.74-.51.74...
app/javascript/mastodon/components/dropdown_menu.js
cobodo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import IconButton from './icon_button'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; imp...
src/components/EditButton_Files.js
ekatzenstein/DynamoDictionary_React
import React from 'react'; import IconButton from 'material-ui/IconButton'; function EditButton(props) { function editExampleFile(node){ props.turnOnModal(props.index); } return ( <IconButton tooltip='Edit Example File' touch={true} tooltipPosition="top-center" style={{"top":"-6px","opacity":"...
src/components/HelloWorld/HelloWorld.js
undefinedist/sicario
import React from 'react' import PropTypes from 'prop-types' /** my super lame compoenent */ function HelloWorld({message}) { return <div>Hello {message}</div> } HelloWorld.propTypes = { /** Message to display */ message: PropTypes.string, } HelloWorld.defaultProps = { message: 'world', } export default Hel...
src/routes/authority/private/common/PrivateGroupWizard.js
muidea/magicSite
import React from 'react' import PropTypes from 'prop-types' import { Modal, Steps, Button } from 'antd' import PrivateGroup from './PrivateGroup' import PrivateList from './PrivateList' import PrivateGroupSummary from './PrivateGroupSummary' const Step = Steps.Step export default class PrivateGroupWizard extends Rea...
src/components/MenuBar.js
cannc4/Siren
import React from 'react'; import { inject, observer } from 'mobx-react'; // import _ from 'lodash' // CSS Imports import '../styles/App.css'; import '../styles/Layout.css'; import '../styles/MenuBar.css'; import '../styles/Help.css'; // import Popup from "reactjs-popup"; @inject('menubarStore', 'pulseSt...
imports/ui/pages/Login.js
GreatFallz/base
import React from 'react'; import { Link } from 'react-router'; import { Row, Col, FormGroup, ControlLabel, FormControl, Button } from 'react-bootstrap'; import handleLogin from '../../modules/login'; export default class Login extends React.Component { componentDidMount() { handleLogin({ component: this }); }...
frontend/modules/recipe_form/components/IngredientBox.js
RyanNoelk/OpenEats
import React from 'react' import { injectIntl, defineMessages, } from 'react-intl'; import { TextArea } from '../../common/components/FormComponents' import IngredientGroups from '../../recipe/components/IngredientGroups' import TabbedView from './TabbedView' class IngredientBox extends React.Component { constr...
src/svg-icons/navigation/more-horiz.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationMoreHoriz = (props) => ( <SvgIcon {...props}> <path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-...
ajax/libs/ag-grid/4.2.2/ag-grid.js
x112358/cdnjs
// ag-grid v4.2.1 (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["agGrid"] = factory(); e...
server/sonar-web/src/main/js/apps/permissions/shared/components/PageError.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...
6.0.2/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(269),e.exports=n(267)},function(e,t,n){var r=n(5),o=n(36),i=n(20),a=n(21),u=n(37),s="prototype",...
app/javascript/mastodon/components/regeneration_indicator.js
primenumber/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import illustration from 'mastodon/../images/elephant_ui_working.svg'; const MissingIndicator = () => ( <div className='regeneration-indicator'> <div className='regeneration-indicator__figure'> <img src={illustration} alt='' /> <...
src/components/LikeButton/index.js
khankuan/asset-library-demo
import React from 'react'; import cx from 'classnames'; import Button from '../Button'; import Text from '../Text'; export default class LikeButton extends React.Component { static propTypes = { children: React.PropTypes.node, liked: React.PropTypes.bool, className: React.PropTypes.string, } getCl...
ajax/libs/video.js/4.11.3/video.dev.js
sevypannella/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
ajax/libs/yui/3.5.1/datatable-body/datatable-body-debug.js
neveldo/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, ...
admin/client/App/elemental/Glyph/index.js
cermati/keystone
import { css, StyleSheet } from 'aphrodite/no-important'; import React, { PropTypes } from 'react'; import octicons from './octicons'; import colors from './colors'; import sizes from './sizes'; import styles from './styles'; const classes = StyleSheet.create(styles); // FIXME static octicon classes leaning on Eleme...
react-props/src/index.js
driverInside/react-basic
import React from 'react'; import ReactDOM from 'react-dom'; import Avatar from './Avatar'; import registerServiceWorker from './registerServiceWorker'; import './index.css'; ReactDOM.render(<Avatar />, document.getElementById('root')); registerServiceWorker();
packages/material-ui/src/Radio/RadioButtonIcon.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked'; import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked'; import withStyles from '../styles/withStyles'; export const styles = ...
public/javascripts/modules/Note.js
McLemore/ant
/* eslint-disable react/no-danger */ /* eslint-disable import/no-extraneous-dependencies */ import React from 'react'; import { Message } from 'antd'; import fetch from '../fetch'; import '../../stylesheets/modules/Note.less'; import '../../stylesheets/markdown/base16-light.css'; import '../../stylesheets/markdown/code...
src/components/Privacy/Privacy.react.js
uday96/chat.susi.ai
import '../Terms/Terms.css'; import $ from 'jquery'; import Footer from '../Footer/Footer.react'; import PropTypes from 'prop-types'; import StaticAppBar from '../StaticAppBar/StaticAppBar.react'; import React, { Component } from 'react'; class Privacy extends Component { constructor(props) { super(props); ...
src/routes/contact/index.js
jaruesink/ruesinkdds
/** * 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...
ajax/libs/rxjs/2.3.8/rx.all.js
aferlazzo/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...
ajax/libs/angular.js/0.9.12/angular-scenario.js
jakubfiala/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. ...
ajax/libs/react-router/3.0.0/ReactRouter.js
sreym/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["ReactRouter"] = fac...
src/containers/Sales/CustomDetail/Detail.js
UncleYee/crm-ui
import React from 'react'; import Info from './Company/Info'; import Tabs from 'react-bootstrap/lib/Tabs'; import Tab from 'react-bootstrap/lib/Tab'; import Business from './Business/Business'; import Information from './Information/Information'; import ContactRecord from './ContactRecord/ContactRecord'; import Chance ...
ajax/libs/mobx/3.1.9/mobx.min.js
hare1039/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ "use strict";function e(e){return function(t,n,r){return r&&"function"==typeof r.value?(r.value=P(e,r.value),r.enumerable=!1,r.configurable=!0,r):Gt(e).apply(this,arguments)}}function t(e,t,n){var r="string"==typeof e?e:e.name||"<unnamed action>",o="function...
test/CalendarTableRowSpec.js
rsuite/rsuite-datepicker
import React from 'react'; import { findDOMNode } from 'react-dom'; import moment from 'moment'; import ReactTestUtils from 'react-dom/test-utils'; import TableRow from '../src/Calendar/TableRow'; describe('Calendar-TableRow', () => { it('Should render a div with `table-row` class', () => { const instance = Rea...
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
Craftodon/Craftodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { EmojiPicker as EmojiPickerAsync } from '../../ui/util/async-components'; import Overlay from 'react-overlays/lib/Overlay'; import classNames from 'classnames'; import ImmutablePropTypes from ...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
nhasjim/worldcare2.0
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
app/components/LoadingIndicator/index.js
yogakurniawan/phone-catalogues
import React from 'react'; import Circle from './Circle'; import Wrapper from './Wrapper'; const LoadingIndicator = (props) => ( <Wrapper margin={props.margin} height={props.height} width={props.width}> <Circle /> <Circle rotate={30} delay={-1.1} /> <Circle rotate={60} delay={-1} /> <Circle rotate={...
client/scripts/components/user/travel-log/travel-log-form/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lic...
packages/material-ui-icons/src/MissedVideoCall.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM10 15l-3.89-3.89v2.55H5V9.22h4.44v1.11H6.8...
ajax/libs/ember-data.js/1.0.0-beta.4/ember-data.prod.js
RizkyAdiSaputra/cdnjs
/*! * @overview Ember Data * @copyright Copyright 2011-2013 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) */ // Version: 1.0.0-beta.4 (function() { var define, requireModule; (function() { var registry = {}, seen...
src/client/react/admin/views/LogsView/Filters.js
bwyap/ptc-amazing-g-race
import React from 'react'; import PropTypes from 'prop-types'; import autobind from 'core-decorators/es/autobind'; import { Button, Intent } from '@blueprintjs/core'; import FormInput from '../../../../../../lib/react/components/forms/FormInput'; @autobind class Filters extends React.Component { static propTypes = {...
src/client/story_box.js
ahmadassaf/Hacker-menu
import React from 'react' import _ from 'lodash' import Client from 'electron-rpc/client' import StoryList from './story_list.js' import Spinner from './spinner.js' import Menu from './menu.js' import StoryType from '../model/story_type' export default class StoryBox extends React.Component { constructor (props) { ...
client/components/Modal/avatar_comp.js
Elektro1776/Project_3
import React, { Component } from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import Avatar from 'material-ui/Avatar'; class AvatarComp extends Component { render() { return ( <div> <MuiThemeProvider> <Avatar src={this.props.collab.avatar_url...
ajax/libs/highstock/2.1.3/highstock.src.js
kartikrao31/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v2.1.3 (2015-02-27) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clearT...
jspm_packages/npm/core-js@0.9.18/modules/es6.promise.js
JeroenVinke/aurelia-plunker
/* */ (function(process) { 'use strict'; var $ = require("./$"), ctx = require("./$.ctx"), cof = require("./$.cof"), $def = require("./$.def"), assert = require("./$.assert"), forOf = require("./$.for-of"), setProto = require("./$.set-proto").set, same = require("./$.same"...
example/__tests__/index.ios.js
joelrfcosta/react-native-logentries
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });