path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/elemental/0.0.2/elemental.js
calebmer/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.Elemental = f(...
src/components/PageHeader/PageHeader.js
Ollo/gerfs
import React from 'react' import PropTypes from 'prop-types' import './PageHeader.scss' const PageHeader = ({ title, className, children, ...otherProps }) => ( <header className={ className ? `${className} Page-Header` : 'Page-Header'} { ...otherProps}> <h2 className='Page-Header--title'>{ title }</h2> <asid...
src/BreadcrumbItem.js
apkiernan/react-bootstrap
import classNames from 'classnames'; import React from 'react'; import SafeAnchor from './SafeAnchor'; const propTypes = { /** * If set to true, renders `span` instead of `a` */ active: React.PropTypes.bool, /** * `href` attribute for the inner `a` element */ href: React.PropTypes.string, /** ...
ajax/libs/react-router/0.9.4/react-router.js
ematsusaka/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
docs/src/pages/components/progress/CircularDeterminate.js
allanalexandre/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import CircularProgress from '@material-ui/core/CircularProgress'; const useStyles = makeStyles(theme => ({ progress: { margin: theme.spacing(2), }, })); function CircularDeterminate() { const classes = useStyles(); const [p...
src/EmailConfApp.js
gourie/ParkingPlaza
/* * Author: Joeri Nicolaes * ====================== */ // import react //import React from 'react'; import React from 'react'; import HeaderApp from './HeaderApp'; import FooterApp from './FooterApp'; // Config for the app setup: TODO - retrieve from server var config = { debug: true }; /** * React Component...
web-ui/src/account_recovery/user_recovery_code_form/user_recovery_code_form.spec.js
pixelated-project/pixelated-user-agent
import { shallow } from 'enzyme'; import expect from 'expect'; import React from 'react'; import { UserRecoveryCodeForm } from './user_recovery_code_form'; describe('UserRecoveryCodeForm', () => { let userRecoveryCodeForm; let mockNext; let mockPrevious; let mockSaveCode; beforeEach(() => { const mockTr...
src/main/webapp/static/jquery-validation/1.11.0/lib/jquery-1.9.0.js
yangming85/jeesite
/*! * jQuery JavaScript Library v1.9.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-1-14 */ (function( window, undefined ) { "use strict";...
client/node_modules/uu5g03/dist-node/bricks/slider.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, ContentMixin, ColorSchemaMixin} from '../common/common.js'; import Backdrop from './backdrop.js'; import './slider.less'; export const Slider = React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin, ElementaryMixin, ContentMixin, ...
src/js/components/config/config.js
sepro/React-Pomodoro
import React from 'react'; import Modal from 'boron/FadeModal'; import TextButton, {FixedButton} from '../styled-components/text-button'; import ConfigButton from './config-button'; import ConfigInput from './config-input'; import ConfigBody from './config-body'; import FaCog from 'react-icons/fa/cog'; const boronSt...
ajax/libs/yasqe/2.0.1/yasqe.bundled.min.js
quba/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.YASQE=e()}}(function(){var e;return function t(e,r,i)...
src/components/Filter/Filter.js
AlbertFazullin/redux-form-demo
import React from 'react'; import PropTypes from 'prop-types'; import { Field, reduxForm } from 'redux-form'; import Input from '../common/inputs/Input/Input'; import CheckBox from '../common/inputs/CheckBox/CheckBox'; import Radios from '../common/inputs/Radios/Radios'; import s from './filter.pcss'; import submit f...
ajax/libs/yui/3.4.1pr1/loader-base/loader-base-debug.js
aashish24/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
src/views/teams.js
dreitagebart/crispyScrum
import React from 'react' export class Teams extends React.Component { render () { return ( <div>I am Teams</div> ) } }
src/components/widgets/timelogs/ListComponent.js
pdx-code/teampro
'use strict'; import React from 'react'; import UI from 'material-ui' require('styles/widgets/timelogs/List.less'); class ListComponent extends React.Component { constructor(props) { super(props); } _startTimer (t, a) { console.log('starting ...'); } render() { var timelogItems = this.props....
React Native/Demos/OpenSourceDemo/index.android.js
AngryLi/note-iOS
/** * 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 OpenSourceDemo extends Component { render() { return ( <View style={styles.container}> ...
test/AlertSpec.js
Cellule/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Alert from '../src/Alert'; describe('Alert', function () { it('Should output a alert with message', function () { let instance = ReactTestUtils.renderIntoDocument( <Alert> <strong>Message</strong> </Alert...
src/Drawer/TemporaryDrawer.js
dimik/react-material-web-components
import React from 'react' import PropTypes from 'prop-types' import {MDCComponent} from '../MDCComponent' import {MDCTemporaryDrawer} from '@material/drawer/dist/mdc.drawer' import classNames from 'classnames' class TemporaryDrawer extends MDCComponent { static displayName = 'TemporaryDrawer' static propTypes = {...
node_modules/react-svg-pan-zoom/build-es/ui-toolbar/toolbar.js
SpatialMap/SpatialMapDev
import React from 'react'; import PropTypes from 'prop-types'; import { TOOL_NONE, TOOL_PAN, TOOL_ZOOM_IN, TOOL_ZOOM_OUT, POSITION_TOP, POSITION_RIGHT, POSITION_BOTTOM, POSITION_LEFT } from '../constants'; import { fitToViewer } from '../features/zoom'; import IconCursor from './icon-cursor'; import IconPan from './ic...
app/js/components/Header.js
lukemarsh/tab-hq-react
'use strict'; import React from 'react'; import SearchInputComponent from './search/SearchInputComponent'; require('../../styles/Header.sass'); const Header = React.createClass({ render() { return ( <nav className='navbar navbar-fixed-top'> <div className='navbar-header'> <butto...
addons/themes/forty/layouts/Blog.js
rendact/rendact
import React from 'react'; import Header from '../includes/Header'; import Footer from '../includes/Footer'; import FooterWidgets from '../includes/FooterWidgets'; import Menu from '../includes/Menu'; import Post from '../includes/Post'; class Blog extends React.Component { componentDidMount(){ require('../asset...
packages/material-ui-icons/src/VoiceOverOffOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16.76 5.36l-1.68 1.69c.8 1.13.83 2.58.09 3.74l1.7 1.7c1.9-2.02 1.87-4.98-.11-7.13zM20.07 2l-1.63 1.63c2.72 2.97 2.76 7.39.14 10.56l1.64 1.64c3.74-3.89 3.71-9.84-.15-13.83zM9.43 5.04l3.53 3.53c-.2-1.8...
src/components/AddNewOrder/AddNewOrder.js
denysovkos/testtask
import React from 'react' import { Button, Form, Input, Select } from 'semantic-ui-react' import DatePicker from'react-datepicker' import moment from 'moment' import 'react-datepicker/dist/react-datepicker.css' const options = [ { key: 'wholesale', text: 'Wholesale', value: 'wholesale' }, { key: 'retail', text...
stories/components/loadingbolt.stories.js
LN-Zap/zap-desktop
import React from 'react' import { storiesOf } from '@storybook/react' import { boolean } from '@storybook/addon-knobs' import { Page } from 'components/UI' import Loading from 'components/Loading' storiesOf('Components', module).addWithChapters('LoadingBolt', { subtitle: 'Animation to indicate application is loadin...
example/es6/index.js
romagny13/react-form-validation
import React, { Component } from 'react'; import { render } from 'react-dom'; import App from './components/App'; render(<App />, document.getElementById('app'));
src/website/app/demos/Link/Link/examples/other.js
mineral-ui/mineral-ui
/* @flow */ import { BrowserRouter, Link as ReactRouterLink } from 'react-router-dom'; import Link from '../../../../../../library/Link'; import DemoLayout from '../../common/DemoLayout'; export default { id: 'other', title: 'Other Components', description: `Any component that generate an \`<a />\` element may b...
files/yasr/2.4.5/yasr.bundled.min.js
vebin/jsdelivr
!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){...
test/integration/css-features/fixtures/browsers-new/pages/_app.js
zeit/next.js
import App from 'next/app' import React from 'react' import './styles.css' class MyApp extends App { render() { const { Component, pageProps } = this.props return <Component {...pageProps} /> } } export default MyApp
src/pages/Default.js
ZHICHONGLI/Uda-Readable
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as DefaultAction from '../actions/DefaultAction'; import PostsList from '../components/PostsList'; import CategoryList from '../components/CategoryList'; class DefaultPage extends Compo...
client/scripts/components/dynamic-icons/gripper/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lic...
packages/material-ui-icons/src/Collections.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Collections = props => <SvgIcon {...props}> <path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z" /> ...
ajax/libs/material-ui/5.0.0-alpha.28/legacy/Fab/Fab.js
cdnjs/cdnjs
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; impo...
ajax/libs/react/0.12.2/react.min.js
bevacqua/cdnjs
/** * React v0.12.2 * * 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 directory. *...
src/demo/index.js
SkinyMonkey/react-player
import React from 'react' import { render } from 'react-dom' import { AppContainer } from 'react-hot-loader' import App from './App' const app = document.getElementById('app') render(<AppContainer><App /></AppContainer>, app) if (module.hot) { module.hot.accept('./App', () => { const NextApp = require('./App')...
src/components/common/hocs/LoginRequiredDialog.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import DialogContentText from '@material-ui/core/DialogContentText'; import DialogTitle ...
ajax/libs/babel-core/4.7.4/browser.min.js
BitsyCode/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.babel=e()}}(function(){var e,n,l;return function t(e,n,...
example/src/screens/Types.js
luggit/react-native-navigation
import React from 'react'; import { StyleSheet, View, Text, ScrollView, TouchableHighlight } from 'react-native'; import Row from '../components/Row'; class Types extends React.Component { toggleDrawer = () => { this.props.navigator.toggleDrawer({ side: 'left', animated: true ...
ajax/libs/aui/5.4.3/aui/js/aui-all.js
codevinsky/cdnjs
(function(e,t){function i(e){var t=ft[e]={};return Q.each(e.split(tt),function(e,i){t[i]=!0}),t}function n(e,i,n){if(n===t&&1===e.nodeType){var r="data-"+i.replace(mt,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:gt.test(n)?Q.parseJSON(n)...
ajax/libs/react-flip-move/0.2.2/react-flip-move.min.js
ahocevar/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.FlipMove=t(require("react"),require("react-dom")):e.FlipMove=t(e.react,e["react-dom"])}(this,fun...
ajax/libs/material-ui/4.9.4/es/Dialog/Dialog.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; /* eslint-disable jsx-a11y/click-events-have-key-events */ import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withS...
src/rechartCharts/index.js
livingston/react-chart-spikes
import React, { Component } from 'react'; import RScatter from './scatter.js'; import RStack from './stack.js'; const ReCharts = () => (<section className="recharts page"> <RScatter /> <RStack /> </section>); export default ReCharts;
packages/react-codemod/test/class-test.output.js
iOSDevBlog/react
'use strict'; var React = require('React'); var Relay = require('Relay'); var Image = require('Image.react'); /* * Multiline */ class MyComponent extends React.Component { constructor(props, context) { super(props, context); var x = props.foo; this.state = { heyoo: 23, }; } foo() { ...
platform/ui/src/components/quickSwitch/StudiesItem.js
OHIF/Viewers
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './StudiesItem.styl'; export class StudiesItem extends Component { static propTypes = { onClick: PropTypes.func.isRequired, studyData: PropTypes.object.isRequired, active: PropTypes.bool, }; render() { const { ...
packages/material-ui-icons/src/PolicyTwoTone.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M5 6.3V11c0 4.52 2.98 8.69 7 9.93 1.74-.53 3.28-1.62 4.47-3.04l-1.72-1.72c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07 1.95-1.95 5.12-1.95 7.07 0 1.71 1.71 1.92 4.35.6...
packages/react-devtools-shared/src/devtools/views/Components/types.js
ericyang321/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {Source} from 'shared/ReactElementType'; import type { Dehydrated, Unserializable, } from 'react-devto...
src/index.js
DaveOrDead/react-dnd-character-generator
/* eslint-disable import/default */ import React from 'react'; import {render} from 'react-dom'; import {Provider} from 'react-redux'; import {Router, browserHistory} from 'react-router'; import routes from './routes'; import configureStore from './store/configureStore'; require('./favicon.ico'); // Tell webpack to l...
src/components/List/UnorderedList.js
Bandwidth/shared-components
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import Item from './ListItem'; import Ordered from './OrderedList'; const UnorderedList = styled.ul.withConfig({ displayName: 'UnorderedList' })` margin: 0 0 1em; padding: 0; list-style: disc outside; &:last...
packages/mineral-ui-icons/src/IconMusicVideo.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconMusicVideo(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconPro...
src/components/Counter/Counter.js
38Slava/redux-webrtc
import React from 'react' import classes from './Counter.scss' export const Counter = (props) => ( <div> <h2 className={classes.counterContainer}> Counter: {' '} <span className={classes['counter--green']}> {props.counter} </span> </h2> <button className='btn btn-default' ...
openfire_src/target/openfire/plugins/rayo/demo/jquery_1_4_2.js
paridhika/XMPP_Parking
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/yui/3.7.1/simpleyui/simpleyui-debug.js
dbeckwith/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @main yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
app/javascript/mastodon/containers/media_gallery_container.js
mhffdq/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { IntlProvider, addLocaleData } from 'react-intl'; import { getLocale } from '../locales'; import MediaGallery from '../components/media_gallery'; import { fromJS } from 'immutable'; const { localeData, messages } = getLocale(); addLocaleData(locale...
RNT1/packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js
MyRNT/RNTrepository
/* NUGET: BEGIN LICENSE TEXT * * 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 or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
js/components/button/custom.js
ChiragHindocha/stay_fit
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { StatusBar } from 'react-native'; import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text, H3 } from 'native-base'; import { Actions } from 'react-native-router-flux'; import { actions } from 'react-nati...
ajax/libs/react-data-grid/0.14.3/react-data-grid.js
honestree/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
ajax/libs/rxjs/3.1.1/rx.all.js
jdh8/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo...
web/app/pages/login.js
bitemyapp/serials
// @flow import React from 'react' import {Link} from 'react-router' import {RouteHandler} from 'react-router' import {FormSection} from '../comp' import {Logo} from '../pages/about' import {Users} from '../model/user' import {Alerts} from '../model/alert' import {AlertView} from '../alert' import {makeUpdate} from '....
springboot/GReact/src/main/resources/static/app/components/chat/components/AsideChat.js
ezsimple/java
import React from 'react' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import * as ChatActions from '../ChatActions' import classnames from 'classnames' import AsideChatUser from './AsideChatUser' class AsideChatWidget extends React.Component { state = { open: false, filt...
internals/templates/containers/App/index.js
houlematt/matt-site
/** * * App.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If...
tests/more_react/API.react.js
fletcherw/flow
var app = require('JSX'); app.setProps({y:42}); // error, y:number but foo expects string in App.react app.setState({z:42}); // error, z:number but foo expects string in App.react function bar(x:number) { } bar(app.props.children); // No error, App doesn't specify propTypes so anything goes
assets/js/jquery1.11.3.min.js
pujie/rent_car_willisyudhatama
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
app/components/MainHome.js
chehitskenniexd/Archiver
import React, { Component } from 'react'; import { Link, hashHistory } from 'react-router'; import { connect } from 'react-redux'; import styles from './MainHome.css'; import { onAddProject } from '../reducers/mainhome'; import PendingInvitations from './PendingInvitations'; import { checkPendingInv, updateInvStatus } ...
src/components/Title.js
Harrison1/several-levels
import React from 'react' const Title = () => <p className="title"> several levels </p> export default Title
common/components/App.js
laoqiren/isomorphic-redux-CNode
import React from 'react'; import {connect} from 'react-redux'; import { Router, Route, Link,browserHistory } from 'react-router' import {fetchUser,selectAuthor} from '../actions/actions' import List from './List' import MyHeader from './Header' import Side from './Side' import fetch from 'isomorphic-fetch' import {log...
src/Components/Navbar/index.js
taymoork2/react-hot-boilerplate
import React from 'react'; import { Link } from 'react-router'; import './assets/Navbar.css'; const Navbar = () => ( <nav> <ul> <li><Link to={`${process.env.PUBLIC_URL}/`} activeOnlyWhenExact activeStyle={{ textDecoration: 'underline' }}><b>Get Started</b></Link></li> <li><Link to={`${process.env.PUB...
ajax/libs/mediaelement/2.1.1/jquery.js
the-destro/cdnjs
/*! * jQuery JavaScript Library v1.5.1rc1 * 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 License...
src/js/components/icons/base/NewWindow.js
odedre/grommet-final
/** * @description NewWindow 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. * @...
dispatch/static/manager/src/js/components/ArticleEditor/ArticleToolbar.js
ubyssey/dispatch
import React from 'react' import { Link } from 'react-router' import { Button, Intent, Text } from '@blueprintjs/core' import { Toolbar, ToolbarLeft, ToolbarRight } from '../Toolbar' import VersionsDropdown from '../Editor/toolbar/VersionsDropdown' export default function ArticleToolbar(props) { const publish = ( ...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/src/CardFooter.js
GoogleCloudPlatform/prometheus-engine
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { tag: tagPropType, className: PropTypes.string, cssModule: PropTypes.object, }; const defaultProps = { tag: 'div' }; const CardFooter ...
src/components/SubscribingBlock.js
ArchersDeLaBretagneRomantique/Frontend
import React from 'react'; const SubscribingBlock = () => { return ( <div> <h2>Inscription</h2> <p>Le montant de la cotisation est de 95€ pour les jeunes (moins de 20 ans) et de 130€ pour les adultes. Un certificat médical (pratique du tir à l'Arc en compétition sans contre-indication à la pratiqu...
app/containers/Pub/PubContributorRoleList.js
hassanshaikley/pubpub
import React, { PropTypes } from 'react'; import Radium from 'radium'; import { Popover, PopoverInteractionKind, Position } from '@blueprintjs/core'; import { Link as UnwrappedLink } from 'react-router'; const Link = Radium(UnwrappedLink); import { postContributorRole, deleteContributorRole } from './actionsContributor...
ajax/libs/forerunnerdb/1.3.403/fdb-all.min.js
rlugojr/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/charts/SmoothLineVivus.js
rsamec/react-pathjs-chart
import React from 'react'; import ReactDOM from 'react-dom'; import Vivus from 'vivus'; import SmoothLineChart from './SmoothLine.js'; export default class SmoothLineVivusChart extends SmoothLineChart { constructor(props){ super(props); this.state = { finished: false }; } componentWillRecei...
src/js/components/icons/base/SchedulePlay.js
odedre/grommet-final
/** * @description SchedulePlay 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. ...
src/Interpolate.js
yuche/react-bootstrap
// https://www.npmjs.org/package/react-interpolate-component // TODO: Drop this in favor of es6 string interpolation import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; const REGEXP = /\%\((.+?)\)s/; const Interpolate = React.createClass({ displayName: 'Interpolate', ...
packages/demos/demo/src/components/Notification/index.js
yusufsafak/cerebral
import React from 'react' import { connect } from 'cerebral/react' import { signal, state } from 'cerebral/tags' import translations from '../../common/compute/translations' export default connect( { dismiss: signal`app.dismissNotificationClicked`, error: state`app.$error`, t: translations, }, functi...
tests/fields/Video.spec.js
wiljanslofstra/pyramid
/* eslint-disable */ import React from 'react'; import Video from '../../src/components/Fields/Video'; import { shallow, mount } from 'enzyme'; import sinon from 'sinon'; /* eslint-enable */ const fakeProps = { onChange: () => {}, id: 'unique-id', field: { label: 'Video label', }, data: 'https://www.yout...
app/components/About.js
flocks/deeprun-front
import React from 'react'; const About = () => <div> <div>test</div> </div>; export default About;
__tests__/index.ios.js
libercata/RN_ZhihuDailyDemo
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 /> ); });
src/app/component/icon-link/icon-link.story.js
all3dp/printing-engine-client
import React from 'react' import {storiesOf} from '@storybook/react' import {action} from '@storybook/addon-actions' import IconLink from '.' import placeholderIcon from '../../../asset/icon/placeholder.svg' storiesOf('IconLink', module) .add('default', () => <IconLink icon={placeholderIcon} onClick={action('onCli...
src/main.js
rumblesan/web-befunge
/* global Two: false */ import 'babel-polyfill'; import * as Befunge from './befunge'; import * as Grid from './befunge/grid'; import * as GridGFX from './befunge/gridGfx'; import * as Interpreter from './befunge/interpreter'; import * as PointerGFX from './befunge/pointerGfx'; import * as Terminal from './ui/t...
frontend/containers/NotFound.js
relekang/accio
import React from 'react'; export default () => ( <h4>Four o four, you might say</h4> );
admin/client/App/screens/List/components/ItemsTable/ItemsTableDragDropZone.js
danielmahon/keystone
/** * THIS IS ORPHANED AND ISN'T RENDERED AT THE MOMENT * THIS WAS DONE TO FINISH THE REDUX INTEGRATION, WILL REWRITE SOON * - @mxstbr */ import React from 'react'; import DropZoneTarget from './ItemsTableDragDropZoneTarget'; import classnames from 'classnames'; var ItemsTableDragDropZone = React.createClass({ d...
src/index.js
tyrsius/portfolio
import React from 'react' import ReactDOM from 'react-dom' import './index.css' import App from './App.js' import * as serviceWorker from './serviceWorker' import { navigate } from 'raviger' // Bad redirects can send us here with an ugly url if (window.location && window.location.pathname === '/index.html') { naviga...
app/react-app/src/components/CustomerInfoForm/index.js
dockersamples/atsea-sample-shop-app
import React, { PropTypes, Component } from 'react'; import { Link } from 'react-router'; import { Field, reduxForm } from 'redux-form'; import { FlatButton } from 'material-ui'; import Input from '../../components/Input'; import './styles.css'; class CustomerInfoForm extends Component { renderCredit() { return...
src/EmailTag/index.js
DuckyTeam/ducky-components
import Icon from '../Icon'; import Wrapper from '../Wrapper'; import Typography from '../Typography'; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './styles.css'; function EmailTag(props) { return ( <Wrapper className={classNames(sty...
src/client/pages/search-page.react.js
lassecapel/este-isomorphic-app
import React from 'react'; import DocumentTitle from 'react-document-title'; import SearchBox from '../search/search-box.react'; import ProductList from '../products/product-list.react'; import SearchMessage from '../search/search-message.react'; import Pagination from '../products/pagination.react'; import {getProduc...
src/svg-icons/maps/store-mall-directory.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsStoreMallDirectory = (props) => ( <SvgIcon {...props}> <path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"/> </SvgIcon> ); MapsStoreMallDirectory = pure(MapsStoreMallDirec...
src/components/Navigation/Navigation.js
veskoy/ridiko
/** * 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 cx from 'classnames';...
test/client/app/components/pages/admin/test-admin.js
LINKIWI/apache-auth
import {shallow} from 'enzyme'; import React from 'react'; import test from 'tape'; import {Admin} from '../../../../../../src/client/app/components/pages/admin'; test('Admin wraps blacklist and fingerprints', (t) => { const admin = shallow( <Admin isLoading={true} /> ); t.equal(admin.find('AdminBlacklist'...
web/sites/default/files/js/js_Fay_bCYutK735_0NluuQdpSvfCutiE3p4ruwkXKmuws.js
komejo/d8demo-dev
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof windo...
lib/components/ReactableState.js
Centiq/meteor-reactable
import React from 'react'; import createReactClass from 'create-react-class'; ReactableState = createReactClass({ propTypes: ReactableConfigShape, mixins: [ ReactMeteorData ], getDefaultProps () { return { stateManager: DefaultStateManager, }; }, getInitialState () { let state = { ...
Libraries/Image/GlobalImageStub.js
shinate/react-native
/** * 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. * * @provides...
src/index.js
enapupe/know-your-bundle
import React from 'react' import { render } from 'react-dom' import { Router, browserHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import { Provider } from 'react-redux' import './bootstrap' import configureStore from './store/configure-store' import routes from './routes' co...
app/App.js
rayshih/fun-react
import React from 'react' import { createTypes, createUpdate, component, caseOf, compose, } from '../src/index' import OrdinaryCounter from './OrdinaryCounter' import CycleCounter from './CycleCounter' import Counter, * as CM from './Counter' // CM stand for Counter module const Msg = createTypes('TOP', 'MI...
packages/material-ui-icons/src/SignalWifi4BarSharp.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="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z" /></g></React.Fragment> , 'SignalWifi4BarSharp')...
src/icons/IosKeypadOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosKeypadOutline extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M394.6,341.2c-29.5,0-53.4,23.9-53.4,53.4s23.9,53.4,53.4,53.4c29.5,0,53.4-23.9,53.4-53.4S424.1,341.2,394.6,3...
client/modules/News/components/NewsNavBar/NewsNavBar.js
lordknight1904/bigvnadmin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Navbar, Nav, NavItem, MenuItem, Pagination, FormControl, Button, NavDropdown, DropdownButton } from 'react-bootstrap'; import { fetchNews, setCurrentPage, setCategory, setSearch } from '../../Ne...
files/rxjs/2.3.23/rx.lite.js
tunnckoCore/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...
ajax/libs/zeroclipboard/2.0.0-beta.6/ZeroClipboard.js
kartikrao31/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.0-beta.6 */ (function(window, undefined) { "use s...