path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/Button.js
modulexcite/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import CustomPropTypes from './utils/CustomPropTypes'; import ButtonInput from './ButtonInput'; const Button = React.createClass({ mixins: [BootstrapMixin], propTypes: { active: React.PropTypes.bool,...
dist/1.10.2/jquery-ajax-deprecated-effects.js
eric-seekas/jquery-builder
/*! * jQuery JavaScript Library v1.10.2 -ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Dat...
ajax/libs/material-ui/5.0.0-alpha.30/node/Radio/Radio.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _objectWithoutPropertiesLoose2=_interopRequireDefault(require...
web-ui/src/login/error/auth_error.spec.js
pixelated/pixelated-user-agent
import { shallow } from 'enzyme'; import expect from 'expect'; import React from 'react'; import { AuthError } from 'src/login/error/auth_error'; describe('AuthError', () => { let authError; const mockTranslations = key => key; beforeEach(() => { authError = shallow(<AuthError t={mockTranslations} />); })...
ajax/libs/6to5/1.12.2/browser-polyfill.js
JimBobSquarePants/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/primereact/7.2.1/tree/tree.min.js
cdnjs/cdnjs
this.primereact=this.primereact||{},this.primereact.tree=function(e,t,n,o){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function l(e){if(Array.isArray(e))return s(...
router_tutorial/06-params/modules/About.js
Muzietto/react-playground
import React from 'react' export default React.createClass({ render() { return <div>About</div> } })
ajax/libs/material-ui/4.9.9/test-utils/createRender.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=createRender;var _extends2=_interopRequireDefault(require("@babel/runtim...
ajax/libs/yui/3.0.0/event-custom/event-custom-base-debug.js
Teino1978-Corp/Teino1978-Corp-cdnjs
YUI.add('event-custom-base', function(Y) { /** * 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. * @module e...
packages/material-ui-icons/src/AccessibleSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><circle cx="12" cy="4" r="2" /><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.37-.21-.7...
src/shared/components/form/formButton/formButton.js
miaket/operationcode_frontend
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './formButton.css'; const FormButton = ({ theme, className, onClick, disabled, text }) => { const classes = classNames({ [`${styles.formButton}`]: true, [`${styles[theme]}`]: true, [`$...
src/Components/QuizPreview.js
ccbayer/react-quiz
import React, { Component } from 'react'; import ReactDom from 'react-dom'; import update from 'react-addons-update'; import { Button, Col, Grid, Row } from 'react-bootstrap'; /* Quiz Preview: Shown before the quiz starts in quiz groups */ const QuizPreview = React.createClass({ render: function() { var quiz = this...
O3652/O3652-7 Deep Dive into Security and OAuth/Demos/OAuthDemos/OAuthControllerWeb/Scripts/jquery-1.10.2.min.js
VesaJuvonen/TrainingContent
/* 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...
src/components/modal/ViewPost.js
TimothyBom/react-redux-instagram
import React from 'react' import CommentPage from '../comment/CommentPage' class ViewPost extends React.Component { render() { const { post, user, currentUser } = this.props const noAvatar = ( <img className="_a4egj" src="https://res.cloudinary.com/timothybom/image/upload/v1505211426/a...
src/static/containers/Root/DevTools.js
KarimJedda/django-react-setup
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */ import React from 'react'; 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...
example/RNApp/app/layouts/LoggedIn/LoggedIn.js
DesignmanIO/react-native-meteor-offline
import React from 'react'; import { Image } from 'react-native'; import TabNavigator from 'react-native-tab-navigator'; import ExNavigator from '@exponent/react-native-navigator'; import Routes from '../../config/routes'; import images from '../../config/images'; import styles from './styles'; class LoggedIn extends R...
public/cv/js/jquery-1.11.3.min.js
ducnt93/cvweb
/*! 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...
ajax/libs/yui/3.14.0/datatable-core/datatable-core-debug.js
manorius/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
ajax/libs/cleave.js/0.4.10/cleave-react.js
tholu/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...
index.js
connectordb/connectordb-android
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React from 'react'; import { AppRegistry, } from 'react-native'; import App from './src/index'; AppRegistry.registerComponent('connectordb_android', () => App);
webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js
jlsherrill/katello
import React from 'react'; import { FormGroup, FormControl, ControlLabel } from 'react-bootstrap'; import helpers from '../../../move_to_foreman/common/helpers'; import { headerFormatter, cellFormatter, selectionHeaderCellFormatter, selectionCellFormatter, } from '../../../move_to_foreman/components/common/tabl...
ReactNativeQuotes/components/Buttons/IconButton.js
Gaellan/react-native-quotes
import React, { Component } from 'react'; import { Text, TouchableOpacity } from 'react-native'; import Icon from "react-native-vector-icons/FontAwesome"; import ElevatedView from "react-native-elevated-view"; import { styles } from "./styles"; export default class IconButton extends Component { construct...
test/fixtures/mjs-support/src/index.js
timlogemann/create-react-app
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
Js/Ui/Components/Avatar/index.js
Webiny/Webiny
import React from 'react'; import _ from 'lodash'; import Webiny from 'webiny'; import styles from './styles.css'; /** * @i18n.namespace Webiny.Ui.Avatar */ class Avatar extends Webiny.Ui.FormComponent { constructor(props) { super(props); this.lastId = null; this.bindMethods( ...
src/svg-icons/action/face.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFace = (props) => ( <SvgIcon {...props}> <path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-...
ui/src/plugins/epl-timeline/components/Component.js
Baransu/erlangpl
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import Highlight from 'react-highlight'; import { Link } from 'react-router-dom'; import AutoSizer from 'react-virtualized/dist/commonjs/AutoSizer'; import List from 'react-virtualized/dist/commonjs/List'; import ArrowKeyStepper f...
modules/gui/src/widget/form/fieldset.js
openforis/sepal
import {Widget} from 'widget/widget' import {compose} from 'compose' import {getErrorMessage} from 'widget/form/error' import {withFormContext} from 'widget/form/context' import PropTypes from 'prop-types' import React from 'react' class _FormFieldSet extends React.Component { render() { const {form, class...
src/Affix.js
mcraiganthony/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import AffixMixin from './AffixMixin'; import domUtils from './utils/domUtils'; const Affix = React.createClass({ statics: { domUtils }, mixins: [AffixMixin], render() { let holderStyle = {top: this.state.affixPositionTop}; return (...
node_modules/react-bootstrap/es/Collapse.js
NathanBWaters/jb_club
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 ...
blueprints/form/files/__root__/forms/__name__Form/__name__Form.js
pawelniewie/czy-to-jest-paleo
import React from 'react' import { reduxForm } from 'redux-form' export const fields = [] const validate = (values) => { const errors = {} return errors } type Props = { handleSubmit: Function, fields: Object, } export class <%= pascalEntityName %> extends React.Component { props: Props; defaultProps = ...
src/elements/HelmetWrapper/HelmetWrapper.js
wearepush/redux-starter
import React from 'react'; import { string, bool, node } from 'prop-types'; import { Helmet } from 'react-helmet-async'; function HelmetWrapper({ title, description, sitePrefix, disableSitePrefix, children }) { const nextTitle = !disableSitePrefix ? `${sitePrefix} | ${title}` : title; const nextDescr = !disableSit...
node_modules/rebass/src/Badge.js
HasanSa/hackathon
import React from 'react' import Base from './Base' import config from './config' /** Component for displaying small status indicators */ const Badge = (props, { rebass }) => { const { fontSizes, bold, scale, colors } = { ...config, ...rebass } const sx = { fontSize: fontSizes[6], fontWeight: bold, ...
frontend/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname/node_modules/underscore.string/test/test_underscore/vendor/jquery.js
ninapavlich/jquery-ribbon-carousel
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/UserHeaderLoading.js
ryanbaer/busy
import React from 'react'; import './UserHeaderLoading.less'; const UserHeaderLoading = () => (<div className="UserHeaderLoading"> <div className="UserHeaderLoading__container"> <div className="ant-card-loading-block UserHeaderLoading__avatar" style={{ width: '100px', height: '100px' }} /> <div class...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/Promises.js
maletor/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return Promise.resolve([ { id: 1,...
src/routes/privacy/index.js
brytree/reach
/** * 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 Layout from '../../co...
node_modules/babel-plugin-transform-es2015-classes/node_modules/babel-traverse/node_modules/debug/browser.js
jessest/hugo-foundation-sass
/** * 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...
files/backbone.marionette/1.6.4/backbone.js
Craga89/jsdelivr
// Backbone.js 1.1.2 // (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(root, factory) { // Set up Backbone appropriately for ...
ajax/libs/yui/3.4.0pr2/simpleyui/simpleyui-debug.js
xymostech/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 * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global name...
MobileApp/node_modules/react-native/jest/setup.js
VowelWeb/CoinTradePros.com
/** * 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. */ 'use strict...
app/javascript/mastodon/features/explore/results.js
gol-cha/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { expandSearch } from 'mastodon/actions/search'; import Account from 'mastodon/containers/account_contai...
web/static/js/containers/AboutPage.js
josephyi/anivia
import React from 'react' import { Grid, Row, Col } from 'react-bootstrap' const AboutPage = (props) => ( <Grid > <Row> <Col md={12}> <div> <a href="https://github.com/josephyi/anivia">Anivia</a> isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or...
www/lib/onsen/js/onsenui.js
bobby1030/OpenPTT
/*! onsenui - v1.3.4 - 2015-07-01 */ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // JavaScript Dynamic Content shim for Windows Store apps (function () { if (window.MSApp && M...
ajax/libs/analytics.js/2.3.26/analytics.js
mikelambert/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
src/index.js
vinhnglx/Dzone-news
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, browserHistory, IndexRoute } from 'react-router' import App from './components/Main'; import Category from './components/Category'; ReactDOM.render(( <Router history={browserHistory}> <Route pa...
website/server/extractDocs.js
ivanph/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. */ var docgen...
src/addons/Portal/Portal.js
Semantic-Org/Semantic-UI-React
import EventStack from '@semantic-ui-react/event-stack' import { handleRef, Ref } from '@fluentui/react-component-ref' import keyboardKey from 'keyboard-key' import _ from 'lodash' import PropTypes from 'prop-types' import React from 'react' import { ModernAutoControlledComponent as Component, customPropTypes, d...
ajax/libs/rxjs/2.5.2/rx.js
algolia/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 }; ...
src/components/withGlobal.js
zsxsoft/blog.zsxsoft.com
import React from 'react' export default (Component) => { class ComponentWithGlobal extends React.Component { static getInitialProps (...props) { return Component.getInitialProps ? Component.getInitialProps(...props) : {} } doEverything = () => { if (window.Prism) { window.Prism.high...
client/fragments/sign-up/main.js
yeoh-joer/synapse
/** * External Dependencies */ import React from 'react' import { connect } from 'react-redux' /** * Internal Dependencies */ import Button from 'client/components/button' import Card from 'client/components/card' import FormTextInput from 'client/components/forms/form-text-input' import FormPasswordInput from 'cl...
Realization/frontend/czechidm-core/src/content/workflow/DefinitionTable.js
bcvsolutions/CzechIdMng
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import * as Utils from '../../utils'; import * as Basic from '../../components/basic'; import * as Advanced from '../../components/advanced'; import * as Managers from '../../redux/data'; const manager = new Managers....
public/client/routes/addUser/containers/addUser.js
nearform/concorda-dashboard
'use strict' import React from 'react' import {connect} from 'react-redux' import {reduxForm} from 'redux-form' import Select2 from 'react-select2-wrapper' import _ from 'lodash' import {upsertUser} from '../../../modules/user/actions/index' import {getClients} from '../../../modules/client/actions/index' import {get...
client/src/demo/Options.js
ziel5122/autograde
import Slider from 'material-ui/Slider'; import Subheader from 'material-ui/Subheader'; import Toggle from 'material-ui/Toggle'; import React from 'react'; const optionsStyle = { alignItems: 'center', display: 'flex', width: '100%', }; const sliderStyle = { height: '24px', margin: 0, marginLeft: '12px', ...
app/features/settings/components/SettingsDrawer.js
jitsi/jitsi-meet-electron
// @flow import ArrowLeft from '@atlaskit/icon/glyph/arrow-left'; import { AkCustomDrawer } from '@atlaskit/navigation'; import { SpotlightTarget } from '@atlaskit/onboarding'; import React, { Component } from 'react'; import { withTranslation } from 'react-i18next'; import { connect } from 'react-redux'; import type...
app/scripts/routes.js
mauriciominella/react-reflux-neo4j
import React from 'react'; import { Router, Route, IndexRoute, browserHistory} from 'react-router'; import App from './pages/app.jsx'; import Home from './pages/home.jsx'; import Info from './pages/info.jsx'; import NotFound from './pages/notFound.jsx'; const historyOptions = { queryKey : false }; const routes = (...
app/javascript/mastodon/features/ui/components/modal_root.js
abcang/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { getScrollbarWidth } from 'mastodon/utils/scrollbar'; import Base from 'mastodon/components/modal_root'; import BundleContainer from '../containers/bundle_container'; import BundleModalError from './bundle_modal_error'; import ModalLoading from './m...
app/js/app.js
Noah0x0/noah
'use strict'; import React, { Component } from 'react'; import { ipcRenderer } from 'electron'; import Header from './components/header'; import Main from './components/main'; class App extends Component { constructor() { super(); this.updateCurrent = this.updateCurrent.bind(this); this.updateGeolocatio...
ajax/libs/rxjs/2.3.6/rx.lite.js
ematsusaka/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...
examples/todomvc/js/components/TodoListFooter.js
c58/marsdb-react
/** * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNES...
src/scenes/CardsProvider.js
kesjien/member-cards
import React, { Component } from 'react'; import { View, Text, TouchableOpacity, Modal, StyleSheet } from 'react-native'; import { connect } from 'react-redux'; import firebase from 'firebase'; import Dimensions from 'Dimensions'; import NoItems from '../common/NoItemContentMsg'; import { syncPosts, fetchPosts } from ...
packages/material-ui/src/MenuList/MenuList.js
Kagami/material-ui
// @inheritedComponent List import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import keycode from 'keycode'; import warning from 'warning'; import ownerDocument from '../utils/ownerDocument'; import List from '../List'; class MenuList extends React.Component { state = ...
docs/app/Examples/views/Card/Content/CardExampleExtraContent.js
ben174/Semantic-UI-React
import React from 'react' import { Card, Icon } from 'semantic-ui-react' const description = [ 'Amy is a violinist with 2 years experience in the wedding industry.', 'She enjoys the outdoors and currently resides in upstate New York.', ].join(' ') const CardExampleExtraContent = () => ( <Card> <Card.Content...
docs/src/PageHeader.js
natlownes/react-bootstrap
import React from 'react'; const PageHeader = React.createClass({ render() { return ( <div className="bs-docs-header" id="content"> <div className="container"> <h1>{this.props.title}</h1> <p>{this.props.subTitle}</p> </div> </div> ); } }); export default Pag...
js/components/form/index.js
soltrinox/MarketAuth.ReactNative
import React, { Component } from 'react'; import { TouchableOpacity,View } from 'react-native'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, InputGroup, Input, Picker, Text, Thumbnail } from 'native-base'; import { openDrawer } from '../../actions/dr...
ajax/libs/flocks.js/0.15.5/flocks.js
Nadeermalangadan/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint-env node,browser */ /** * The Flocks library module. * * @module Flocks * @main Flocks * @class Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React =...
packages/material-ui-icons/src/FormatAlignJustifyOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M3 21h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18v-2H3v2zm0-4h18V7H3v2zm0-6v2h18V3H3z" /></g></React.Fragment> , 'FormatAlignJustifyOutlined');
scripts/Footer.js
ButenkoT/react-boilerplate
/** * Created by tetianabutenko on 28/05/2015. */ import React from 'react'; export default class Footer extends React.Component { render() { return ( <footer> <p>2015 &copy; Tanya Butenko</p> </footer> ); } }
ajax/libs/webshim/1.14.4-RC2/dev/shims/moxie/js/moxie.js
narikei/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/components/App/Navbar/Navbar.js
alex-ta/Chat-Server
import React from 'react'; import NavLink from './NavLink'; import {Link} from 'react-router'; import {connect} from 'react-redux'; import {logout} from '../../../actions/authActions'; import '../../Res/navbar.css'; class Navbar extends React.Component { logout(e) { e.preventDefault(); this.props.logout(); ...
app/components/Dashboard/Dashboard.js
mikeluz/flock
import React from 'react' import {Link} from 'react-router' import RaisedButton from 'material-ui/RaisedButton' import Paper from 'material-ui/Paper' import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table' import Pubs from '../Pubs/Pubs' import Chart fr...
tests/react/useContext_hook.js
popham/flow
// @flow import React from 'react'; { React.useMutationEffect(); // Error: function requires another argument. } type CustomType = {| foo: string, bar: number, |}; { let stringValue: string; let numericValue: number; let customValue: CustomType; const StringContext = React.createContext('hello'); s...
ajax/libs/vega/3.0.0-beta.26/vega.js
tonytomov/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.vega = global.vega || {}))); }(this, (function (exports) { 'use strict'; var version = "3.0.0-beta.26"; fun...
blueprints/dumb/files/__test__/components/__name__.spec.js
Croissong/sntModelViewer
import React from 'react' import <%= pascalEntityName %> from 'components/<%= pascalEntityName %>/<%= pascalEntityName %>' describe('(Component) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
ajax/libs/6to5/1.14.6/browser.js
wormful/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.to5=e()}}(function(){var define,module,exports;return...
test/OverlayTriggerSpec.js
yuche/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import OverlayTrigger from '../src/OverlayTrigger'; import Popover from '../src/Popover'; import Tooltip from '../src/Tooltip'; describe('OverlayTrigger', function() { it('Should create OverlayTrigger element', function() { const i...
SQL/client/src/components/dumb/Label.js
thebillkidy/MERGE-Stack
import React from 'react'; export default class Label extends React.Component { render() { return ( <label {...this.props}>{this.props.children}</label> ); } }
Libraries/CustomComponents/Navigator/Navigator.js
christopherdro/react-native
/** * Copyright (c) 2013-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. * * Facebook,...
ajax/libs/jquery.fancytree/2.13.0/jquery.fancytree.js
LeaYeh/cdnjs
/*! * jquery.fancytree.js * Tree view control with support for lazy loading and much more. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.13.0 * @date 2015...
ajax/libs/forerunnerdb/1.3.509/fdb-core.min.js
jonathantneal/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...
packages/material-ui-icons/src/TabletAndroid.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><defs><path id="a" d="M0 0h24v24H0z" /></defs><path d="M18 0H6C4.34 0 3 1.34 3 3v18c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V3c0-1.66-1.34-3-3-3zm-4 22h-4v-1h4v1zm5.25-3H4.75V3h14.5v16z" /></Reac...
src/routes/Apply/components/Apply.js
techcoop/techcoop.group
import React from 'react' import ReactDOM from 'react-dom' import './Apply.scss' const formDomain = 'https://docs.google.com/forms/' const formUrl = formDomain + 'd/e/1FAIpQLSccXBwqFccJ-g_n9545FEomK0v8wXI0KNfgqnCgiI0LLtnYHg/viewform?embedded=true' export class Apply extends React.Component { constructor (props) { ...
app/app.js
yogakurniawan/phone-catalogues
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; impor...
ajax/libs/yui/3.5.0/simpleyui/simpleyui-debug.js
tjbp/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 * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
test/withLinkState.spec.js
BlackBoxVision/link-state-hoc
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import withLinkState from '../src/lib/withLinkState'; //Simple component to test behavior const Component = ({ linkState, getValue }) => ( <div> <input name="test" {...linkState('testValue')}/> <p>{getValue...
ajax/libs/react-transition-group/1.1.3/react-transition-group.js
joeyparrish/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.ReactTransitionGroup=t(require("react"),require("react-dom")):e.ReactTransitionGroup=t(e.React,e...
jquery.js
rrgarciach/woocommerce-api-client
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/components/Icons/FacebookIcon.js
zerkedev/zerke-app
import React from 'react'; import SvgIcon from 'material-ui/SvgIcon'; const FacebookIcon = (props) => { return ( <SvgIcon width={22} height={22} viewBox="0 0 266.893 266.895" enableBackground="new 0 0 266.893 266.895" {...props}> <path id="Blue_1_" d="M248.082,262.307c7.854,0,14.223-6.369,14.223-14....
src/parser/demonhunter/havoc/modules/talents/ImmolationAura.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; import STATISTIC_ORDER from 'interface/others/STATISTIC_ORDER'; import Events from 'parser/core/Events'; import Analyzer, { SELECTED_PLAYER } fro...
svg-icons/editor/multiline-chart.js
myfintech/material-ui
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
src/svg-icons/action/grade.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGrade = (props) => ( <SvgIcon {...props}> <path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/> </SvgIcon> ); ActionGrade = pure(ActionGrade); ActionGrade....
src/components/Navbar/NavItem/Dropdown/index.js
calpa/blog
import React from 'react'; import PropTypes from 'prop-types'; const Dropdown = ({ title, list }) => ( <li className="nav-item dropdown"> <button type="button" className="nav-link dropdown-toggle btn-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" >{title...
js/jqwidgets/demos/react/app/grid/localizedaddnewrow/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js'; class App extends React.Component { render() { let source = { localdata: generatedata(10), datafields: [ ...
packages/material-ui-icons/src/WifiOffOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 11l2-2c-3.73-3.73-8.87-5.15-13.7-4.31l2.58 2.58c3.3-.02 6.61 1.22 9.12 3.73zm-2 2c-1.08-1.08-2.36-1.85-3.72-2.33l3.02 3.02.7-.69zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zM3.41 1.64L2 3.05 5.05 6.1C3...
src/Parser/Shaman/Enhancement/Modules/ShamanCore/Landslide.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import StatisticBox, { STATISTIC_ORDER } from 'Main/Statistic...
ajax/libs/vega/3.0.0-rc6/vega-core.min.js
jdh8/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-request"),require("d3-dsv"),require("topojson"),require("d3-time-format"),require("d3-array"),require("d3-shape"),require("d3-path"),require("d3-format"),require("d3-scale"),require("d3-scale-chromatic"),require("d3-interpolate"),...
client/src/app/views/forgot.js
jhuntoo/starhackit
import React from 'react'; import _ from 'lodash'; import LinkedStateMixin from 'react-addons-linked-state-mixin'; import cx from 'classnames'; import RaisedButton from 'material-ui/lib/raised-button'; import DocTitle from 'components/docTitle'; import authActions from 'actions/auth'; import ValidateEmail from 'servic...
packages/lore-generate-new/templates/es5/src/components/Layout.js
lore/lore
/** * This component is intended to reflect the high level structure of your application, * and render any components that are common across all views, such as the header or * top-level navigation. All other components should be rendered by route handlers. */ import React from 'react'; import PropTypes from 'prop-...
src/SegmentedControl/macOs/index.js
gabrielbull/react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Dimension, { dimensionPropTypes } from '../../style/dimension'; import Margin, { marginPropTypes } from '../../style/margin'; import Hidden, { hiddenPropTypes } from '../../style/hidden'; import Item from './Item'; import Tabs from './...
ajax/libs/yui/3.11.0/event-custom-base/event-custom-base-debug.js
x112358/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/js/components/input.js
gragland/instatype
import React from 'react'; class Input extends React.Component { constructor(props) { super(props); this.handleChange = this.handleChange.bind(this); this.handleFocus = this.handleFocus.bind(this); this.handleBlur = this.handleBlur.bind(this); } // TODO: Remove shouldComponentUpda...