path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/6to5/2.8.0/browser-polyfill.js | him2him2/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
src/index.js | TonCoder/react-music-player | import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/app';
ReactDOM.render(
<App />
, document.querySelector('.container'));
|
src/components/SingleEvent.js | RucaLove/GameifyYoSummah | import React from 'react'
import {Button, Card, CardTitle, Col} from 'react-materialize';
const SingleEvent = ({oneevent,user}) => {
return (
<Col s={12} m={4}>
<Card header={< CardTitle image = {oneevent.img} ></CardTitle>} actions={[ <Button floating large className='red' waves='light' icon='add' onClick=... |
src/Parser/Paladin/Holy/Modules/Traits/TyrsMunificence.js | hasseboulen/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... |
app/components/Dashboard/Overview.js | VonIobro/ab-web | import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import { formatEth } from '../../utils/amountFormatter';
import { conf } from '../../app.config';
import A from '../A';
import H2 from '../H2';
import List from '../List';
import Button from '../Button';
imp... |
sh.isaac.komet.doc/docbook-customization/docbook-xsl-ns-1.79.1/webhelp/template/search/nwSearchFnt.js | OSEHRA/komet | /*----------------------------------------------------------------------------
* JavaScript for webhelp search
*----------------------------------------------------------------------------
This file is part of the webhelpsearch plugin for DocBook WebHelp
Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved... |
_theme/template/Menu/ArticlesMenu.js | ElemeFE/react-amap | import React from 'react';
import { Menu } from 'antd';
import { Link } from 'react-router';
function getArticlesMenuLink(meta) {
const filename = meta.filename;
const link = '/' + filename.slice(0, filename.indexOf('.md'));
return <Link to={link}>{meta.title}</Link>;
}
function getArticlesMenu(menuData) {
co... |
src/Loader/Loader.driver.js | nirhart/wix-style-react | import React from 'react';
import ReactDOM from 'react-dom';
import Loader from '../Loader';
const loaderDriverFactory = ({element, wrapper}) => {
const isClassExists = (element, className) => !!element && element.className.indexOf(className) !== -1;
const text = element.childNodes[1];
return {
exists: () =... |
frontend/app/components/Register/RegisterContainer.js | First-Peoples-Cultural-Council/fv-web-ui | import React from 'react'
// import PropTypes from 'prop-types'
import RegisterPresentation from 'components/Register/RegisterPresentation'
import RegisterData from 'components/Register/RegisterData'
import PromiseWrapper from 'components/PromiseWrapper'
/**
* @summary RegisterContainer
* @component
*
* @param {ob... |
src/js/components/icons/base/PlatformArchlinux.js | linde12/grommet | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Pro... |
main.js | Nayed/jsonvalide | import React from 'react'
import ReactDOM from 'react-dom'
import ReactApp from './components/ReactApp.jsx'
ReactDOM.render(<ReactApp/>, document.getElementById('app')) |
ajax/libs/rxjs/4.0.7/rx.js | sympmarc/cdnjs | // Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'function': true,
'object': true
};
function checkGlobal(value) {
return (value && value.Object === Object) ? value : null;
}
var freeExpor... |
app/components/Updating/index.js | FuBoTeam/fubo-flea-market | import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './styles.css';
class Updating extends React.Component {
constructor(props) {
super(props);
this.displayName = 'Updating';
}
render() {
return (
<div styleName="bar">
<span styleName="track"></span... |
src/index.js | raghu666/Reactapp | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import ReduxPromise from 'redux-promise';
import App from './components/app';
import reducers from './reducers';
import { BrowserRouter } from 'react-router... |
src/routes/user/detail/index.js | yunqiangwu/kmadmin | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'dva'
import styles from './index.less'
const Detail = ({ userDetail }) => {
const { data } = userDetail
const content = []
for (let key in data) {
if ({}.hasOwnProperty.call(data, key)) {
content.push(<div key={key} c... |
src/routes/text_field/index.js | ChrisWC/MaterL | import React from 'react';
import Route from './Route';
import fetch from '../../core/fetch';
export default {
path: '/text_field',
async action() {
return <Route />;
},
};
|
src/Dropdown/test/DropdownToggleSpec.js | suitejs/suite | import React from 'react';
import { getDOMNode } from '@test/testUtils';
import DropdownToggle from '../DropdownToggle';
import Icon from '../../Icon';
import { innerText } from '@test/testUtils';
describe('DropdownToggle', () => {
it('Should render a toggle', () => {
const title = 'Test';
const instance = g... |
src/svg-icons/device/signal-cellular-2-bar.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceSignalCellular2Bar = (props) => (
<SvgIcon {...props}>
<path fillOpacity=".3" d="M2 22h20V2z"/><path d="M14 10L2 22h12z"/>
</SvgIcon>
);
DeviceSignalCellular2Bar = pure(DeviceSignalCellular2Bar);
Device... |
app/containers/HomePage/index.js | hlex/vms | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Slider from 'react-slick';
import moment from 'moment';
import cuid from 'cuid';
// ======================================================
// Components... |
src/routes/content/article/editor/index.js | muidea/magicSite | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'dva'
import { Form, Input, Button } from 'antd'
import { RichEditor } from 'components'
import { CatalogTree } from '../../common'
import styles from './index.less'
const FormItem = Form.Item
const formItemLayout = {
labelCol: { s... |
src/components/Header/Header.js | nobesnickr/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React from 'react';
import styles from './Header.css';
import withStyles from '../../decorators/withStyles';
import Link from '../../utils/Link';
import Navigation from '../Navigation';
@withStyles(styles)
class Header {
render() {
... |
submissions/leoasis/src/JediSlot.js | sensduo/flux-challenge | import React from 'react';
export default class JediSlot extends React.Component {
render() {
const { jedi } = this.props;
return <li className="css-slot">
{jedi && !jedi.fetching && <div style={jedi.isInCurrentPlanet ? { color: 'red' } : null}>
<h3>{jedi.name}</h3>
<h6>Homeworld: {jedi... |
actor-apps/app-web/src/app/components/modals/CreateGroup.react.js | way1989/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... |
ajax/libs/openlayers/2.12/lib/OpenLayers/Control/Panel.js | davebalmer/cdnjs | /* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Eve... |
src/js/components/proverbs/list/Index.spec.js | FBDevCLagos/hiddenwisdom-react-js | import expect from 'expect';
import React from 'react'; // eslint-disable-line no-unused-vars
import { mount, shallow } from 'enzyme'; // eslint-disable-line no-unused-vars
import { Proverbs } from './Index';
/**
* @return {Func} A shallow dom for tests
*/
function setup(status) {
let props = {
proverbs: {
... |
docs/src/pages/components/slider/InputSlider.js | kybarg/material-ui | import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography';
import Slider from '@material-ui/core/Slider';
import Input from '@material-ui/core/Input';
import VolumeUp from '@material-ui/icons/VolumeU... |
src/Parser/Priest/Discipline/Modules/Items/Tier20_4set.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 Wrapper from 'common/Wrapper';
import Analyzer from 'Parser/Core/Analyzer';
const BUFF_DURATION = 12000;
const REG... |
react/src/base/inputs/SprkInput/SprkInput.js | sparkdesignsystem/spark-design-system | import React, { Component } from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';
class SprkInput extends Component {
constructor(props) {
const { value } = props;
super(props);
if (value) {
this.state = {
hasValue: true,
};
} else {
this.st... |
src/components/TimerControls.js | devoidofgenius/react-pomodoro | import React from 'react';
import '../css/TimerControls.css';
const TimerControls = (props) => {
return (
<div className="timerControls">
<div className="play" onClick={props.startTimer}>
<svg className="play-btn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46 46"><path d="M14.8 46c-1.4 0-2.8-0... |
photo/js/lib/jquery-1.12.4.min.js | johnnovak/johnnovak.site | /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu... |
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-bricks-header.js | UnicornCollege/ucl.itkpd.configurator | import React from 'react';
import {BaseMixin, ElementaryMixin, ContentMixin, ColorSchemaMixin, LevelMixin, Tools} from '../common/common.js';
import Jumbotron from './jumbotron.js'
import './header.less';
export const Header = React.createClass({
//@@viewOn:mixins
mixins: [
BaseMixin,
ElementaryMixin,
... |
packages/material-ui-icons/src/DesktopWindowsSharp.js | callemall/material-ui | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M23 2H1v16h9v2H8v2h8v-2h-2v-2h9V2zm-2 14H3V4h18v12z" />
, 'DesktopWindowsSharp');
|
admin/client/App/elemental/DropdownButton/index.js | andrewlinfoot/keystone | /* eslint quote-props: ["error", "as-needed"] */
import React from 'react';
import { css } from 'glamor';
import Button from '../Button';
function DropdownButton ({ children, ...props }) {
return (
<Button {...props}>
{children}
<span className={css(classes.arrow)} />
</Button>
);
};
// NOTE
// 1: take a... |
__tests__/index.android.js | aksharora/ReactNativeDemoBasic | 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 />
);
});
|
web/app/layout/offcanvas.js | bitemyapp/serials | // @flow
import React from 'react'
import {find, filter, assign} from 'lodash'
import {clickable, Colors} from '../style'
// set the following:
// main content
// menu items
// main header / title
export var MenuHeaderStyle = {
background: Colors.darkTone,
color: Colors.offWhite
}
export var MenuLinkStyle = {
... |
src/components/common/Menu.js | nightwolfz/mobx-starter | import React from 'react'
import { observer, inject } from 'mobx-react'
import { Link } from 'react-router-dom'
@inject('store')
@observer
class Menu extends React.Component {
render() {
const { store } = this.props
return (
<div>
{store.account.isLoggedIn()
? <LoggedInMenu/>
... |
src/client/app/app.js | LINKIWI/apache-auth | import React from 'react';
import {Router, browserHistory} from 'react-router';
import routes from './routes';
const App = () => (
<Router history={browserHistory}>
{routes}
</Router>
);
export default App;
|
ajax/libs/react-native-web/0.15.1/exports/AppRegistry/renderApplication.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); }
/... |
src/svg-icons/action/assessment.js | ruifortes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionAssessment = (props) => (
<SvgIcon {...props}>
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/>
</SvgIcon>
);
ActionA... |
src/components/Input.js | aastein/crypto-trader | import React from 'react';
import PropTypes from 'prop-types';
const Input = props => (
(
<div>
<input
className={`${props.className} ${props.invalid ? 'invalid' : ''}`}
maxLength={props.maxLength}
name={props.name}
onChange={e => props.onChange(props.name, e)}
place... |
src/jsx/components/search.js | CBIConsulting/ProperSearch | import React from 'react';
import Immutable from 'immutable';
import _ from 'underscore';
import SearchList from './searchList';
import SeachField from 'react-propersearch-field';
import messages from "../lang/messages";
import Normalizer from "../utils/normalize";
import {shallowEqualImmutable} from 'react-immutable-r... |
ajax/libs/react-router/0.13.2/ReactRouter.js | Dervisevic/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["ReactRouter"] = fac... |
fields/types/email/EmailColumn.js | suryagh/keystone | import React from 'react';
import ItemsTableCell from '../../../admin/client/components/ItemsTable/ItemsTableCell';
import ItemsTableValue from '../../../admin/client/components/ItemsTable/ItemsTableValue';
var EmailColumn = React.createClass({
displayName: 'EmailColumn',
propTypes: {
col: React.PropTypes.object,
... |
ajax/libs/survey-react/1.0.4/survey.react.min.js | ahocevar/cdnjs | /*!
* surveyjs - Survey JavaScript library v1.0.4
* Copyright (c) 2015-2017 Devsoft Baltic OÜ - http://surveyjs.io/
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&d... |
client/routes.js | Captain-Million/Captain-Million | /* eslint-disable global-require */
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './modules/App/App';
import Home from './components/Home';
export default (
<Route path="/" component={App}>
<IndexRoute component={Home} />
</Route>
);
|
src/svg-icons/av/queue-play-next.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvQueuePlayNext = (props) => (
<SvgIcon {...props}>
<path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h2v-2H3V5h18v8h2V5c0-1.11-.9-2-2-2zm-8 7V7h-2v3H8v2h3v3h2v-3h3v-2h-3zm11 8l-4.5 4.5L18 21l3-3-3-3... |
packages/material-ui-icons/src/SwitchVideoRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M18 9.5V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.5l2.29 2.29c.63.63 1.71.18 1.71-.71V7.91c0-.89-1.08-1.34-1.71-.71L18 9.5zm-5 6V13H7v2.5l-3.15-3.15c-.2-.2-.2-.51 0-... |
js/components/Header/5.js | YeisonGomez/RNAmanda |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text } from 'native-base';
import { Actions } from 'react-native-router-flux';
import { actions } from 'react-native-navigation-redux-helpers';
import { openDra... |
src/components/views/dialogs/ShareDialog.js | aperezdc/matrix-react-sdk | /*
Copyright 2018 New Vector Ltd
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 in writing, software
... |
src/components/article/HeaderTwo.js | hanyulo/twreporter-react | 'use strict'
import commonStyles from './Common.scss'
import classNames from 'classnames'
import React from 'react' // eslint-disable-next-line
// lodash
import get from 'lodash/get'
export const HeaderTwo = ({ content }) => {
return <h2 className={classNames(commonStyles['inner-block'],
'text-justify')} ... |
grails-app/assets/javascripts/dependencies/node_modules/material-ui/svg-icons/editor/border-horizontal.js | puaykai/noodles | '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... |
src/routes/Search/components/EmptyResultCard.js | SurfaceW/connectify_client | import React from 'react'
import { Card, CardHeader, CardText } from 'material-ui/Card'
export default () => (
<Card>
<CardHeader
title='no result'
/>
<CardText>
There is no result for the current state, you can click back button and
keep on searching with some other words.
</CardTe... |
ReportSystem/src/main/webapp/resources/js/components/common/sidermenu.js | LittleLazyCat/TXEY | import { Menu, Icon } from 'antd';
import React from 'react'
const SubMenu = Menu.SubMenu;
export default class SiderMenu extends React.Component {
constructor(props) {
super(props);
this.state={
current: 'userMgt',
openKeys: []
};
}
handleClick(e) {
window.location.hash = e.key;
... |
src/components/views/elements/CreateRoomButton.js | aperezdc/matrix-react-sdk | /*
Copyright 2017 Vector Creations Ltd
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 in writing, sof... |
ajax/libs/primereact/3.3.2/components/fieldset/Fieldset.js | cdnjs/cdnjs | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Fieldset = void 0;
var _react = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _classnames = _interopRequireDefault(require("classnames"));
var _UniqueComponentId =... |
good-old-react-authentication-flow/src/components/ImgPreviewArrow/index.js | strapi/strapi-examples | /**
*
* ImgPreviewArrow
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import cn from 'classnames';
import './styles.scss';
function ImgPreviewArrow(props) {
let divStyle = props.show ? {} : { display: 'none' };
if (props.enable) {
divStyle = { zIndex: 99999 };
}
return (
<... |
packages/material-ui-icons/src/DateRange.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z" /><path fill="none"... |
src/index.js | ipfs/webui | import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'redux-bundler-react'
import './index.css'
import 'react-virtualized/styles.css'
import App from './App'
import getStore from './bundles'
import bundleCache from './lib/bundle-cache'
import { I18nextProvider } from 'react-i18next'
impor... |
test/integration/basic/pages/stateless.js | callumlocke/next.js | import React from 'react'
export default () => <h1>My component!</h1>
|
docs/app/Examples/behaviors/Visibility/Wireframe.js | aabustamante/Semantic-UI-React | import React from 'react'
import { Divider, Image, Segment } from 'semantic-ui-react'
export default () => (
<Segment>
<Image src='/assets/images/wireframe/centered-paragraph.png' />
<Divider />
<Image src='/assets/images/wireframe/short-paragraph.png' />
<Divider />
<Image src='/assets/images/wi... |
src/utils/AppearTransition.js | Terrapin-Ticketing/althea | import React from 'react';
import { connect } from 'react-redux';
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
import './AppearTransition.scss';
export default function(ComposedComponent) {
class TransitionComponent extends React.Component {
constructor(props) {
super(props);
... |
ajax/libs/rxjs/2.3.5/rx.lite.extras.js | ppavlov/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
... |
src/components/Story/StoryAvatar.js | TheLADbibleGroup/hackathon | import React from 'react';
import cx from 'classnames';
import './StoryAvatar.scss';
import emptyAvatar from './../../avatar.png';
export const StoryAvatar = (props) => (
<img className={cx('story-item-avatar media-object', props.avatarType)} src={props.avatar} />
);
StoryAvatar.propTypes = {
avatar: React.Pr... |
front_end/front_end_app/src/client/todos/index.react.js | carlodicelico/horizon | import Buttons from './buttons.react';
import Component from '../components/component.react';
import DocumentTitle from 'react-document-title';
import NewTodo from './newtodo.react';
import React from 'react';
import ToCheck from './tocheck.react';
import Todos from './todos.react';
export default class Index extends ... |
ajax/libs/forerunnerdb/1.3.893/fdb-legacy.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... |
node_modules/debowerify/node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js | dcorns/AlongTheWayII | /*!
* 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.
... |
definitions/npm/fbt_v0.x.x/flow_v0.104.x-/test_fbt.js | flowtype/flow-typed | // @flow
import React from 'react';
import { describe, it } from 'flow-typed-test';
import fbt, { IntlVariations, IntlViewerContext, init, fbt as fbt2 } from 'fbt';
describe('IntlViewerContext', () => {
it('should mutate locale property', () => {
IntlViewerContext.locale = 'ru_RU';
});
it('should raise an ... |
server/frontend/src/routes.js | rdenadai/raspberry-home-auto | import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './components/app';
import LandingPage from './containers/landing_page';
export default (
<Route path="/" component={App}>
<IndexRoute component={LandingPage} />
</Route>
);
|
source/client/components/user/UserLogin.js | worminer/React.js-Financial-News | import React from 'react'
import UserActions from '../../actions/UserActions'
import FormActions from '../../actions/FormActions'
import FormStore from '../../stores/FormStore'
import Form from '../form/Form'
import TextGroup from '../form/TextGroup'
import Submit from '../form/Submit'
import ShowMessage from '../sub-c... |
loc8-react-redux-front-end/src/components/Article/CommentList.js | uberslackin/django-redux-loc8-ARweb | import Comment from './Comment';
import React from 'react';
const CommentList = props => {
return (
<div>
{
props.comments.map(comment => {
return (
<Comment
comment={comment}
currentUser={props.currentUser}
slug={props.slug}
... |
ajax/libs/forerunnerdb/1.3.4/fdb-legacy.js | nolsherry/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.ForerunnerDB=e()}}(function(){var define,module,expor... |
src/app/app.js | lolamastro/beerswap | import React from 'react';
import {render} from 'react-dom';
import injectTapEventPlugin from 'react-tap-event-plugin';
import {Router, Route, hashHistory} from 'react-router';
import createStore from './store/createStore';
import { Provider } from 'react-redux';
import CreateSwap from './CreateSwap';
import InviteUse... |
node_modules/material-ui/lib/svg-icons/communication/call.js | Maxwelloff/react-football | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi... |
ajax/libs/zeroclipboard/2.0.0-beta.6/ZeroClipboard.Core.js | kennynaoh/cdnjs | /*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.0.0-beta.6
*/
(function(window, undefined) {
"use s... |
frontend/js/components/newIssue.js | beetwo/toucan | import React from 'react'
import Icon from 'react-fa'
import urls from '../urls'
export default function(props) {
let url = urls.createIssue(props.coordinates.lat, props.coordinates.lng);
return <div className='panel panel-success'>
<div className='panel-body'>
<a className='btn btn-xs btn-success' href=... |
node_modules/exponent/src/Components/AppLoading.ios.js | Helena-High/school-app | 'use strict';
import React from 'react';
import {
NativeModules,
requireNativeComponent,
} from 'react-native';
const NativeAppLoading = requireNativeComponent('ExponentAppLoading', null);
export default class AppLoading extends React.Component {
componentWillUnmount() {
NativeModules.ExponentAppLoadingMa... |
docs/src/pages/components/autocomplete/FreeSoloCreateOptionDialog.js | lgollut/material-ui | /* eslint-disable no-use-before-define */
import React from 'react';
import TextField from '@material-ui/core/TextField';
import Dialog from '@material-ui/core/Dialog';
import DialogTitle from '@material-ui/core/DialogTitle';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@m... |
Realization/frontend/czechidm-core/src/content/identity/PasswordChangeContent.js | bcvsolutions/CzechIdMng | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
//
import * as Basic from '../../components/basic';
import PasswordChangeForm from './PasswordChangeForm';
import ComponentService from '../../services/ComponentService';
import ConfigLoader from '../../utils/ConfigLoa... |
client/contents/bole/index.js | dwqs/tech-read | /**
* Created by pomy on 16/4/10.
*/
'use strict';
import '../common/contents.less';
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import {_} from '../../lib/base';
import Loading from '../../general/loading/index';
export default class BoleContent extends Component {
constructo... |
test/utils/CustomPropTypesSpec.js | thealjey/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import CustomPropTypes from '../../src/utils/CustomPropTypes';
import {shouldWarn} from '../helpers';
function isChainableAndUndefinedOK(validatorUnderTest) {
it('Should validate OK with undefined or null values', function() {
asse... |
server/render/setup.js | jkettmann/universal-react-relay-starter-kit | import express from 'express'
import webpack from 'webpack'
import noFavicon from 'express-no-favicons'
import helmet from 'helmet'
import compression from 'compression'
import Aws from 'aws-sdk'
import S3Router from 'react-s3-uploader/s3router'
import dotenv from 'dotenv'
import debug from 'debug'
dotenv.config()
con... |
packages/material-ui/src/Card/CardHeader.js | cherniavskii/material-ui | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import withStyles from '../styles/withStyles';
import Typography from '../Typography';
export const styles = theme => ({
root: theme.mixins.gutters({
display: 'flex',
alignItems: 'center',
paddingTop: them... |
ajax/libs/vue/2.4.0/vue.runtime.common.js | ahocevar/cdnjs | /*!
* Vue.js v2.4.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
'use strict';
/* */
// these helpers produces better vm code in JS engines due to their
// explicitness and function inlining
function isUndef (v) {
return v === undefined || v === null
}
function isDef (v) {
return v !== unde... |
ajax/libs/reactive-coffee/1.1.0/reactive-coffee.min.js | sullivanmatt/cdnjs | (function(){var a,b=[].slice,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};a=function(a,c,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V... |
src/utils/series-utils.js | Apercu/react-vis | // Copyright (c) 2016 - 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify... |
pkg/interface/chat/tile/tile.js | jfranklin9000/urbit | import React, { Component } from 'react';
import classnames from 'classnames';
import _ from 'lodash';
export default class ChatTile extends Component {
render() {
const { props } = this;
let data = _.get(props.data, 'chat-configs', false);
let inviteNum = 0;
let msgNum = 0;
if (data) {
... |
ajax/libs/material-ui/5.0.0-alpha.34/node/Fab/Fab.min.js | cdnjs/cdnjs | "use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _objectWithoutPropertiesLoose2=_interopRequireDefault(require... |
examples/react-firebase-redux/src/routes/Projects/components/ProjectTile/ProjectTile.js | prescottprue/generator-react-firebase | import React from 'react'
import PropTypes from 'prop-types'
import { useHistory } from 'react-router-dom'
import { useFirebase } from 'react-redux-firebase'
import Paper from '@material-ui/core/Paper'
import IconButton from '@material-ui/core/IconButton'
import Tooltip from '@material-ui/core/Tooltip'
import DeleteIco... |
saga/seata-saga-statemachine-designer/ggeditor/components/ContextMenu/index.js | seata/seata | import React from 'react';
import { pick } from '@utils';
import Editor from '@components/Base/Editor';
import { CONTEXT_MENU_CONTAINER } from '@common/constants';
import withGGEditorContext from '@common/context/GGEditorContext/withGGEditorContext';
import Menu from './Menu';
class ContextMenu extends React.Component... |
ReduxReactToDo/app/components/TodoDisplay/Navigators.js | michaelgichia/TODO-List | import React from 'react';
import styled from 'styled-components';
import Wrapper from './Wrapper';
import Label from './Label';
import DeleteIcon from '../DeleteIcon';
import EditIcon from '../EditIcon';
const Navigators = (props) => {
return (
<Wrapper className="wrapper-label">
<Label className="edit" onClick... |
ajax/libs/highmaps/1.1.2/highcharts.src.js | calebmer/cdnjs | // ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.1.3 (2015-02-27)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear... |
src/components/Header/Header.js | peter-suggate/Vibrato-Assistant | import React from 'react'
import classes from './Header.scss'
export const Header = () => (
// <h3>Violin Tutor</h3>
<div className={classes.container}>
</div>
)
export default Header
|
packages/material-ui-icons/src/PhotoSizeSelectActualOutlined.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="M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 15.92c-.02.03-.06.06-.08.08H3V5.08L3.08 5h17.83c.03.02.06.06.08.08v13.84... |
app/components/packages/packages/Pagination.js | rvpanoz/luna | import React from 'react';
import { number, func } from 'prop-types';
import TableFooter from '@material-ui/core/TableFooter';
import TablePagination from '@material-ui/core/TablePagination';
import TableRow from '@material-ui/core/TableRow';
const Pagination = (props) => {
const {
rowCount,
handleChangePage... |
ajax/libs/jQRangeSlider/4.2.6/jQRangeSliderBar.min.js | drewfreyling/cdnjs | (function(a,b){a.widget("ui.rangeSliderBar",a.ui.rangeSliderDraggable,{options:{leftHandle:null,rightHandle:null,bounds:{min:0,max:100},type:"rangeSliderHandle",range:false,drag:function(){},stop:function(){},values:{min:0,max:20},wheelSpeed:4,wheelMode:null},_values:{min:0,max:20},_waitingToInit:2,_wheelTimeout:false,... |
breezy/lib/RailsTagSpec.js | jho406/Relax | import { JSDOM } from 'jsdom'
import { render } from 'react-dom'
import React from 'react'
import RailsTag from './RailsTag'
const createScene = (html) => {
const dom = new JSDOM(`${html}`, { runScripts: 'dangerously' })
return { dom, target: dom.window.document.body.firstElementChild }
}
describe('RailsTag', () ... |
src/components/profile/Edit.js | juniorconsulting/internarena | 'use strict';
import * as actionCreators from '../../actions';
import React from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {Button, Input} from 'react-bootstrap';
class Edit extends React.Component {
handleChange(e) {
console.log(e.target.value);
}
rend... |
ajax/libs/6to5/2.8.0/browser.js | bsquochoaidownloadfolders/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... |
src/icons/Document.js | fbfeix/react-icons | import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class Document extends React.Component {
render() {
if(this.props.bare) {
return <g>
<path d="M399.3,168.9c-0.7-2.9-2-5-3.5-6.8l-83.7-91.7c-1.9-2.1-4.1-3.1-6.6-4.4c-2.9-1.5-6.1-1.6-9.4-1.6H136.2
c-12.4,0-23.7,9.6-... |
src/svg-icons/communication/voicemail.js | andrejunges/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationVoicemail = (props) => (
<SvgIcon {...props}>
<path d="M18.5 6C15.46 6 13 8.46 13 11.5c0 1.33.47 2.55 1.26 3.5H9.74c.79-.95 1.26-2.17 1.26-3.5C11 8.46 8.54 6 5.5 6S0 8.46 0 11.5 2.46 17 5.5 17h13c3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.