path stringlengths 5 300 | repo_name stringlengths 6 76 | content stringlengths 26 1.05M |
|---|---|---|
src/components/Navigation/index.js | DataSF/open-data-explorer | import './@Navigation.css'
import React from 'react'
import { NavDropdown, MenuItem } from 'react-bootstrap'
import { Link } from 'react-router'
import Logo from '../Logo'
import AutoSuggestSearch from '../../containers/AutoSuggestSearch'
const Navigation = ({ location, pages }) => {
let showSearch = (['/', '/catalo... |
src/svg-icons/communication/comment.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationComment = (props) => (
<SvgIcon {...props}>
<path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/>
</SvgIcon>
);
Co... |
src/routes/service/Service.js | medevelopment/updatemeadmin |
import React from 'react';
import axios from 'axios';
import s from './Investors.css';
import PropTypes from 'prop-types';
import MaintenanceCard from './MaintenanceCard';
import withStyles from 'isomorphic-style-loader/lib/withStyles';
import Loader from '../../components/Loader/Loader';
class Service extends React... |
ajax/libs/onsen/2.0.0-beta/js/angular-onsenui.js | BenjaminVanRyseghem/cdnjs | /*! angular-onsenui.js for onsenui - v2.0.0-beta - 2015-11-11 */
(function(module) {
try { module = angular.module('templates-main'); }
catch(err) { module = angular.module('templates-main', []); }
module.run(['$templateCache', function($templateCache) {
'use strict';
$templateCache.put('templates/sliding_menu.tpl'... |
ajax/libs/webshim/1.14.4/dev/shims/combos/26.js | jdh8/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 ... |
client/src/app/routes/settings/containers/Classes.js | zraees/sms-project | /**
* Created by griga on 11/30/15.
*/
import React from 'react'
import axios from 'axios'
import { connect } from 'react-redux'
import WidgetGrid from '../../../components/widgets/WidgetGrid'
import JarvisWidget from '../../../components/widgets/JarvisWidget'
import RFDatePicker from '../../../components/ui/RFDa... |
src/decorators/withViewport.js | wildcard/react-starter | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { Component } from 'react'; // eslint-disable-line no-unused-vars
import EventEmitter from 'eventemitter3';
import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';
let EE;
let viewport = {width: 1366, height: 768}; // Default si... |
Modules/SharePointHostedAddIns/Lab/Solution/MyFirstSharePointAddin/packages/jQuery.1.9.1/Content/Scripts/jquery-1.9.1.js | CriticalPathTraining/GOA365 | /* 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... |
front_end/src/pages/Tiles/TileViewPage.js | mozilla/splice | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import { updateDocTitle, pageVisit, displayMessage, shownMessage } from 'actions/App/AppActions';
import { updateTile } from 'actions/Tiles/TileActions';
import { fetchHierarchy } from 'actions/App/... |
src/components/CreateVmWizard/steps/Storage.js | mareklibra/userportal | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { msg, enumMsg } from '_/intl'
import { localeCompare, generateUnique } from '_/helpers'
import { isNumber, convertValue } from '_/utils'
import { BASIC_DATA_SHAPE, STORAGE_SHAPE } from '../dataPropTypes'
import {... |
frontend/src/components/threads/moderation/controls.js | 1905410/Misago | import React from 'react';
import ErrorsModal from 'misago/components/threads/moderation/errors-list'; // jshint ignore:line
import MergeThreads from 'misago/components/threads/moderation/merge'; // jshint ignore:line
import MoveThreads from 'misago/components/threads/moderation/move'; // jshint ignore:line
import * as... |
src/applications/vaos/tests/mocks/setup.js | department-of-veterans-affairs/vets-website | /** @module testing/mocks/setup */
import React from 'react';
import moment from '../../lib/moment-tz';
import { Route, Router } from 'react-router-dom';
import { createMemoryHistory } from 'history-v4';
import { combineReducers, applyMiddleware, createStore } from 'redux';
import thunk from 'redux-thunk';
import { ex... |
projects/wedding/js/jquery.js | lozh88/Portfolio | /*! 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... |
ajax/libs/angular-azure-mobile-service/1.0.1/angular-azure-mobile-service.js | htmlstrap/cdnjs | 'use strict';
angular.module('azure-mobile-service.module', [])
.service('Azureservice', function Azureservice($q) {
var API_URL = 'https://<AZURE_APP_NAME>.azure-mobile.net/';
var API_KEY = '<AZURE_APP_API_KEY>';
var VAILD_OAUTH_PROVIDERS = ['google', 'twitter', 'facebook', 'windowsaccount', 'windowsaz... |
ajax/libs/falcor/0.1.17/falcor.all.js | dc-js/cdnjs | /*!
* Copyright 2015 Netflix, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
ajax/libs/jquery/1.11.2/jquery.js | thisispiers/cdnjs | /*!
* jQuery JavaScript Library v1.11.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-12-17T15:27Z
*/
(function( global, factory ) {
if ... |
packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/Demo.js | u9520107/ringcentral-js-widget | import React from 'react';
// eslint-disable-next-line
import RemoveButton from 'ringcentral-widgets/components/RemoveButton';
const props = {};
props.onClick = () => alert('clicked');
/**
* A example of `RemoveButton`
*/
const RemoveButtonDemo = () => (
<RemoveButton
{...props}
/>
);
export default RemoveB... |
ajax/libs/core-js/0.3.3/library.js | jdh8/cdnjs | /**
* Core.js 0.3.3
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2014 Denis Pushkarev
*/
!function(returnThis, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
ajax/libs/react/0.5.2/react-with-addons.js | nareshs435/cdnjs | /**
* React (with addons) v0.5.2
*/
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports;
return ... |
app/modals/LoadingModal.js | arnef/ligatool-hamburg | import React from 'react';
import {
Modal,
View,
ActivityIndicator,
StyleSheet,
Platform,
} from 'react-native';
export default function LoadingModal(props) {
return (
<Modal
animationType={'fade'}
onRequestClose={() => false}
transparent={true}
visible={props.loading}
>
... |
src/widgets/GalleryHub/SnippetGallery.js | mydearxym/mastani | /*
*
* SnippetGallery
*
*/
import React from 'react'
import T from 'prop-types'
import { ICON } from '@/config'
import { buildLog } from '@/utils/logger'
import IconText from '@/widgets/IconText'
import {
Wrapper,
Block,
Header,
IntroHead,
LangPrefix,
Title,
Footer,
} from './styles/snippet_galler... |
pages/about.js | kimeva/zerofallgravity | import React, { Component } from 'react';
import isRetina from 'is-retina';
import { Page, About } from 'components';
export default class extends Component {
render () {
return (
<Page title='About' >
<About isRetina={isRetina()} />
</Page>
);
}
}
|
packages/material-ui-icons/src/EvStation.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0... |
CompositeUi/src/views/form/ProjectEdit.js | kreta-io/kreta | /*
* This file is part of the Kreta package.
*
* (c) Beñat Espiña <benatespina@gmail.com>
* (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import {connect} from 'react-redux';
impo... |
ajax/libs/yui/3.17.2/event-focus/event-focus-debug.js | hagabaka/cdnjs | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Ev... |
src/Menu.js | oVirt/ovirt-engine-api-explorer | /*
Copyright (c) 2016-2017 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
app/containers/FacturesDistributeur/containers/FactureDistributeur.js | Proxiweb/react-boilerplate | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { createStructuredSelector } from 'reselect';
import { format } from 'utils/dates';
import capitalize from 'lodash/capitalize';
import round from 'lodas... |
ajax/libs/rxjs/2.3.21/rx.js | yogeshsaroya/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
};
... |
node_modules/react-element-to-jsx-string/index-test.js | vallihe/wizarddemo | /* eslint-env mocha */
/* eslint-disable react/no-multi-comp, react/prop-types */
import React from 'react';
import expect from 'expect';
import {createRenderer} from 'react-addons-test-utils';
import reactElementToJSXString from './index';
import AnonymousStatelessComponent from './AnonymousStatelessComponent';
clas... |
src/swagger/swagger-ui-standalone-preset.js | oliverhruby/marvin | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIStandalonePreset=t():e.SwaggerUIStandalonePreset=t()}(this,function(){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={... |
src/index.js | JJVvV/tuotuo | import React from 'react';
import App from './App';
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;
var About = require('./components/test/about');
var Home = require('./components/test/home');
var Inbox = require('./components/test/inbox');
//function render(){
// var route = window.location.has... |
docs/src/app/components/pages/components/Stepper/VerticalLinearStepper.js | kittyjumbalaya/material-components-web | import React from 'react';
import {
Step,
Stepper,
StepLabel,
StepContent,
} from 'material-ui/Stepper';
import RaisedButton from 'material-ui/RaisedButton';
import FlatButton from 'material-ui/FlatButton';
/**
* Vertical steppers are designed for narrow screen sizes. They are ideal for mobile.
*
* To use t... |
src/app/common/UserInterface/components/ScrollBar.js | toxzilla/app | import React from 'react';
import ReactDOM from 'react-dom';
import shallowCompare from 'react-addons-shallow-compare';
import {classNames, combine as combineStyle, compose as composeStyle, ease} from 'react-dom-stylesheet';
export default class ScrollBar extends React.Component {
static displayName = 'ScrollBar'
... |
20161201/RN-test/index.ios.js | fengnovo/react-native | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
// import React, { Component } from 'react';
// import {
// AppRegistry,
// StyleSheet,
// Text,
// View
// } from 'react-native';
// export default class AwesomeProject extends Component {
// render() {
// return (
... |
src/svg-icons/action/picture-in-picture-alt.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionPictureInPictureAlt = (props) => (
<SvgIcon {...props}>
<path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"/>
</Svg... |
node_modules/antd/es/radio/radio.js | yhx0634/foodshopfront | import _defineProperty from 'babel-runtime/helpers/defineProperty';
import _extends from 'babel-runtime/helpers/extends';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possib... |
ajax/libs/rxjs/2.4.3/rx.lite.extras.js | owcc/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'und... |
scripts/main.js | patlillis/stella | import React from 'react';
import ReactDom from 'react-dom';
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import Details from '../components/Details.jsx';
import List from '../components/List.jsx';
import Locator from '../components/Locator.jsx';
import Stella from '../components/Stella.jsx... |
src/components/RequestFeeFineBlockButtons/RequestFeeFineBlockButtons.js | folio-org/ui-users | import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import queryString from 'query-string';
import {
Button,
Icon,
} from '@folio/stripes/components';
import { IfPermission } from '@folio/stripes/core';
class RequestFeeFineBlockButtons extends React.Compon... |
src/scripts/elite/views/trading/index.js | AzazelN28/ed-companion | import React, { Component } from "react";
import { Link } from "react-router";
export class Trading extends Component {
render() {
return (
<div className="Trading">
<h2>Comercio</h2>
</div>
);
}
}
export default Trading;
|
test/specs/views/Feed/FeedExtra-test.js | Rohanhacker/Semantic-UI-React | import React from 'react'
import * as common from 'test/specs/commonTests'
import FeedExtra from 'src/views/Feed/FeedExtra'
describe('FeedExtra', () => {
common.isConformant(FeedExtra)
common.propKeyOnlyToClassName(FeedExtra, 'images')
common.propKeyOnlyToClassName(FeedExtra, 'text')
common.rendersChildren(Fe... |
app/bower_components/jquery/jquery.min.js | sonukry/logisticsadmin | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.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=f.trim... |
ajax/libs/recompose/0.18.1/Recompose.js | AMoo-Miki/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["Recompose"] = facto... |
src/app/containers/UpdateTournaments.js | omarglz/rgvelite | import React from 'react';
import * as firebase from 'firebase';
import { connect } from 'react-redux';
import PillsTournaments from './PillsTournaments.js';
import firebaseApp from '../firebase.js';
class UpdateTournaments extends React.Component {
constructor() {
super();
this.state = {
tournaments: []
};
... |
universal/containers/devTools.js | Amazing-Space-Invader/outline | /**
* Created by x22a on 25.02.16.
*/
import React from 'react';
// Exported from redux-devtools
import { createDevTools } from 'redux-devtools';
// Monitors are separate packages, and you can make a custom one
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor... |
src/components/UpdateTextWithData.js | OpenCollective/frontend | import React from 'react';
import PropTypes from 'prop-types';
import withIntl from '../lib/withIntl';
import { graphql } from 'react-apollo';
import gql from 'graphql-tag';
import { get } from 'lodash';
class UpdateText extends React.Component {
static propTypes = {
id: PropTypes.number.isRequired, // update.id... |
packages/material-ui-icons/src/RvHookup.js | AndriusBil/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let RvHookup = props =>
<SvgIcon {...props}>
<path d="M20 17v-6c0-1.1-.9-2-2-2H7V7l-3 3 3 3v-2h4v3H4v3c0 1.1.9 2 2 2h2c0 1.66 1.34 3 3 3s3-1.34 3-3h8v-2h-2zm-9 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1... |
src/components/Timer/index.js | Nargonath/getshitdone | import React, { Component } from 'react';
import { func, shape, string } from 'prop-types';
import { zeroPad } from 'services/string';
import Button from './Button';
import Counter from './Counter';
import TaskName from './TaskName';
class Timer extends Component {
constructor(props) {
super(props);
const ... |
src/interface/icons/Vision.js | sMteX/WoWAnalyzer | import React from 'react';
// https://thenounproject.com/search/?q=focus%20chart&i=2013201
// Vision by supalerk laipawat from the Noun Project
const Icon = ({ ...other }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 6 52 52" className="icon" {...other}>
<path d="M27.6,47.673a7.959,7.959,0,0,0,9.3-.36... |
views/status_line.js | stefohnee/black-screen | import React from 'react';
export default React.createClass({
render() {
return (
<div className="status-line">
<CurrentDirectory currentWorkingDirectory={this.props.currentWorkingDirectory}/>
<VcsData data={this.props.vcsData}/>
</div>
)
... |
app/javascript/mastodon/components/load_pending.js | lynlynlynx/mastodon | import React from 'react';
import { FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
export default class LoadPending extends React.PureComponent {
static propTypes = {
onClick: PropTypes.func,
count: PropTypes.number,
}
render() {
const { count } = this.props;
return ... |
ajax/libs/jquery-ui-bootstrap/0.5pre/assets/js/jquery-1.9.0.min.js | bevacqua/cdnjs | /*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc... |
src/fluxtable/lib/Decorators.js | MirekSz/avem | /**
* Created by Mirek on 2015-10-09.
*/
import React, { Component } from 'react';
var Perf = React.addons.Perf;
export function observe(target) {
target.prototype.addListenersToStore = function () {
var listener = ()=> {
this.setState(this.getData());
};
this.listener = list... |
geonode/monitoring/frontend/monitoring/src/components/organisms/software-performance/index.js | tomkralidis/geonode | /*
#########################################################################
#
# Copyright (C) 2019 OSGeo
#
# This program 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
# ... |
ajax/libs/mobx-react/4.3.3/native.js | holtkamp/cdnjs | import { Atom, Reaction, extras, isObservableArray, isObservableMap, isObservableObject, spy, untracked } from 'mobx';
import { Children, Component, createElement } from 'react';
import { unstable_batchedUpdates } from 'react-native';
// These functions can be stubbed out in specific environments
var unstable_batchedU... |
app/index.js | holytoastr/final-project | var React = require('react');
var ReactDom = require('react-dom');
var routes = require('./config/routes');
ReactDom.render(routes, document.getElementById('app'));
|
src/client/assets/js/components/Cell.js | me-box/platform-sdk | import React, { Component } from 'react';
import './styles/cells.scss';
class Cell extends React.Component {
constructor(props){
super(props);
}
render() {
return (<div>
<div className="flexrow" style={{flexBasis:0, overflow:'auto'}}>
{this.props.title && <div className="title">
<div className="... |
packages/material-ui-icons/src/PhonelinkSharp.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M4 6h18V4H2v13H0v3h14v-3H4V6zm20 2h-8v12h8V8zm-2 9h-4v-7h4v7z" />
, 'PhonelinkSharp');
|
SSBW/Tareas/Tarea9/restaurantes2/node_modules/react-bootstrap/es/ButtonGroup.js | jmanday/Master | 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 ... |
app/javascript/mastodon/components/hashtag.js | yukimochi/mastodon | // @ts-check
import React from 'react';
import { Sparklines, SparklinesCurve } from 'react-sparklines';
import { FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import Permalink from './permalink';
import ShortNumber from 'mastodon/co... |
ajax/libs/babel-core/5.6.5/browser-polyfill.min.js | him2him2/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
local-cli/templates/HelloNavigation/components/ListItem.js | disparu86/react-native | 'use strict';
import React, { Component } from 'react';
import {
Platform,
StyleSheet,
Text,
TouchableHighlight,
TouchableNativeFeedback,
View,
} from 'react-native';
/**
* Renders the right type of Touchable for the list item, based on platform.
*/
const Touchable = ({onPress, children}) => {
const c... |
app/javascript/mastodon/containers/domain_container.js | abcang/mastodon | import React from 'react';
import { connect } from 'react-redux';
import { blockDomain, unblockDomain } from '../actions/domain_blocks';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import Domain from '../components/domain';
import { openModal } from '../actions/modal';
const messages = d... |
src/native/app/Root.js | robinpokorny/este | // @flow
import App from './App';
import React from 'react';
import { MemoryRouter } from 'react-router';
import { Provider as Redux } from 'react-redux';
type Props = {
store: Object,
};
// Must be the ES6 class to ensure hot reload works for stateless components.
/* eslint-disable react/prefer-stateless-function ... |
files/rxjs/2.4.0/rx.js | sancospi/jsdelivr | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
v... |
src/routes/error/ErrorPage.js | joaquingatica/git-demo | /**
* 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 PropTypes from 'prop-... |
jenkins-design-language/src/js/components/material-ui/svg-icons/image/loupe.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ImageLoupe = (props) => (
<SvgIcon {...props}>
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10h8c1.1 0 2-.9 2-2v-8c0-5.51-4.49-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
</SvgIcon... |
ajax/libs/angular-data/1.5.1/angular-data.js | jasonpang/cdnjs | /**
* @author Jason Dobry <jason.dobry@gmail.com>
* @file angular-data.js
* @version 1.5.1 - Homepage <http://angular-data.pseudobry.com/>
* @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
* @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE>
*
* @overview Data store for Angular.js.... |
sites/default/files/js/js_sGMYHUidD5LYrJp_HvVwUpXWa8fIH-NwJJ_26fQg1UI.js | balad7/d8training | /*! jQuery v2.2.3 | (c) jQuery Foundation | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fun... |
ajax/libs/semantic-ui-react/0.56.14/semantic-ui-react.min.js | nolsherry/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.semanticUIReact=t(require("React"),require("ReactDOM")):e.semanticUIReact=t(e.React,e.ReactDOM)}(t... |
src/pages/graph/Findbridges/Findbridges.js | hyy1115/react-redux-webpack3 | import React from 'react'
class Findbridges extends React.Component {
render() {
return (
<div>Findbridges</div>
)
}
}
export default Findbridges |
ajax/libs/yui/3.9.0/event-focus/event-focus-min.js | idleberg/cdnjs | YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(... |
src/svg-icons/communication/portable-wifi-off.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationPortableWifiOff = (props) => (
<SvgIcon {...props}>
<path d="M17.56 14.24c.28-.69.44-1.45.44-2.24 0-3.31-2.69-6-6-6-.79 0-1.55.16-2.24.44l1.62 1.62c.2-.03.41-.06.62-.06 2.21 0 4 1.79 4 4 0 .21-.02.... |
ajax/libs/ngOfficeUiFabric/0.8.0/ngOfficeUiFabric.js | ahocevar/cdnjs | /*!
* ngOfficeUIFabric
* http://ngofficeuifabric.com
* Angular 1.x directives for Microsoft's Office UI Fabric
* https://angularjs.org & https://dev.office.com/fabric
* v0.8.0
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exp... |
src/BulletGraphComponent.js | kgrubic/Bullet-graph-React | import React, { Component } from 'react';
import './App.css';
import DrawBuletGraph from './DrawBuletGraph.js';
export class BulletGraph extends Component {
componentDidMount() {
this.updateCanvas();
}
componentDidUpdate() {
this.updateCanvas();
}
updateCanvas() {
const ctx = this.refs.can... |
src/index.js | skatejs/react-integration | import assign from 'object-assign';
import pascalCase from 'pascal-case';
import React from 'react';
import ReactDOM from 'react-dom';
const defaults = {
React,
ReactDOM,
};
function syncEvent(node, eventName, newEventHandler) {
const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
const ev... |
github/index.android.js | vlivanov/react-native-github-client |
import React from 'react';
import {
AppRegistry,
} from 'react-native';
import App from "./App";
AppRegistry.registerComponent('github', () => App);
|
mobile/src/App.js | lnmx/goread | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import idbKeyval from 'idb-keyval';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import AppBar from 'material-ui/AppBar';
import Dialog from 'material-ui/Dialog';
import IconButton from 'material-ui/IconButton';
import ... |
cdap-ui/app/cdap/services/WizardConfigs/AddNamespaceWizardConfig.js | caskdata/cdap | /*
* Copyright © 2016 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
pkg/ui/src/components/configuration-pane/PodsForNodePane.js | matt-deboer/kuill | import React from 'react'
import PropTypes from 'prop-types'
import { removeResource, requestResources, viewResource, addFilter, removeFilter, detachResource } from '../../state/actions/resources'
import { red900 } from 'material-ui/styles/colors'
import { requestMetrics } from '../../state/actions/metrics'
import { co... |
ajax/libs/yui/3.12.0/event-focus/event-focus-debug.js | StoneCypher/cdnjs | YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Event = Y.Event,
YLang = Y.Lang,
isString = YLang.isString,
arrayIndex = Y.Array.indexOf,
useActivate = (function() {
... |
ajax/libs/yui/3.14.1/event-custom-base/event-custom-base-debug.js | hikaMaeng/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... |
src/components/grid/GridComponent.js | MatthewJohnson3154/dndhelper | import React from 'react'
import {GridList, GridTile} from 'material-ui/GridList'
import Subheader from 'material-ui/Subheader'
import dnd from 'dndmatrix'
import './GridComponent.css'
const styles = {
tile: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#607D8B'... |
test/frontend/components/environments/SurveyPageNavTest.js | stanzheng/okcandidate | import React from 'react'
import { expect } from 'chai'
import sinon from 'sinon'
import { Breadcrumb } from 'react-bootstrap'
import SurveyQuestion from '../../../../assets/js/components/organisms/SurveyQuestion'
import SurveyPageNav from '../../../../assets/js/components/environments/SurveyPageNav'
import TestUtils ... |
site/js/react-with-addons.min.js | dchest/static-search | /**
* React (with addons) v0.12.1
*
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same... |
app/javascript/react_components/index.js | crowdAI/crowdai | import React from 'react'
import { render } from 'react-dom'
import NotificationsContainer from './notifications/NotificationsContainer'
import {CrowdAIMusicEvaluationInterface} from 'crowdai-music-evaluation-interface';
document.addEventListener('turbolinks:load', () => {
const notificationAnchor = document.get... |
src/components/Category.js | nickeblewis/walkapp | /**
* Component that displays one category item
*/
import React from 'react'
import { graphql } from 'react-apollo'
import gql from 'graphql-tag'
class Category extends React.Component {
static propTypes = {
category: React.PropTypes.object,
mutate: React.PropTypes.func,
refresh: React.PropTypes.func,... |
src/Snackbar/Snackbar.spec.js | rscnt/material-ui | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import Snackbar from './Snackbar';
import getMuiTheme from '../styles/getMuiTheme';
describe('<Snackbar />', () => {
const muiTheme = getMuiTheme();
const shallowWithContext = (node) => shallow(node, {con... |
app/javascript/mastodon/features/ui/components/bundle_modal_error.js | anon5r/mastonon | import React from 'react';
import PropTypes from 'prop-types';
import { defineMessages, injectIntl } from 'react-intl';
import IconButton from '../../../components/icon_button';
const messages = defineMessages({
error: { id: 'bundle_modal_error.message', defaultMessage: 'Something went wrong while loading this comp... |
src/shared/components/form/formZipCode/formZipCode.js | OperationCode/operationcode_frontend | import React, { Component } from 'react';
import FormInput from '../formInput/formInput';
function zipCodeValidator(input) {
return (input.length !== 0 && input.trim().length !== 0);
}
class FormZipCode extends Component {
render() {
return (
<FormInput
{...this.props}
validateFunc={zipC... |
docs/app/Examples/elements/Button/Variations/ButtonCompactExample.js | jcarbo/stardust | import React from 'react'
import { Button } from 'stardust'
const ButtonCompactExample = () => (
<div>
<Button compact>Compact</Button>
<Button>Normal</Button>
</div>
)
export default ButtonCompactExample
|
src/components/IngestionWizardFormAdvanced/AutocompleteSemantic.js | giux78/daf-dataportal | import React from 'react'
import Autocomplete from 'react-autocomplete'
import { serviceurl } from '../../config/serviceurl.js'
function escapeRegexCharacters(str) {
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}
function getSuggestions(value, data) {
const escapedValue = escapeRegexCharacters(value.trim())... |
packages/material-ui-icons/src/DialerSipRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M16.5 8c.28 0 .5-.22.5-.5v-4c0-.28-.22-.5-.5-.5s-.5.22-.5.5v4c0 .28.22.5.5.5zm-4-1c-.28 0-.5.22-.5.5s.22.5.5.5h1.95c.3 0 .55-.25.55-.55v-1.9c0-.3-.25-.55-.55-.55H13V4h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-... |
src/components/app/noMatch.js | mr47/react-redux-kit | "use strict";
import React from 'react'
const NoMatch = ()=>{
return (
<div>Not found</div>
);
};
export { NoMatch };
|
src/app/views/oils.js | nazar/soapee-ui | import React from 'react';
import DocMeta from 'react-doc-meta';
import GridOil from 'components/gridOil';
export default React.createClass( {
render() {
document.title = 'Soapee - Oils';
return (
<div id="oils">
<DocMeta tags={ this.tags() } />
<GridO... |
tests/mock-react-project/file_0-1.js | nickzuber/infrared | import React from 'react';
import PropTypes from 'prop-types';
import {Remote} from './source'
import * as Specifier from './source'
import Default, {Remote} from './source'
class MyComponent extends React.Component {
static propTypes = {
id,
'lit': 2,
[2 + 2]: 4,
children: PropTypes.node.isRequired
... |
jenkins-design-language/src/js/components/material-ui/svg-icons/maps/local-parking.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const MapsLocalParking = (props) => (
<SvgIcon {...props}>
<path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2z"/>
</SvgIcon>
);
MapsLocalParking.displayName = 'MapsLocalParking';
MapsLocalParking.muiNa... |
ajax/libs/preact/2.8.2/preact.min.js | tholu/cdnjs | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.preact={})}(this,function(e){"use strict";function n(e,n,t){var o=t&&t._component&&t._componentConstructor===e.nodeName,i=h(t,e),a=!o&&i._component;return a&&r(a,"componentWillM... |
node_modules/rc-select/es/Select.js | prodigalyijun/demo-by-antd | import _defineProperty from 'babel-runtime/helpers/defineProperty';
import _extends from 'babel-runtime/helpers/extends';
import React from 'react';
import ReactDOM from 'react-dom';
import createClass from 'create-react-class';
import KeyCode from 'rc-util/es/KeyCode';
import classnames from 'classnames';
import Anima... |
src/app.js | rainbowland302/hangman | import React from 'react';
import ReactDOM from 'react-dom';
import { browserHistory, Router } from 'react-router';
import { Provider } from 'react-redux';
import injectTapEventPlugin from 'react-tap-event-plugin';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import DevTools from './containers/D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.