path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
actor-apps/app-web/src/app/components/dialog/MessagesSection.react.js | Jeremy-Meng/actor-platform | import React from 'react';
import _ from 'lodash';
import VisibilityStore from 'stores/VisibilityStore';
import MessageActionCreators from 'actions/MessageActionCreators';
import MessageItem from 'components/common/MessageItem.react';
let _delayed = [];
let flushDelayed = () => {
_.forEach(_delayed, (p) => {
... |
app/javascript/app/components/profile/info.js | GiancarlosIO/ecommerce-book-app | import React from 'react';
import PropTypes from 'prop-types';
import { PageHeader, Table, Button } from 'react-bootstrap';
const ProfileInfo = props => (
<div>
<PageHeader>
User information:
<Button bsStyle="primary" className="float-right" >Edit</Button>
</PageHeader>
<Table bordered respon... |
test/js/release_test/ViroBoxTest.js | viromedia/viro | /**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import {
ViroSceneNavigator,
ViroScene,
ViroBox,
ViroMaterials,
ViroNode,
ViroOrbitCamera,
Vi... |
packages/reactor-modern-boilerplate/src/Home/Home.js | dbuhrman/extjs-reactor | import React, { Component } from 'react';
import { Grid, Toolbar, Button, Column, SearchField } from '@extjs/reactor/modern';
import data from './data';
import { small, medium } from '../responsiveFormulas'
export default class Home extends Component {
store = Ext.create('Ext.data.Store', {
fields: ['name... |
src/js/molecules/LabeledField.js | gogrademe/WebApp |
import React from 'react';
import cx from 'classnames';
// import Formsy from 'formsy-react';
class LabeledInput extends React.Component {
// Add the Formsy Mixin
// mixins: [Formsy.Mixin],
static defaultProps = {
onChange() {},
field: 'input',
required: true,
type: 'text'
};
// setValue(... |
webapp/src/components/disease/diseaseNameCell.js | alliance-genome/agr_prototype | import React from 'react';
const DiseaseNameCell = (name, row) => (
row.doIdDisplay && <a href={row.doIdDisplay.url}>{name}</a>
);
export default DiseaseNameCell;
|
app/javascript/mastodon/features/ui/index.js | rainyday/mastodon | import classNames from 'classnames';
import React from 'react';
import { HotKeys } from 'react-hotkeys';
import { defineMessages, injectIntl } from 'react-intl';
import { connect } from 'react-redux';
import { Redirect, withRouter } from 'react-router-dom';
import PropTypes from 'prop-types';
import NotificationsContai... |
ajax/libs/material-ui/5.0.0-alpha.26/legacy/internal/svg-icons/MoreHoriz.js | cdnjs/cdnjs | import * as React from 'react';
import createSvgIcon from '../../utils/createSvgIcon';
/**
* @ignore - internal component.
*/
export default createSvgIcon( /*#__PURE__*/React.createElement("path", {
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2... |
__tests__/index.ios.js | JuneDomingo/movieapp | import 'react-native';
import React from 'react';
import Index from '../index.ios.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
static/src/containers/LoginCheck.js | eltrufas/cosmico | import React from 'react';
import { connect } from 'react-redux';
import Login from './Login'
import CircularProgress from 'material-ui/CircularProgress';
import Paper from 'material-ui/Paper';
const LoginCheck = ({ isLoading, token, error, children }) => {
if (token) {
return (
<div>
{ children }... |
src/components/shared/Login.js | mutualmobile/Brazos | import React, { Component } from 'react';
import { inject, observer } from 'mobx-react';
import { Redirect } from 'react-router-dom';
@inject('store')
@observer
export default class Login extends Component {
render() {
return (
<div className='page login'>
Your login form here...
{this.props.store.authen... |
src/main/react/src/routes/structure.js | mbrossard/cryptonit-cloud | import React from 'react';
import uuid from 'uuid';
import _ from 'underscore';
const CONFIG = [
{
slug: 'timestamping',
title: 'Timestamping',
icon: 'fa fa-clock-o fa-lg fa-fw',
url: '/timestamping'
}
];
const assignKeys = (input, level = 0) => _.map(input, (def) => {
cons... |
node_modules/babel-register/node_modules/core-js/client/library.js | morselapp/shop_directory | /**
* core-js 2.5.0
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2017 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The r... |
src/interface/news/ImageArticle.js | FaideWW/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
class ImageArticle extends React.PureComponent {
static propTypes = {
title: PropTypes.node.isRequired,
children: PropTypes.node.isRequired,
image: PropTypes.node.isRequired,
style: PropTypes.object,
};
render() {
const { title, ... |
ajax/libs/aui/5.9.6/aui/js/aui-experimental.js | extend1994/cdnjs | // src/js/aui/polyfills/placeholder.js
(typeof window === 'undefined' ? global : window).__f1b7d9a0fb9e49fbe8414d2fde4a5eec = (function () {
var module = {
exports: {}
};
var exports = module.exports;
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'defaul... |
packages/material-ui-icons/src/FilterBAndWTwoTone.js | callemall/material-ui | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M19 5h-7v6l7 8zm-7 14v-8l-7 8z" opacity=".3" /><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zm-9 0H5l7-8V5h7v14l-7-8v8z" /></React.Fragment... |
code/web/node_modules/react-bootstrap/es/Breadcrumb.js | zyxcambridge/RecordExistence | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
src/CardLink.js | reactstrap/reactstrap | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { mapToCssModules, tagPropType } from './utils';
const propTypes = {
tag: tagPropType,
innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),
className: PropTypes.string,
css... |
ajax/libs/jointjs/0.9.7/joint.core.js | redmunds/cdnjs | /*! JointJS v0.9.6 - JavaScript diagramming library 2015-12-19
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
(function(root, factory) {
if (typeof define === 'f... |
app/scripts/components/WYSIHTMLToolbar.spec.js | igr-santos/hub-client | // import React from 'react'
// import { shallow } from 'enzyme'
// import { expect } from 'chai'
// import { WYSIHTMLToolbar } from './WYSIHTMLToolbar.jsx'
// import { fetchGoogleFontsSuccess } from '../Widget/actions'
// describe('WYSIHTMLToolbar', function() {
// let wrapper
// const googleFonts = {
// kin... |
app/root.js | myReactNative/iReading | import React from 'react';
import { Provider } from 'react-redux';
import configureStore from './store/configure-store';
import rootSaga from './sagas/index';
import App from './containers/app';
const store = configureStore();
//run root saga
store.runSaga(rootSaga);
console.disableYellowBox = true;
const Root = ()... |
packages/mui-icons-material/legacy/SignalCellular1Bar.js | oliviertassinari/material-ui | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fillOpacity=".3" d="M2 22h20V2z" /><path d="M12 12L2 22h10z" /></React.Fragment>
, 'SignalCellular1Bar');
|
React Native/Demos/address_book/Views/manager/addUser.js | AngryLi/ResourceSummary | /**
* Created by Liyazhou on 16/8/28.
*/
import React from 'react';
import {
View,
Text,
ScrollView,
StyleSheet,
TouchableOpacity,
TextInput,
PickerIOS,
AlertIOS,
} from 'react-native';
import Util from './../util';
import Service from './../service';
export default class AddUser e... |
src/svg-icons/av/replay.js | barakmitz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvReplay = (props) => (
<SvgIcon {...props}>
<path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"/>
</SvgIcon>
);
AvReplay = pure(AvReplay);
AvReplay... |
test/integration/image-component/default/pages/hidden-parent.js | azukaru/next.js | import Image from 'next/image'
import React from 'react'
const Page = () => {
return (
<div>
<p>Hello World</p>
<div style={{ visibility: 'hidden' }}>
<Image
id="hidden-image"
src="/test.jpg"
width="400"
height="400"
></Image>
</div>
... |
examples/todomvc/components/TodoItem.js | conorhastings/redux | import React, { Component, PropTypes } from 'react'
import classnames from 'classnames'
import TodoTextInput from './TodoTextInput'
class TodoItem extends Component {
constructor(props, context) {
super(props, context)
this.state = {
editing: false
}
}
handleDoubleClick() {
this.setState({... |
docs/src/app/components/pages/components/DatePicker/ExampleControlled.js | pomerantsev/material-ui | import React from 'react';
import DatePicker from 'material-ui/DatePicker';
/**
* `DatePicker` can be implemented as a controlled input,
* where `value` is handled by state in the parent component.
*/
export default class DatePickerExampleControlled extends React.Component {
constructor(props) {
super(props)... |
node_modules/recharts/src/polar/Radar.js | SerendpityZOEY/Fixr-RelevantCodeSearch | /**
* @fileOverview Radar
*/
import React, { Component, PropTypes } from 'react';
import pureRender from '../util/PureRender';
import classNames from 'classnames';
import { PRESENTATION_ATTRIBUTES, getPresentationAttributes } from '../util/ReactUtils';
import Polygon from '../shape/Polygon';
import Dot from '../shape... |
examples/SimpleExample/__tests__/index.android.js | Gabrn/react-native-persistent-job | import 'react-native';
import React from 'react';
import Index from '../index.android.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
client/src/legacy/ToastsContainer.js | silverstripe/silverstripe-admin | /* global window */
import jQuery from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
import Injector, { loadComponent } from 'lib/Injector';
import { display } from 'state/toasts/ToastsActions';
const ToastsContainer = loadComponent('ToastsContainer');
/**
* Initialised the toast container
... |
client-src/components/comparison/header/HeaderRow.js | minimus/final-task | import React from 'react'
import propTypes from 'prop-types'
import Header from './Header'
export default function HeaderRow({ items }) {
return (
<div className="header-row">
<div className="empty-cell" />
{items.map(e =>
(<div className="header-cell" key={e.id}>
<Header text={... |
src/containers/GamesContainer.js | laere/diversion-2 | import React, { PropTypes } from 'react';
import Games from '../components/Games';
import Loading from '../components/Loading';
import { connect } from 'react-redux';
import { fetch, gamePagination } from '../actions/GameActions';
import { GAMES_URL } from '../endpoints/endpoints';
class GamesContainer extends React.C... |
ajax/libs/yasgui/1.0.18/yasgui.min.js | amoyeh/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;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
packages/material-ui-icons/src/LineWeightTwoTone.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z" /></React.Fragment>
, 'LineWeightTwoTone');
|
src/routes.js | NetEffective/net-effective | import React from 'react';
import {IndexRoute, Route} from 'react-router';
import { isLoaded as isAuthLoaded, load as loadAuth } from 'redux/modules/auth';
import {
App,
Chat,
Home,
About,
LoginPage,
Signup,
LoginSuccess,
NotFound,
StateDetail
} from 'containers';
export default (... |
pages/_app.js | bmealhouse/next-redux-saga | import React from 'react'
import App, {Container} from 'next/app'
import {Provider} from 'react-redux'
import withRedux from 'next-redux-wrapper'
import createStore from '../test/store/configure-store'
class ExampleApp extends App {
static async getInitialProps({Component, ctx}) {
let pageProps = {}
if (Com... |
Project/node_modules/material-ui/Divider/Divider.js | IhtishamShah/GamifiedLearningApp | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _inte... |
src/index.js | nickooms/racing-webgl2 | import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { syncHistoryWithStore } from 'react-router-redux';
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import injectTapEventPlugin from 'react-tap-event-plugin';
import store from './sto... |
ajax/libs/yasr/2.4.9/yasr.bundled.min.js | chrisyip/cdnjs | !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){... |
example/examples/PolygonCreator.js | zigbang/react-native-maps | import React from 'react';
import {
StyleSheet,
View,
Text,
Dimensions,
TouchableOpacity,
} from 'react-native';
import MapView, { MAP_TYPES, Polygon, ProviderPropType } from 'react-native-maps';
const { width, height } = Dimensions.get('window');
const ASPECT_RATIO = width / height;
const LATITUDE = 37.78... |
example/App/index.js | nkbt/react-height | import React from 'react';
import {VariableText} from './VariableText';
import {Nested} from './Nested';
export default () => (
<div className="app">
<h1>react-height</h1>
<section className="section">
<h2>Example 1. Variable text</h2>
<VariableText />
</section>
<section className="se... |
profiles/civicrm_starterkit/modules/civicrm/packages/backbone-forms/test/lib/jquery-1.6.2.min.js | eauxnguyen/civicrm-starterkit-drops-7 | /*!
* jQuery JavaScript Library v1.6.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.
... |
Js/Ui/Components/ButtonGroup/index.js | Webiny/Webiny | import React from 'react';
import Webiny from 'webiny';
import styles from './styles.scss';
class ButtonGroup extends Webiny.Ui.Component {
}
ButtonGroup.defaultProps = {
className: null,
renderer() {
const {styles, className} = this.props;
return (
<div className={this.classSet(sty... |
examples/counter-example/src/App.js | jerrymao15/react-monocle | import React, { Component } from 'react';
import Counter from './Counter';
export default class App extends Component {
constructor(props) {
super(props);
this.state = {
counters: [],
}
this.handleAddCounter = this.handleAddCounter.bind(this);
}
handleAddCounter() {
const counters = th... |
docs/src/app/components/pages/components/TimePicker/ExampleInternational.js | spiermar/material-ui | import React from 'react';
import TimePicker from 'material-ui/TimePicker';
const TimePickerInternational = () => (
<div>
<TimePicker
hintText="Custom Labels"
okLabel="确定"
cancelLabel="取消"
/>
</div>
);
export default TimePickerInternational;
|
test/tests/decorators/mapProps.js | buildo/revenge | import expect from 'expect';
import React from 'react';
import mapProps from '../../../src/decorators/mapProps';
class Component extends React.Component {};
describe('@mapProps', () => {
it('should allow mapping props', () => {
const mapFn = ({ ...props }) => Object.keys(props).reduce((ac, k) => ({
...ac,... |
src/components/Form/components/TextArea.js | Aus0049/react-component | /**
* Created by Aus on 2017/7/18.
*/
import React from 'react'
import classNames from 'classnames'
import '../style/form.scss'
import {showError, clearError} from './Func'
const TextArea = (props) => {
const {required, labelName, readOnly, controlled, value, placeHolder, error, onChange} = props;
function ... |
src/scenes/home/landing/topcodeBanner/topcodeBanner.js | tskuse/operationcode_frontend | import React from 'react';
import topcodeLogo from 'images/partnerLogos/logo_topcoder_with_name.svg';
import AdBanner from 'shared/components/adBanner/adBanner';
const topcodeBanner = () => (
<AdBanner
link="http://op.co.de/topcoder-veterans"
imageSource={topcodeLogo}
altText="Top Coder"
adBannerText... |
src/todo/Todo.js | bakhle/ui-app-smart-display | import React, { Component } from 'react';
import _ from 'lodash';
import Request from 'superagent';
import './Todo.css';
const config = require('../../config/config.json');
class Todo extends Component {
constructor(props) {
super(props);
this.state = {
todos: []
}
}
componentWillMount() {
... |
packages/material-ui-icons/src/HourglassEmptyTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M18 2H6v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2zm-2 14.5V20H8v-3.5l4-4 4 4zm0-9l-4 4-4-4V4h8v3.5z" />
, 'HourglassEmptyTwoTone');
|
ajax/libs/yui/3.10.1/scrollview-base/scrollview-base.js | chriszarate/cdnjs | YUI.add('scrollview-base', function (Y, NAME) {
/**
* The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators
*
* @module scrollview
* @submodule scrollview-base
*/
// Local vars
var getClassName = Y.ClassNameManager.getClassName,
DOCUMENT = Y.config.doc,
IE = Y.UA.ie... |
lib/component/treeView.js | UniQLab/TreeView | import _ from 'lodash';
import React from 'react';
import BaseView from './baseView';
class TreeView extends BaseView {
constructor(props) {
super(props);
}
_onBind() {
this._onDraw = this._onDraw.bind(this);
this._onViewChanged = this._onViewChanged.bind(this);
}
_onSetup() {
return {
store: this.pr... |
src/linkClass.js | zapier/react-css-modules | import React from 'react';
import makeConfiguration from './makeConfiguration';
import _ from 'lodash';
let linkClass;
/**
* @param {ReactElement} element
* @param {Object} styles CSS modules class map.
* @param {CSSModules~Options} userConfiguration
* @return {ReactElement}
*/
linkClass = (element, styles = {},... |
examples/huge-apps/routes/Course/routes/Assignments/components/Sidebar.js | nhunzaker/react-router | /*globals COURSES:true */
import React from 'react'
import { Link } from 'react-router'
class Sidebar extends React.Component {
render() {
let { assignments } = COURSES[this.props.params.courseId]
return (
<div>
<h3>Sidebar Assignments</h3>
<ul>
{assignments.map(assignment =>... |
files/core-js/0.8.3/library.js | evilangelmd/jsdelivr | /**
* Core.js 0.8.3
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
var __e = null, __g = null;
(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... |
misc/jquery.js | chitraphp/food_blog_ajax |
/*!
* jQuery JavaScript Library v1.4.4
* 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.... |
app/javascript/mastodon/features/account_gallery/components/media_item.js | h3zjp/mastodon | import { decode } from 'blurhash';
import classNames from 'classnames';
import Icon from 'mastodon/components/icon';
import { autoPlayGif, displayMedia } from 'mastodon/initial_state';
import { isIOS } from 'mastodon/is_mobile';
import PropTypes from 'prop-types';
import React from 'react';
import ImmutablePropTypes fr... |
src/components/Tabs/Tabs.js | Zoomdata/nhtsa-dashboard-2.2 | import styles from './Tabs.css';
import React, { Component } from 'react';
import TabLinks from '../TabLinks/TabLinks';
import TabContent from '../TabContent/TabContent';
const Tabs = () => {
return (
<div className={styles.root}>
<TabLinks />
<TabContent />
</div>
)
}
... |
src/common/ColumnList/Item.js | Syncano/syncano-dashboard | import React from 'react';
import Radium from 'radium';
import { Paper } from 'material-ui';
import { colors as Colors } from 'material-ui/styles/';
import ColumnListConstans from './ColumnListConstans';
import _ from 'lodash';
export default Radium(React.createClass({
displayName: 'Item',
getDefaultProps() {
... |
ajax/libs/forerunnerdb/1.3.751/fdb-all.min.js | brix/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... |
internals/templates/containers/NotFoundPage/messages.js | ninjaref/ninjaref | /*
* NotFoundPage Messages
*
* This contains all the text for the NotFoundPage component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
header: {
id: 'app.components.NotFoundPage.header',
defaultMessage: 'This is NotFoundPage component!',
},
});
|
js/vendor/jquery-1.11.2.min.js | uf0/date-filler | /*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
ajax/libs/zingchart-react/3.0.0/zingchart-react.es.js | cdnjs/cdnjs | import React, { Component } from 'react';
var EVENT_NAMES = [
'about_hide',
'about_show',
'animation_end',
'animation_start',
'animation_step',
'beforedestroy',
'bugreport_hide',
'bugreport_show',
'click',
'complete',
'data_export',
'dataexport',
'dataload',
'dataparse',
'dataready',
'd... |
O3658/03 Branding with add-in model techniques/Demos/DeployCustomTheme/DeployCustomThemeWeb/Scripts/jquery-1.9.1.min.js | amarty/TrainingContent | /* NUGET: BEGIN LICENSE TEXT
jQuery v1.9.1
Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc... |
src/client/app/components/app.js | JuMBoSLICE/JuMBo | import React, { Component } from 'react';
import {Router, Route, Link, IndexRoute, hashHistory, browserHistory} from 'react-router';
import Login from './login.js';
import Signup from './signup.js';
import styles from './../../style.css';
import Dashboard from './dashboard.js';
import ProjectCreator from './projectCrea... |
ajax/libs/redux-form/5.1.4/redux-form.js | pombredanne/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["ReduxForm"] = facto... |
node_modules/node_modules/material-ui/svg-icons/action/euro-symbol.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... |
ajax/libs/primereact/7.0.0/togglebutton/togglebutton.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { classNames, IconUtils } from 'primereact/utils';
import { tip } from 'primereact/tooltip';
import { Ripple } from 'primereact/ripple';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a ... |
app/components/Text.js | robcalcroft/edison | import React from 'react';
import PropTypes from 'prop-types';
import { Text } from 'react-native';
const ModifiedText = ({ children, style }) => (
<Text style={[{ fontSize: 16 }].concat(style)}>{children}</Text>
);
ModifiedText.propTypes = {
children: PropTypes.node.isRequired,
style: PropTypes.oneOfType([
... |
src/svg-icons/image/panorama-vertical.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImagePanoramaVertical = (props) => (
<SvgIcon {...props}>
<path d="M19.94 21.12c-1.1-2.94-1.64-6.03-1.64-9.12 0-3.09.55-6.18 1.64-9.12.04-.11.06-.22.06-.31 0-.34-.23-.57-.63-.57H4.63c-.4 0-.63.23-.63.57 0 .1.02... |
app/javascript/mastodon/features/ui/components/video_modal.js | imomix/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import ExtendedVideoPlayer from '../../../components/extended_video_player';
import { defineMessages, injectIntl } from 'react-intl';
import IconButton from '../../../components/icon_button';
impor... |
ajax/libs/6to5/2.13.5/browser-polyfill.js | peteygao/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/SectionHeaderActivityModal/index.js | DuckyTeam/ducky-components | import IconAvaWrapper from '../IconAvaWrapper';
import React from 'react';
import PropTypes from 'prop-types';
import ButtonIcon from '../ButtonIcon';
import classNames from 'classnames';
import styles from './styles.css';
function SectionHeaderActivityModal(props) {
return (
<div className={classNames(styles.wr... |
test/specs/views/Card/CardGroup-test.js | jamiehill/stardust | import faker from 'faker'
import React from 'react'
import * as common from 'test/specs/commonTests'
import CardGroup from 'src/views/Card/CardGroup'
describe('CardGroup', () => {
common.isConformant(CardGroup)
common.hasUIClassName(CardGroup)
common.implementsWidthProp(CardGroup, { propKey: 'itemsPerRow', canEq... |
index.ios.js | david1820/react-native-boilerplate | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React from 'react'; // eslint-disable-line
import {
AppRegistry,
} from 'react-native';
import App from './app/index';
AppRegistry.registerComponent('boilerplate', () => App);
|
ajax/libs/vega/2.6.4/vega.js | kennynaoh/cdnjs | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vg = f()}})(fu... |
ajax/libs/clappr/0.0.96/clappr.js | htmlstrap/cdnjs | require=(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)... |
node_modules/rc-slider/es/Range.js | scaulfield01/HallHorn | import _defineProperty from 'babel-runtime/helpers/defineProperty';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';
import _extends from 'babel-runtime/helpers/extends';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createCl... |
pages/linear_interpolation.js | mvasilkov/mvasilkov.ovh | import React from 'react'
import Article from '../app/article'
import Listing from '../app/listing'
import prog from '../build/prog/basic/lerp'
export const pagePath = 'linear_interpolation'
export const pageTitle = 'Linear interpolation (lerp)'
export default class extends React.Component {
render() {
r... |
sites/woutersenwouters.be/modules/jquery_update/replace/jquery/1.8/jquery.min.js | tomba2844/wouters | /*! jQuery v1.8.2 jquery.com | jquery.org/license */
(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==... |
src/imports/ui/builder/pages/QuestionsPage.js | hwillson/meteor-recommendation-builder | import React, { Component } from 'react';
import { Row, Col } from 'react-bootstrap';
import { _ } from '../../../utility/meteor/packages';
import SelectedAnswer from '../components/questions/SelectedAnswer';
import GenerateRecommendationsButton
from '../components/questions/GenerateRecommendationsButton';
import Ex... |
framework/zii/widgets/assets/gridview/jquery.yiigridview.js | arossokha/abcosting | /**
* 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... |
chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js | guorendong/iridium-browser-ubuntu | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Navigation history tracks recently visited nodes. The
* state of this class (the node history), is used to ensure the user is
* nav... |
opennms-webapp/src/main/webapp/map/ECMAScript/selectionList.js | rfdrake/opennms | /*
Scripts to create interactive selectionLists/Dropdown boxes in SVG using ECMA script
Copyright (C) <2002-2007> <Andreas Neumann>
Version 1.4.1, 2007-04-16
neumann@karto.baug.ethz.ch
http://www.carto.net/
http://www.carto.net/neumann/
Credits:
* Initial code was taken from Michel Hirtzler --> pilat.free.fr (thanks!... |
src/screens/MyLists.js | nanomish/a9 | //https://wix.github.io/react-native-navigation/#/top-level-api?id=dismissmodalparams-
import React from 'react';
import {StyleSheet, View, Text, ScrollView, TouchableHighlight} from 'react-native';
import Row from '../components/Row';
import Catalog from '../data/Catalog';
import _ from 'underscore';
class MyLists e... |
src/components/lists/POSCountDivList.js | nbuechler/ample-affect-exhibit | import React from 'react';
import { Alert } from 'react-bootstrap';
export default class POSCountDivList extends React.Component {
constructor (props) {
super(props);
}
render () {
// TODO: This is done very brute force!!! Change the code later!!
let posExtendedData = this.props.posExtendedData
... |
packages/material-ui-icons/src/LiveHelpTwoTone.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="M5 18h4.83l.59.59L12 20.17l1.59-1.59.58-.58H19V4H5v14zm8-1h-2v-2h2v2zM12 5c2.21 0 4 1.79 4 4 0 2.5-3 2.75-3 5h-2c0-3.25 3-3 3-5 0-1.1-.9-2-2-... |
client/src/_scenes/MoneyMaps/components/MoneyMapsList/index.js | bpowers1215/MoneyMap | import React, { Component } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import MoneyMapTile from './MoneyMapTile';
import Icon from '~/_components/icon';
import './styles.scss';
const mapDispatchToProps = dispatch => {
return {}
};
const mapStateToProps = state => {
retu... |
docs/src/sections/TooltipSection.js | mmarcant/react-bootstrap | import React from 'react';
import Anchor from '../Anchor';
import PropTable from '../PropTable';
import ReactPlayground from '../ReactPlayground';
import Samples from '../Samples';
export default function TooltipSection() {
return (
<div className="bs-docs-section">
<h2 className="page-header">
<A... |
actor-apps/app-web/src/app/components/modals/InviteUser.react.js | yaoliyc/actor-platform | import _ from 'lodash';
import React from 'react';
import Modal from 'react-modal';
import ReactMixin from 'react-mixin';
import { IntlMixin, FormattedMessage } from 'react-intl';
import { Styles, FlatButton } from 'material-ui';
import ActorTheme from 'constants/ActorTheme';
import ActorClient from 'utils/ActorClien... |
src/svg-icons/hardware/toys.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let HardwareToys = (props) => (
<SvgIcon {...props}>
<path d="M12 12c0-3 2.5-5.5 5.5-5.5S23 9 23 12H12zm0 0c0 3-2.5 5.5-5.5 5.5S1 15 1 12h11zm0 0c-3 0-5.5-2.5-5.5-5.5S9 1 12 1v11zm0 0c3 0 5.5 2.5 5.5 5.5S15 23 12 2... |
js/src/ui/Form/VaultSelect/vaultSelect.spec.js | nipunn1313/parity | // Copyright 2015-2017 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 lat... |
packages/react-scripts/fixtures/kitchensink/src/features/syntax/Generators.js | romaindso/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, { Component } from 'react';
import PropTypes from 'prop-types';
function* load(limit) {
let i = 1;
while (i <= limit)... |
node_modules/react-icons/io/ios-plus-outline.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const IoIosPlusOutline = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m19.8 3.8c8.9 0 16.2 7.2 16.2 16.2s-7.3 16.3-16.2 16.3-16.3-7.3-16.3-16.3 7.3-16.2 16.3-16.2z m0 31.1c8.2 0 14.9-6.7 14.9-14.9s-6.7-14.9-14.9-14.9-15 6.7-15 14... |
src/admin/LostConnection.js | rendact/rendact | import React from 'react';
var LostConnection = React.createClass({
componentDidMount: function(){
require ('../css/AdminLTE.css');
require ('../css/skins/_all-skins.css');
},
render: function(){
return (
<div className="lockscreen-wrapper">
<h3 className="text-yellow text-center">Lost connectio... |
src/js/index.js | takecy/react-manager | 'use strict';
// For react
import React from 'react';
window.React = React;
import injectTapPlugin from 'react-tap-event-plugin';
injectTapPlugin();
import tv4 from 'tv4';
import i18n from './i18n';
tv4.addFormat('datetime', function(value) {
let time = Date.parse(value);
if (isNaN(time)) {
return i18n('Date... |
packages/material-ui-icons/src/Public.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.9... |
ajax/libs/forerunnerdb/1.3.37/fdb-all.min.js | dlueth/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... |
components/About.js | HiDAl/mysql-monitor | import React from 'react';
class About extends React.Component {
render() {
return (
<div>
<h2>About</h2>
<p>This is a description of the site.</p>
</div>
);
}
}
export default About;
|
src/routes.js | tahmid-tanzim/work-abroad-client | import React from 'react';
import {Route} from 'react-router';
/* React Component */
import App from './components/App';
import {VotingContainer} from './components/Voting';
import {ResultsContainer} from './components/Results';
import {Home} from './components/Home';
import {Members} from './components/Members';
con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.