path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/rxjs/2.2.15/rx.js | emijrp/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,
'u... |
fields/types/password/PasswordColumn.js | Yaska/keystone | import React from 'react';
import ItemsTableCell from '../../components/ItemsTableCell';
import ItemsTableValue from '../../components/ItemsTableValue';
var PasswordColumn = React.createClass({
displayName: 'PasswordColumn',
propTypes: {
col: React.PropTypes.object,
data: React.PropTypes.object,
},
renderValue... |
client-angular-1.x/node_modules/babel-plugin-syntax-async-functions/node_modules/babel-runtime/helpers/typeof-react-element.js | skeiter9/webpack-boilerplate-sk9 | "use strict";
var _Symbol = require("babel-runtime/core-js/symbol")["default"];
exports["default"] = typeof _Symbol === "function" && _Symbol."for" && _Symbol."for"("react.element") || 60103;
exports.__esModule = true; |
src/Stepper/StepContent.spec.js | IsenrichO/mui-with-arrows | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import StepContent from './StepContent';
import getMuiTheme from '../styles/getMuiTheme';
describe('<StepContent />', () => {
const muiTheme = getMuiTheme();
const shallowWithContext = (node, context = {}... |
docs/src/app/components/pages/components/Menu/ExampleSecondary.js | hwo411/material-ui | import React from 'react';
import Paper from 'material-ui/Paper';
import Menu from 'material-ui/Menu';
import MenuItem from 'material-ui/MenuItem';
import Divider from 'material-ui/Divider';
import ArrowDropRight from 'material-ui/svg-icons/navigation-arrow-drop-right';
const style = {
display: 'inline-block',
flo... |
src/layouts/Header/containers/HeaderContainer.js | dkanas/timelog | import React from 'react'
import { connect } from 'react-redux'
import pick from 'lodash/pick'
import { logout } from 'store/sessionModule'
import Header from '../components/Header'
const Connect = connect(
state => pick(state.session, ['user', 'isAuthenticated']),
{ logout }
)
const HeaderContainer = ({ isAuthen... |
ajax/libs/react-native-web/0.13.0/exports/ActivityIndicator/index.min.js | cdnjs/cdnjs | function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var i,a,r={},n=Object.keys(e);for(a... |
src/components/chart.js | Phani17/WeatherReport | import React from 'react'
import {Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines'
import _ from 'lodash'
function average(data){
return _.round(_.sum(data)/data.length)
}
export default (props)=>{
return (
<div>
<Sparklines data={props.data} svgWidth={250} svgHeight={200}... |
challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/url/node_modules/punycode/vendor/requirejs/tests/jquery/scripts/jquery-1.7b2.js | jbobron/node-workshop | /*!
* jQuery JavaScript Library v1.7b2
* 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.
... |
views/status_line.js | Ribeiro/black-screen | import React from 'react';
export default React.createClass({
render() {
return (
<div className="status-line">
<CurrentDirectory currentWorkingDirectory={this.props.currentWorkingDirectory}/>
<VcsData data={this.props.vcsData}/>
</div>
)
... |
ajax/libs/instantsearch.js/1.6.1/instantsearch.min.js | dc-js/cdnjs | /*! instantsearch.js 1.6.1 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.instantsearch=t():e.instantsea... |
assets/components/Header.js | simongfxu/react-starter-project | import React from 'react'
import PropTypes from 'prop-types'
import {inject, observer} from 'mobx-react'
import {H1, A} from 'components/styled'
@inject('commonStore')
@observer
export default class Header extends React.Component {
static propTypes = {
commonStore: PropTypes.object.isRequired
}
render () {
... |
src/components/containers/author-user-list-container.js | HuangXingBin/goldenEast | import React from 'react';
import { Button, AutoComplete, DatePicker, message } from 'antd';
import './user-list-container.css';
import UserListTable from '../views/author-user-list-view.js';
import SearchUserInput from '../views/SearchUserInput.js';
import store from '../../store';
import { connect } from 'react-redux... |
js/ui/Cookies.js | ahoak/react-cookie-app | import React from 'react';
import { Grid, Row, Col } from 'react-flexbox-grid';
import MenuContainer from './MenuContainer'
const Cookies = () => (
<div>
<Grid fluid>
<Row>
<Col sm={12} md={12} lg={12}>
<div>
<MenuContainer />
</div>
</Col>
</Row>
<... |
modules/react-router-2.5.2/examples/auth-with-shared-root/components/Login.js | nanyou-environment/enBackEnd | import React from 'react'
import { withRouter } from 'react-router'
import auth from '../utils/auth.js'
const Login = React.createClass({
getInitialState() {
return {
error: false
}
},
handleSubmit(event) {
event.preventDefault()
const email = this.refs.email.value
const pass = this.r... |
components/UserPage.ios.js | xfredlix/snacktime | import React, { Component } from 'react';
import axios from 'axios';
import {
View,
Text,
Image,
ScrollView,
ListView,
TouchableHighlight,
} from 'react-native';
import styles from '../styles.ios.js';
import { connect } from 'react-redux';
import Hr from 'react-nati... |
ajax/libs/6to5/2.10.1/browser.js | cloudrifles/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... |
ajax/libs/angular.js/0.10.0/angular.js | likang/cdnjs | /**
* @license AngularJS v0.10.0
* (c) 2010-2011 AngularJS http://angularjs.org
* License: MIT
*/
'use strict';
(function(window, document, undefined){
////////////////////////////////////
if (typeof document.getAttribute == $undefined)
document.getAttribute = function() {};
/**
* @ngdoc function
* @name ang... |
packages/material-ui-icons/src/CalendarViewDayTwoTone.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="M3 17h18v2H3zM19 12v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z" /><path d="M5 12h14v1H5z" opacity=".3" /></g></React.Fragment>
, 'CalendarViewDayTw... |
ajax/libs/react-modal/0.6.0/react-modal.min.js | pombredanne/cdnjs | !function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.ReactModal=f()}}(function(){var define;return function ... |
docs/src/app/components/pages/components/List/ExampleContacts.js | nathanmarks/material-ui | import React from 'react';
import MobileTearSheet from '../../../MobileTearSheet';
import {List, ListItem} from 'material-ui/List';
import ActionGrade from 'material-ui/svg-icons/action/grade';
import Divider from 'material-ui/Divider';
import Avatar from 'material-ui/Avatar';
import {pinkA200, transparent} from 'mater... |
src/svg-icons/image/filter-center-focus.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageFilterCenterFocus = (props) => (
<SvgIcon {...props}>
<path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 9... |
src/svg-icons/maps/restaurant.js | nathanmarks/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsRestaurant = (props) => (
<SvgIcon {...props}>
<path d="M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z"/>
</SvgIcon>
)... |
src/index.js | SiHeTech/react-templete | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import store from './store';
import { debugPanel } from './utils/development';
import { ReduxRouter } from 'redux-router';
//ReactDOM.render(
// <div id="app">
// <Provider store={store}>
// <ReduxRouter />
//... |
docs/app/Examples/elements/Input/Variations/InputExampleIconPosition.js | ben174/Semantic-UI-React | import React from 'react'
import { Input } from 'semantic-ui-react'
const InputExampleIconPosition = () => (
<Input icon='users' iconPosition='left' placeholder='Search users...' />
)
export default InputExampleIconPosition
|
lib/NavBar.android.js | APSL/react-native-navigator-wrapper | /* @flow */
import React from 'react'
import { StyleSheet } from 'react-native'
import CustomComponents from 'react-native-deprecated-custom-components'
const stylesAndroid = StyleSheet.create({
navBar: {
backgroundColor: '#f5f5f5',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center... |
packages/material-ui-icons/src/BatteryCharging80Sharp.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 fillOpacity=".3" d="M17 4h-3V2h-4v2H7v5h4.93L13 7v2h4V4z" /><path d="M13 12.5h2L11 20v-5.5H9L11.93 9H7v13h10V9h-4v3.5z" /></g></React.Fragment>
... |
scr-app/src/components/TraceTable.js | tlatoza/SeeCodeRun | import React from 'react';
import PropTypes from 'prop-types';
import isString from 'lodash/isString';
import {withStyles} from '@material-ui/core/styles';
import ButtonBase from '@material-ui/core/ButtonBase';
import Typography from '@material-ui/core/Typography';
import {fade, lighten, darken} from '@material-ui/core... |
src/js/Pickers/__tests__/YearPicker.js | lwhitlock/grow-tracker | /* eslint-env jest*/
jest.unmock('../YearPicker');
import React from 'react';
import {
renderIntoDocument,
scryRenderedComponentsWithType,
} from 'react-dom/test-utils';
import YearPicker from '../YearPicker';
import Year from '../Year';
// Can't do the query selector stuff
YearPicker.prototype._setContainer = j... |
portal/src/main/webapp/js/lib/mutationMapper.js | holtgrewe/cbioportal | /*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... |
ajax/libs/yui/3.16.0/scrollview-base/scrollview-base-coverage.js | jamzgoodguy/cdnjs | /*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/scrollview-base/scrollview-base.js']) {
__coverage__['build/scrollview-base/scrollv... |
src/components/common/Test.js | harpreetkhalsagtbit/url-manager | import React from 'react';
import PropTypes from 'prop-types'; // ES6
import {TextArea } from 'semantic-ui-react'
import Dropdown from './Dropdown/Dropdown'
import './Dropdown/Dropdown.css';
const Test = ({name}) => {
var arr = ["harpreet", "singh"]
return (
<div className="">
<Dropdown label="" options={arr}/... |
Realization/frontend/czechidm-core/src/components/advanced/LongRunningTask/LongRunningTaskProperties.js | bcvsolutions/CzechIdMng | import React from 'react';
import PropTypes from 'prop-types';
import _ from 'lodash';
import Immutable from 'immutable';
//
import * as Basic from '../../basic';
import * as Domain from '../../../domain';
import * as Utils from '../../../utils';
import EavForm from '../Form/EavForm';
/**
* Long running task properit... |
src/CarouselItem.js | pandoraui/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import TransitionEvents from './utils/TransitionEvents';
const CarouselItem = React.createClass({
propTypes: {
direction: React.PropTypes.oneOf(['prev', 'next']),
onAnimateOutEnd: React.PropTypes.func,
active: React.PropTypes.bool,
anima... |
src/svg-icons/maps/local-phone.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalPhone = (props) => (
<SvgIcon {...props}>
<path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-... |
OpenQbit.HospitalSystem.git/OpenQbit.Hospital.Presentation.Web/Scripts/jquery-1.10.2.js | openqbit/Systems-Hospital | /* 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... |
1l_React_ET_Lynda/Ex_Files_React_EssT/Ch07/07_01/finish/src/routes.js | yevheniyc/C | import React from 'react'
import { Router, Route, hashHistory } from 'react-router'
import Home from './components/ui/Home'
import About from './components/ui/About'
import MemberList from './components/ui/MemberList'
import { Left, Right, Whoops404 } from './components'
const routes = (
<Router history={hashHis... |
src/containers/views/DataFileNew.js | jekyll/jekyll-admin | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { browserHistory, withRouter } from 'react-router';
import { HotKeys } from 'react-hotkeys';
import DocumentTitle from 'react-document-title';
import Da... |
node_modules/react-bootstrap/es/MediaRight.js | superKaigon/TheCave | 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 ... |
app/components/BannerView.js | lotgd/client-react-native | 'use strict';
import React, { Component } from 'react';
import {
StyleSheet,
View,
Text,
} from 'react-native';
class BannerView extends Component {
constructor(props) {
super(props);
this.state = {
horizon: this._getHorizon()
};
}
_getHorizon = () => {
return (new Date()).getTime() ... |
packages/react-art/src/__tests__/ReactART-test.js | jameszhan/react | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
/*jslint evil: true */
'use strict';
const React = require('react');
const ReactDOM = require('react-do... |
app/assets/javascripts/common/__mocks__/I18n.js | sozialhelden/wheelmap | import React from 'react';
class I18n extends React.Component {
static locale = 'en';
static t() {
return 'translation';
}
shouldComponentUpdate() {
return false;
}
render() {
return null;
}
}
export default I18n;
|
src/components/source/collection/CollectionTopWordsContainer.js | mitmedialab/MediaCloud-Web-Tools | import PropTypes from 'prop-types';
import React from 'react';
import { injectIntl } from 'react-intl';
import { connect } from 'react-redux';
import { fetchPlatformWords } from '../../../actions/platformActions';
import withAsyncData from '../../common/hocs/AsyncDataContainer';
import PeriodicEditableWordCloudDataCard... |
mxcube3/ui/components/SampleView/ContextMenu.js | bolmsten/mxcube3 | import React from 'react';
export default class ContextMenu extends React.Component {
constructor(props) {
super(props);
this.state = {
options: {
SAVED: [
{ text: 'Add Characterisation', action: () => this.showModal('Characterisation'), key: 1 },
{ text: 'Add Datacollection', ... |
ajax/libs/analytics.js/1.5.8/analytics.js | baig/cdnjs | ;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = require.resolve(path);
// lookup failed
if (null == resolved) {
orig = orig || path;
parent = parent || 'root';
... |
ajax/libs/webshim/1.14.6-RC2/dev/shims/combos/26.js | KOLANICH/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 ... |
packages/mineral-ui-icons/src/IconSignalCellularConnectedNoInternet2Bar.js | mineral-ui/mineral-ui | /* @flow */
import React from 'react';
import Icon from 'mineral-ui/Icon';
import type { IconProps } from 'mineral-ui/Icon/types';
/* eslint-disable prettier/prettier */
export default function IconSignalCellularConnectedNoInternet2Bar(props: IconProps) {
const iconProps = {
rtl: false,
...props
};
ret... |
client/desktop/app/components/signup.js | absurdSquid/thumbroll | import React from 'react';
import api from '../utils/api';
class Signup extends React.Component {
constructor(props) {
super(props);
this.state = {
firstName: '',
lastName: '',
username: '',
email: '',
password: '',
confirmedPassword: '',
// Desktop app is currently ... |
packages/material-ui-icons/src/PhoneForwarded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M18 11l5-5-5-5v3h-4v4h4v3zm2 4.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-... |
src/svg-icons/image/colorize.js | ngbrown/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageColorize = (props) => (
<SvgIcon {...props}>
<path d="M20.71 5.63l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3... |
src/svg-icons/communication/business.js | xmityaz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationBusiness = (props) => (
<SvgIcon {...props}>
<path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2... |
app/javascript/mastodon/features/compose/components/privacy_dropdown.js | 3846masa/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, defineMessages } from 'react-intl';
import IconButton from '../../../components/icon_button';
const messages = defineMessages({
public_short: { id: 'privacy.public.short', defaultMessage: 'Public' },
public_long: { id: 'privacy.pub... |
mealbotui/src/js/components/Wallet.js | qjflores/mealbot | import React, { Component } from 'react';
import {AddWalletModal} from './AddWalletModal';
import './../../css/Wallet.css'
export class Wallet extends Component {
constructor(props) {
super(props);
this.state = {
isWalletAttached: false,
showWalletModal: false,
wallets:[],
user: und... |
Examples/UIExplorer/SliderIOSExample.js | harrykiselev/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/device/signal-cellular-connected-no-internet-3-bar.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceSignalCellularConnectedNoInternet3Bar = (props) => (
<SvgIcon {...props}>
<path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M17 22V7L2 22h15zm3-12v8h2v-8h-2zm0 12h2v-2h-2v2z"/>
</SvgIcon>
);
Devic... |
test/DropdownMenuSpec.js | mengmenglv/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import DropdownMenu from '../src/DropdownMenu';
import MenuItem from '../src/MenuItem';
import keycode from 'keycode';
describe('DropdownMenu', function() {
const simpleMenu = (
<DropdownMenu>
<MenuItem eventKey='1'>Item 1</M... |
inc/option_fields/vendor/htmlburger/carbon-fields/assets/js/fields/components/media-gallery/index.js | wpexpertsio/WP-Secure-Maintainance | /**
* The external dependencies.
*/
import $ from 'jquery';
import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import {
compose,
withHandlers,
setStatic,
withProps
} from 'recompose';
import {
without,
sortBy,
isNumber
} from 'lodash';
/**
* The internal dependencies.... |
src/components/CommentPanel/ShowMoreButton.js | Charlie9830/pounder | import React from 'react';
import { Button, CircularProgress, Typography } from '@material-ui/core';
let containerStyle = {
width: '100%',
minHeight: '48px',
display: 'flex',
flexDirection: 'row',
justifyContent: 'center',
justifyItems: 'center'
}
const ShowMoreButton = (props) => {
if (pr... |
packages/material-ui-icons/src/MissedVideoCallTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M15 13.5V8H5v8h10v-2.5zM11 15l-3.89-3.89v2.55H6V9.22h4.44v1.11H7.89l3.11 3.1 2.99-3.01.78.79L11 15z" opacity=".3" /><path d="M3 17c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4V7... |
packages/material-ui-icons/src/TrackChanges.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="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 ... |
src/shared/components/App.js | DarriusWrightGD/BloggingSite | import React from 'react';
import {AppBar, LeftNav, MenuItem} from 'material-ui';
class App extends React.Component{
constructor(props, context){
super(props, context);
this.state = {navOpen:false};
this.menuItems = [
{ route:'/', text:'Home'},
{ route:'/about', text:'About'}
];
}
... |
examples/with-redux-code-splitting/containers/homepage.js | giacomorebonato/next.js | import React from 'react'
import {bindActionCreators} from 'redux'
import {connect} from 'react-redux'
import {namespaceConfig} from 'fast-redux'
import Link from 'next/link'
const DEFAULT_STATE = {build: 1}
const {actionCreator, getState: getHomepageState} = namespaceConfig('homepage', DEFAULT_STATE)
const bumpBuil... |
app/containers/ActionBar/index.js | acebusters/ab-web | import React from 'react';
import PropTypes from 'prop-types';
import Raven from 'raven-js';
import BigNumber from 'bignumber.js';
import { createStructuredSelector } from 'reselect';
import { connect } from 'react-redux';
import { getTimeLeft } from '../Seat/index';
import { playIsPlayerTurn } from '../../sounds';
... |
JavaScript/JavaScriptApplications/StudentsAPI/node_modules/babel-core/browser-polyfill.min.js | Malkovski/Telerik | (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... |
src/app/NewOffers.js | Tomzdon1/website | import React from 'react';
import {GridList, GridTile} from 'material-ui/GridList';
import IconButton from 'material-ui/IconButton';
import StarBorder from 'material-ui/svg-icons/toggle/star-border';
import Paper from 'material-ui/Paper';
const styles = {
root: {
display: 'inline-block',
flexWrap: 'wrap',
... |
client/src/components/uploaders/Uploader.js | misha-slyusarev/invoices | import React, { Component } from 'react';
import Dropzone from 'react-dropzone';
import { Segment } from 'semantic-ui-react'
export default class Uploader extends Component {
render() {
return <Segment className='App-segment'>
<Dropzone className='uploader' multiple={this.props.multiple}
accept={thi... |
ajax/libs/jssip/0.6.3/jssip.js | khasinski/cdnjs | /*
* JsSIP.js 0.6.3
* the Javascript SIP library
* Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
* License MIT
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.... |
files/jquery/1.11.1/jquery.min.js | khorep/jsdelivr | /*! 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... |
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | MarcioBdeveloper/AppAngular2 | import React from 'react';
// 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';
React.render(<HelloWorld />, document.getElementById('react-root'));
|
imports/plugins/core/router/register.js | Thalhalla/reaction | import { Reaction } from "/server/api";
Reaction.registerPackage({
label: "Router",
name: "reaction-router",
icon: "fa fa-share",
autoEnable: true,
settings: {},
registry: []
});
|
src/app/components/resourses/planetsheet/Panel.js | mazahell/eve-react-app | import React from 'react';
import { connect } from 'react-redux';
import { updateVars, searchOutputSystem, searchInputSystem } from '../../../actions/planetSheetActions';
// components
import SystemSellBuy from './../../blocks/SystemSellBuy';
class Panel extends React.Component {
// Get suggestions
getSuggestion... |
examples/src/components/Virtualized.js | stephennyu/select-react | import React from 'react';
import VirtualizedSelect from 'react-virtualized-select';
const DATA = require('../data/cities');
var CitiesField = React.createClass({
displayName: 'CitiesField',
getInitialState () {
return {};
},
updateValue (newValue) {
this.setState({
selectValue: newValue
});
},
render ... |
src/js/sections/End.js | BavoG/onesupportdocu | import React from 'react';
import InfographicSection from '../components/InfographicSection';
import EndButton from '../components/EndButton';
import Box from 'grommet/components/Box';
import Headline from 'grommet/components/Headline';
import Image from 'grommet/components/Image';
import Anchor from 'grommet/componen... |
frontend/src/components/overview/index.js | Kilte/scrobbler | import React from 'react';
import Nowplay from './nowplay';
import RecentTracks from './recent-tracks';
import Streak from './streak';
import Widget from './widget';
import Chart from '../shared/chart';
import Error from '../shared/error';
import Spinner from '../shared/spinner';
class Overview extends React.Compone... |
blueprints/view/files/__test__/views/__name__View.spec.js | PalmasLab/palmasplay | import React from 'react'
describe('(View) <%= pascalEntityName %>', () => {
it('should exist', () => {
})
})
|
src/svg-icons/places/hot-tub.js | rhaedes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesHotTub = (props) => (
<SvgIcon {...props}>
<circle cx="7" cy="6" r="2"/><path d="M11.15 12c-.31-.22-.59-.46-.82-.72l-1.4-1.55c-.19-.21-.43-.38-.69-.5-.29-.14-.62-.23-.96-.23h-.03C6.01 9 5 10.01 5 11.25V12... |
packages/material-ui-icons/src/TimerOff.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z" /><path d="M19.04 4.55l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.83 0-3.53.55-4.95 1.48l1.46 1.46C9.53 6.35 1... |
src/components/login/LoginForm.react.js | Space-Cadets/Titania-v2 | // @flow
import React from 'react'
import TextField from 'material-ui/TextField'
import Paper from 'material-ui/Paper'
import RaisedButton from 'material-ui/RaisedButton'
import { reduxForm } from 'redux-form'
import { domOnlyProps } from '../../Utils.js'
const LoginForm = (props: Object) => {
const {
fields: {
... |
actor-apps/app-web/src/app/components/activity/ActivityHeader.react.js | HKMOpen/actor-platform | import React from 'react';
import ReactMixin from 'react-mixin';
import addons from 'react/addons';
const {addons: { PureRenderMixin }} = addons;
@ReactMixin.decorate(PureRenderMixin)
class ActivityHeader extends React.Component {
static propTypes = {
close: React.PropTypes.func,
title: React.PropTypes.stri... |
packages/material-ui-icons/src/StopSharp.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M6 6h12v12H6V6z" />
, 'StopSharp');
|
src/client/athrun/apps/demo/screens/report/index.js | cnfi/laboratory | import React, { Component } from 'react';
import { Button } from 'antd';
class Report extends Component {
render() {
return (
<div>
123456
</div>
)
}
}
export default Report; |
ajax/libs/radium/0.26.0/radium.min.js | cdnjs/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Radium=t(require("react")):e.Radium=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(n){i... |
node_modules/react-icons/io/ios-arrow-left.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const IoIosArrowLeft = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m27.5 9l-11.7 11 11.7 11-1.6 1.5-13.4-12.5 13.4-12.5z"/></g>
</Icon>
)
export default IoIosArrowLeft
|
packages/terra-icon/lib/icon/IconFeaturedOutline.js | cwalten/terra-core | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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]; } } }... |
docs/app/Examples/elements/Reveal/Types/RevealExampleFade.js | aabustamante/Semantic-UI-React | import React from 'react'
import { Image, Reveal } from 'semantic-ui-react'
const RevealExampleFade = () => (
<Reveal animated='fade'>
<Reveal.Content visible>
<Image src='/assets/images/wireframe/square-image.png' size='small' />
</Reveal.Content>
<Reveal.Content hidden>
<Image src='/assets/... |
ajax/libs/vkui/4.28.0/cjs/components/PanelSpinner/PanelSpinner.js | cdnjs/cdnjs | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _jsxRuntime = req... |
tools/dashboard/probot/client/src/components/Pareto.js | jonathanihm/freeCodeCamp | import React from 'react';
import styled from 'styled-components';
import ListItem from './ListItem';
import FullWidthDiv from './FullWidthDiv';
import Result from './Result';
import FilterOption from './FilterOption';
import { ENDPOINT_PARETO } from '../constants';
const List = styled.div`
margin: 5px;
display: ... |
ajax/libs/angular.js/1.0.4/angular-scenario.js | gokuale/cdnjs | /*!
* jQuery JavaScript Library v1.7.2
* 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.
... |
ajax/libs/vis/3.3.0/vis.js | xubowenjx/cdnjs | /**
* vis.js
* https://github.com/almende/vis
*
* A dynamic, browser-based visualization library.
*
* @version 3.3.0
* @date 2014-08-29
*
* @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... |
node_modules/react-router/es6/RouteUtils.js | xuan6/react-videos | 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; };
import React from 'react';
function isValidChild(object) {
... |
ajax/libs/react/0.5.2/react.js | NMastracchio/cdnjs | /**
* React v0.5.2
*/
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports;
return (function e(t,... |
frontend/web/map/js/sitemap.js | VampireMe/admin-9939-com | // JavaScript Document
/*
* jQuery Tools 1.2.5 - The missing UI library for the Web
*
* [jquery, toolbox.flashembed, toolbox.history, toolbox.expose, toolbox.mousewheel, tabs, tabs.slideshow, tooltip, tooltip.slide, tooltip.dynamic, scrollable, scrollable.autoscroll, scrollable.navigator, overlay, overlay.apple, da... |
src/components/headline.js | foimedia/foi-website | import React, { Component } from 'react';
import { FormattedMessage } from 'react-intl';
import styled from 'styled-components';
import { media } from 'styles';
const Wrapper = styled.h3`
font-weight: normal;
color: #fff;
max-width: 1000px;
font-family: 'Inconsolata';
letter-spacing: .25vw;
margin: 0;
pa... |
gbe/resources/assets/js/components/SiteNavigation.js | DemocracyApps/Community-Budget-Explorer | import React from 'react';
var configStore = require('../stores/ConfigStore');
var stateStore = require('../stores/StateStore');
var dispatcher = require('../common/BudgetAppDispatcher');
var ActionTypes = require('../constants/ActionTypes');
var SiteNavigation = React.createClass({
propTypes: {
site: Re... |
src/Visualizations/ActivityBubbles/index.js | DuckyTeam/ducky-components | import React from 'react';
import PropTypes from 'prop-types';
import visualization from './visualization';
import Visualization from './../index';
function ActivityBubbles(props) {
return (
<Visualization
className={props.className}
viz={visualization}
{...props}
/>
);
}
export defaul... |
app/index.js | kaylynyuh/react-training | import React from 'react';
import { render } from 'react-dom';
import routes from './config/routes';
render(
routes,
document.getElementById('app')
);
|
src/parser/paladin/holy/CHANGELOG.js | ronaldpereira/WoWAnalyzer | import React from 'react';
import { Zerotorescue, HolySchmidt, Abelito75, blazyb, Taleria, Torothin } from 'CONTRIBUTORS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { change, date } from 'common/changelog';
export default [
change(date(2020, 1, 18), <>Added <SpellLink id={... |
src/components/accessoryliftinput.js | waxmansgym/ratio-calculator | /* Waxman's Gym Ratio Calculator Copyright (C) 2017 Waxman's Gym
This program 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 3 of the License, or
(at your option) any later version.
This program ... |
src/misc/About.js | kriasoft/react-static-boilerplate | /**
* React Starter Kit for Firebase
* https://github.com/kriasoft/react-firebase-starter
* Copyright (c) 2015-present Kriasoft | MIT License
*/
import React from 'react';
import Typography from '@material-ui/core/Typography';
import { makeStyles } from '@material-ui/core/styles';
const useStyles = makeStyles(the... |
src/components/HorseDetail/index.js | topguru/React-Equiaction | import React, { Component } from 'react';
import {
Text,
View,
ScrollView,
Image,
TouchableHighlight,
TextInput
} from 'react-native';
import styles from './style';
import { images, metrics } from '../../theme';
import Icon from 'react-native-vector-icons/FontAwesome';
import Video from 'react-native-vide... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.