path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/svg-icons/action/zoom-out.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionZoomOut = (props) => (
<SvgIcon {...props}>
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 ... |
src/svg-icons/social/cake.js | rhaedes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialCake = (props) => (
<SvgIcon {...props}>
<path d="M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l... |
components/Table/Cell.js | Ineigo/react-library-components | import PropTypes from 'prop-types';
import React from 'react';
class Cell extends React.Component {
static propTypes = {
onClick: PropTypes.func.isRequired,
children: PropTypes.any
}
constructor(props) {
super(props);
}
render() {
return (
<div className... |
static/node_modules/material-ui/svg-icons/notification/airline-seat-individual-suite.js | unmeshpro/easyPost | '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/svg-icons/communication/stay-current-portrait.js | igorbt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationStayCurrentPortrait = (props) => (
<SvgIcon {...props}>
<path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/>
</SvgIcon>
);... |
src/client/scenes/VoiceChannel/index.js | kettui/webcord-web-app | import React, { Component } from 'react';
import { observer, inject } from 'mobx-react';
import find from 'lodash/find';
import VideosContainer from './Videos';
import Member from 'scenes/Guild/MemberList/Member';
import styles from './voice-channel.scss';
const InfoRow = observer(({ label, value }) => (
<div cla... |
wp-includes/js/jquery/jquery.js | work-shop/freedom-beat | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
src/components/chips/Chip.js | isogon/styled-mdl | import { compose, setPropTypes, setDisplayName } from 'recompose'
import PropTypes from 'prop-types'
import React from 'react'
import { Icon } from '../icons'
import { ChipStyle, ChipText, ChipAction } from './Chip.style'
import { proxyStyledStatics } from '../../hocs'
import ChipContact from './ChipContact'
export c... |
website/pages/en/help.js | hemerajs/hemera | /**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react')
const CompLibrary = require('../../core/CompLibrary.js')
const Container = CompLibrary.Container
const G... |
Public/static/js/lib/jquery/1.9.1/jquery.min.js | chenglongcl/blog | /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return... |
src/interface/icons/Intellect.js | ronaldpereira/WoWAnalyzer | import React from 'react';
const icon = props => (
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="16 17 32 32" className="icon" {...props}>
<path d="M28.832,44.802h6.559v-1.101h-6.559V44.802z M29.91,47.004h4.402v-1.101H29.91V47.004z M32.156,18.379c-0.012,0-0.031,0-0.045,0c-0.014,0-0.033,0-0.045,0... |
app/javascript/mastodon/components/poll.js | Ryanaka/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import classNames from 'classnames';
import Motion fr... |
client/src/pages/app/About.js | wujichao/wencheng | import React from 'react'
const About = React.createClass({
render() {
return (
<div>
<h1>About</h1>
<p>这里是关于, 不登陆就能看</p>
</div>
)
}
})
export default About
|
ajax/libs/angular.js/0.9.1/angular-scenario.min.js | mgoldsborough/cdnjs | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
ajax/libs/react-native-web/0.14.8/modules/useResponderEvents/index.js | cdnjs/cdnjs | /**
* Copyright (c) Nicolas Gallagher
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
/**
* Hook for integrating the Responder System into React
*
* function SomeComponent({ onStartShouldSetResponder }) {
* const ref... |
doc/html/jquery.js | 5putnik/discreta12eueumesmoehugo | /*
* jQuery JavaScript Library v1.7.1
* 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.
... |
src/icons/DirectionsIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class DirectionsIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M43.41 22.59l-18-18c-.78-.78-2.05-.78-2.82 0l-18 18c-.78.78-.78 2.05 0 2.83l18 17.99v.01c.78.78 2.05.78... |
packages/react-instantsearch-dom-maps/src/__tests__/GoogleMapsLoader.jsdom.js | algolia/react-instantsearch | import React from 'react';
import Enzyme, { shallow } from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
import injectScript from 'scriptjs';
import GoogleMapsLoader from '../GoogleMapsLoader';
import { wait } from '../../../../test/utils';
Enzyme.configure({ adapter: new Adapter() });
jest.mock... |
src/containers/pages/welcome/sections/use-cases/reddit.js | vFujin/HearthLounge | import React from 'react';
import CardInText from "../../../../../components/card/card-in-text";
import {Link} from "react-router-dom";
import Icon from "../../../../../components/icon";
const anduin = <CardInText label="Andruin Wrynn" imgSrc="http://media.services.zam.com/v1/media/byName/hs/cards/enus/HERO_09.png" ra... |
src/routes/contact/index.js | peeyush1234/react-nodejs-skeleton | /**
* 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... |
src/svg-icons/action/thumbs-up-down.js | tan-jerene/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionThumbsUpDown = (props) => (
<SvgIcon {...props}>
<path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1... |
app/scripts/Mobilization/__tests__/containers/ShowMobilizationContainer.spec.js | igr-santos/bonde-client | import React from 'react'
import { expect } from 'chai'
import { shallow } from 'enzyme'
import ShowMobilizationContainer from '../../containers/ShowMobilizationContainer'
describe('app/scripts/Mobilization/containers/ShowMobilizationContainer', () => {
let props = {
mobilization: {
id: 1,
name: 'Fo... |
ajax/libs/antd/1.10.0/antd.min.js | iwdmb/cdnjs | /*!
* antd v1.10.0
*
* Copyright 2015-present, Alipay, Inc.
* All rights reserved.
*/
!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.antd... |
app/user/components/UserRoot.js | ecellju/internship-portal | import React from 'react';
import { Route, Redirect } from 'react-router-dom';
import PropTypes from 'prop-types';
// import Navbar from './Navbar';
import HomeNavigate from '../dashboard/HomeNavigate';
import FavouritesTab from '../dashboard/FavouritesTab';
import ApplicationsTab from '../dashboard/ApplicationsTab';
i... |
ajax/libs/6to5/1.13.1/browser.js | luanlmd/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... |
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/babel-runtime/helpers/jsx.js | lhuria94/srijan-staff-react | "use strict";
exports.__esModule = true;
var _for = require("../core-js/symbol/for");
var _for2 = _interopRequireDefault(_for);
var _symbol = require("../core-js/symbol");
var _symbol2 = _interopRequireDefault(_symbol);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; ... |
replay/components/root.js | olegccc/network-record-replay | import React from 'react';
import Configuration from './configuration';
import Manage from './manage';
import Status from './status';
import Pages from './pages';
import OverrideList from './overrideList';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import {connect} from 'react-redux';
const R... |
test/SoundCloud-test.js | troybetz/react-soundcloud-widget | import expect from 'expect';
import React from 'react';
import { render, renderDOM } from './helpers/render';
window.SC = {
Widget: {
Events: {
PLAY: 'play',
PAUSE: 'pause',
FINISH: 'finish',
},
},
};
const url = 'https://soundcloud.com/sylvanesso/coffee';
describe('SoundCloud Widget', ... |
ajax/libs/angular-google-maps/2.1.0-X.5/angular-google-maps_dev_mapped.js | voronianski/cdnjs | /*! angular-google-maps 2.1.0-X.5 2015-03-10
* 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... |
src/components/panel/panel_footer.js | woshisbb43/coinMessageWechat | import React from 'react';
import classNames from '../../utils/classnames';
/**
* Footer of Panel
*
*/
export default class PanelFooter extends React.Component {
render() {
const {className, children, ...others} = this.props;
const Component = this.props.href ? 'a' : 'div';
const cls = c... |
src/wics/src/chat.js | civiclee/Hack4Cause2017 | import React from 'react';
import Conversation from 'chat-template/dist/Conversation';
var messages = [{
message:'How do I use this messaging app?',
from: 'right',
backColor: '#3d83fa',
textColor: "white",
avatar: 'https://www.seeklogo.net/wp-content/uploads/2015/09/google-plus-new-icon-logo.png',
duration... |
packages/react-dnd-preview/examples/index.js | LouisBrunner/react-dnd-multi-backend | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
const onMount = (app) => {
app.getDecoratedComponentInstance().setup(app.getManager());
};
ReactDOM.render(<App ref={onMount} />, document.getElementById('root'));
|
.history/src/components/InstaCelebs/index_20171001004931.js | oded-soffrin/gkm_viewer |
import React from 'react';
import { connect } from 'react-redux'
import _ from 'lodash'
const imgMap = {
d: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885-19/s150x150/18095129_753964814784600_2717222797960019968_a.jpg',
e: 'https://instagram.ftlv1-2.fna.fbcdn.net/t51.2885-19/s150x150/12071219_1640349196212432... |
app/javascript/mastodon/features/ui/components/upload_area.js | theoria24/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Motion from '../../ui/util/optional_motion';
import spring from 'react-motion/lib/spring';
import { FormattedMessage } from 'react-intl';
export default class UploadArea extends React.PureComponent {
static propTypes = {
active: PropTypes.boo... |
js/src/dapps/dappreg/ButtonBar/buttonBar.js | jesuscript/parity | // Copyright 2015, 2016 Parity Technologies (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 la... |
src/containers/App.js | HolyMarcell/inventar-app | import React, { Component } from 'react';
import { connect } from 'react-redux';
import {Actions, Scene, Router} from 'react-native-router-flux';
import styles from '../styles/styles.js';
import Home from './Home';
import Counter from './Counter';
import Tasks from './Tasks';
import Inventar from './Inventar';
impor... |
packages/icons/src/md/editor/FormatListBulleted.js | suitejs/suitejs | import React from 'react';
import IconBase from '@suitejs/icon-base';
function MdFormatListBulleted(props) {
return (
<IconBase viewBox="0 0 48 48" {...props}>
<path d="M9 21c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM9 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm0 24c-1.67 0-3 1.35-3 ... |
src/pages/app/update-account.js | getinsomnia/website | import React from 'react';
import PropTypes from 'prop-types';
import * as session from '../../lib/session';
import App from '../../lib/app-wrapper';
class ChangeAccountDetails extends React.Component {
constructor(props) {
super(props);
const { whoami } = this.props;
this.state = {
loading: false... |
src/pages/predilects.js | vitorbarbosa19/ziro-online | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='Predilects' />
)
|
test/index.js | agudulin/dumb-bem | import test from 'ava'
import expect from 'expect'
import expectJSX from 'expect-jsx'
import React from 'react'
import { createRenderer } from 'react-addons-test-utils'
import tx from 'transform-props-with'
import dumbBem from '../lib'
import { makeStates } from '../lib/plugins'
expect.extend(expectJSX)
const dumbH... |
react/gameday2/components/embeds/EmbedHtml5.js | nwalters512/the-blue-alliance | /* global videojs */
import React from 'react'
import { webcastPropType } from '../../utils/webcastUtils'
export default class EmbedHtml5 extends React.Component {
static propTypes = {
webcast: webcastPropType.isRequired,
}
componentDidMount() {
videojs(this.props.webcast.id, {
width: '100%',
... |
ajax/libs/forerunnerdb/1.3.470/fdb-core+persist.min.js | kiwi89/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... |
src/components/common/svg-icons/action/list.js | abzfarah/Pearson.NAPLAN.GnomeH | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionList = (props) => (
<SvgIcon {...props}>
<path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/>
</SvgIcon>
);
ActionList = pure(ActionList);
ActionList.displa... |
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js | stokarz1/resume | 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'));
|
src/components/Schemes/ThreadingElement/index.js | nobus/weaver | import React, { Component } from 'react';
import './style.css';
class ThreadingElement extends Component {
constructor(props) {
super(props);
this.handleClick = this.handleClick.bind(this);
}
isEnabled() {
const {threadingsState, row, col} = this.props;
const state = threadingsState[col];
... |
app/javascript/mastodon/features/compose/components/reply_indicator.js | codl/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import Avatar from '../../../components/avatar';
import IconButton from '../../../components/icon_button';
import DisplayName from '../../../components/display_name';
import { defineMessages, injec... |
files/jquery.fancytree/2.9.0/jquery.fancytree-all.min.js | markcarver/jsdelivr | /*! jQuery Fancytree Plugin - 2.9.0 - 2015-04-19T13:41
* https://github.com/mar10/fancytree
* Copyright (c) 2015 Martin Wendt; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( [ "jquery" ], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
!function... |
packages/specular-animation/src/animate.js | madjam002/specular | import React from 'react'
import {Scene} from 'specular'
import remove from 'lodash.remove'
import {BeatEngine} from './beat-engine'
import {registerComponent, unregisterComponent} from './loop'
import {updateTween, start, restart} from './animation-helpers'
export class Animate extends React.Component {
static def... |
blueocean-material-icons/src/js/components/svg-icons/hardware/videogame-asset.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const HardwareVideogameAsset = (props) => (
<SvgIcon {...props}>
<path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.... |
src/containers/movies_index.js | AdamNgu/movies | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import ImageBadge from '../components/image_badge';
class MoviesIndex extends Component {
constructor() {
super();
this.selectMovie = this.selectMovie.bind(this);
}
renderIndex()... |
Project/node_modules/react-router/es/RouterContext.js | IhtishamShah/GamifiedLearningApp | var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _typeof = typeof Symbol === "function" && typeof Symbol.i... |
ajax/libs/instantsearch.js/2.0.2/instantsearch.min.js | jdh8/cdnjs | /*! instantsearch.js 2.0.2 | © Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.instantsearch=t():e.instantsea... |
app/src/components/Editor.js | zhanglun/fist | import React, { Component } from 'react';
import 'simplemde/dist/simplemde.min.css';
import classNames from 'classnames';
import * as Note from '../helper/db/note';
export default class EditorComponent extends Component {
constructor(props) {
super(props);
this.state = {
title: props.title,
cont... |
packages/material-ui-icons/src/ChatOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M4 4h16v12H5.17L4 17.17V4m0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4z" /><path d="M6 12h8v2H6v-2zM6 9h12v2H6V9zM6... |
packages/sounds/src/SoundsProvider/SoundsProvider.sandbox.js | romelperez/ui | import React from 'react';
import createSounds from '../createSounds';
import withSounds from '../withSounds';
import SoundsProvider from './index';
const Player = withSounds()(props => (
<button style={{ margin: 10 }} onClick={() => props.sounds[props.id].play()}>
Play {props.id}
</button>
));
const sounds =... |
src/parser/warrior/fury/modules/talents/FuriousSlashUptime.js | sMteX/WoWAnalyzer | import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
import { formatDuration, formatPercentage } from 'common/format';
import { STATISTIC_ORDER } from 'interface/others/StatisticBox... |
site/src/components/header.js | ajfisher/ajfisher.me | import { graphql, Link } from 'gatsby';
import PropTypes from 'prop-types';
import React from 'react';
import styled from 'styled-components';
import humanize from 'humanize-plus';
import moment from 'moment';
import { device } from './devices';
const TextHeader = styled.header`
box-sizing: border-box;
border-bott... |
frontend/src/index.js | Jtcruthers/Whether | import React from 'react';
import {render} from 'react-dom';
import {Provider} from 'react-redux';
import {createStore} from 'redux';
import App from './containers/App';
import whether from './reducers'
let store = createStore(whether);
let unsubscribe = store.subscribe(() =>
console.log(store.getState())
);
rend... |
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/Popover/ExampleAnimation.js | pbogdan/react-flux-mui | import React from 'react';
import RaisedButton from 'material-ui/RaisedButton';
import Popover, {PopoverAnimationVertical} from 'material-ui/Popover';
import Menu from 'material-ui/Menu';
import MenuItem from 'material-ui/MenuItem';
export default class PopoverExampleAnimation extends React.Component {
constructor(... |
src/modules/etfms-profile/components/Spinner.js | devteamreims/4me.react | import React, { Component } from 'react';
import RefreshIndicator from 'material-ui/RefreshIndicator';
const styles = {
container: {
position: 'relative',
},
refresh: {
position: 'relative',
margin: '0 auto',
}
};
import {pure} from 'recompose';
class Spinner extends Component {
/*
* mui Au... |
examples/react/src/players/SwapSource.js | andfk/react-howler | import React from 'react'
import ReactHowler from 'ReactHowler'
import Button from '../components/Button'
class SwapSource extends React.Component {
constructor (props) {
super(props)
// The two files that we'll switch between
this.sources = [['sound.ogg', 'sound.mp3'], ['sound2.ogg', 'sound2.mp3']]
... |
src/parser/druid/restoration/modules/talents/Abundance.js | ronaldpereira/WoWAnalyzer | import React from 'react';
import StatisticBox from 'interface/others/StatisticBox';
import { formatNumber, formatPercentage } from 'common/format';
import SpellIcon from 'common/SpellIcon';
import SPELLS from 'common/SPELLS';
import Analyzer from 'parser/core/Analyzer';
const MS_BUFFER=200;
const ABUNDANCE_MANA_REDU... |
src/app/components/commentable.js | webcoding/soapee-ui | import _ from 'lodash';
import React from 'react';
import AddComment from 'components/addComment';
import Comment from 'components/comment';
export default React.createClass( {
componentDidMount: function () {
this.unsubscribe = this.props.store.listen( this.onComments );
},
componentWillUnmount... |
components/Pager.js | turntwogg/final-round | import React from 'react';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { MdNavigateBefore, MdNavigateNext } from 'react-icons/md';
const Pager = ({ data = {}, offset: offsetProp, pageLimit = 10 }) => {
const router = useRouter();
const { links = {} } = data;
const offset = parse... |
client/templates/Routes.js | pxpeterxu/react-express-scaffolding | import React from 'react';
import { Route, IndexRoute } from 'react-router';
import MainPage from './MainPage';
import HomePage from './HomePage';
import LoginPage from './LoginPage';
import ActivatePage from './ActivatePage';
import ResetPasswordPage from './ResetPasswordPage';
export default requireLoggedIn => (
... |
src/components/Win/Win.js | zsu13579/pinterest-apollo | /**
* 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 withStyles from 'isom... |
fields/types/code/CodeField.js | SJApps/keystone | var _ = require('underscore'),
React = require('react'),
Field = require('../Field'),
CodeMirror = require('codemirror');
// See CodeMirror docs for API:
// http://codemirror.net/doc/manual.html
module.exports = Field.create({
displayName: 'CodeField',
getInitialState: function() {
return {
isFocused: f... |
docs/src/examples/modules/Modal/index.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import Content from './Content'
import Types from './Types'
import Variations from './Variations'
import Usage from './Usage'
const ModalExamples = () => (
<div>
<Types />
<Content />
<Variations />
<Usage />
</div>
)
export default ModalExamples
|
ajax/libs/babel-core/5.8.38/browser.min.js | honestree/cdnjs |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,r;return function n(e,... |
examples/todos/index.js | joaomilho/redux | import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { createStore } from 'redux'
import todoApp from './reducers'
import App from './components/App'
let store = createStore(todoApp)
render(
<Provider store={store}>
<App />
</Provid... |
ajax/libs/material-ui/5.0.0-beta.5/legacy/FormControl/useFormControl.js | cdnjs/cdnjs | import * as React from 'react';
import FormControlContext from './FormControlContext';
export default function useFormControl() {
return React.useContext(FormControlContext);
} |
ajax/libs/core-js/0.9.7/shim.js | BobbieBel/cdnjs | /**
* Core.js 0.9.7
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
'use strict';
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******... |
app/components/App.js | kenwilcox/fil | import _ from 'underscore';
import React from 'react';
import {connect} from 'react-redux';
import Header from 'components/Header';
import CodeEditor from 'components/CodeEditor';
import Console from 'components/Console';
import FileList from 'components/FileList'
import {openFile, saveFile} from 'actions/files';
imp... |
examples/huge-apps/routes/Messages/components/Messages.js | maksad/react-router | import React from 'react';
class Messages extends React.Component {
render () {
return (
<div>
<h2>Messages</h2>
</div>
);
}
}
export default Messages;
|
src/pages/Networking.js | marktani/react-native-express-1 | import React from 'react'
import markdown from 'markdown-in-js'
import markdownOptions from '../utils/MarkdownOptions'
import DefaultPage from './DefaultPage'
import { WebPlayer } from '../components'
const code = `import React, { Component } from 'react'
import { AppRegistry, View, Text, ActivityIndicator, ScrollVie... |
src/PhpMob/ChangMinBundle/Resources/private/app/src/component/Menubar.js | phpmob/changmin | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Map } from 'immutable';
import cls from 'classnames';
import Badge from './Badge';
const Link = (props) => {
const { item, ...cProps } = props;
let badge = item.get('badge');
if (badge instanceof Map) {
badge =... |
Frontend/src/index/choose.js | zsefvlol/threedegrees |
"use strict";
import React from 'react';
import { render } from 'react-dom';
import WeUI from 'react-weui';
import 'weui'
import TermArticle from '../term/term_article';
const {Button} = WeUI;
export default class Choose extends React.Component {
render(){
return (
<div>
<Ter... |
examples/todo/js/components/TodoTextInput.js | gabelevi/relay | /**
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNES... |
node_modules/react-icons/io/ios-refresh-empty.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const IoIosRefreshEmpty = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20 30c-5.5 0-10-4.5-10-10s4.5-10 10-10v-3.4l7.5 5-7.5 4.3v-4.3c-4.7 0-8.4 3.7-8.4 8.4s3.7 8.4 8.4 8.4 8.4-3.7 8.4-8.4h1.6c0 5.5-4.5 10-10 10z"/></g>
</Ic... |
ajax/libs/rxjs/2.3.0/rx.all.js | chrillep/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... |
trial/build/standalone.js | GirishRawat/girishrawat.github.io | !function(e){var t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineP... |
src/modules/auth/components/Login/Login.js | CtrHellenicStudies/Commentary | import React from 'react';
import PropTypes from 'prop-types';
import hello from 'hellojs';
import OAuthButtons from '../OAuthButtons';
import PWDLoginForm from '../PWDLoginForm';
import './Login.css';
hello.init({
facebook: process.env.REACT_APP_FACBOOK_CLIENT_ID,
twitter: process.env.REACT_APP_TWITTER_CLIENT_ID... |
src/javascript/refluxtodo/views/Container.js | cuzofu/sell-orange | import React from 'react';
const AddTodo = require("./AddTodo");
const TodoList = require("./TodoList");
const Container = React.createClass({
render() {
return (
<div>
<h1>Reflux Todo List</h1>
<AddTodo todos={this.props.todos} />
<TodoList todo... |
introToDynamicHTML/bower_components/backbone/backbone.js | suhas1294/screencasts | // Backbone.js 1.1.2
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(root, factory) {
// Set up Backbone appropriately for ... |
sites/default/files/js/js_pFzLtqxCmHYewUjv0x1rB-NHm3nN7589QGwzTV1U_50.js | lyorb/Bibliotheque-Alexandrie | /*! jQuery v2.1.4 | (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 windo... |
examples/todomvc/index.js | xgrommx/redux-act | import React from 'react';
import App from './containers/App';
import 'todomvc-app-css/index.css';
React.render(
<App />,
document.getElementById('root')
);
|
ajax/libs/forerunnerdb/1.4.19/fdb-core.js | froala/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
packages/material-ui-icons/src/BrightnessLow.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z" />
, 'BrightnessLow');
|
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-youtube/7.4.0/es/YouTube.js | JamieMason/npm-cache-benchmark | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des... |
src/svg-icons/content/forward.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentForward = (props) => (
<SvgIcon {...props}>
<path d="M12 8V4l8 8-8 8v-4H4V8z"/>
</SvgIcon>
);
ContentForward = pure(ContentForward);
ContentForward.displayName = 'ContentForward';
ContentForward.muiNam... |
grails-app/assets/javascripts/dependencies/node_modules/react-router/es6/RouteContext.js | puaykai/noodles | import warning from './routerWarning';
import React from 'react';
var object = React.PropTypes.object;
/**
* The RouteContext mixin provides a convenient way for route
* components to set the route in context. This is needed for
* routes that render elements that want to use the Lifecycle
* mixin to prevent trans... |
imports/ui/components/affiliations/index.js | AdmitHub/ScholarFisher |
import React, { Component } from 'react';
import SportSection from './components/sportSection';
import MilitarySection from './components/militarySection';
import OrganizationSection from './components/organizationSection'
import { connect } from 'react-redux';
import { Link } from 'react-router';
import {
loadOrga... |
stories/Recipes/HighlightSearch.js | selvagsz/react-power-select | import React, { Component } from 'react';
import { PowerSelect } from 'src';
import { countries } from '../utils/constants';
const createHighlighedOption = (label, searchTerm) => {
if (searchTerm) {
let escapedSearchTerm = searchTerm.replace(/([.?*+^$[\]\\(){}|-])/g, '\\$1');
label = label.replace(new RegExp... |
donate/src/app.js | Interaktivtechnology/sfdemo-node | import ReactDOM from 'react-dom';
import React from 'react';
import { Provider } from 'react-redux';
import { persistStore } from 'redux-persist';
import App from './components/app';
import configureStore from './configureStore';
import './app.css';
import './static/style.scss';
const store = configureStore({});
persi... |
ajax/libs/yui/3.14.1/event-custom-base/event-custom-base-coverage.js | marxo/cdnjs | if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/event-custom-base/event-custom-base.js']) {
__coverage__['build/event-custom-base/event-custom-base.js'] = {"path":"build/event-custom-base/event-custom-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,... |
include/js/vue.min.js | philippK-de/Collabtive | (function(X,ga){"object"===typeof exports&&"undefined"!==typeof module?module.exports=ga():"function"===typeof define&&define.amd?define(ga):X.Vue=ga()})(this,function(){function X(a,b,c){if(A(a,b))a[b]=c;else if(a._isVue)X(a._data,b,c);else{var d=a.__ob__;if(d){d.convert(b,c);d.dep.notify();if(d.vms)for(a=d.vms.length... |
ajax/libs/vue/1.0.0/vue.js | voronianski/cdnjs | /*!
* Vue.js v1.0.0
* (c) 2015 Evan You
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(t... |
modules/field_ui/field_ui.js | fcaspani/wellnet-drupalday2014 | /**
* @file
* Attaches the behaviors for the Field UI module.
*/
(function($) {
Drupal.behaviors.fieldUIFieldOverview = {
attach: function (context, settings) {
$('table#field-overview', context).once('field-overview', function () {
Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings);
... |
ajax/libs/video.js/5.11.8/video.min.js | honestree/cdnjs | /**
* @license
* Video.js 5.11.8 <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 Vers... |
client/node_modules/uu5g03/doc/main/server/public/data/source/uu5-bricks-dropdown.js | UnicornCollege/ucl.itkpd.configurator | import React from 'react';
import $ from 'jquery';
import ReactDOM from 'react-dom';
import {BaseMixin, ElementaryMixin, ContentMixin, ColorSchemaMixin, Tools} from '../common/common.js';
import Button from './button.js';
import Backdrop from './backdrop.js';
import Span from './span.js';
import Glyphicon from './glyph... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.