path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/components/Card.js | mikebarkmin/gestyled | import React from 'react';
import styled from 'styled-components';
import Paper from './Paper';
import withStyle from './Base';
const StyledCard = styled(Paper)`
`;
const Card = props => <StyledCard {...props} />;
export default withStyle(Card);
|
traveller/App/Containers/DeviceInfoScreen.js | Alabaster-Aardvarks/traveller | // @flow
// An All Components Screen is a great way to dev and quick-test components
import React from 'react'
import { View, ScrollView, Text, Image, NetInfo } from 'react-native'
import DeviceInfo from 'react-native-device-info'
import { Metrics, Images } from '../Themes'
import styles from './Styles/DeviceInfoScree... |
src/parser/warrior/fury/modules/talents/RecklessAbandon.js | fyruna/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import { formatPercentage, formatNumber } from 'common/format';
import TalentStatisticBox from 'interface/others/TalentStatisticBox';
import Analyzer from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import { SELECTED_PLAYER } from 'pars... |
ajax/libs/react-data-grid/0.13.17/react-data-grid-with-addons.js | kennynaoh/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["ReactDataGrid"] = f... |
src/svg-icons/alert/error.js | hwo411/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AlertError = (props) => (
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>
</SvgIcon>
);
AlertError = pure(AlertError);
AlertEr... |
docs-ui/components/linkWithConfirmation.stories.js | ifduyue/sentry | import React from 'react';
import {storiesOf} from '@storybook/react';
import {action} from '@storybook/addon-actions';
import {withInfo} from '@storybook/addon-info';
import LinkWithConfirmation from 'app/components/linkWithConfirmation';
storiesOf('Links/LinkWithConfirmation', module).add(
'default',
withInfo('... |
ajax/libs/phaser/2.1.3/custom/p2.js | djavaui/cdnjs | /**
* The MIT License (MIT)
*
* Copyright (c) 2013 p2.js authors
*
* 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 ... |
src/components/Link.js | diivanand/DataBrowser | // Link.js - Temporary example class to show unit test working
import React from 'react';
const STATUS = {
HOVERED: 'hovered',
NORMAL: 'normal',
};
export default class Link extends React.Component {
constructor(props) {
super(props);
this._onMouseEnter = this._onMouseEnter.bind(this);
... |
ajax/libs/analytics.js/2.8.6/analytics.js | davidbau/cdnjs | (function umd(require){
if ('object' == typeof exports) {
module.exports = require('1');
} else if ('function' == typeof define && define.amd) {
define(function(){ return require('1'); });
} else {
this['analytics'] = require('1');
}
})((function outer(modules, cache, entries){
/**
* Global
... |
ajax/libs/graphiql/0.7.2/graphiql.min.js | cdnjs/cdnjs | !function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.GraphiQL=f()}}(function(){var define;return function e(... |
stories/components/molecules/provision/index.js | one-love/storybook | import React from 'react';
import cssModules from 'react-css-modules';
import { Link } from 'react-router';
import Log from '../../atoms/log';
import styles from './provision.scss';
function Provision() {
return (
<div>
<div>
<div styleName="label">
status:
</div>
<div st... |
src/pages/Login.js | GamerZUnited/GamerZUninted-FrontEnd | import React from 'react'
import {connect} from 'react-redux'
import {pushState } from 'redux-router'
import * as Actions from '../actions/AppActions'
import TestComponent from '../components/TestComponent';
@connect(
state => ({
login: state.login
})
)
class Login extends React.Component {
componentWillRe... |
packages/material-ui-icons/src/SettingsInputCompositeSharp.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 16.82h2V23h2v-4.18h2V14H9v4.82zm-8 0h2V23h2v-4.18h2V14H1v4.82zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6... |
src/components/Drawer/DrawerContent.js | petorious/dmprov-app | import React from 'react';
import muiThemeable from 'material-ui/styles/muiThemeable';
import {SelectableMenuList} from 'material-ui-selectable-menu-list';
import FontIcon from 'material-ui/FontIcon';
import Toggle from 'material-ui/Toggle';
import allThemes from '../../themes';
import allLocales from '../../loca... |
ajax/libs/simple-icons/5.21.1/reactivex.min.js | cdnjs/cdnjs | module.exports={title:"ReactiveX",slug:"reactivex",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>ReactiveX</title><path d="M7.402 2.343c-2.224.984-3.615 2.583-4.4 3.747-.852 1.268-1.184 2.319-1.184 2.328-.002.036.005-.017 0 .019-.246.7-.473 1.798-.473 1.807-.265 1.344-.142 2.593-.14... |
src/shared/components/form/formEmail/formEmail.js | tal87/operationcode_frontend | import React, { Component } from 'react';
import FormInput from '../formInput/formInput';
class FormEmail extends Component {
render() {
const validEmailRegex = /(^[^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})/;
return (
<FormInput
{...this.props}
validationRegex={validEmailRegex}
vali... |
packages/material-ui-icons/src/UnfoldMoreTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z" />
, 'UnfoldMoreTwoTone');
|
src/ui/pages/ConfirmEmail.js | notifapi/notifapi-web | import React from 'react';
import { Component } from 'react';
import ConfirmEmailContainer from '../containers/ConfirmEmailContainer';
export default class ConfirmEmail extends Component {
render() {
return (
<ConfirmEmailContainer />
);
}
} |
public/js/TopicList.js | Morton/pixelDailiesGallery | import React from 'react';
import Collections from './materialize-css/Collections.js';
import CollectionItem from './materialize-css/CollectionItem.js';
import TopicAction from './actions/TopicAction.js';
var TopicList = React.createClass({
clickHandler: function (topic) {
"use strict";
return (e)=... |
node_modules/material-ui/svg-icons/action/pregnant-woman.js | SerendpityZOEY/Solr-Search-React-UI | '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... |
website/src/widgets/languages.js | spacy-io/spaCy | import React from 'react'
import { StaticQuery, graphql } from 'gatsby'
import Link from '../components/link'
import { InlineCode } from '../components/code'
import { Table, Tr, Th, Td } from '../components/table'
import { Ul, Li } from '../components/list'
import Infobox from '../components/infobox'
import { github, ... |
assets/jqwidgets/demos/react/app/grid/validation/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js';
import JqxRadioButton from '../../../jqwidgets-react/react_jqxradiobutton.js';
class App extends React.Component {
componentDidMount() {
this.refs.top.on('checked', () => {
... |
src/Homepage/Login/Login.js | MLsandbox/MLsandbox | import React, { Component } from 'react';
import Loginform from './Loginform/Loginform';
import Signupform from './Signupform/Signupform';
import { connect } from 'react-redux';
class Login extends Component {
constructor(props) {
super(props);
this.state = { formtype: 'login'};
this.switchForm = this.s... |
internals/templates/app.js | josh-butler/react-bp-demo | /**
* app.js
*
* This is the entry file for the application, only setup and boilerplate
* code.
*/
// Needed for redux-saga es6 generator support
import 'babel-polyfill';
// Import all the third party stuff
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
impor... |
docs/app/Examples/elements/Header/Content/HeaderExamplePlugIcon.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Header, Icon } from 'semantic-ui-react'
const HeaderExamplePlugIcon = () => (
<Header as='h2'>
<Icon name='plug' />
<Header.Content>
Uptime Guarantee
</Header.Content>
</Header>
)
export default HeaderExamplePlugIcon
|
app/main.js | eddiezane/es6-jspm-react-example | import React from 'react';
import SearchBox from './searchBox.react';
import Image from './image.react';
class App extends React.Component {
constructor(props) {
super(props);
this.onSubmitCallback = this.onSubmitCallback.bind(this);
this.state = {images: []};
}
onSubmitCallback(searchTerm) {
fe... |
node_modules/react-icons/md/settings-phone.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdSettingsPhone = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m31.6 15h3.4v3.4h-3.4v-3.4z m1.8 10.9c0.9 0 1.6 0.7 1.6 1.6v5.9c0 0.9-0.7 1.6-1.6 1.6-15.7 0-28.4-12.7-28.4-28.4 0-0.9 0.7-1.6 1.6-1.6h5.9c0.9 0 1.6 0.7 1.6 1.6... |
app/javascript/mastodon/features/status/components/action_bar.js | primenumber/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import IconButton from '../../../components/icon_button';
import ImmutablePropTypes from 'react-immutable-proptypes';
import DropdownMenuContainer from '../../../containers/dropdown_menu_container';
import { defineMess... |
app/assets/javascripts/NewNodeWidget/Breadcrumbs.js | sozialhelden/wheelmap | import React, { Component } from 'react';
import classNames from 'classnames';
import I18n from '../common/I18n';
import { immutableListOf } from '../common/propTypes';
import Section from './models/Section';
import { OVERVIEW } from './models/sections';
const { func, instanceOf } = React.PropTypes;
class Breadcrum... |
public/js/jquery.min.js | johanneshilden/principle | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
assets/2868210c/gridview/jquery.yiigridview.js | f5rus/task887 | /**
* jQuery Yii GridView plugin file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008-2010 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
(function ($) {
var selectCheckedRows, methods,
yiiXHR={},
gridSettings = [];
/**
* 1. Sele... |
src/scenes/home/history/timeline/timeline.js | tskuse/operationcode_frontend | import React from 'react';
import TimelineEvent from '../timelineEvent/timelineEvent';
import styles from './timeline.css';
const Timeline = () => (
<div className={styles.timeline}>
<div className={styles.segment}>
<div className={styles.date}>
<h3>2012</h3>
</div>
<div className={sty... |
node_modules/native-base/Components/vendor/react-native-scrollable-tab-view/index.js | paulunits/tiptap | 'use strict';
import React from 'react';
import NativeBaseComponent from '../../Base/NativeBaseComponent';
import {
Dimensions,
Text,
View,
TouchableOpacity,
PanResponder,
Animated,
} from 'react-native';
import DefaultTabBar from './DefaultTabBar';
var deviceWidth = Dimensions.get('window').width;
expor... |
tests/components/Header/Header.spec.js | Snatch-M/fesCalendar | import React from 'react'
import { Header } from 'components/Header/Header'
import { IndexLink, Link } from 'react-router'
import { shallow } from 'enzyme'
describe('(Component) Header', () => {
let _wrapper
beforeEach(() => {
_wrapper = shallow(<Header />)
})
it('Renders a welcome message', () => {
... |
src/routes.js | forkhacker/webapp-react | import React from 'react';
import {Route, IndexRoute} from 'react-router';
import App from './components/App';
import ChallengeListPage from './components/ChallengeListPage';
import ChallengePage from './components/ChallengePage';
import LoginRedirectLoader from './components/LoginRedirect';
export default (
<R... |
src/components/Footer/Footer.js | siddhant3s/crunchgraph | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 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 'isomorp... |
react-flux-mui/js/material-ui/src/svg-icons/image/exposure-plus-2.js | pbogdan/react-flux-mui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageExposurePlus2 = (props) => (
<SvgIcon {...props}>
<path d="M16.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17.23-.39.41-.78.54-1.17.13-.39.19-.79.19-1.18 0-.53-.09-1.02-.27-1.46-.18-.44-... |
src/components/native/ErrorMsg.js | Manuelandro/Universal-Commerce | import React from 'react'
import styled from 'styled-components/native'
const { Text, View } = {
View: styled.View`
`,
Text: styled.Text`
fontSize: 20;
alignSelf: center;
color: red;
`
}
const ErrorMsg = ({ children }) =>
<View>
<Text>{children}</Text>
</View>
... |
src/index.js | hiyangguo/react-netease-cloud-music | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
//css
// import './style/index.less';
ReactDOM.render(
<App />,
document.getElementById('root')
);
document.body.className = 'loaded'; |
src/views/_app/Head.js | apazzolini/rook-starter | import React from 'react';
// Things defined inside the <head> section below will get merged
// into the <head> provided by Rook.
export default (store, headers) => (
<head>
</head>
);
|
src/Label.js | tannewt/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
const Label = React.createClass({
mixins: [BootstrapMixin],
getDefaultProps() {
return {
bsClass: 'label',
bsStyle: 'default'
};
},
render() {
let classes = this.getBsClassSe... |
app/containers/GeneratePage/index.js | VonIobro/ab-web | import React from 'react';
import PropTypes from 'prop-types';
import ethUtil from 'ethereumjs-util';
import { connect } from 'react-redux';
import { Form, Field, reduxForm, SubmissionError, propTypes, change, formValueSelector } from 'redux-form/immutable';
import { stopSubmit } from 'redux-form';
import { browserHist... |
admin/client/App/screens/Item/components/EditFormHeader.js | joerter/keystone | import React from 'react';
import ReactDOM from 'react-dom';
import Toolbar from './Toolbar';
import { Button, FormIconField, FormInput, ResponsiveText } from 'elemental';
import { Link } from 'react-router';
var Header = React.createClass({
displayName: 'EditFormHeader',
propTypes: {
data: React.PropTypes.object,... |
imports/ui/pages/NewDocument.js | themeteorchef/base | import React from 'react';
import DocumentEditor from '../components/DocumentEditor.js';
const NewDocument = () => (
<div className="NewDocument">
<h4 className="page-header">New Document</h4>
<DocumentEditor />
</div>
);
export default NewDocument;
|
src/components/KanamemoSettings/Footer.js | sseureki/kanamemo |
import React from 'react';
import Link from 'react-router/Link';
const Footer = ({ handleClick }) => (
<div className="card-footer">
<div className="row">
<div className="col-5 col-sm-4 col-md-5 col-lg-4">
<button className="btn btn-secondary btn-block" type="button"
onClick={handleClick}>
Reset
... |
src/svg-icons/content/remove-circle.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentRemoveCircle = (props) => (
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/>
</SvgIcon>
);
ContentRemoveCircle = pure(ContentRemoveCir... |
react/boiling_calculator/src/components/TemperatureInput.js | greganswer/devnotes | import React, { Component } from 'react';
const scaleNames = { c: 'Celsius', f: 'Fahrenheit' };
class TemperatureInput extends Component {
constructor(props) {
super(props);
this.handleChange = this.handleChange.bind(this);
}
handleChange(e) {
this.props.onTemperatureChange(e.target.value);
}
... |
blueocean-material-icons/src/js/components/svg-icons/av/closed-caption.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const 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-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7... |
src/components/KeywordList.js | kishigo/recipes-react-redux | /**
* Created by Kelvin Ishigo on 10/1/17.
*
* Copyright (c) 2017 Kelvin Ishigo
* Licensed under the MIT License. See LICENSE file in the project root for full license information.
*/
import React from 'react'
import PropTypes from 'prop-types'
import GenericList from './GenericList'
/**
* Presentational componen... |
src/server.js | DelvarWorld/some-game | import Express from 'express';
import React from 'react';
import ReactDOM from 'react-dom/server';
import config from './config';
import favicon from 'serve-favicon';
import compression from 'compression';
import httpProxy from 'http-proxy';
import path from 'path';
import createStore from './redux/create';
import ApiC... |
web/src/stories/Header.js | ajmalafif/ajmalafif.com | import React from 'react';
import PropTypes from 'prop-types';
import { Button } from './Button';
import './header.css';
export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => (
<header>
<div className="wrapper">
<div>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://... |
js/jquery-1.7.2.min.js | SofyanHadiA/Dinua | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
src/svg-icons/hardware/keyboard-tab.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let HardwareKeyboardTab = (props) => (
<SvgIcon {...props}>
<path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6-6-6-1.41 1.41zM20 6v12h2V6h-2z"/>
</SvgIcon>
);
HardwareKeyboardTab = pure(HardwareKeyboard... |
test/plain-list/AutosuggestApp.js | moroshko/test-react-autosuggest | import React, { Component } from 'react';
import sinon from 'sinon';
import Autosuggest from '../../src/AutosuggestContainer';
import languages from './languages';
import { escapeRegexCharacters } from '../../demo/src/components/utils/utils.js';
import highlight from 'autosuggest-highlight';
function getMatchingLangu... |
ajax/libs/analytics.js/2.8.2/analytics.min.js | emmy41124/cdnjs | (function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[... |
packages/material-ui-icons/src/FlashAutoOutlined.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M3 2v12h3v9l7-12H9l4-9H3zm16 0h-2l-3.2 9h1.9l.7-2h3.2l.7 2h1.9L19 2zm-2.15 5.65L18 4l1.15 3.65h-2.3z" /></g></React.Fragment>
, 'FlashAutoOut... |
src/index.js | varenya/email-client | import React from 'react';
import ReactDOM from 'react-dom';
import Immutable from 'immutable';
import {HashRouter as Router} from 'react-router-dom';
import {Provider} from 'react-redux';
import {createStore, applyMiddleware} from 'redux';
import createLogger from 'redux-logger';
import App from './App';
import redu... |
client/server/render.js | polarbearjs/polarbear | import React from 'react';
import { renderToString } from 'react-dom/server';
import { RoutingContext } from 'react-router';
import { Provider } from 'react-redux';
export default (renderProps, store) => {
return renderToString(
<Provider store={store}>
<RoutingContext { ...renderProps } />
</Provider>... |
webpack.production.config.js | maximkoretskiy/react-emoji | var webpack = require('webpack');
/**
* This is the Webpack configuration file for production.
*/
module.exports = {
entry: "./src/react-emoji",
output: {
library: 'ReactEmoji',
libraryTarget: 'umd',
path: __dirname + "/dist/",
filename: "react-emoji.js"
},
externals: [
{
"react":... |
ajax/libs/vis/0.3.0/vis.js | ldiqual/cdnjs | /**
* vis.js
* https://github.com/almende/vis
*
* A dynamic, browser-based visualization library.
*
* @version 0.3.0
* @date 2014-01-14
*
* @license
* Copyright (C) 2011-2013 Almende B.V, http://almende.com
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file e... |
client/app/components/IconList.js | florianporada/moovel_testme | import React from 'react';
import { View, Linking } from 'react-native';
import { Icon } from 'react-native-elements';
import PropTypes from 'prop-types';
import helper from '../helper';
import { styles, colors } from '../config/styles';
class IconList extends React.Component {
constructor(props) {
super(props)... |
avggrade-webapp/src/main/webapp/js/jquery.js | kveskimae/avggrade | /*! 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... |
Realization/frontend/czechidm-core/src/components/advanced/Form/IdentitySelectFormAttributeRenderer.js | bcvsolutions/CzechIdMng | import React from 'react';
//
import SearchParameters from '../../../domain/SearchParameters';
import AbstractFormAttributeRenderer from './AbstractFormAttributeRenderer';
import SelectBoxFormAttributeRenderer from './SelectBoxFormAttributeRenderer';
import IdentitySelect from '../IdentitySelect/IdentitySelect';
/**
... |
packages/react-scripts/fixtures/kitchensink/src/features/env/FileEnvVariables.js | peopleticker/create-react-app | /**
* Copyright (c) 2015-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.
*/
import React from 'react';
export default () => (
<span>
<span id="feature-file-env-original-1">
{process.env.REACT_APP_ORI... |
app/node_modules/react-router/es6/RouterContext.js | BZhawaii/ArtStorm | var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _extends = Object.assign || function (target) { for (var i = 1; i < argum... |
h2o-core/src/main/resources/www/js/vendor/jquery-1.9.1.js | h2oai/h2o-dev | /*!
* jQuery JavaScript Library v1.9.1
* 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-2-4
*/
(function( window, undefined ) {
// Can't do t... |
files/jquery/3.0.0-alpha1/jquery.js | labsvisual/jsdelivr | /*!
* jQuery Compat JavaScript Library v3.0.0-alpha1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-07-13T18:52Z
*/
(function( global, factory ) {
if ( ty... |
ajax/libs/yui/3.9.0/event-custom-base/event-custom-base-debug.js | gereon/cdnjs | YUI.add('event-custom-base', function (Y, NAME) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.Env.evt = {
handles: {},
plugins: {}
};
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @mo... |
ajax/libs/react-data-grid/0.12.8/react-data-grid-with-addons.js | tholu/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["ReactDataGrid"] = f... |
assignment7-version-three/assets/assets/js/jquery-1.9.1.min.js | samuelcolburn/cs142 | /*! 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... |
test/week_test.js | flexport/react-datepicker | import React from 'react'
import ReactDOM from 'react-dom'
import TestUtils from 'react-addons-test-utils'
import moment from 'moment'
import Week from '../src/week'
import Day from '../src/day'
describe('Week', () => {
it('should have the week CSS class', () => {
const week = TestUtils.renderIntoDocument(<Week ... |
ext/classic/classic/test/specs/grid/NavigationModel.js | wregen/dummy-ext-crud | describe('Ext.grid.NavigationModel', function() {
// Expect that a row and column are focused.
// Column index is overall across a locked pair.
function expectPosition(rowIdx, colIdx) {
var column = grid.getVisibleColumnManager().getColumns()[colIdx];
expect(grid.getNavigationModel().g... |
src/Main/CastEfficiency.js | enragednuke/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
import SpellLink from 'common/SpellLink';
const CastEfficiency = ({ categories, abilities }) => {
if (!abilities) {
return <div>Loading...</div>;
}
return (
<div style={{ marginTop: -10, marginBottom: -10 }}>
<table className="data-tab... |
src/routes.js | martinrp/reduxgitresume | import React from 'react';
import {IndexRoute, Route} from 'react-router';
import {
Home,
NotFound,
} from 'containers';
export default () => {
/**
* Please keep routes in alphabetical order
*/
return (
<Route path="/">
{ /* Home (main) route */ }
<IndexRoute component={Home}/>
... |
src/Parser/Core/Modules/NetherlightCrucibleTraits/MurderousIntent.js | enragednuke/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
import { formatNumber } from 'common/format';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
/**
* Murderous Inten... |
wp-content/themes/lovechild/js/jquery-1.10.1.min.js | lindsaywilson/lovechild | /*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.1.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
ajax/libs/6to5/1.12.25/browser-polyfill.js | jamzgoodguy/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... |
ajax/libs/core-js/0.5.0/shim.js | ericelliott/cdnjs | /**
* Core.js 0.5.0
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(global, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
assets/jqwidgets/demos/react/app/chart/bublechart/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxChart from '../../../jqwidgets-react/react_jqxchart.js';
import JqxDropDownList from '../../../jqwidgets-react/react_jqxdropdownlist.js';
class App extends React.Component {
componentDidMount() {
this.refs.dropDownSerie1Symbol.on('chan... |
ajax/libs/webshim/1.14.6/dev/shims/moxie/js/moxie.js | jonobr1/cdnjs | /**
* mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
* v1.2.1
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*
* Date: 2014-05-14
*/
/**
* Compiled inline version. (Library ... |
node_modules/grunt-requirejs/node_modules/grunt-jquerybuilder/node_modules/jquery-builder/dist/1.8.3/jquery-ajax-css-dimensions-effects-offset.min.js | alexoldenburg/subzero | /*! jQuery v1.8.3 -css,-ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-offset,-dimensions jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.get... |
20161210/RN-test/app/test02/myScrollView2.js | fengnovo/react-native | import React, { Component } from 'react';
import { Text, View, ScrollView, Image,
RefreshControl,
TouchableHighlight, StyleSheet } from 'react-native';
class MyScrollView extends React.Component {
constructor(props) {
super(props);
this.state = {
lists: []
}
this._onScrollBeginDrag =... |
docs/app/Examples/modules/Dropdown/Variations/DropdownExampleScrolling.js | ben174/Semantic-UI-React | import React from 'react'
import { Dropdown } from 'semantic-ui-react'
import { getOptions } from '../common'
const DropdownExampleScrolling = () => (
<Dropdown placeholder='Select choice' scrolling options={getOptions(15)} />
)
export default DropdownExampleScrolling
|
app/containers/AcquisitionPage/form.gender.js | rvsiqueira/client | import React from 'react';
import { reduxForm, Field } from 'redux-form/immutable';
import RenderField from 'components/RenderField';
import validate from './validate';
import FormFooter from 'components/FormFooter';
import messages from './messages';
import { FormattedMessage } from 'react-intl';
import Header from 'c... |
ajax/libs/reactstrap/6.0.1/reactstrap.full.min.js | seogi1004/cdnjs | (function(e,t){'object'==typeof exports&&'undefined'!=typeof module?t(exports,require('react'),require('react-dom')):'function'==typeof define&&define.amd?define(['exports','react','react-dom'],t):t(e.Reactstrap=e.Reactstrap||{},e.React,e.ReactDOM)})(this,function(e,t,o){'use strict';function n(e){return e&&e.__esModul... |
monkey/monkey_island/cc/ui/src/components/report-components/security/issues/MssqlIssue.js | guardicore/monkey | import React from 'react';
import CollapsibleWellComponent from '../CollapsibleWell';
export function mssqlIssueOverview() {
return (<li>MS-SQL servers are vulnerable to remote code execution via xp_cmdshell command.</li>)
}
export function mssqlIssueReport(issue) {
return (
<>
Disable the xp_cmdshe... |
src/components/App.js | rumblesan/webmandel |
import React from 'react';
import Controls from '../containers/InteractiveControls';
import RenderableCanvas from '../containers/RenderableCanvas';
export default () => {
return (
<div>
<div id='header'>
<Controls />
</div>
<RenderableCanvas />
</div>
);
};
|
app/javascript/mastodon/features/domain_blocks/index.js | rekif/mastodon | import React from 'react';
import { connect } from 'react-redux';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { debou... |
src/svg-icons/device/brightness-medium.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceBrightnessMedium = (props) => (
<SvgIcon {...props}>
<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 18V6c3.31 0 6 2.69 6 6s-2.69 6-6... |
src/app/components/Header.js | skratchdot/audio-links | import React, { Component } from 'react';
import { Link } from 'react-router';
import { Row, Col, Nav } from 'react-bootstrap';
import { connect } from 'react-redux';
const packageInfo = require('../../../package.json');
class Header extends Component {
isLinkActive(pathname) {
return this.context.history.isActive(... |
src/svg-icons/notification/airline-seat-individual-suite.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationAirlineSeatIndividualSuite = (props) => (
<SvgIcon {...props}>
<path d="M7 13c1.65 0 3-1.35 3-3S8.65 7 7 7s-3 1.35-3 3 1.35 3 3 3zm12-6h-8v7H3V7H1v10h22v-6c0-2.21-1.79-4-4-4z"/>
</SvgIcon>
);
Noti... |
client/components/addCard.js | olegccc/10cards | import React from 'react'
import {connect} from 'react-redux'
import { withRouter } from 'react-router'
import BackendApi from '../utils/backendApi'
import { Button } from 'react-toolbox/lib/button'
import Input from 'react-toolbox/lib/input';
import _ from 'lodash'
import SetActions from '../actions/set'
const isBlan... |
docs/app/Examples/views/Statistic/Variations/StatisticExampleInverted.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Segment, Statistic } from 'semantic-ui-react'
const StatisticExampleInverted = () => (
<Segment inverted>
<Statistic inverted value='54' label='inverted' />
<Statistic inverted color='red' value='27' label='red' />
<Statistic inverted color='orange' value='8' label='ora... |
ajax/libs/mobx/3.0.1/mobx.min.js | x112358/cdnjs | /** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */
"use strict";function e(e){return function(t,n,r){return r&&"function"==typeof r.value?(r.value=V(e,r.value),r.enumerable=!1,r.configurable=!0,r):Pt(e).apply(this,arguments)}}function t(e,t,n){var r="string"==typeof e?e:e.name||"<unnamed action>",o="function... |
dist/1.8.2/jquery-ajax-deprecated-effects.min.js | eric-seekas/jquery-builder | /*! jQuery v1.8.2 -deprecated,-ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);... |
src/shipit/frontend/src/index.js | La0/mozilla-relengapi | import 'bootstrap/dist/css/bootstrap.min.css';
import 'font-awesome/css/font-awesome.min.css';
import React from 'react';
import { render } from 'react-dom';
import App from './App';
import {
SHIPIT_API_URL,
RELEASE_CHANNEL,
RELEASE_VERSION,
} from './config';
const root = document.getElementById('root');
const... |
src/svg-icons/action/polymer.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionPolymer = (props) => (
<SvgIcon {...props}>
<path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"/>
</SvgIcon>
);
ActionPolymer = pure(ActionPolymer);
ActionPolymer.d... |
app/javascript/mastodon/features/direct_timeline/components/conversations_list.js | TheInventrix/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import ConversationContainer from '../containers/conversation_container';
import ScrollableList from '../../../components/scroll... |
sites/default/files/js/js_F-5v4JIOy3_1VFQf6DFDx2eZpsiblg3ylzL5mRnvwmE.js | 24ganesh/ringsdrupal | (function ($) {
/**
* Drag and drop table rows with field manipulation.
*
* Using the drupal_add_tabledrag() function, any table with weights or parent
* relationships may be made into draggable tables. Columns containing a field
* may optionally be hidden, providing a better user experience.
*
* Created tableD... |
ajax/libs/yui/3.17.0/datatable-core/datatable-core.js | ematsusaka/cdnjs | /*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@sinc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.