path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/flat-ui/2.3.0/js/vendor/jquery.min.js | wout/cdnjs | /*! 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... |
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js | luwei2012/actor-platform | import React from 'react';
import ReactMixin from 'react-mixin';
import addons from 'react/addons';
import classnames from 'classnames';
import AvatarItem from 'components/common/AvatarItem.react';
const {addons: { PureRenderMixin }} = addons;
@ReactMixin.decorate(PureRenderMixin)
class ContactItem extends React.Com... |
src/views/AboutView.js | mjasinski5/ContestReduxApp | import React from 'react';
import { Link } from 'react-router';
const AboutView = () => (
<div className='container text-center'>
<h1>This is the about view!</h1>
<hr />
<Link to='/'>Back To Home View</Link>
</div>
);
export default AboutView;
|
src/components/secure/create_book.js | haki-projects/mapping-feminism-v2 | import React, { Component } from 'react';
import { createBook } from '../../actions/books';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import _ from 'lodash';
class BookCreate extends Component {
constructor(props) {
super(props);
this.state = {
book: {
id: '... |
ajax/libs/react-bootstrap-table/2.1.5/react-bootstrap-table.min.js | BenjaminVanRyseghem/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R... |
node_modules/recharts/demo/component/Curve.js | SerendpityZOEY/Solr-Search-React-UI | import React from 'react';
import { Surface, Curve, Layer } from 'recharts';
import { curveBundle, curveCardinal, curveCardinalClosed, curveCardinalOpen,
curveCatmullRomOpen } from 'd3-shape';
import { scaleOrdinal, schemeCategory10 } from 'd3-scale';
export default React.createClass({
render () {
const point... |
app/javascript/mastodon/components/load_pending.js | glitch-soc/mastodon | import React from 'react';
import { FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
export default class LoadPending extends React.PureComponent {
static propTypes = {
onClick: PropTypes.func,
count: PropTypes.number,
}
render() {
const { count } = this.props;
return ... |
ajax/libs/forerunnerdb/1.3.5/fdb-legacy.min.js | seogi1004/cdnjs | !function(C){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=C();else if("function"==typeof define&&define.amd)define([],C);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self);f.ForerunnerDB=C()}}(function(){return function f(m,g,c... |
packages/cf-component-pagination/test/Pagination.js | mdno/mdno.github.io | import React from 'react';
import {
Pagination,
PaginationRoot
} from '../../cf-component-pagination/src/index';
import { felaSnapshot } from 'cf-style-provider';
test('should render', () => {
const snapshot = felaSnapshot(
<Pagination PaginationRoot={PaginationRoot}>Pagination</Pagination>
);
expect(sna... |
node_modules/react-icons/md/filter-4.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdFilter4 = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m35 28.4v-23.4h-23.4v23.4h23.4z m0-26.8c1.8 0 3.4 1.6 3.4 3.4v23.4c0 1.8-1.6 3.2-3.4 3.2h-23.4c-1.8 0-3.2-1.4-3.2-3.2v-23.4c0-1.8 1.4-3.4 3.2-3.4h23.4z m-10 23.4v-6.6... |
app/components/settings/contact-us/index.js | Vizzuality/forest-watcher | // @flow
import React, { Component } from 'react';
import Hyperlink from 'react-native-hyperlink';
import { View, Text } from 'react-native';
import { trackScreenView } from 'helpers/analytics';
import i18n from 'i18next';
import Theme from 'config/theme';
import styles from './styles';
class ContactUs extends Compo... |
src/Navigation.js | khanhqd/SuperSale2.0 | /*eslint-disable*/
import React from 'react';
import {AppRegistry} from 'react-native';
import platformSpecific from './deprecated/platformSpecificDeprecated';
import Screen from './Screen';
import PropRegistry from './PropRegistry';
const registeredScreens = {};
function registerScreen(screenID, generator) {
regi... |
src/index.js | d0ublegunz/hello-world | import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/App';
ReactDOM.render(
<App initialContests={window.initialData.contests} />,
document.getElementById('root')
);
|
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/index.js | dewmini/carbon-apimgt | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
clients/libs/slate-editor/src/SlateEditor.spec.js | nossas/bonde-client | import React from 'react'
import { shallow } from 'enzyme'
import SlateEditor from './SlateEditor'
describe('package/slate-editor/SlateEditor.spec.js', () => {
const wrapper = shallow(<SlateEditor />)
it('renders without crashing', () => {
expect(wrapper.find('.editor--root').length).toBe(1)
})
})
|
node_modules/material-ui/svg-icons/editor/format-indent-decrease.js | GregSantulli/react-drum-sequencer | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
ajax/libs/material-ui/5.0.0-beta.1/node/SvgIcon/SvgIcon.js | cdnjs/cdnjs | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectWithoutPropertiesLoose2 = _inte... |
src/js/components/ui/Tab.js | knowncitizen/tripleo-ui | /**
* Copyright 2017 Red Hat Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
examples/shared-root/app.js | zhijiansha123/react-router | import React from 'react';
import { history } from 'react-router/lib/HashHistory';
import { Router, Route, Link } from 'react-router';
var App = React.createClass({
render() {
return (
<div>
<p>
This illustrates how routes can share UI w/o sharing the url,
when routes have no pa... |
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/source/src/app/components/index.js | ChamNDeSilva/carbon-apimgt | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
js/components/sidebar/index.js | yasster/Divide-react-native |
import React, { Component } from 'react';
import { Image } from 'react-native';
import { connect } from 'react-redux';
import { Content, Text, List, ListItem, Icon, View } from 'native-base';
import navigateTo from '../../actions/sideBarNav';
import sidebarTheme from './sidebar-theme';
import styles from './style';
... |
admin/client/App/elemental/Center/index.js | concoursbyappointment/keystoneRedux | import React, { PropTypes } from 'react';
import { css } from 'glamor';
import classes from './styles';
function Center ({
className,
component: Component,
height,
style,
...props
}) {
props.className = css(classes.center, className);
props.style = { height, ...style };
return <Component {...props} />;
};
Cen... |
client/src/entrypoints/admin/wagtailadmin.js | torchbox/wagtail | import React from 'react';
import ReactDOM from 'react-dom';
import { Icon, Portal, initUpgradeNotification, initSkipLink } from '../..';
import { initModernDropdown, initTooltips } from '../../includes/initTooltips';
import { initTabs } from '../../includes/tabs';
if (process.env.NODE_ENV === 'development') {
// Ru... |
docs/src/app/components/pages/components/Card/Page.js | nathanmarks/material-ui | import React from 'react';
import Title from 'react-title-component';
import CodeExample from '../../../CodeExample';
import PropTypeDescription from '../../../PropTypeDescription';
import MarkdownElement from '../../../MarkdownElement';
import cardReadmeText from './README';
import cardExampleWithAvatarCode from '!r... |
ajax/libs/backbone-react-component/0.7.0/backbone-react-component.js | sujonvidia/cdnjs | // Backbone React Component
// ========================
//
// Backbone.React.Component v0.7.0
//
// (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com>
// Backbone.React.Component can be freely distributed under the MIT license.
//
//
// `Backbone.React.Component` is a mixin that glues [Backbone](http:/... |
src/components/Modal/index.js | supromikali/my-app | import React from 'react';
import ProductForm from '../ProductForm'
import CategoryForm from '../CategoryForm'
const Modal = ({
title,
hideModal,
handleSubmit,
handleDelete,
categories,
showProductForm,
showCategoryForm,
deleteProductDialog,
deleteCategoryDialog,
categoryErrors,... |
src/components/RoleTree.js | halo-design/halo-optimus | import React from 'react'
import { Tree } from 'antd'
const TreeNode = Tree.TreeNode
const bindDataLoop = item => {
if (item.children.length >= 1) {
return (
<TreeNode key={item.roleId} title={item.roleName}>
{item.children.map(bindDataLoop)}
</TreeNode>
)
} else {
return <TreeNode ... |
ajax/libs/vkui/4.28.0/cjs/hoc/withContext.min.js | cdnjs/cdnjs | "use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard").default,_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.withContext=withContext;var _jsxRuntime=require("../lib/jsxRunti... |
src/page/TablePage.js | jerryshew/react-uikits | import React, { Component } from 'react';
import {CN, TitleBlock} from '../util/tools';
import {NS, COLORS} from '../constant';
import CodeView from './CodeView';
const makeTable = (cn='') => {
return (
<table className={CN(`${cn} table`)}>
<thead>
<tr>
<th>n... |
docs/app/Examples/modules/Dropdown/Content/DropdownExampleMessage.js | clemensw/stardust | import React from 'react'
import { Dropdown, Message } from 'semantic-ui-react'
const DropdownExampleMessage = () => (
<Dropdown text='Login' floating labeled button className='icon'>
{/* <i class="filter icon"></i> */}
<Dropdown.Menu>
<Message error header='Error' content='You must log-in to see all c... |
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-common-color-schema-mixin.js | UnicornCollege/ucl.itkpd.configurator | import React from 'react';
import Environment from '../environment/environment.js'
import './color-schema.less';
import './color-schema/default.less';
import './color-schema/yellow.less';
import './color-schema/yellow-rich.less';
import './color-schema/orange.less';
import './color-schema/orange-rich.less';
import './... |
packages/material-ui-icons/lib/esm/PlayDisabledTwoTone.js | mbrookes/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M10 12.83v2.53l1.55-.99z",
opacity: ".3"
}, "0"), /*#__PURE__*/_jsx("path", {
d: "M2.81 2.81 1.39 4.22 8 10.83V19l4.99-3.18 6.78 6.78 1.41-1.41L2.81 2.8... |
packages/react/src/components/molecules/IconLink/IconLink.stories.js | massgov/mayflower | import React from 'react';
import { StoryPage } from 'StorybookConfig/preview';
import { svgOptions } from 'MayflowerReactBase/Icon/Icon.knob.options';
import * as Icon from 'MayflowerReactBase/Icon';
import Link from 'MayflowerReactMolecules/Link';
import IconLink from '.';
export const IconLinkExample = (args) => {... |
example/src/index.js | networknt/react-schema-form-rc-select | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import { ThemeProvider, StyledEngineProvider, createTheme, adaptV4Theme } from '@mui/material/styles';
const theme = createTheme(adaptV4Theme({
typography: {... |
files/videojs/5.0.0-rc.40/video.js | abishekrsrikaanth/jsdelivr | /**
* @license
* Video.js 5.0.0-rc.40 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License... |
src/pages/StyleGuidePage/StyleGuidePage.js | chrisslater/snapperfish | import React from 'react';
import Helmet from 'react-helmet';
import {
Layout,
Button,
Menu,
} from 'components';
const StyleGuide = function StyleGuide() {
const typography = require('theme/typography.scss');
return (
<div>
<Helmet title="Style Guide" />
<Menu title={'Style Guide'} />
... |
docs/src/Anchor.js | dongtong/react-bootstrap | import React from 'react';
const Anchor = React.createClass({
propTypes: {
id: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.number
])
},
render() {
return (
<a id={this.props.id} href={'#' + this.props.id} className="anchor">
<span className="anchor-ic... |
student/headgear/app.js | LAB-Remote/LAB-Remote.github.io | // var Greeting = React.createClass({
// render: function() {
// return (
// React.createElement('h1', null, 'Hello, world!')
// );
// }
// });
// window.addEventListener('load', function() {
// React.render(
// React.createElement(Greeting, null),
// document.body
// );
// });
import Re... |
homepage/src/pages/WatchPage.js | dirathea/ytschatbot | import React, { Component } from 'react';
import { DefaultPlayer as Video } from 'react-html5video';
import 'react-html5video/dist/styles.css';
import { Button, Snackbar } from "material-ui";
import { Redirect } from "react-router";
import { BasicLayout } from '../components';
import * as firebase from 'firebase';
impo... |
ajax/libs/react-native-web/0.11.3/vendor/react-native/VirtualizedList/index.js | cdnjs/cdnjs | function _extends() { _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; }; return _extends.apply(this, arguments); }
f... |
frontend/src/components/dialog/local-draft-dialog.js | miurahr/seahub | import React from 'react';
import PropTypes from 'prop-types';
import { gettext } from '../../utils/constants';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
const propTypes = {
deleteDraft: PropTypes.func.isRequired,
useDraft: PropTypes.func.isRequired,
localDraftDialog: PropT... |
pootle/static/js/auth/components/AccountActivation.js | iafan/zing | /*
* 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 React from 'react';
import { PureRenderMixin } from... |
monkey/monkey_island/cc/ui/src/components/attack/techniques/T1018.js | guardicore/monkey | import React from 'react';
import ReactTable from 'react-table';
import {renderMachineFromSystemData, renderMachine, ScanStatus} from './Helpers'
import MitigationsComponent from './MitigationsComponent';
class T1018 extends React.Component {
constructor(props) {
super(props);
}
static renderMachines(mach... |
ajax/libs/forerunnerdb/1.3.788/fdb-core+persist.min.js | tonytomov/cdnjs | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex... |
ajax/libs/yui/3.3.0pr1/event/event-debug.js | Showfom/cdnjs | var GLOBAL_ENV = YUI.Env;
if (!GLOBAL_ENV._ready) {
GLOBAL_ENV._ready = function() {
GLOBAL_ENV.DOMReady = true;
GLOBAL_ENV.remove(YUI.config.doc, 'DOMContentLoaded', GLOBAL_ENV._ready);
};
// if (!YUI.UA.ie) {
GLOBAL_ENV.add(YUI.config.doc, 'DOMContentLoaded', GLOBAL_ENV._ready);
... |
vendor/bower/yii2-pjax/vendor/jquery.js | YAGAMITAICHI/retake-plan | /*!
* jQuery JavaScript Library v1.9.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-1-14
*/
(function( window, undefined ) {
"use strict";... |
src/shared/components/imageCard/imageCard.js | miaket/operationcode_frontend | import React from 'react';
import PropTypes from 'prop-types';
import LinkButton from 'shared/components/linkButton/linkButton';
import styles from './imageCard.css';
const ImageCard = ({
buttonText,
cardText,
image,
link,
title
}) => (
<div className={styles.imageCard}>
<img className={styles.cardImag... |
frontend/src/mobile/Login.js | purocean/yii2-template | import React from 'react';
import { Toast } from 'antd-mobile';
import Auth from '../auth/Auth';
import Http from '../utils/Http';
class Component extends React.Component {
static contextTypes = {
router: React.PropTypes.object.isRequired
};
constructor(props) {
super(props);
Auth.setUser('');
... |
collect-webapp/frontend/server.js | openforis/collect | import 'babel-polyfill';
import path from 'path';
import express from 'express';
import cookieParser from 'cookie-parser';
import bodyParser from 'body-parser';
import expressJwt from 'express-jwt';
// import expressGraphQL from 'express-graphql';
import jwt from 'jsonwebtoken';
import React from 'react';
import ReactD... |
react-roster/src/components/Player-list.js | bjornicus/roster | import React from 'react';
import { connect } from 'react-redux';
import Player from './Player';
import { Label } from 'react-bootstrap';
const PlayerList = ({ heading, players, playerFilter}) => (
<div>
<h3><Label>{heading}</Label></h3>
<ul className='list-group'>
{players
.filter(playerFilte... |
ajax/libs/angular-google-maps/2.1.0-X.0/angular-google-maps.js | jaywcjlove/cdnjs | /*! angular-google-maps 2.1.0-X.0 2015-02-27
* AngularJS directives for Google Maps
* git: https://github.com/angular-ui/angular-google-maps.git
*/
;
(function( window, angular, undefined ){
'use strict';
/*
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
Permission is hereby grante... |
packages/material-ui-icons/src/CardGiftcardRounded.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="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.... |
app/javascript/mastodon/features/notifications/index.js | anon5r/mastonon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import Column from '../../components/column';
import ColumnHeader from '../../components/column_header';
import { expandNotifications, scrollTopNotifications ... |
packages/material-ui-icons/src/MailOutline.js | dsslimshaddy/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let MailOutline = props =>
<SvgIcon {...props}>
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z" />
</SvgIcon>;
MailOutli... |
client/app/containers/NodeEditorToolbar/index.js | bryanph/Geist | /*
*
* NodeEditorToolbar
*
*/
import React from 'react';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom'
import {HotKeys} from 'react-hotkeys';
import moment from 'moment'
import { FlatButton } from '../../components/button'
import SavedState from '../../containers/SavedState... |
src/Input/__tests__/Base.Test.js | BlueChilli/ChilliSource.Web.Forms | import React from 'react';
import sinon from 'sinon';
import { shallow } from 'enzyme';
import InputBase from '../Base';
const attributes = {
defaultValue: 'Shane',
inputChanged: () => ({}),
setInputBlurred: () => ({})
};
const event = {
target: {
value: 'test'
}
};
describe('<InputBase/>', () => {
it('shoul... |
src/components/icons/PhoneFilledIcon2.js | InsideSalesOfficial/insidesales-components | import React from 'react';
import { colors, generateFillFromProps } from '../styles/colors.js';
const PhoneFilledIcon2 = props => (
<svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24">
{props.title && <title>{props.title}</title>}
<g stroke="none" strokeWidth="... |
src/components/todo/screens/TodoAdd/TodoAddScreen.js | yasavbrain/yasav | import React from 'react';
import I18n from 'yasav/locales/i18n';
import TodoAddContainer from './containers/TodoAddContainer';
export default class TodoAddScreen extends React.Component {
// FIXME : Here the parameters from the navigation are called navParams
// but in ActivityDisplayScreen this is called stateP... |
js/vendor/jquery-1.11.2.min.js | josemarques/artsyfartsy | /*! jQuery v1.11.2 | (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/react-router/es6/IndexRedirect.js | FrancoCotter/ReactTimerAPP | import React from 'react';
import warning from './routerWarning';
import invariant from 'invariant';
import Redirect from './Redirect';
import { falsy } from './InternalPropTypes';
var _React$PropTypes = React.PropTypes;
var string = _React$PropTypes.string;
var object = _React$PropTypes.object;
/**
* An <IndexRedir... |
docs/app/Examples/modules/Dropdown/Content/DropdownExampleMessage.js | ben174/Semantic-UI-React | import React from 'react'
import { Dropdown, Message } from 'semantic-ui-react'
const DropdownExampleMessage = () => (
<Dropdown text='Login' floating labeled button className='icon'>
{/* <i class="filter icon"></i> */}
<Dropdown.Menu>
<Message error header='Error' content='You must log-in to see all c... |
frontend/src/index.js | ElGatoLoco/DRF-Webpack-ES6-React-SASS---starter-kit | import React from 'react';
import ReactDOM from 'react-dom';
const App = () =>
<h1>Hello ReactJS!</h1>
ReactDOM.render(
<App />,
document.getElementById('root')
); |
app/javascript/mastodon/features/ui/components/focal_point_modal.js | NS-Kazuki/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { connect } from 'react-redux';
import ImageLoader from './image_loader';
import classNames from 'classnames';
import { changeUploadCompose } from '../../../... |
node_modules/aphrodite/examples/src/examples.js | ed1d1a8d/macweb | /* @flow */
import ReactDOM from 'react-dom';
import React from 'react';
import { StyleSheet } from '../../src/index.js';
import StyleTester from './StyleTester.js';
StyleSheet.rehydrate(window.renderedClassNames);
ReactDOM.render(
<StyleTester />,
document.getElementById('root'));
|
ajax/libs/react-router/0.11.3/react-router.js | SirenHound/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.ReactRouter=e()}}(function(){var define,module,export... |
index.js | cgafeng/todomvc | import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import App from './containers/App'
import configureStore from './store/configureStore'
import 'todomvc-app-css/index.css'
const store = configureStore()
render(
<Provider store={store}>
<A... |
docs/src/examples/elements/Step/Types/StepExampleStep.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import { Step } from 'semantic-ui-react'
const StepExampleStep = () => (
<Step.Group>
<Step>Shipping</Step>
</Step.Group>
)
export default StepExampleStep
|
public/js/cat_source/es6/react-libs.js | matecat/MateCat | import ReactDOM from 'react-dom'
import React from 'react'
window.ReactDOM = ReactDOM
window.React = React
|
src/svg-icons/av/closed-caption.js | igorbt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvClosedCaption = (props) => (
<SvgIcon {...props}>
<path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.5... |
app/javascript/mastodon/features/list_editor/components/edit_list_form.js | salvadorpla/mastodon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { changeListEditorTitle, submitListEditor } from '../../../actions/lists';
import IconButton from '../../../components/icon_button';
import { defineMessages, injectIntl } from 'react-intl';
const messages = def... |
examples/custom-server/pages/a.js | sedubois/next.js | import React from 'react'
export default () => <div>a</div>
|
src/svg-icons/notification/event-busy.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationEventBusy = (props) => (
<SvgIcon {...props}>
<path d="M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V... |
actor-apps/app-web/src/app/components/Login.react.js | it33/actor-platform | import _ from 'lodash';
import React from 'react';
import classNames from 'classnames';
import { Styles, RaisedButton, TextField } from 'material-ui';
import { AuthSteps } from 'constants/ActorAppConstants';
import Banner from 'components/common/Banner.react';
import LoginActionCreators from 'actions/LoginActionCre... |
src/components/Hatchshow.js | codevinsky/deep-ellum-jukebox-ui | import React from 'react';
class Hatchshow extends React.Component {
constructor(...args) {
super(...args);
}
componentDidMount() {
$(".slabify").wideText({maxSize: 300});
}
render() {
return (
<div>
<span className="slabify">{this.props.children}</span>
</div>
);
}
}
expo... |
config/template/me/lib/jquery.js | stewartoallen/cbs | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
src/components/Signups/Signups.js | joyvuu-dave/comeals-ui-react | // rendered by MealView
import React from 'react'
import classes from './Signups.scss'
type Props = {
attendees: number,
omnivores: number,
vegetarians: number,
late: number
};
export class Signups extends React.Component<void, Props, void> {
render () {
return (
<section className={classes.signup... |
src/Index.js | shaunanoordin/zooniverse-mapexplorer | import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route } from 'react-router';
import App from './components/App';
import Map1 from './pages/Map-1/Index';
import Map1A from './pages/Map-1A/Index';
import Map2 from './pages/Map-2/Index';
import Map3 from './pages/Map-3/Index';
import Map4 fro... |
ajax/libs/inferno/1.0.0-beta13/inferno-compat.min.js | tonytomov/cdnjs | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("./inferno-component")):"function"==typeof define&&define.amd?define(["exports","inferno-component"],n):n(e.Inferno=e.Inferno||{},e.Inferno.Component)}(this,function(e,n){"use strict";function t(e,n){return n={exports:{}},e(n,n.export... |
platforms/ios/platforms/browser/www/Scripts/jquery-1.8.2.js | ansiboy/ChiTuStore | /* 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 ... |
ajax/libs/alexandernst-angular-multi-select/6.3.2/angular-multi-select.js | redmunds/cdnjs | "use strict";
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ... |
Example/__tests__/index.ios.js | jwohlfert23/react-native-tag-input | 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 />
);
});
|
modules/Redirect.js | neebz/react-router | import React from 'react'
import invariant from 'invariant'
import { createRouteFromReactElement } from './RouteUtils'
import { formatPattern } from './PatternUtils'
import { falsy } from './PropTypes'
const { string, object } = React.PropTypes
/**
* A <Redirect> is used to declare another URL path a client should b... |
ajax/libs/js-data-http/3.0.0-alpha.10/js-data-http.js | viskin/cdnjs | /*!
* js-data-http
* @version 3.0.0-alpha.10 - Homepage <http://www.js-data.io/docs/dshttpadapter>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE>
*
* @overview HTTP adapter for js-data.
*/
(function webpac... |
static/Brython3.1.1-20150328-091302/Lib/jqueryui/jquery-1.11.2.js | 40223110/w16b_test | /*!
* 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 ) {
... |
files/rxjs/2.2.27/rx.all.compat.js | sancospi/jsdelivr | // 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
};
v... |
src/views/Feed/FeedEvent.js | jamiehill/stardust | import cx from 'classnames'
import React, { PropTypes } from 'react'
import {
customPropTypes,
getElementType,
getUnhandledProps,
META,
} from '../../lib'
import FeedContent from './FeedContent'
import FeedLabel from './FeedLabel'
function FeedEvent(props) {
const { content, children, className, date, extra... |
example/pages/progress/index.js | n7best/react-weui | /**
* Created by jf on 15/12/10.
*/
"use strict";
import React from 'react';
import {Button, Progress} from '../../../build/packages';
import Page from '../../component/page';
export default class ProgressDemo extends React.Component {
state = {
value: 0,
timer: null,
isUploading: fals... |
src/components/molecules/FileComment/index.js | SIB-Colombia/biodiversity_catalogue_v2_frontend | import React from 'react';
import styled from 'styled-components';
import {Link, TitleSection, HomeTitle} from 'components';
import {Grid, Row, Col} from 'react-flexbox-grid';
import {
Card,
CardActions,
CardHeader,
CardMedia,
CardTitle,
CardText
} from 'material-ui/Card';
import FlatButton from 'material-u... |
vendor/dompdf/dompdf/www/jquery-1.4.2.js | palenq/transaccionesAcademicas | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/pages/about/index.js | joefraley/ratticusscript | 'use strict'
import Helmet from 'react-helmet'
import React from 'react'
const ratPictures = require.context('./assets', true, /rat/)
export const Thumbnail = ({ alt, link, source }) => <a href={ link } target="_">
<img src={ require(`./${source}`) } alt={ alt }></img>
</a>
export const AboutPage = props => <secti... |
src/Parser/Monk/Mistweaver/Modules/Traits/WayOfTheMistweaver.js | enragednuke/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
import { formatPercentage } from 'common/format';
import Analyzer from 'Parser/Core/Analyzer';
import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing... |
src/components/Heading.js | gregmalcolm/elite-engineers | import React from 'react';
const Heading = () => (
<div className="row">
<div id="header">
<a href="/">
<h1>ELITE ENGINEERS</h1>
<img className="image engineer-header"/>
</a>
</div>
</div>
);
export default Heading;
|
ajax/libs/aui/5.6.7/aui/js/aui-all.js | melvinsembrano/cdnjs | !function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(.... |
packages/material-ui-icons/src/StarHalf.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><defs><path id="a" d="M0 0h24v24H0V0z" /></defs><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88... |
__tests__/index.android.js | bosung90/react-native-router-flux-example | 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 />
);
});
|
packages/material-ui-icons/src/CallSplitOutlined.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="M14 4l2.29 2.29-2.88 2.88 1.42 1.42 2.88-2.88L20 10V4h-6zm-4 0H4v6l2.29-2.29 4.71 4.7V20h2v-8.41l-5.29-5.3L10 4z" /></g></React.Fragment>
, '... |
lib/codemod/src/transforms/__testfixtures__/csf-to-mdx/parameters.input.js | kadirahq/react-storybook | import React from 'react';
import Button from './Button';
import { storiesOf } from '@storybook/react';
export default {
title: 'Button',
component: Button,
parameters: {
foo: 1,
bar: 2,
},
};
export const story1 = () => <Button label="The Button" />;
story1.story = { name: 'with kind parameters' };
|
docs/src/components/Navigation/Navigation.js | bmatthews/haze-lea | /**
* 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 cx from 'classnames';... |
src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js | jmacman007/react | /**
* Copyright 2013-2015, 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.
*
* @emails react-co... |
lib/jquery-1.5.2.min.js | cfoeckeler/fullcalendar | /*!
* jQuery JavaScript Library v1.5.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.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.