path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
docs/src/pages/components/dialogs/AlertDialogSlide.js
allanalexandre/material-ui
import React from 'react'; import Button from '@material-ui/core/Button'; 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 D...
ajax/libs/yui/3.12.0/datatable-body/datatable-body.js
Ryuno-Ki/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
index.js
LlamaSantos/crackerbox
'use strict'; // -- Automatically transpile jsx files require("babel/register"); require('ignore-css').install(); var React = require('react'); var koa = require('koa'); var send = require('koa-send'); var app = koa(); var router = require('./routes'); app.use(require('./middleware/report')); app.use(require('./midd...
setup/src/universal/features/user/auth/components/ForgotPasswordForm/index.js
ch-apptitude/goomi
/** * * ForgotPasswordForm * */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Form } from 'react-form'; import { Row, Col } from 'react-flexbox-grid'; import Box from 'features/common_ui/components/Box'; import { GreenButton } from 'features/common_ui/components/Button'; impor...
src/js/components/FileInput/stories/Multiple.js
grommet/grommet
import React from 'react'; import { Box, FileInput } from 'grommet'; export const Multiple = () => ( <Box fill align="center" justify="start" pad="large"> <Box width="medium"> <FileInput multiple={{ max: 5, }} onChange={(event, { files }) => { console.log(event)...
src/parser/mage/shared/modules/features/MirrorImage.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import TalentStatisticBox, { STATISTIC_ORDER } from 'interface/others/TalentStatisticBox'; import Analyzer from 'parser/core/Analyzer'; const INCANTERS_FLOW_EXPECTE...
src/app/app.js
SirKettle/super-game
'use strict'; console.log('hello super app'); import React from 'react'; import ReactDom from 'react-dom'; import { Router, hashHistory } from 'react-router'; import routes from './routes'; console.log(routes); ReactDom.render( <Router routes={ routes } history={ hashHistory } />, document.getElementById( 'SuperG...
ajax/libs/inferno/1.0.0-beta1/inferno-compat.js
pvnr0082t/cdnjs
/*! * inferno-compat v1.0.0-beta1 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.Infern...
ajax/libs/ag-grid/4.0.6/ag-grid.noStyle.js
Amomo/cdnjs
// ag-grid v4.0.6 (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["agGrid"] = factory(); e...
src/components/Progress/ProgressBar.js
propertybase/react-lds
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { getClampedProgress } from './utils'; const getBarValueStyle = (num, vertical) => ({ [vertical ? 'height' : 'width']: `${num}%`, }); const ProgressBar = (props) => { const { assistiveLabel, circular, co...
src/svg-icons/editor/mode-edit.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorModeEdit = (props) => ( <SvgIcon {...props}> <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"...
examples/picture.js
dundalek/react-blessed-contrib
import React, { Component } from 'react'; import blessed from 'blessed'; import { render } from 'react-blessed'; import { Picture } from '../src/index'; class App extends Component { render() { return ( <Picture file="./node_modules/png-js/images/laptop.png" cols={95} onReady={() => screen.render()} /> ...
app/javascript/mastodon/features/ui/components/boost_modal.js
KnzkDev/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Button from '../../../components/button'; import StatusContent from '../../../components/status_content'; import Av...
node_modules/react-bootstrap/es/Fade.js
ProjectSunday/rooibus
import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import classNames from 'classnames'; import React fr...
packages/material-ui-icons/src/StarRateOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path transform="scale(1.33, 1.33)" fill="none" d="M0 0h18v18H0V0z" /><path transform="scale(1.33, 1.33)" d="M9 11.3l3.71 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14 9 11.3z" /></...
ajax/libs/rxjs/2.4.8/rx.all.js
wout/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
node_modules/react-bootstrap/es/ModalFooter.js
caughtclean/but-thats-wrong-blog
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 ...
packages/material-ui-icons/src/SignalCellular2BarOutlined.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 fillOpacity=".3" d="M2 22h20V2L2 22z" /><path d="M14 10L2 22h12V10z" /></g></React.Fragment> , 'SignalCellular2BarOutlined');
ajax/libs/react-slick/0.4.0/react-slick.js
noraesae/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Slider"] = factory(...
packages/neos-ui-validators/src/NotEmpty/index.js
dimaip/neos-ui
import React from 'react'; import I18n from '@neos-project/neos-ui-i18n'; /** * Checks if a given value is not empty */ const NotEmpty = value => { if (value === null || value === '' || value.length === 0) { return <I18n id="content.inspector.validators.notEmptyValidator.isEmpty" fallback="The value can ...
src/js/components/icons/Mail.js
samogami/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; export default class Mail extends Component { componentDidMount () { console.warn('This icon has been deprecated. Please check http://www.grommet.io/docs/develop/icon for the new set of icons.'); } ...
ajax/libs/yui/3.7.1/simpleyui/simpleyui-debug.js
timnew/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...
actor-apps/app-web/src/app/components/common/AvatarItem.react.js
sc4599/actor-platform
import React from 'react'; import classNames from 'classnames'; class AvatarItem extends React.Component { static propTypes = { image: React.PropTypes.string, placeholder: React.PropTypes.string.isRequired, size: React.PropTypes.string, title: React.PropTypes.string.isRequired }; constructor(pro...
src/js/main.js
mdibaiee/Hawk
import React from 'react'; import ReactDOM from 'react-dom'; import * as ftp from 'api/ftp'; import Root from 'components/root'; import store from 'store'; import { Provider } from 'react-redux'; import './activities'; ftp.connect({ host: '192.168.1.5', port: 21, username: 'mahdi', password: 'heater0!' }).then...
client/src/app/SplashPage.spec.js
flyrightsister/boxcharter
/* * Copyright (c) 2017 Bonnie Schulkin. All Rights Reserved. * * This file is part of BoxCharter. * * BoxCharter 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 License, ...
src/client/components/players.js
tomasz-chojna/hex
import {gql, graphql, compose} from "react-apollo"; import React from 'react'; import {Component} from "react"; import {Redirect} from "react-router"; import Cookie from 'js-cookie'; import PropTypes from 'prop-types'; class ActivePlayersList extends Component { static propTypes = { history: PropTypes.ob...
node_modules/react-bootstrap/es/Grid.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 ...
src/components/layer/layer.js
liufulin90/react-admin
import { Modal, message } from 'antd' import React from 'react' import ReactDOM from 'react-dom' import classnames from 'classnames' import styles from './layer.less' const { info, success, error, warning, confirm } = Modal const layer = { prefixCls: 'ant-layer', index: 1, info, success, error, warning, ...
src/containers/jumbotron.js
jimkim/vainglory
import React from 'react'; export default () => { return ( <header className="container"> <div className="content"> <h1>Vainglory Stats</h1> <h2>Please enter your in-game name above.</h2> <h2>(Feel free to use my profile name: kindseoul)</h2> </div> </header> ) }
ajax/libs/redux-form/2.2.5/redux-form.js
keicheng/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
packages/components/src/List/ListComposition/SortBy/SortBy.component.js
Talend/ui
import React from 'react'; import PropTypes from 'prop-types'; import { Navbar, MenuItem, NavDropdown, Nav, Button } from 'react-bootstrap'; import uuid from 'uuid'; import Icon from '../../../Icon'; import { useListContext } from '../context'; import cssModule from './SortBy.scss'; import { getTheme } from '../../.....
src/svg-icons/maps/local-activity.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalActivity = (props) => ( <SvgIcon {...props}> <path d="M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2z...
protocol-designer/src/index.js
OpenTrons/opentrons-api
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { AppContainer } from 'react-hot-loader' import { configureStore } from './configureStore' import { App } from './components/App' import { initialize } from './initialize' import { initializeMixpanel } from './anal...
src/utils/ValidComponentChildren.js
Cellule/react-bootstrap
import React from 'react'; /** * Maps children that are typically specified as `props.children`, * but only iterates over children that are "valid components". * * The mapFunction provided index will be normalised to the components mapped, * so an invalid component would not increase the index. * * @param {?*} ...
js/queries/InsyteQueries.js
xuorig/insyto
import React from 'react'; import Relay from 'react-relay'; export default { insyte: () => Relay.QL`query { insyte(id: $id) }` };
stories/styles.js
JAdshead/j-react-ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import Colors from "./components/Colors" import Fonts from "./components/Fonts" storiesOf("Styles", module) .add("fonts", () => <Fonts/>) .add("Colors", () => <Colors/>)
src/svg-icons/device/battery-charging-30.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging30 = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v9.17h2L13 7v5.5h2l-1.07 2H17V5.33C17 4.6 16.4 4 15.67 4z"/><path d="M11 20v-5.5H7...
hdpDrupal/sites/default/files/js/js_vD_S-X8UHzdHAsqqPvfd8t-MUVsomISpCcG3RjDJo0s.js
IrvinAyala/fase2hdp
/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fun...
packages/material-ui-icons/src/SentimentSatisfied.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><circle cx="15.5" cy="9.5" r="1.5" /><circle cx="8.5" cy="9.5" r="1.5" /><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17....
packages/bonde-admin/src/components/editor-draft-js/Toolbar/FontControls/SelectFontFamily.js
ourcities/rebu-client
import PropTypes from 'prop-types' import React from 'react' const fonts = [ 'Abel', 'Anton', 'Archivo Narrow', 'Asap', 'Bree Serif', 'Crimson Text', 'Cuprum', 'Exo', 'Exo 2', 'Fira Sans', 'Francois One', 'Josefin Sans', 'Karla', 'Libre Baskerville', 'Merriweather Sans', 'Pacifico', 'Poiret One', 'Quicksand', ...
app/Shared/AppText.js
mastermel/wwg_battle_tool
import React from 'react'; import { Text } from 'react-native'; import { any } from 'prop-types'; import { font } from './Styles'; class AppText extends React.Component { render() { const style = { color: font.color, fontSize: font.size.normal, ...this.props.style, }; return ( ...
scripts/lib/jquery-1.8.0.min.js
shanshanyang/mapthemusic
/*! 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=...
components/warning/index.js
dotKom/glowing-fortnight
import React from 'react'; const Warning = () => { return ( <div id="warning" className="component"> <h1>Har du opplevd noe ugreit?</h1> <p> Online har to kontaktpersoner som kan hjelpe under fadderukene, Thea Karin Fladby (21) og Sindre Langaard (23). Vi ønsker at alle skal ha det br...
src/Jumbotron.js
pandoraui/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import CustomPropTypes from './utils/CustomPropTypes'; const Jumbotron = React.createClass({ propTypes: { /** * You can use a custom element for this component */ componentClass: CustomPropTypes.elementType }, getDefaultProps() { ...
src/components/starkregen/Help40MeinStandort.js
cismet/wupp-geoportal3-powerboats
import React from "react"; import GenericModalMenuSection from "../commons/GenericModalMenuSection"; import MyLocation from "../commons/GenericHelpTextForMyLocation"; const Component = ({ uiState, uiStateActions }) => { return ( <GenericModalMenuSection uiState={uiState} uiStateActions={uiStateAction...
node_modules/babel-core/node_modules/debug/src/browser.js
cloud9ide/react-enquiry
/** * 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 chrom...
docs/src/examples/elements/Input/Variations/InputExampleInverted.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Segment, Input } from 'semantic-ui-react' const InputExampleInverted = () => ( <Segment inverted> <Input inverted placeholder='Search...' /> </Segment> ) export default InputExampleInverted
packages/cf-component-card/test/CardFooter.js
jroyal/cf-ui
import React from 'react'; import { felaSnapshot } from 'cf-style-provider'; import { CardFooter } from '../../cf-component-card/src/index'; test('should render', () => { const snapshot = felaSnapshot(<CardFooter>Card footer</CardFooter>); expect(snapshot.component).toMatchSnapshot(); expect(snapshot.styles).toM...
news/routes/Latest/Latest.js
otavioarc/freeCodeCamp
import React from 'react'; const propTypes = {}; function Latest() { return ( <h2>Latest</h2> ); } Latest.displayName = 'Latest'; Latest.propTypes = propTypes; export default Latest;
ajax/libs/webshim/1.15.6/dev/shims/moxie/js/moxie-html4.js
WebReflection/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 ...
test/MenuItemSpec.js
Neophy7e/react-bootstrap-typeahead
import {expect} from 'chai'; import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import {BaseMenuItem} from '../src/MenuItem'; let clickValue; function onClick() { clickValue = 'clicked'; } function getMenuItemNode(props={}) { const instance = ReactTestUtils.renderIntoDocument( ...
docs/app/Examples/views/Feed/Types/FeedExampleBasic.js
aabustamante/Semantic-UI-React
import React from 'react' import { Feed, Icon } from 'semantic-ui-react' const FeedExampleBasic = () => ( <Feed> <Feed.Event> <Feed.Label> <img src='/assets/images/avatar/small/elliot.jpg' /> </Feed.Label> <Feed.Content> <Feed.Summary> <Feed.User>Elliot Fu</Feed.User> ...
src/Jumbotron.js
pieter-lazzaro/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import CustomPropTypes from './utils/CustomPropTypes'; const Jumbotron = React.createClass({ propTypes: { /** * You can use a custom element for this component */ componentClass: CustomPropTypes.elementType }, getDefaultProps() { ...
ajax/libs/react-router/0.5.0/react-router.min.js
ppoffice/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(){return function e(t,n,r)...
ajax/libs/datatables/1.10.7/js/jquery.js
prosenjit-itobuz/cdnjs
/*! 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/mediaelement/1.1.1/jquery.js
iamJoeTaylor/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
analysis/druidferal/src/modules/talents/MoonfireUptime.js
anom0ly/WoWAnalyzer
import { t } from '@lingui/macro'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import { TooltipElement } from 'interface'; import UptimeIcon from 'interface/icons/Uptime'; import Analyzer from 'parser/core/Analyzer'; import { ThresholdStyl...
static/Brython3.1.1-20150328-091302/Lib/jqueryui/jquery-1.11.2.min.js
2014c2g4/2015cda_g7_0421
/*! 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...
janua-web/ext/build/examples/modern/states/app.js
mesocentrefc/Janua-SMS
var Ext=Ext||{};if(!Ext.app){Ext.app={}}if(!Ext.app.domain){Ext.app.domain={}}if(!Ext.app.route){Ext.app.route={}}if(!Ext.behavior){Ext.behavior={}}if(!Ext.button){Ext.button={}}if(!Ext.carousel){Ext.carousel={}}if(!Ext.chart){Ext.chart={}}if(!Ext.chart.axis){Ext.chart.axis={}}if(!Ext.chart.axis.layout){Ext.chart.axis....
vertex_ui/src/components/Avatar/AvatarIcon.js
zapcoop/vertex
import React from 'react'; import { PropTypes } from 'prop-types'; import _ from 'underscore'; import Avatar from './Avatar.js'; import classNames from 'classnames'; import classes from './Avatar.scss'; import { Colors } from './../../consts'; const AvatarIcon = props => { const contentStyle = { color: props.c...
tests/BT/assets/js/gui.js
WestpacCXTeam/GUI-responsive-toggles
/*! 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...
index.android.js
ScottBouloutian/JSWizard
/* JSWizard, a JavaScript documentation application. Copyright (C) 2017 Scott Bouloutian This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (...
ajax/libs/react/0.11.0-rc1/react.min.js
iskitz/cdnjs
/** * React v0.11.0-rc1 * * 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...
webapp/app/components/CreateGroup/Form/GroupRights/index.js
EIP-SAM/SAM-Solution-Node-js
// // Component group rights form create group // import React from 'react'; import SaveRestoreMode from 'containers/CreateGroup/Form/GroupRights/SaveRestoreMode'; import MigrationMode from 'containers/CreateGroup/Form/GroupRights/MigrationMode'; import SoftwareMode from 'containers/CreateGroup/Form/GroupRights/Softwa...
loc8-react-redux-front-end/src/components/ListErrors.js
uberslackin/django-redux-loc8-ARweb
'use strict'; import React from 'react'; class ListErrors extends React.Component { render() { const errors = this.props.errors; if (errors) { return ( <ul className="error-messages"> { Object.keys(errors).map(key => { return ( <li key={key}>...
src/__tests__/ButtonToolbar.spec.js
reactstrap/reactstrap
import React from 'react'; import { shallow } from 'enzyme'; import { ButtonToolbar } from '../'; describe('ButtonToolbar', () => { it('should render children', () => { const wrapper = shallow(<ButtonToolbar>Ello world</ButtonToolbar>); expect(wrapper.text()).toBe('Ello world'); expect(wrapper.hasClass(...
src/js/components/InfiniteScroll/stories/Basics.js
grommet/grommet
import React from 'react'; import { Box, InfiniteScroll, Text } from 'grommet'; const allItems = Array(2000) .fill() .map((_, i) => `item ${i + 1}`); export const Simple = (props) => ( // Uncomment <Grommet> lines when using outside of storybook // <Grommet theme={...}> <Box> <InfiniteScroll items={all...
docs/jquery.js
ltcperera/dynarray
/* * jQuery JavaScript Library v1.7.1 * 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. ...
ajax/libs/forerunnerdb/1.3.867/fdb-core+persist.js
dlueth/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...
modules/dreamview/frontend/src/app.js
ApolloAuto/apollo
import * as ReactDOM from 'react-dom'; import React from 'react'; import { Provider } from 'mobx-react'; import 'styles/main.scss'; import STORE from 'store'; import Dreamview from 'components/Dreamview'; ReactDOM.render( <Provider store={STORE}> <Dreamview /> </Provider>, document.getElementById(...
app/javascript/mastodon/features/ui/components/embed_modal.js
salvadorpla/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage, injectIntl } from 'react-intl'; import api from '../../../api'; export default @injectIntl class EmbedModal extends ImmutablePureComponent { static propTypes...
ajax/libs/yasr/1.1.9/yasr.min.js
ppoffice/cdnjs
!function(e){if("object"==typeof exports)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.YASR=e()}}(function(){var e;return function t(e,n,r){function i(a,s){if(!n[a]){if(!e...
app/src/assets/js/components/global/social-panel.js
Huskie/ScottishPremiershipData
import React from 'react'; import { Link } from 'react-router'; class SocialPanelComponent extends React.Component { constructor (props) { super(props); // Only proceed if we have a specified social platform and handle given as a property if (this.props.platform === 'undefined' || this.p...
node_modules/react-icons/md/collections-bookmark.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdCollectionsBookmark = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m33.4 20v-13.4h-8.4v13.4l4.1-2.5z m0-16.6c1.8 0 3.2 1.4 3.2 3.2v20c0 1.8-1.4 3.4-3.2 3.4h-20c-1.8 0-3.4-1.6-3.4-3.4v-20c0-1.8 1.6-3.2 3.4-3.2h20z m-26.8 6...
web/src/components/app.js
jketcham/gangplank
import React from 'react'; import PropTypes from 'prop-types'; import Navbar from './nav-bar'; const App = ({ children }) => ( <div className="app-conainer"> <Navbar /> { children } </div> ); App.propTypes = { children: PropTypes.node.isRequired, }; export default App;
test/CollapsibleNavSpec.js
gianpaj/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Navbar from '../src/Navbar'; import CollapsibleNav from '../src/CollapsibleNav'; import Nav from '../src/Nav'; import NavItem from '../src/NavItem'; describe('CollapsibleNav', function () { it('Should create div and add collapse...
ajax/libs/6to5/3.3.3/browser-polyfill.js
paleozogt/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...
template/src/components/toggle-button/toggle-button.stories.js
mongodb-js/compass-plugin
/* eslint-disable react/no-multi-comp */ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import ComponentPreview from 'storybook/decorators/componentPreview'; import { withChaptersOptions } from 'constants/storybook'; import { ToggleButton } f...
examples/simple/server.js
fattenap/react-async
import express from 'express'; import browserify from 'connect-browserify'; import React from 'react'; import * as ReactAsync from '../../src'; import App from './client'; express() .get( '/bundle.js', browserify({ entry: require.resolve('./client'), debug: true, watch: true, transfor...
src/basic/Base/NativeBaseComponent.js
chaitanya0bhagvan/NativeBase
/* @flow */ import React, { Component } from 'react'; import lightTheme from '../../backward/Themes/light'; export default class NativeBaseComponent extends Component { static contextTypes = { theme: React.PropTypes.object, foregroundColor: React.PropTypes.string, } static propTypes = { theme: Reac...
packages/react-dom/src/__tests__/ReactComponentLifeCycle-test.js
jzmq/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. * * @emails react-core */ 'use strict'; let React; let ReactDOM; let ReactTestUtils; let PropTypes; const clone = function(o) { ...
src/components/chart.js
Bassov/Weather
import React from 'react'; import { Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines'; import _ from 'lodash'; export default function(props) { return ( <div> <Sparklines data={props.data} height={120} width={180}> <SparklinesLine color={props.color}/> <Sparkline...
docs/src/examples/modules/Progress/Content/ProgressExampleLabel.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Progress } from 'semantic-ui-react' const ProgressExampleLabel = () => <Progress percent={55}>Label</Progress> export default ProgressExampleLabel
front/app/js/components/controls/VTabs.js
nudoru/React-Starter-3
import React from 'react'; import PropTypes from 'prop-types'; import { css } from 'emotion'; import { createClassNameFromProps, withStyles } from './common/StyleManager'; import { Nav, NavItem } from './Navigation'; import { Expando } from './containers/Expando'; import { colors, metrics } from '../../theme/Theme'; im...
app/static/js/components/ManagerViewAvailability.js
NordicSHIFT/NordicSHIFT
// ManagerViewAvailability.js import moment from 'moment'; import axios from 'axios'; import React, { Component } from 'react'; import { Button } from 'reactstrap'; import ManagerMenubar from './children/ManagerMenubar'; import * as util from './../util.js'; var origin = window.location.origin; class Iframe exten...
modules/pages/client/components/Guide.component.js
Trustroots/trustroots
import React from 'react'; import Board from '@/modules/core/client/components/Board.js'; import { useTranslation } from 'react-i18next'; export default function Guide() { const { t } = useTranslation('pages'); return ( <> <Board className="guide-header" names="happyhippies"> <div className="con...
src/index.js
devtools-html/perf.html
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // @flow // Import all global css. Ensure that this is these CSS imports happen before any // JS imports happen, a...
Examples/UIExplorer/js/DatePickerAndroidExample.js
catalinmiron/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. * * The examp...
src/components/forms/ResumeSearchForm.js
Team-Banana-Guava/JobOrNot-React
import React, { Component } from 'react'; import { connect } from 'react-redux'; import SingleInput from './SingleInput'; import { Link } from 'react-router-dom'; import { resumeFetchData } from '../../actions/ResumeDisplay-actions'; class ResumeSearchForm extends Component { constructor(props) { super(pro...
web/templates/core/js/jquery-1.11.0.min.js
itdoors/haccp
/*! jQuery v1.11.0 | (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/Airmet/AirmetEditMode.spec.js
KNMI/GeoWeb-FrontEnd
import React from 'react'; import AirmetEditMode from './AirmetEditMode'; import { mount, shallow } from 'enzyme'; import { Button } from 'reactstrap'; describe('(Component) AirmetEditMode', () => { it('mount renders a AirmetEditMode', () => { const airmet = { phenomenon: 'TEST', levelinfo: { levels:...
ajax/libs/jssip/0.6.13/jssip.js
honestree/cdnjs
/* * JsSIP.js 0.6.13 * the Javascript SIP library * Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define...
ajax/libs/react-bootstrap-table/1.4.4/react-bootstrap-table.min.js
maruilian11/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.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R...
ajax/libs/webshim/1.14.3-RC3/dev/shims/moxie/js/moxie.js
cloudrifles/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 ...
internals/templates/app.js
dvm4078/dvm-blog
/** * 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...
src/components/tab-ctrl/index.js
jl-/bronote
/** * <TabCtrl * current={} * data={[{ hash }]} * > * </TabCtrl> * * * **/ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import PaperSelect from '../paper-select'; import cx from 'classnames'; import fl...
app/javascript/mastodon/features/pinned_statuses/index.js
Chronister/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchPinnedStatuses } from '../../actions/pin_statuses'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../compon...
ajax/libs/forerunnerdb/1.3.513/fdb-legacy.js
froala/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/index.js
tkarling/node-api-server
import './styles/main.scss'; import React from 'react'; import Router from 'react-router'; import routes from './config/routes'; Router.run(routes, function(Handler) { React.render(<Handler />, document.getElementById('app')); });
react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import { translate } from '../../../../base/i18n'; import JitsiScreen from '../../../../base/modal/components/JitsiScreen'; import { connect } from '../../../../base/redux'; import { googleApi } from '../../../../google-api'; import HeaderNavigationButton from '../../../../mobi...