path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/bootstrap.native/2.0.18/bootstrap-native-v4.js | ahocevar/cdnjs | // Native Javascript for Bootstrap 4 v2.0.18 | © dnp_theme | MIT-License
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD support:
define([], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like:
module.exports = factory();
} els... |
src/icons/LocalSeeIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class LocalSeeIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><circle cx="24" cy="24" r="6.4"/><path d="M18 4l-3.66 4H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79... |
5eShapedCompanion/1.3.3/5eShapedCompanion.js | mcstalker/roll20-api-scripts | var ShapedScripts =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ... |
ajax/libs/js-data-http/3.0.0-alpha.3/js-data-http.js | honestree/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.... |
YEAR 3/SEM 1/MOBILE/non-native/PhotoReact/screens/lesson/SubmissionsScreen.js | Zephyrrus/ubb | import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
TouchableHighlight,
Image,
Alert,
TouchableOpacity,
FlatList,
TouchableWithoutFeedback,
ScrollView,
} from 'react-native';
import ActionButton from 'react-native-action-button';
import { AsyncStorage } from "react-native";
... |
server/sonar-web/src/main/js/apps/account/organizations/OrganizationsList.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... |
Libraries/Image/Image.android.js | gitim/react-native | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
src/containers/photo.js | mrGGoodbye/react-redux-API-unsplash | // подключаем необходимые модули React и Unsplash
import React from 'react';
import { connect } from 'react-redux'
import { action_update_like } from '../actions';
import {unsplash} from '../../src/index.js';
import {Router, Route, hashHistory, Link} from 'react-router';
// эта функция будет лайкать фотографию
const f... |
actor-apps/app-web/src/app/components/common/Favicon.react.js | xiaotaijun/actor-platform | import React from 'react';
export default class Fav extends React.Component {
static propTypes = {
path: React.PropTypes.string
}
constructor(props) {
super(props);
//// Create link element and it's attributes
//let favicon = document.createElement('link');
//let rel = document.createAttrib... |
ajax/libs/react-instantsearch/3.2.2-beta0/Dom.js | cdnjs/cdnjs | /*! ReactInstantSearch 3.2.2-beta0 | © Algolia, inc. | https://community.algolia.com/instantsearch.js/react/ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof d... |
docs/app/Examples/elements/Divider/index.js | ben174/Semantic-UI-React | import React from 'react'
import Types from './Types'
import Variations from './Variations'
const DividerExamples = () => (
<div>
<Types />
<Variations />
</div>
)
export default DividerExamples
|
src/ButtonInput.js | modulexcite/react-bootstrap | import React from 'react';
import Button from './Button';
import FormGroup from './FormGroup';
import InputBase from './InputBase';
import childrenValueValidation from './utils/childrenValueInputValidation';
class ButtonInput extends InputBase {
renderFormGroup(children) {
let {bsStyle, value, ...other} = this.p... |
src/components/helpers/input.js | VicStor/react-pdf-viewer | import React from 'react';
const Input = props => (
<input
{...props}
data-name={props.name}
/>
);
Input.propTypes = {
name: React.PropTypes.string.isRequired
};
export default Input;
|
LyonJs.KnockoutJs/LyonJs.KnockoutJs.Seo/Scripts/jquery-1.8.2.js | fpellet/LyonJs.Knockout | /*!
* jQuery JavaScript Library v1.8.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time)
*/
(function(... |
ajax/libs/rxjs/2.3.21/rx.js | legomushroom/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
};
... |
src/main.js | paulmorar/jxpectapp | import React from 'react'
import ReactDOM from 'react-dom'
import createStore from './store/createStore'
import './styles/main.scss'
// Store Initialization
// ------------------------------------
const store = createStore(window.__INITIAL_STATE__)
// Render Setup
// ------------------------------------
const MOUNT_N... |
src/js/components/WorldMap/stories/SelectPlace.js | grommet/grommet | import React from 'react';
import { Box, WorldMap } from 'grommet';
export const SelectPlace = () => {
const [places, setPlaces] = React.useState();
const onSelectPlace = (place) => {
console.log('Selected', place);
setPlaces([{ color: 'graph-1', location: place }]);
};
return (
<Box align="cent... |
node_modules/react-icons/io/arrow-expand.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const IoArrowExpand = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m21.4 16.4l5-5-3.9-3.9h10v10l-3.9-3.9-5 5z m0 7.2l2.2-2.2 5 5 3.9-3.9v10h-10l3.9-3.9z m-2.8 0l-5 5 3.9 3.9h-10v-10l3.9 3.9 5-5z m0-7.2l-2.2 2.2-5-5-3.9 3.9v-10h10... |
packages/ringcentral-widgets-docs/src/app/components/Search/index.js | ringcentral/ringcentral-js-widget | import React, { Component } from 'react';
import classnames from 'classnames';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import styles from './styles.scss';
function SearchResult(props) {
return (
<ul className={styles.resultList}>
{props.result.map((item) => (
<... |
examples/js/style/demo.js | rolandsusans/react-bootstrap-table | /* eslint max-len: 0 */
require('./style.css');
import React from 'react';
import TrClassStringTable from './tr-class-string-table';
import TrClassFunctionTable from './tr-class-function-table';
import TdClassStringTable from './td-class-string-table';
import TdClassFunctionTable from './td-class-function-table';
impor... |
ext/packages/core/src/fx/layout/card/Abstract.js | i3mainz/spp1630_hare | /**
* @private
*/
Ext.define('Ext.fx.layout.card.Abstract', {
extend: 'Ext.Evented',
isAnimation: true,
config: {
direction: 'left',
duration: null,
reverse: null,
layout: null
},
updateLayout: function(layout) {
if (layout) {
... |
src/components/Clues.js | nlsandler/gridlock | import React, { Component } from 'react';
import { Orientation } from '../Common';
function Clue(props) {
return <li className="clue">
<div className="input-group">
<div className="input-group-addon">{props.clue.id}</div>
<input className="form-control" value={props.clue.text} onChange={(evt)... |
src/components/jan-thank-you-header.js | ScottDowne/donate.mozilla.org | import React from 'react';
module.exports = React.createClass({
contextTypes: {
intl: React.PropTypes.object
},
renderMessage: function() {
return (
<span>
<h1>
<div>{ this.context.intl.formatMessage({id: this.props.thankYouSentenceId}) }</div>
</h1>
</span>
);
... |
app/static/src/diagnostic/EqConnectionsManager.js | vsilent/Vision | import React from 'react';
import FormControl from 'react-bootstrap/lib/FormControl';
import FormGroup from 'react-bootstrap/lib/FormGroup';
import ControlLabel from 'react-bootstrap/lib/ControlLabel';
import Panel from 'react-bootstrap/lib/Panel';
import Button from 'react-bootstrap/lib/Button';
import {NotificationCo... |
node_modules/babel-traverse/lib/path/lib/virtual-types.js | rowei99/ElectronGame | "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... |
packages/material-ui-icons/src/SentimentSatisfiedAltSharp.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><circle cx="15.5" cy="9.5" r="1.5" /><circle cx="8.5" cy="9.5" r="1.5" /><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S... |
src/sidebar/Sidebar.js | hersonls/never-going-back-again | import React, { Component } from 'react';
class Sidebar extends Component {
render() {
return (
<div className="mdl-layout__drawer">
<span className="mdl-layout-title">Eventos</span>
<nav className="mdl-navigation">
{this.props.events.map((event, index) => {
return (
... |
actor-apps/app-web/src/app/components/modals/CreateGroup.react.js | changjiashuai/actor-platform | import React from 'react';
import CreateGroupActionCreators from 'actions/CreateGroupActionCreators';
import CreateGroupStore from 'stores/CreateGroupStore';
import CreateGroupForm from './create-group/Form.react';
import Modal from 'react-modal';
import { KeyCodes } from 'constants/ActorAppConstants';
const appEl... |
docs/app/Examples/collections/Breadcrumb/Content/BreadcrumbDividerExample.js | jamiehill/stardust | import React from 'react'
import { Breadcrumb } from 'stardust'
const BreadcrumbDividerExample = () => (
<Breadcrumb>
<Breadcrumb.Section link>Home</Breadcrumb.Section>
<Breadcrumb.Divider>/</Breadcrumb.Divider>
<Breadcrumb.Section link>Registration</Breadcrumb.Section>
<Breadcrumb.Divider>/</Breadcr... |
ajax/libs/yui/3.17.1/datatable-body/datatable-body-coverage.js | snorpey/cdnjs | /*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/datatable-body/datatable-body.js']) {
__coverage__['build/datatable-body/datatable-... |
client/components/AppBody.js | kuip/oro-devi | import React from 'react';
import ReactRouter from 'react-router';
const Link = ReactRouter.Link;
// true if we should show an error dialog when there is a connection error.
// Exists so that we don't show a connection error dialog when the app is just
// starting and hasn't had a chance to connect yet.
var ShowConne... |
Rasberry Pi/JavaScriptReact/client/app.js | jorbensaaltink/rasreact | import React from 'react'
import Wrapper from './info-wrapper'
import Clock from './clock'
import Counter from './count'
import Data from './data'
import {
BrowserRouter as Router,
Route,
Link
} from 'react-router-dom'
export default () => (<div>
<Router>
<main>
<Link to='/info'>Info </Link>
<L... |
ajax/libs/mobx-react/4.2.2/index.min.js | sashberd/cdnjs | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("mobx"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","mobx","react","react-dom"],t):t(e.mobxReact=e.mobxReact||{},e.mobx,e.React,e.ReactDOM)}(this,function(e,t,n,r){"use strict";functi... |
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | df-a/par-nl | 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'));
|
packages/material-ui-icons/src/LocalPlay.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2... |
test/components/Counter.spec.js | Aurora0001/Aether | /* eslint no-unused-expressions: 0 */
import { expect } from 'chai';
import { spy } from 'sinon';
import React from 'react';
import {
renderIntoDocument,
scryRenderedDOMComponentsWithTag,
findRenderedDOMComponentWithClass,
Simulate
} from 'react-addons-test-utils';
import Counter from '../../app/components/Coun... |
client/app/components/trip.js | sirbrillig/voyageur-js | import React from 'react';
import TripLocation from './trip-location';
export default React.createClass( {
propTypes: {
tripLocations: React.PropTypes.array,
getLocationById: React.PropTypes.func.isRequired,
getLocationById: React.PropTypes.func.isRequired,
onRemoveTripLocation: React.PropTypes.func.... |
stories/RadioGroup/ExampleHorizontal.js | nirhart/wix-style-react | import React from 'react';
import RadioGroup from 'wix-style-react/RadioGroup';
const style = {
display: 'inline-block',
padding: '0 5px',
width: '400px',
lineHeight: '22px',
marginBottom: '30px'
};
export default () =>
<div className="ltr" style={style}>
<RadioGroup value={1} display="horizontal">
... |
src/svg-icons/device/battery-unknown.js | mit-cml/iot-website-source | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceBatteryUnknown = (props) => (
<SvgIcon {...props}>
<path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zm-2.72 13.95h-1.9... |
src/client/components/static/about/About.js | JoeKarlsson/react-redux-boilerplate | import React from 'react';
import './About.scss';
const About = () => {
return (
<div className="About">
About
</div>
);
};
export default About;
|
docs/_js/html-jsx-lib.js | kakadiya91/react | // Ideally it would be nice to just redirect, but Github Pages is very basic and
// lacks that functionality.
console.warn(
'html-jsx-lib.js has moved to http://reactjs.github.io/react-magic/' +
'htmltojsx.min.js. If using React-Magic, you are no longer required to ' +
'link to this file. Please delete its <scrip... |
lib/Callout/CalloutElement.js | folio-org/stripes-components | import React from 'react';
import PropTypes from 'prop-types';
import { Transition } from 'react-transition-group';
import IconButton from '../IconButton';
import Icon from '../Icon';
import css from './Callout.css';
const getClassNamefromTransitionState =
(tState, cType, baseClass, tType) => `${baseClass} ${css[`${... |
packager/react-packager/src/SocketInterface/index.js | mozillo/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... |
frontend/app.js | StefanKjartansson/drf-react-skeleton | import React from 'react';
import ReactDOM from 'react-dom';
import API from './api';
import {routes} from './routes';
import "@blueprintjs/core/dist/blueprint.css";
// needed for React Developer Tools
window.React = React;
const checkToken = () => {
let jwt = localStorage.getItem('jwt');
if (
jwt
&& j... |
src/routes/notFound/index.js | nicolascine/site | /**
* 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/react-bootstrap-typeahead/3.3.4/react-bootstrap-typeahead.js | cdnjs/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
node_modules/react-bootstrap/es/ButtonToolbar.js | soniacq/LearningReact | 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 ... |
src/components/BlanksList/BlanksList.js | suhodolskiy/bsuir-evt-laba-2017 | import React from 'react';
import { observer } from 'mobx-react';
import { SortableContainer } from 'react-sortable-hoc';
import './blanksList.scss';
import BlankCard from '../BlankCard/BlankCard';
export default SortableContainer(
observer(({ blanks, removeBlank, addBlankToChapters }) => (
<ul className="blank... |
ajax/libs/react-native-web/0.13.16/cjs/exports/unmountComponentAtNode/index.min.js | cdnjs/cdnjs | "use strict";exports.__esModule=!0,exports.default=void 0;var _reactDom=require("react-dom"),_default=_reactDom.unmountComponentAtNode;exports.default=_default,module.exports=exports.default; |
src/index.js | ftorre104/todolist-redux | import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux' // sets store into context
import { createStore } from 'redux' // creates store from reducers
import todoApp from './reducers' // import of all reducers combined
import App from './components/App'
let store = createStor... |
1l_React_ET_Lynda/Ex_Files_React_EssT/Ch07/07_04/start/src/routes.js | yevheniyc/Autodidact | 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/components/forms/Select.js | taiwoabegunde/developersmap | /**
* Created by Raphson on 9/27/16.
*/
import React from 'react';
import Formsy from 'formsy-react';
const MySelect = React.createClass({
mixins: [Formsy.Mixin],
changeValue(event) {
this.setValue(event.currentTarget.value);
},
render() {
const className = (this.props.className || ... |
src/main/webapp/assets/plugins/jquery-multi-select/test/src/jquery.js | ibollen/s2jh4net | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==... |
app/javascript/mastodon/components/__tests__/autosuggest_emoji-test.js | imas/mastodon | import React from 'react';
import renderer from 'react-test-renderer';
import AutosuggestEmoji from '../autosuggest_emoji';
describe('<AutosuggestEmoji />', () => {
it('renders native emoji', () => {
const emoji = {
native: '💙',
colons: ':foobar:',
};
const component = renderer.create(<Autos... |
src/shared/udalost-list/__tests__/Container.spec.js | hhjcz/too-simple-react-skeleton | /** Created by hhj on 1/4/16. */
import { expect } from 'chai'
import React from 'react'
import sd from 'skin-deep'
import { Map } from 'immutable'
import Container from './../Container'
describe('udalost-list Container component', () => {
let tree
beforeEach(() => {
tree = sd.shallowRender(React.createElemen... |
bower_components/flot/jquery.js | ggderas/SCJ | /*!
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
*... |
app/javascript/mastodon/features/ui/containers/bundle_container.js | mstdn-jp/mastodon | import { connect } from 'react-redux';
import Bundle from '../components/bundle';
import { fetchBundleRequest, fetchBundleSuccess, fetchBundleFail } from '../../../actions/bundles';
const mapDispatchToProps = dispatch => ({
onFetch () {
dispatch(fetchBundleRequest());
},
onFetchSuccess () {
dispatch(fe... |
Example/__tests__/index.android.js | XuChangZJU/martian-rn-alipay | 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 />
);
});
|
client/components/Editor/PopoverExample.js | XuHaoJun/tiamat | import React from 'react';
import RaisedButton from 'material-ui/RaisedButton';
import Popover from 'material-ui/Popover';
import Menu from 'material-ui/Menu';
import MenuItem from 'material-ui/MenuItem';
import Paper from 'material-ui/Paper';
export default class PopoverExampleSimple extends React.Component {
const... |
src/main/webapp/js/ext-4.1.1a/docs/output/Ext.grid.column.Template.js | OOPMan/wotsurveys | Ext.data.JsonP.Ext_grid_column_Template({"mixins":[],"code_type":"ext_define","inheritable":false,"component":true,"meta":{},"mixedInto":[],"uses":[],"aliases":{"widget":["templatecolumn"]},"parentMixins":["Ext.util.Floating","Ext.util.Observable","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Renderable","Ex... |
ajax/libs/yui/3.9.1/event-focus/event-focus-coverage.js | thetable/cdnjs | if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
src/components/ReplEntryIcon.js | princejwesley/Mancy | import React from 'react';
export default class ReplEntryIcon extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className='repl-entry-icon'>
{
this.props.collapse
? <i className="fa fa-angle-left" title="expand command" onClick={th... |
src/components/Disciplina/ReprovadoMessage/index.js | RodolfoSilva/DeVryCalc | import React from 'react'
import { Text, View } from 'react-native'
import styles from './styles'
const ReprovadoMessage = () => (
<View style={styles.container}>
<Text style={styles.message}>
Não foi desssa vez, sorte na próxima....
</Text>
</View>
)
export default ReprovadoMessage
|
js/src/index.js | kushti/mpt | // Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity 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.... |
src/js/components/RegisterFields/InputSelectText/InputSelectText.js | nekuno/client | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import Input from '../../ui/Input/Input.js';
import Chip from '../../ui/Chip/Chip.js';
import styles from './InputSelectText.scss';
export default class InputSelectText extends Component {
static propTypes = {
placeholder : P... |
ajax/libs/rxjs/2.3.6/rx.compat.js | stefanocudini/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... |
scripts/build.js | tcosentino/react-virtualized-datatable | 'use strict';
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
//... |
packages/trustyle-docs/stories/ui-text/stories/types.example.js | tabki/tabki | import React from "react";
const title = "Headings";
const description = `
Each <code>type</code> is based on the corresponding html tag.
for text you can uppercase
<code>span</code> and <code>p</code>.
Headings available in <code>h1</code> - <code>h6</code>.
`;
const liveSnippet = () => [
<ui-text type... |
src/components/SearchBar.js | njscococo/githuber_react_practice | import React from 'react';
import ReactDOM from 'react-dom';
import axios from 'axios';
export class SearchBar extends React.Component{
constructor(props){
super(props);
this.handleChange = this.handleChange.bind(this);
this.clickSend = this.clickSend.bind(this);
}
handleChange(e){... |
src/renderer/components/Items.js | marcus-sa/Venobo | import React from 'react'
import classNames from 'classnames'
import dispatch from '../lib/dispatcher'
import Footer from './Footer'
export const SectionMenu = ({ children }) => (
<secton className="block section-menu active">
{children}
</secton>
)
export const SectionWrapper = ({ children }) => (
<div cl... |
reactjs/cra/src/App.js | tangsj/cc-learning | 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... |
ajax/libs/react/0.9.0-rc1/react-with-addons.js | dc-js/cdnjs | /**
* React (with addons) v0.9.0-rc1
*/
!function(e){if("object"==typeof exports)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.React=e()}}(function(){var define,module,e... |
2_route_redux_render/component/details/index.js | chkui/react-server-demo | import React from 'react'
import SearchInput from '../common/searchInput'
import Result from './result'
import {connect} from '../../util/store'
import {requestList, cleanList} from './reducer'
const cn = require('classnames/bind').bind(require('./index.scss'))
const SelectList = [{
id: 'language',
options: [... |
src/js/components/number.js | frig-js/frigging-bootstrap | import React from 'react'
import cx from 'classnames'
import Numeral from 'numeral'
import InputErrorList from './input_error_list'
import Saved from './saved'
import Label from './label'
import { sizeClassNames, formGroupCx } from '../util.js'
import defaultProps from '../default_props.js'
import defaultPropTypes fr... |
Examples/UIExplorer/UIExplorerApp.ios.js | mukesh-kumar1905/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,
... |
docs/src/app/components/pages/components/FontIcon/ExampleIcons.js | ngbrown/material-ui | import React from 'react';
import FontIcon from 'material-ui/FontIcon';
import {red500, yellow500, blue500} from 'material-ui/styles/colors';
const iconStyles = {
marginRight: 24,
};
const FontIconExampleIcons = () => (
<div>
<FontIcon className="material-icons" style={iconStyles}>home</FontIcon>
<FontIco... |
ajax/libs/react-native-web/0.16.4/cjs/exports/KeyboardAvoidingView/index.min.js | cdnjs/cdnjs | "use strict";exports.__esModule=!0,exports.default=void 0;var React=_interopRequireWildcard(require("react")),_View=_interopRequireDefault(require("../View"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new W... |
docs/src/app/components/pages/components/Tabs/ExampleIcon.js | igorbt/material-ui | import React from 'react';
import {Tabs, Tab} from 'material-ui/Tabs';
import FontIcon from 'material-ui/FontIcon';
import ActionFlightTakeoff from 'material-ui/svg-icons/action/flight-takeoff';
const TabsExampleIcon = () => (
<Tabs>
<Tab icon={<FontIcon className="muidocs-icon-action-home" />} />
<Tab icon=... |
src/svg-icons/device/signal-wifi-3-bar-lock.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceSignalWifi3BarLock = (props) => (
<SvgIcon {...props}>
<path opacity=".3" d="M12 3C5.3 3 .8 6.7.4 7l3.2 3.9L12 21.5l3.5-4.3v-2.6c0-2.2 1.4-4 3.3-4.7.3-.1.5-.2.8-.2.3-.1.6-.1.9-.1.4 0 .7 0 1 .1L23.6 7c-.4-... |
src/Stepper/StepLabel.spec.js | hai-cea/material-ui | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import StepLabel from './StepLabel';
import getMuiTheme from '../styles/getMuiTheme';
describe('<StepLabel />', () => {
const muiTheme = getMuiTheme();
const shallowWithContext = (node, context = {}) => {... |
webpack.config.js | belatrix/ConnectAdmin | var isProd = (process.env.NODE_ENV === 'production');
var path = require('path');
var webpack = require('webpack');
var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var cssFilename = 'css/main.min.css';
function resolveApp(relativePath) {
return path.resolv... |
packages/reactor-kitchensink/src/examples/Charts/3DColumn/3DGrouped/3DGrouped.js | dbuhrman/extjs-reactor | import React, { Component } from 'react';
import { Container } from '@extjs/ext-react';
import { Cartesian } from '@extjs/ext-react-charts';
import ChartToolbar from '../../ChartToolbar';
export default class Grouped extends Component {
store = Ext.create('Ext.data.Store', {
fields: ['quarter', '2013', '2... |
client/util/react-intl-test-helper.js | Alex-Keyes/socialmediabot | /**
* Components using the react-intl module require access to the intl context.
* This is not available when mounting single components in Enzyme.
* These helper functions aim to address that and wrap a valid,
* English-locale intl context around them.
*/
import React from 'react';
import { IntlProvider, intlSha... |
docs/static/js/22.e359b809.chunk.js | yurizhang/ishow | webpackJsonp([22],{198:function(n,e,t){"use strict";function o(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?n:e}function ... |
ajax/libs/forerunnerdb/1.3.670/fdb-legacy.min.js | dada0423/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... |
public/js/jquery-1.11.3.min.js | likeit92/gogs | /*! jQuery v1.11.3 | (c) 2005, 2015 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... |
client/modules/App/__tests__/App.spec.js | buermo/bembox | import React from 'react';
import test from 'ava';
import sinon from 'sinon';
import { shallow, mount } from 'enzyme';
import { App } from '../App';
import styles from '../App.css';
import { intlShape } from 'react-intl';
import { intl } from '../../../util/react-intl-test-helper';
import { toggleAddPost } from '../App... |
src/views/Comment/Comment.js | shengnian/shengnian-ui-react | import cx from 'classnames'
import PropTypes from 'prop-types'
import React from 'react'
import {
childrenUtils,
customPropTypes,
getElementType,
getUnhandledProps,
META,
useKeyOnly,
} from '../../lib'
import CommentAction from './CommentAction'
import CommentActions from './CommentActions'
import CommentA... |
fields/components/DateInput__OLD.js | woody0907/keystone | import moment from 'moment';
import Pikaday from 'pikaday';
import React from 'react';
import { FormInput } from 'elemental';
module.exports = React.createClass({
displayName: 'DateInput',
// set default properties
getDefaultProps: function() {
return {
format: 'YYYY-MM-DD'
};
},
getInitialState: fu... |
ajax/libs/orb/1.0.8/orb.min.js | ahocevar/cdnjs | /**
* orb v1.0.8, Pivot grid javascript library.
*
* Copyright (c) 2014-2015 Najmeddine Nouri <devnajm@gmail.com>.
*
* @version v1.0.8
* @link http://nnajm.github.io/orb/
* @license MIT
*/
"use strict";!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==t... |
node_modules/react-bootstrap/es/NavbarBrand.js | ProjectSunday/rooibus | 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 ... |
packages/material-ui-icons/src/FontDownloadTwoTone.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M4 20h16V4H4v16zm7.07-14.5h1.86l5.11 13h-2.09l-1.14-3H9.17l-1.12 3H5.96l5.11-13z" opacity=".3" /><path d="M12 7.98L9.93 13.5h4.14z" opacity=".3"... |
ajax/libs/js-data/2.3.0/js-data.js | BobbieBel/cdnjs | /*!
* js-data
* @version 2.3.0 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUniversalModul... |
RedirectSample/Scripts/jquery-1.10.2.js | arminkarimi/RedirectSample | /* 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... |
ajax/libs/vkui/4.28.1/components/FormField/FormField.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/extends";import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["Component","children","getRootRef","after","disabled"];import{createScopedElement}from"../../lib/jsxR... |
src/svg-icons/av/volume-off.js | ngbrown/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvVolumeOff = (props) => (
<SvgIcon {...props}>
<path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86... |
src/components/record_list_item.js | xuan6/admin_dashboard_local_dev | import React from 'react';
import {ListGroupItem} from 'react-bootstrap';
const RecordListItem = ({record,action,tab}) => {
var date = record.time;
var recordinfo = record.record;
var values = recordinfo.valuecategory;
var stringlength = recordinfo.valuecategory.length;
var valuesStr = values.slice... |
client/components/FormMessageList/FormMessageList.js | ncrmro/ango | import React from 'react'
const FormMessageList = (props) =>
<ul className="FormMessageList" style={{
margin: 'auto',
minHeight: '10px'
}}>
{
props.messages.map(error =>
<li key={error.id || error.key} >
{error.message}
</li>
)
}
<... |
src/svg-icons/maps/local-pharmacy.js | w01fgang/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalPharmacy = (props) => (
<SvgIcon {...props}>
<path d="M21 5h-2.64l1.14-3.14L17.15 1l-1.46 4H3v2l2 6-2 6v2h18v-2l-2-6 2-6V5zm-5 9h-3v3h-2v-3H8v-2h3V9h2v3h3v2z"/>
</SvgIcon>
);
MapsLocalPharmacy = pure... |
webpack.config.prod.js | caviles/wflows | // For info about this file refer to webpack and webpack-hot-middleware documentation
// For info on how we're generating bundles with hashed filenames for cache busting: https://medium.com/@okonetchnikov/long-term-caching-of-static-assets-with-webpack-1ecb139adb95#.w99i89nsz
import webpack from 'webpack';
import Extra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.