path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/routes/Posts/components/Posts.js
ZeusTheTrueGod/WindsurfingNetwork-client
// @flow import React from 'react'; import { Grid } from 'react-bootstrap'; import SinglePost from './SinglePost'; import { type Post as PostType } from '../modules/posts'; export type StateProps = {| data: PostType[] |}; export type DispatchProps = {} & $Exact<{}>; type Props = {| ...StateProps, ...DispatchProps |}; ...
ajax/libs/core-js/0.3.0/shim.js
aashish24/cdnjs
/** * Core.js 0.3.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2014 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/__tests__/NavLink.spec.js
reactstrap/reactstrap
import React from 'react'; import { shallow } from 'enzyme'; import { NavLink } from '../'; describe('NavLink', () => { it('should render .nav-link markup', () => { const wrapper = shallow(<NavLink />); expect(wrapper.html()).toBe('<a class="nav-link"></a>'); }); it('should render custom tag', () => { ...
Build/js/vendor/jquery-1.8.2.min.js
MichaelArestad/Anvil
/*! 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===...
ajax/libs/react/0.13.2/react.min.js
samthor/cdnjs
/** * React v0.13.2 * * Copyright 2013-2015, 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 directory. *...
shopping-cart-app/src/index.js
JCFlores/shoppingCart
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import reduxThunk from 'redux-thunk'; import App from './App'; import reducers from './reducers'; const store = createStore(reducers, {}, applyMiddleware(reduxThun...
src/svg-icons/navigation/chevron-right.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationChevronRight = (props) => ( <SvgIcon {...props}> <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/> </SvgIcon> ); NavigationChevronRight = pure(NavigationChevronRight); NavigationChevronRigh...
common/components/post/PostForm.js
BlackMuttMedia/filmbreakdown.com
/* eslint-disable */ var React = require('react'); import {Row, Col, FormControl } from 'react-bootstrap'; var PostForm = React.createClass({ getInitialState: function() { return { postValue: '' }; }, render: function() { var linkAlign = { textAlign: 'right' }; return( <Row> <Col sm={12}> <R...
HomeRange/app/pages/home/merchantSearch.js
Onlyjson/yanShu_Project
/** * @author: zhangyh-k@glondon.com * @description: * @Date: 2017/9/30 下午1:55 */ import React, { Component } from 'react'; import { StyleSheet, Text, View, TouchableOpacity, Image, TextInput, Dimensions, ScrollView, AsyncStorage, StatusBar, FlatList } from 'react-native'...
server/sonar-web/src/main/js/apps/permissions/global/components/App.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
chatngo/src/index.js
leventgunay/experimental
import React from 'react'; import ReactDOM from 'react-dom'; import App from './app/App'; import registerServiceWorker from './sw'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
src/Story.js
ikr/estimates-template
import React from 'react'; import PropTypes from 'prop-types'; import StoryNarrative from './StoryNarrative'; import StoryTasks from './StoryTasks'; import estimateTasks from './estimateTasks'; /* eslint-disable react/prop-types */ function storyWithoutTasks({narrative}) { return ( <div> <Sto...
app/components/H3/index.js
haxorbit/chiron
import React from 'react'; function H3(props) { return ( <h3 {...props} /> ); } export default H3;
src/components/map/mouseposition.js
boundlessgeo/sdk
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * 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 ...
src/client/user/UserHero.js
busyorg/busy
import React from 'react'; import PropTypes from 'prop-types'; import { Route, Switch, withRouter } from 'react-router-dom'; import UserHeader from '../components/UserHeader'; import UserHeaderLoading from '../components/UserHeaderLoading'; import UserMenu from '../components/UserMenu'; import Hero from '../components/...
packages/react/components/actions-button.js
AdrianV/Framework7
import React from 'react'; import Mixins from '../utils/mixins'; import Utils from '../utils/utils'; import __reactComponentDispatchEvent from '../runtime-helpers/react-component-dispatch-event.js'; import __reactComponentSlots from '../runtime-helpers/react-component-slots.js'; import __reactComponentSetProps from '.....
docs/app/Examples/elements/Segment/Types/SegmentExampleRaised.js
clemensw/stardust
import React from 'react' import { Segment } from 'semantic-ui-react' const SegmentExampleRaised = () => ( <Segment raised> Pellentesque habitant morbi tristique senectus. </Segment> ) export default SegmentExampleRaised
app/javascript/mastodon/features/following/index.js
RobertRence/Mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import { fetchAccount, fetchFollowing, expandFollowing, } from '../../actions/account...
WebDriverAgent/Inspector/js/inspector.js
sixleaves/WDUSBClient
/** * Copyright (c) 2015-present, 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 directory. */ import Rea...
src/auth.js
LucasYuNju/leanote-desktop-ng
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import Login from './containers/Login'; import configureStore from './store/configureStore'; const { store, persistor } = configureStore(); ReactDOM.render( <Provider store={store}> <Login persistor={persistor}...
lib/yuilib/3.9.1/build/event-custom-base/event-custom-base-debug.js
efloti/fdex
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ 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: {} }; /** * Cus...
test/test-0.5.2.js
wkh237/react-native-fetch-blob-dev
import RNTest from './react-native-testkit/' import React from 'react' import RNFetchBlob from 'react-native-fetch-blob' import { StyleSheet, Text, View, ScrollView, Platform, Dimensions, Image, } from 'react-native'; const fs = RNFetchBlob.fs const { Assert, Comparer, Info, prop } = RNTest const descri...
src/Flags/TrinidadAndTobago.js
runjak/css-flags
// @flow import React from 'react'; import LinearFlag from './LinearFlag'; import gradient from '../utils/gradient'; const red = '#DB1332'; const white = '#FFFFFF'; const black = '#000000'; export default function TrinidadAndTobago() { return ( <LinearFlag gradient={`45deg, ${gradient([red, white, black,...
src/App.js
mdapper/marcelodapper
import React from 'react'; import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; import Helmet from 'react-helmet'; import HomePage from 'components/pages/HomePage'; import SkillsPage from 'components/pages/SkillsPage'; import ProjectsPage from 'components/pages/ProjectsPage'; import ExperiencePag...
ajax/libs/rxjs/2.1.1/rx.js
idleberg/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports && (typeof global == 'object' && global && global == global.global && (window = global...
src/App.js
anhtuank7c/simple-chat
import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import { Provider } from 'react-redux'; import AppNavigator from './AppNavigator'; import store from './store'; class App extends Component { render() { return ( <Provider store={store}> <AppNa...
static/js/jquery-1.11.1.js
jarifibrahim/finance
/*! * jQuery JavaScript Library v1.11.1 * 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-05-01T17:42Z */ (function( global, factory ) { if ...
src/js/components/input/autocomplete/input_autocomplete_select.js
working-minds/realizejs
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import PropTypes from '../../../prop_types'; import $ from 'jquery'; import { uuid } from '../../../utils'; import { mixin } from '../../../utils/decorators'; import InputBase from '../input_base'; import InputText from '../input_text'; import...
example/__tests__/App.js
yqz0203/rn-lazyload
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
files/videojs/5.0.0-rc.94/video.js
Asaf-S/jsdelivr
/** * @license * Video.js 5.0.0-rc.94 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
react_frontend/chinook_consumer/test/helpers/shallowRenderHelper.js
Limmen/chinook
/** * Function to get the shallow output for a given component * As we are using phantom.js, we also need to include the fn.proto.bind shim! * * @see http://simonsmith.io/unit-testing-react-components-without-a-dom/ * @author somonsmith */ import React from 'react'; import TestUtils from 'react-addons-test-utils'...
admin/client/components/Popout/index.js
suryagh/keystone
import React from 'react'; import Portal from '../Portal'; import Transition from 'react-addons-css-transition-group'; const sizes = { arrowHeight: 12, }; var Popout = React.createClass({ displayName: 'Popout', propTypes: { isOpen: React.PropTypes.bool, onCancel: React.PropTypes.func, onSubmit: React.PropTyp...
app/javascript/mastodon/features/list_editor/components/search.js
lynlynlynx/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, injectIntl } from 'react-intl'; import { fetchListSuggestions, clearListSuggestions, changeListSuggestions } from '../../../actions/lists'; import classNames from 'classnames'; import Icon from...
src/native/app/components/Button.js
robinpokorny/este
// @flow import React from 'react'; import theme from '../themes/initial'; import { TouchableOpacity } from 'react-native'; const Button = (props: any) => ( <TouchableOpacity activeOpacity={theme.activeOpacity} {...props} /> ); export default Button;
src/value-types/combobox.js
bogdanbiv/TokenFilter
// @flow /* eslint no-console: "off" */ import React from 'react' import BasicAutocomplete from '../basic-autocomplete' export default function ComboboxValue({ value, onChange, category, }: { value: any, onChange: Function, category: TokenFilterCategoryDescritor, }) { if (!category.getItems) { cons...
ajax/libs/analytics.js/1.3.8/analytics.min.js
humbletim/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
client/src/components/movie-card.js
atabio/cinebox-be
import React from 'react'; import { Card, Button, Icon } from 'semantic-ui-react' import { Link } from 'react-router-dom'; export default function MovieCard({indie, deleteIndie}) { return ( <Card> <Card.Content> <Card.Header> <Icon name='user outline'/> {indie.name.first} {indie.name.las...
src/components/NotFoundPage.js
raymondji/focus21-sampleapp
import React from 'react'; import { Link } from 'react-router'; const NotFoundPage = () => { return ( <div> <h4> 404 Page Not Found </h4> <Link to="/"> Go back to homepage </Link> </div> ); }; export default NotFoundPage;
src/inactive/RecipeList.js
MichaelLSmith/recipeBox
//this will be a container. It will render all the recipes as a list. //the ingredients are from a separate component that renders the ingredients list. //this could become App.js import React, { Component } from 'react'; import { connect } from 'react-redux'; import shortid from 'shortid'; import _ from 'lodash'; ...
Agenda/src/components/autenticar_cadastro.js
interlegis/agenda-evento
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { cadastroAutenticado } from '../actions'; class AutenticarCadastro extends Component { componentWillMount() { const token = this.props.params.token; this.props.cadastroAutenticado({ token }); } renderAlert(){ if...
src/pages/Home.js
ayltai/fishing-club
// @flow 'use strict'; import React from 'react'; import muiThemeable from 'material-ui/styles/muiThemeable'; import { Card, CardMedia, CardTitle, CardText } from 'material-ui/Card'; import LogoImage from '../images/logo.jpg'; class Home extends React.Component { componentDidMount() : void { window.scroll...
node_modules/material-ui/svg-icons/maps/place.js
manojadd/bob-demo
'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...
docs/src/app/components/pages/components/Popover/ExampleSimple.js
ArcanisCz/material-ui
import React from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import Popover from 'material-ui/Popover'; import Menu from 'material-ui/Menu'; import MenuItem from 'material-ui/MenuItem'; export default class PopoverExampleSimple extends React.Component { constructor(props) { super(props); ...
src/FormGroup.js
simonliubo/react-ui
import React from 'react'; import classNames from 'classnames'; class FormGroup extends React.Component { render() { let classes = { 'form-group': !this.props.standalone, 'form-group-lg': !this.props.standalone && this.props.bsSize === 'large', 'form-group-sm': !this.props.standalone && this.pr...
src/components/PureInput.js
aihornmac/vexy
import React from 'react'; import { compose, withProps, setDisplayName, } from 'recompose'; import classNames from 'classnames'; import styles from './PureInput.scss'; const enhance = compose( setDisplayName('TransparentInput'), withProps(({ className }) => ({ className: classNames(className, styl...
docs/app/Examples/modules/Search/Types/SearchExampleCategoryCustom.js
aabustamante/Semantic-UI-React
import PropTypes from 'prop-types' import React from 'react' import { Label } from 'semantic-ui-react' import SearchExampleCategory from './SearchExampleCategory' const categoryRenderer = ({ name }) => <Label as={'span'} content={name} /> categoryRenderer.propTypes = { name: PropTypes.string, } const resultRend...
Angular JS/newApp/node_modules/browser-sync/node_modules/socket.io-client/node_modules/debug/browser.js
akshayvenugopal/angular2-Node.JS-CRUD
/** * This is the web browser implementation of `debug()`. * * Expose `debug()` as the module. */ exports = module.exports = require('./debug'); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; exports.load = load; exports.useColors = useColors; exports.storage = 'undefined' != typeof chro...
packages/core/tocco-ui/src/Menu/MenuItem.js
tocco/tocco-client
import PropTypes from 'prop-types' import React from 'react' import {StyledMenuItem, StyledItemLabel} from './StyledComponents' /** * Item of Menu */ const MenuItem = ({children, onClick, onClose, disabled, closeOnClick, title, level}) => { const childrenArr = React.Children.toArray(children).filter(Boolean) co...
packages/material-ui-icons/src/ContactPhoneTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M22 5H2v14h20V5zM9 6c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3zm6 12H3v-1.41C3 14.08 6.97 13 9 13s6 1.08 6 3.58V18zm2.85-4h1.64L21 16l-1.99 1.99c-1.31-.98-2.28-2.38-2.73-3.99...
ajax/libs/jquery/1.8.0/jquery.min.js
prosenjit-itobuz/cdnjs
/*! jQuery v@1.8.0 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=...
ajax/libs/recompose/0.20.2/Recompose.min.js
dada0423/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Recompose=e(require("react")):t.Recompose=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].expor...
src/routes/User/components/User/User.js
BloomerWD/timetable
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { browserHistory } from 'react-router'; import PropTypes from 'prop-types'; import { removeTimetableInList } from '../../modules/user'; import { saveUserTimetablesInLocalStorage, getUserTimetablesFromLocalStorage } from '../../../....
scripts/components/NotFound.js
LulzAugusto/catch-of-the-day
/* Not found */ import React from 'react'; var NotFound = React.createClass({ render: function() { return <h1>Not found!</h1> } }); export default NotFound;
node_modules/flux/node_modules/fbjs/node_modules/core-js/client/library.js
edsrupp/eds-mess
/** * core-js 1.2.6 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
src/index.js
mvtnghia/web-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import { Provider } from 'react-redux'; import App from './app'; import configureStore from './store/configure-store'; import history from './store/history'; const store = configureStore(); const render = Com...
ajax/libs/react/0.11.0/react.min.js
wallin/cdnjs
/** * React v0.11.0 * * Copyright 2013-2014 Facebook, 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 app...
node_modules/rc-input-number/es/index.js
prodigalyijun/demo-by-antd
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _extends from 'babel-runtime/helpers/extends'; import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import classNames from 'classnames'; import mixin from './mixin'; import InputHandle...
hello world/1.7 - router/src/components/routerBody.js
wumouren/react-demo
import React from 'react'; export default class IndexBody extends React.Component{ render(){ return ( <div> <h1>这是主要内容</h1> </div> ) } }
2048-clone/index.android.js
reginbald/learning-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'; class Project extends Component { render() { return ( <View style={styles.container}> <Text ...
src/svg-icons/action/swap-vertical-circle.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSwapVerticalCircle = (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 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"/> ...
src/js/components/layout.js
mdrobny/hack-place
import React from 'react'; import TopBar from './layout/top-bar'; var Layout = React.createClass({ displayName: 'Layout', propTypes: { children: React.PropTypes.object }, render() { return ( <div className="wrapper"> <TopBar /> <div className...
mlflow/server/js/src/index.js
mlflow/mlflow
import React from 'react'; import ReactDOM from 'react-dom'; import { I18nUtils } from './i18n/I18nUtils'; import { init, MLFlowRoot } from './app'; I18nUtils.initI18n().then(() => { init(); ReactDOM.render(<MLFlowRoot />, document.getElementById('root')); }); const windowOnError = (message, source, lineno, colno...
ajax/libs/highmaps/1.0.3/highcharts.src.js
pm5/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.0.3 (2014-07-03) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Create/ApiCreate.js
thusithak/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
src/svg-icons/action/gif.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGif = (props) => ( <SvgIcon {...props}> <path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"/> </Svg...
application/components/storeselect/storelistitem/index.js
ronanamsterdam/squaredcoffee
import React, { Component } from 'react'; import { Text, View, Image, Animated, Easing } from 'react-native'; import Button from 'react-native-button' import { Card, CardImage, CardTitle, CardContent, CardAction } from 'react-native-card-view'; export default class StoreListItem extends Component { c...
ajax/libs/forerunnerdb/1.3.748/fdb-legacy.min.js
pombredanne/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...
ajax/libs/yui/3.8.1/scrollview-base/scrollview-base.js
andrepiske/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 */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie, NATIVE_TRA...
blueocean-material-icons/src/js/components/svg-icons/action/event.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionEvent = (props) => ( <SvgIcon {...props}> <path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/> </SvgIcon> ); ActionEvent.displayName = 'Act...
src/components/switch/Switch.js
isogon/material-components
import { compose, setDisplayName, setPropTypes } from 'recompose' import PropTypes from 'prop-types' import React from 'react' import { proxyStyledStatics } from '../../hocs' import { SwitchWrapStyle, SwitchStyle, SwitchButton, SwitchLabel, Track, Thumb, } from './Switch.style' export const SwitchBase = (...
src/components/App.js
TrueWill/embracer
import React from 'react'; import { version } from '../constants/application'; import { skillTraitNames, skillTraitDisplayNameOverride, backgroundTraitNames, backgroundTraitDisplayNameOverride } from '../constants/characterOptions'; import ExportDocumentContainer from '../containers/ExportDocumentContainer'; im...
MVC/MVC 4/Razor Offline demo/Scripts/knockout-3.2.0.debug.js
ActiveDbSoft/active-query-builder-2-asp-net-samples-csharp
/*! * Knockout JavaScript library v3.2.0 * (c) Steven Sanderson - http://knockoutjs.com/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ (function(){ var DEBUG=true; (function(undefined){ // (0, eval)('this') is a robust way of getting a reference to the global object // For details,...
src/widgets/CircleButton.js
sussol/mobile
/* eslint-disable react/forbid-prop-types */ /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ import React from 'react'; import { TouchableOpacity, View } from 'react-native'; import PropTypes from 'prop-types'; import { SUSSOL_ORANGE, LIGHT_GREY } from '../globalStyles/index'; import { Circle } from...
ajax/libs/whitestorm.js/0.0.5/whitestorm.js
extend1994/cdnjs
/** * © Alexander Buzin, 2014-2015 * Site: http://alexbuzin.me/ * Email: alexbuzin88@gmail.com */ /** * @author mrdoob / http://mrdoob.com/ * @author marklundin / http://mark-lundin.com/ * @author alteredq / http://alteredqualia.com/ */ THREE.AnaglyphEffect = function(renderer, width, height) { var eyeRi...
ajax/libs/material-ui/4.9.2/es/ListItemSecondaryAction/ListItemSecondaryAction.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; export const styles = { ...
node_modules/react-icons/io/star.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoStar = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35 15.6l-10.9 8.2 4.3 13.7-10.9-8.7-10.9 8.7 4.3-13.7-10.9-8.2h13.4l4.1-13.1 4.1 13.1h13.4z"/></g> </Icon> ) export default IoStar
src/js/components/icons/base/BarChart.js
odedre/grommet-final
/** * @description BarChart SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @p...
components/itemblock.js
halkeye/gavinmogan.com
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class ItemBlock extends React.Component { static get propTypes () { return { img: PropTypes.string, name: PropTypes.string, title: PropTypes.string, labels: Pro...
ajax/libs/vue-chartjs/2.5.7-rc3/vue-chartjs.js
jdh8/cdnjs
/*! * vue-chartjs v2.5.7-rc3 * (c) 2017 Jakub Juszczak <jakub@posteo.de> * http://vue-chartjs.org */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("vue"), require("chart.js")); else if(typeof define === ...
src/components/CompactPicker.js
JedWatson/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import merge from 'merge' import isPlainObject from 'lodash.isplainobject' import debounce from 'lodash.debounce' import color from '../helpers/color' import Compact from './compact/Compact' class ColorPicker extends ReactCSS.Componen...
ajax/libs/react/0.3.2/react.js
pazguille/cdnjs
/** * React v0.3.2 */ (function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():globa...
Front-End/components/chat.component.js
brandonrninefive/prIDE
import React from 'react'; import ReactDOM from 'react-dom'; import {FormControl, FromGroup} from 'react-bootstrap'; class Chat extends React.Component{ constructor(props) { super(props); this.state = { log:'' } this.handleSubmit = this.handleSubmit.bind(thi...
src/utils/requireAuth.js
andresmechali/shareify
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import { addFlashMessage, deleteFlashMessage } from "../redux/actions/flashMessages"; export default function(ComposedComponent) { class Authenticate extends React.Compo...
node_modules/react-bootstrap/es/MediaRight.js
firdiansyah/crud-req
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 ...
client/src/app/tabs/__tests__/PropertiesContainerSpec.js
camunda/bpmn-io-modeler
/** * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. * * Camunda licenses this file to you under the MIT; you may not use this ...
docs/app/Examples/views/Item/Types/ItemExampleItems.js
clemensw/stardust
import React from 'react' import { Image, Item } from 'semantic-ui-react' const ItemExampleItems = () => ( <Item.Group> <Item> <Item.Image size='tiny' src='http://semantic-ui.com/images/wireframe/image.png' /> <Item.Content> <Item.Header as='a'>Header</Item.Header> <Item.Meta>Descrip...
src/components/AboutPage.js
wunderg/react-nos-kit
import React from 'react'; import { connect } from 'react-redux'; import {Link} from 'react-router'; import '../styles/about-page.css'; import {signupUser, loginUser} from '../actions/userActions.js'; // Since this component is simple and static, there's no parent container for it. class AboutPage extends React.Compon...
components/RouterMountpoint.js
jumoel/reasonable-router
import React, { Component } from 'react'; import PropTypes from 'prop-types'; export class RouterMountpoint extends Component { render() { const { params, Component, ...rest } = this.context.getRouterRenderProperties(); return <Component route={{ ...rest, params }} />; } } RouterMountpoint.contextTy...
src/svg-icons/image/crop-3-2.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCrop32 = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V6h14v12z"/> </SvgIcon> ); ImageCrop32 = pure(ImageCrop32); ImageCro...
docs-site/src/components/DocsTable.js
brightinteractive/bright-js-framework
import React from 'react' import { Table, TableHeader, TableBody, TableRow, TableRowColumn, TableHeaderColumn } from 'material-ui' export function DocsTable({ columns, children }) { return ( <Table style={{ tableLayout: 'auto' }} selectable={false} fixedHeader={false}> { columns && ( <Tab...
src/svg-icons/device/graphic-eq.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceGraphicEq = (props) => ( <SvgIcon {...props}> <path d="M7 18h2V6H7v12zm4 4h2V2h-2v20zm-8-8h2v-4H3v4zm12 4h2V6h-2v12zm4-8v4h2v-4h-2z"/> </SvgIcon> ); DeviceGraphicEq = pure(DeviceGraphicEq); DeviceGraphi...
spec/javascripts/report/CheckBoxs.spec.js
ComPlat/chemotion_ELN
import React from 'react' import expect from 'expect' import { mount } from 'enzyme' import Enzyme from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import sinon from 'sinon' import CheckBoxs from '../../../app/packs/src/components/common/CheckBoxs' Enzyme.configure({ adapter: new Adapter() })...
site/components/SideBar.js
jgable/react-dnd
import React, { Component } from 'react'; import './SideBar.less'; export default class SideBar extends Component { render() { return ( <div className="SideBar"> <div className="SideBar-content"> {this.props.groups.map(this.renderGroup, this)} </div> </div> ); } ren...
src/components/TabContent/TabContent-test.js
jzhang300/carbon-components-react
import React from 'react'; import TabContent from '../TabContent'; import { shallow } from 'enzyme'; describe('TabContent', () => { describe('renders as expected', () => { const wrapper = shallow( <TabContent> <div className="child">content</div> <div className="child">content</div> <...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
mikelafalce/mikelafalce.github.io
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
app/view/tab.js
uuom/aitribe
/** * Created by yangxp5 on 2017/1/5. */ import React, { Component } from 'react'; import {StyleSheet, Image, View, Text} from 'react-native'; import TabNavigator from 'react-native-tab-navigator'; import Application from './application'; import Society from './society'; import Tool from './tool'; import Me from './m...
src/components/ranking-badge.js
ronlobo/building-os-charts
import React from 'react'; import classNames from 'classnames'; import RankingBadgeBackground from 'components/ranking-badge-background'; import RankingBadgeLabel from 'components/ranking-badge-label'; import getRadius from 'decorators/get-radius'; import setStateFromProps from 'decorators/set-state-from-props'; @getR...
site/src/site.js
elementalui/elemental
import React from 'react'; import ReactDOM from 'react-dom'; import createReactClass from 'create-react-class'; import classNames from 'classnames'; import createHistory from 'history/createBrowserHistory'; import { Router, Route, Link, Switch } from 'react-router-dom'; const browserHistory = createHistory(); const N...
ajax/libs/yui/3.7.3/event-focus/event-focus.js
kpdecker/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() { ...
frontend-new/src/js/components/common/sidebar/AdminSideBar.js
leapfrogtechnology/vyaguta-resource
import React from 'react'; import { IndexLink, Link } from 'react-router'; import * as urlConstants from '../../../constants/urlConstants'; const AdminSidebar = () => ( <ul className="nav navbar-nav-custom navbar-right"> <li> <IndexLink to='/' activeClassName="active" title="Dashboard"> {/*<i class...