target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
ajax/libs/6to5/3.0.0/browser.js
amoyeh/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...
app/containers/HomePage/index.js
huahuaxiong/console
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import Helmet from 'react-helmet'; import messages from './messages'; import { createStructuredSelector } from 'reselect'...
packages/my-joy-instances/src/containers/instances/snapshots.js
geek/joyent-portal
import React from 'react'; import forceArray from 'force-array'; import { connect } from 'react-redux'; import { stopSubmit, startSubmit, change, reset } from 'redux-form'; import { compose, graphql } from 'react-apollo'; import { Margin } from 'styled-components-spacing'; import find from 'lodash.find'; import reverse...
ajax/libs/yui/3.8.0/datatable-body/datatable-body-coverage.js
CrossEye/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
ajax/libs/primereact/7.2.1/gmap/gmap.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[...
src/ButtonToolbar.js
glenjamin/react-bootstrap
import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { createBootstrapComponent } from './ThemeProvider'; class ButtonToolbar extends React.Component { static propTypes = { /** * @default 'btn-toolbar' */ bsPrefix: PropTypes.string, /** ...
ajax/libs/yasqe/1.3.0/yasqe.min.js
jonathantneal/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.YASQE=e()}}(function(){var e;return function t(e,i,r){function n(s,a){if(!i[s]){if(!...
ajax/libs/mobx/3.1.9/mobx.min.js
hare1039/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ "use strict";function e(e){return function(t,n,r){return r&&"function"==typeof r.value?(r.value=P(e,r.value),r.enumerable=!1,r.configurable=!0,r):Gt(e).apply(this,arguments)}}function t(e,t,n){var r="string"==typeof e?e:e.name||"<unnamed action>",o="function...
fields/types/date/DateColumn.js
danielmahon/keystone
import React from 'react'; import moment from 'moment'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var DateColumn = React.createClass({ displayName: 'DateColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.obj...
packages/wix-style-react/src/Avatar/test/Avatar.spec.js
wix/wix-style-react
import React from 'react'; import Avatar from '..'; import { createRendererWithUniDriver } from '../../../test/utils/unit'; import { avatarUniDriverFactory } from '../Avatar.uni.driver'; import PhotoCamera from 'wix-ui-icons-common/PhotoCamera'; describe('Avatar', () => { const createDriver = createRendererWithUniDr...
src/svg-icons/hardware/laptop-mac.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareLaptopMac = (props) => ( <SvgIcon {...props}> <path d="M20 18c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2H0c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2h-4zM4 5h16v11H4V5zm8 14c-.55 0...
app/components/utility/CallToAction.js
phillydorn/CAProject2
import React from 'react'; import { eventAnalytics } from '../../utils/analytics'; const CallToAction = () => { const subscribeActions = () => { const dataObj = { event: true, category: '', action: '', pageTitle: window.location.pathname, subStatus: '', }; eventAnalytics(dat...
node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
tausifmuzaffar/bisApp
/** * 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,...
docs/src/CodeExample.js
mcraiganthony/react-bootstrap
import React from 'react'; export default class CodeExample extends React.Component { render() { return ( <pre className="cm-s-solarized cm-s-light"> <code> {this.props.codeText} </code> </pre> ); } componentDidMount() { if (CodeMirror === undefined) { ret...
public/js/vendor/jquery-1.9.1.min.js
mPastuszko/cojaplace
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
mine-data/src/Form/FormInput.js
BerlingskeMedia/nyhedsbreve
import React from 'react'; import PropTypes from 'prop-types'; import { FormGroup, Input, Label } from 'reactstrap'; import './Form.scss'; export const FormInput = ({name, label = name, type = 'text', value, onChange, pending, required, hint, ...otherProps}) => ( <div className="row justify-content-center"> <di...
src/routes/Election/routes/Media/components/NewsSection/NewsSection.js
imrenagi/rojak-web-frontend
import React from 'react' import News from '../News' import { Item } from 'semantic-ui-react' import Pagination from 'components/Pagination' import PropTypes from 'prop-types' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import * as Actions from './../../actions' class NewsSectio...
app/layout/index.js
12go/ayayo-web
import React from 'react' const styles = { layout: { alignItems: 'stretch', display: 'flex', flexDirection: 'column', height: '100%', justifyContent: 'center', width: '100%', }, header: { fontSize: '24px', padding: '10px', textAlign: 'center', }, } export default React.cre...
src/components/FileUploader/FileUploader.Skeleton.js
carbon-design-system/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { settings } from 'carbon-components'; import SkeletonText from '../SkeletonText'; import ButtonSkeleton fr...
node_modules/react-bootstrap/es/ModalFooter.js
ivanhristov92/bookingCalendar
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/Headset.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Headset = props => <SvgIcon {...props}> <path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h3c1.66 0 3-1.34 3-3v-7c0-4.97-4.03-9-9-9z" /> </SvgIcon>; Hea...
app/javascript/pages/home.js
Vizzuality/forest-atlas-landscape-cms
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; // Components import { Footer } from 'components'; import Wysiwyg from 'components/shared/Wysiwyg'; const Home = ({ site }) => ( <div className="fa-page -homepage"> {site.meta.siteTemplateName !== 'INDIA' && ( ...
src/__test__/custom-compare.spec.js
oklas/react-breadcrumbs-dynamic
import React from 'react' import PropTypes from 'prop-types' import enzyme, { shallow, mount, render } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' import { expect } from 'chai' import { BreadcrumbsProvider, Breadcrumbs, BreadcrumbsItem, } from '../index' enzyme.configure({ adapter: new Adapter(...
ajax/libs/yui/3.9.0pr2/datatable-core/datatable-core-debug.js
ppoffice/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...
js/components/common/card-item-button/cardItemButton.js
justarrived/p2p-client
import React from 'react'; import { CardItem, Body, Button, Text } from 'native-base'; const CardItemButton = ({ onPress, text, disabled }) => <CardItem> <Body> <Button block onPress={() => onPress()} disabled={disabled} > <Text >{text}</Text> </Button> </Bod...
docs/src/pages/component-demos/selection-controls/RadioButtons.js
dsslimshaddy/material-ui
// @flow weak import React, { Component } from 'react'; import Radio from 'material-ui/Radio'; class RadioButtons extends Component { state = { selectedValue: undefined, }; handleChange = event => { this.setState({ selectedValue: event.currentTarget.value }); }; render() { return ( <div>...
src/svg-icons/editor/format-align-right.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatAlignRight = (props) => ( <SvgIcon {...props}> <path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z"/> </SvgIcon> ); EditorFormatAlignRight = pure(EditorFormatAlign...
src/RequestPanel.js
TutorFox/TutorFox
import React from 'react'; export default class RequestPanel extends React.Component { constructor() { super(); this.state = {reqName: "", reqEmail: "", reqPhone: ""}; } componentDidMount() { var that = this; $.ajax({ url: '/users/' + this.props.id, dataType: 'json', success(da...
front/components/index.js
danbanwo/wanderly
import React from 'react'; //import components here: import App from './app'; import Destination from './destination/destination'; import Profile from './profile/profile'; import Wandermap from './map/map'; import DestinationModal from './modal/destination-modal'; import Login from './user/login'; import Signup from '...
src/components/need/BookingAgent/ResidentSign.js
lethecoa/work-order-pc
import React from 'react'; import {Form, DatePicker, Input, Radio} from 'antd'; import moment from 'moment'; import {config, fun} from '../../../common'; import CarryMaterial from '../../formItme/CarryMaterial/CarryMaterial'; import styles from './ResidentSign.less'; const RadioGroup = Radio.Group; const RangePicker =...
src/components/component_card.js
paschalidi/shopping-cart-reactjs-redux
import React, { Component } from 'react'; import { connect } from 'react-redux'; import * as actions from '../actions'; class CardComponent extends Component { constructor(props) { super(props); this.state = { id: this.props.id, title: this.props.title, image: this.props.image, price...
src/svg-icons/action/pets.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPets = (props) => ( <SvgIcon {...props}> <circle cx="4.5" cy="9.5" r="2.5"/><circle cx="9" cy="5.5" r="2.5"/><circle cx="15" cy="5.5" r="2.5"/><circle cx="19.5" cy="9.5" r="2.5"/><path d="M17.34 14.86c-.8...
lib/jquery/1.7.2/jquery-1.7.2.js
JJediny/hiu.state.gov
/*! * 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. ...
zoho-experiments/app/components/Toggle/index.js
glandre/prototypes
/** * * LocaleToggle * */ import React from 'react'; import PropTypes from 'prop-types'; import Select from './Select'; import ToggleOption from '../ToggleOption'; function Toggle(props) { let content = (<option>--</option>); // If we have items, render them if (props.values) { content = props.values.map(...
client/containers/NewLocation/NewLocation.js
joshjg/explore
import React from 'react'; import { connect } from 'react-redux'; import Paper from 'material-ui/Paper'; import Subheader from 'material-ui/Subheader'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; import S3Uploader from 'react-s3-uploader'; import LinearProgress f...
src/svg-icons/action/report-problem.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionReportProblem = (props) => ( <SvgIcon {...props}> <path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/> </SvgIcon> ); ActionReportProblem = pure(ActionReportProblem); ActionReportProblem.displa...
Checkbox.js
vincee48/react-native-checkbox-field
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { TouchableOpacity, StyleSheet } from 'react-native'; import Styles from './Styles'; export default class Checkbox extends Component { static propTypes = { onSelect: PropTypes.func.isRequired, children: PropTypes.element.isR...
src/routes/dashboard/components/quote.js
terryli1643/thinkmore
import React from 'react' import PropTypes from 'prop-types' import styles from './quote.less' function Quote ({ name, content, title, avatar }) { return ( <div className={styles.quote}> <div className={styles.inner}> {content} </div> <div className={styles.footer}> <div classNa...
packages/material-ui-icons/src/TextFieldsSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z" /> , 'TextFieldsSharp');
src/components/controls/Button/Button.js
5rabbits/portrait
import React from 'react' import PropTypes from 'prop-types' const Button = props => <a href={props.href} className="btn btn-primary"> {props.label} </a> Button.propTypes = { href: PropTypes.string, label: PropTypes.string, } Button.defaultProps = { href: null, label: null, } export default Button
ajax/libs/angular.js/2.0.0-alpha.41/http.js
wout/cdnjs
/*! ***************************************************************************** Copyright (C) Microsoft. All rights reserved. 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.o...
app/javascript/mastodon/components/setting_text.js
riku6460/chikuwagoddon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; export default class SettingText extends React.PureComponent { static propTypes = { settings: ImmutablePropTypes.map.isRequired, settingKey: PropTypes.array.isRequired, label: PropT...
app/components/NavBar/index.js
hamzasurti/tenx-hackday-restart
/** * * NavBar * */ import React from 'react'; import AppBar from 'material-ui/AppBar'; // import styled from 'styled-components'; import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import getMuiTheme from 'material-ui/styles/get...
react/features/overlay/components/AbstractPageReloadOverlay.js
KalinduDN/kalindudn.github.io
/* @flow */ import React, { Component } from 'react'; import { randomInt } from '../../base/util'; import { _reloadNow } from '../actions'; import ReloadButton from './ReloadButton'; declare var AJS: Object; declare var APP: Object; const logger = require('jitsi-meet-logger').getLogger(__filename); /** * Impleme...
demo/components/List.js
felipethome/react-inline-transition-group
import React from 'react'; import Button from './Button'; import Transition from '../../src/Transition'; export default class List extends React.Component { static displayName = 'List' state = { callbackMsg: '', count: 1, }; _handleAdd = () => { this.setState(function (previousState) { retu...
src/svg-icons/action/bookmark-border.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionBookmarkBorder = (props) => ( <SvgIcon {...props}> <path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"/> </SvgIcon> ); ActionBookmarkBorder = pure(ActionBook...
src/views/Comment/CommentActions.js
shengnian/shengnian-ui-react
import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { childrenUtils, customPropTypes, getElementType, getUnhandledProps, META, } from '../../lib' /** * A comment can contain an list of actions a user may perform related to this comment. */ function CommentAction...
ajax/libs/inferno/1.2.1/inferno-compat.js
tholu/cdnjs
/*! * inferno-compat v1.2.1 * (c) 2017 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno-component'), require('inferno')) : typeof define === 'function' && define.amd ? define(['expor...
fields/types/relationship/RelationshipField.js
nickhsine/keystone
import async from 'async'; import Lists from '../../../admin/client/stores/Lists'; import Field from '../Field'; import React from 'react'; import Select from 'react-select'; import xhr from 'xhr'; import { Button, InputGroup } from 'elemental'; function compareValues (current, next) { let currentLength = current ? c...
node_modules/react-icons/fa/crosshairs.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaCrosshairs = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m29.7 22.9h-2.4q-0.6 0-1-0.5t-0.4-1v-2.8q0-0.6 0.4-1t1-0.5h2.4q-0.7-2.4-2.5-4.2t-4.2-2.5v2.5q0 0.5-0.4 1t-1 0.4h-2.9q-0.6 0-1-0.4t-0.4-1v-2.5q-2.4 0.7-4.2 2.5t-2.5...
example/src/components/widget/PreferenceCategory.js
JetBridge-io/react-native-obd2
/** * Copyright (c) 2016-present JetBridge, LLC. * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; import React, { Component } from 'react'; import { StyleSheet, Text, View, Touchabl...
src/containers/GameContent/index.js
alimek/scrum-poker-react
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import styles from './styles.css'; import CardPicker from '../CardPicker'; import TaskDetails from '../TaskDetails'; import Players from '../Players'; import AdminPanel from '../AdminPanel'; class GameContent extends...
packages/editor/src/components/Controls/BlockType/BlockType.js
boldr/boldr
/* eslint-disable react/no-unused-prop-types */ /* @flow */ import React from 'react'; import type { Node } from 'react'; import { RichUtils } from 'draft-js'; // $FlowIssue import type { EditorState } from 'draft-js'; import { getSelectedBlocksType } from '../../../utils'; import BlockTypeLayout from './BlockTypeLay...
src/constants/SlateSchema.js
LucasYuNju/leanote-desktop-ng
import { BLOCKS, INLINES, TABLE_ALIGN, MARKS, CONTAINERS, VOID } from 'markup-it'; import React from 'react'; const schema = { nodes: { // Inlines [INLINES.LINK]: props => <a href={props.node.data.get('href')} {...props.attributes}>{props.children}</a>, [INLINES.IMAGE]: props => <img src={props.node.data...
docs/app/routes.js
jamiehill/stardust
import React from 'react' import { Route, IndexRedirect } from 'react-router' import Root from './Components/Root' import Layout from './Components/Layout' import ComponentDoc from './Components/ComponentDoc/ComponentDoc' import PageNotFound from './Views/PageNotFound' import Introduction from './Views/Introduction' ...
ajax/libs/redux-form/5.1.3/redux-form.js
kiwi89/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...
test/SplitButtonSpec.js
albertojacini/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import SplitButton from '../src/SplitButton'; import MenuItem from '../src/MenuItem'; import Button from '../src/Button'; describe('SplitButton', () => { const simple = ( <SplitButton title='Title' id='test-id'> <MenuItem>Ite...
examples/InputCheckbox.js
jsbranco/react-materialize
import React from 'react'; import Input from '../src/Input'; import Row from '../src/Row'; export default <Row> <Input name='group1' type='checkbox' value='red' label='Red' /> <Input name='group1' type='checkbox' value='yellow' label='Yellow' defaultValue='checked' /> <Input name='group1' type='checkbox' v...
actor-apps/app-web/src/app/components/common/Favicon.react.js
hejunbinlan/actor-platform
import React from 'react'; export default class Fav extends React.Component { static propTypes = { path: React.PropTypes.string } constructor(props) { super(props); //// Create link element and it's attributes //let favicon = document.createElement('link'); //let rel = document.createAttrib...
app/javascript/mastodon/features/community_timeline/index.js
3846masa/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../ui/components/column'; import { refreshTimeline, updateTimeline, deleteFromTimelines, connectTimeline, disconne...
demo/grid/grid.js
eferte/react-mdl-1
import React from 'react'; import Grid, { Cell } from '../../src/Grid'; class Demo extends React.Component { render() { return ( <div style={{width: '80%', margin: 'auto'}}> <Grid className="demo-grid-ruler"> <Cell col={1}>1</Cell> <Cell ...
app/containers/LanguageProvider/index.js
hieubq90/react-boilerplate-3.4.0
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'...
examples/async/src/components/Picker.js
roth1002/redux
import React from 'react' import PropTypes from 'prop-types' const Picker = ({ value, onChange, options }) => ( <span> <h1>{value}</h1> <select onChange={e => onChange(e.target.value)} value={value}> {options.map(option => <option value={option} key={option}> {option} ...
Examples/UIExplorer/UIExplorerIntegrationTests/js/AsyncStorageTest.js
yutail/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. */ 'use strict...
src/Label.js
jontewks/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Label = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'label', bsStyle: 'default' }; }, render() { let classes = this.getBsClassSe...
src/pages/pinko.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Pinko' /> )
ajax/libs/react-dom/18.0.0-alpha-cb11155c8-20211112/cjs/react-dom-server.browser.production.min.js
cdnjs/cdnjs
/** @license React vundefined * react-dom-server.browser.production.min.js * * 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. */ 'use strict';var k=require("object-assign"),aa=require("...
ajax/libs/yui/3.13.0/scrollview-base/scrollview-base-coverage.js
jtushar53/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/scrollview-base/scrollview-base.js']) { __coverage__['build/scrollview-base/scrollview-base.js'] = {"path":"build/scrollview-base/scrollview-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":...
src/components/App.js
jahin07/Course-Description
import React from 'react'; import Header from './Header'; import ContestList from './ContestList'; import Contest from './Contest'; import * as api from '../api'; const pushState = (obj, url) => window.history.pushState(obj, '', url); const onPopState = handler => { window.onpopstate = handler; }; class App exte...
stories/examples/ProgressMax.js
reactstrap/reactstrap
import React from 'react'; import { Progress } from 'reactstrap'; const Example = (props) => { return ( <div> <div className="text-center">1 of 5</div> <Progress value="1" max="5" /> <div className="text-center">50 of 135</div> <Progress value={50} max="135" /> <div className="text-...
src/components/TextInputCSSModules/TextInputCSSModules.js
emanualjade/react-jade
import React from 'react'; import PropTypes from 'prop-types'; import Label from '../Label'; import styles from './textInput.css'; /** Text input with integrated label to enforce consistency in layout, error display, label placement, and required field marker. */ function TextInput({htmlId, name, label, type = "text",...
client/providers/AuthorizationProvider.js
subesokun/Rocket.Chat
import React from 'react'; import { Meteor } from 'meteor/meteor'; import { hasPermission, hasAtLeastOnePermission, hasAllPermission, } from '../../app/authorization/client/hasPermission'; import { AuthorizationContext } from '../contexts/AuthorizationContext'; import { hasRole } from '../../app/authorization/clien...
cockpit/cockpit-greetings-plugin/rollup.config.js
camunda/camunda-bpm-examples
import babel from "@rollup/plugin-babel"; import resolve from "@rollup/plugin-node-resolve"; import commonjs from "@rollup/plugin-commonjs"; import replace from "@rollup/plugin-replace"; export default { input: "src/plugin.js", output: { file: "dist/plugin.js" }, plugins: [ resolve(), babel({ ...
frontend/src/components/FileUpload.js
Pseudonick47/sherlock
/* eslint camelcase: 0, no-underscore-dangle: 0 */ import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { blue500, red500, greenA200 } from 'material-ui/styles/colors'; import ContentAdd from 'material-ui/svg-icons/content/add'; import FloatingActionBut...
fixtures/packaging/systemjs-builder/dev/input.js
TheBlasfem/react
import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( React.createElement('h1', null, 'Hello World!'), document.getElementById('container') );
files/rxjs/2.4.4/rx.compat.js
shumes/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...
showroom/app.js
andreisoare/react-toolkit
import React from 'react'; import ReactDOM from 'react-dom'; import Greeting from '../components'; ReactDOM.render( <Greeting name='World'/>, document.getElementById('react-toolkit-showroom') );
TabbedArea.js
jsdir/react-bootstrap-npm
/** @jsx React.DOM */ var React = require('react'); var BootstrapMixin = require('./BootstrapMixin'); var cloneWithProps = require('./utils/cloneWithProps'); var ValidComponentChildren = require('./utils/ValidComponentChildren'); var Nav = require('./Nav'); var NavItem = require('./NavItem'); function getDefaultActiv...
ajax/libs/material-ui/4.9.5/List/ListContext.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); /** * @ignore - internal component. */ var ListContext = React.cre...
packages/carbon-react/src/components/Layer/Layer.stories.js
carbon-design-system/carbon-components
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import './Layer-story.scss'; import React from 'react'; import { Layer } from '../Layer'; import mdx from './Layer.mdx'; export default { ...
jqwidgets/jqwidgets-react/react_jqxdropdownlist.js
UCF/IKM-APIM
/* jQWidgets v5.6.0 (2018-Feb) Copyright (c) 2011-2017 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxDropDownList extends React.Component { componentDidMount() { let options = this.m...
test/TabsSpec.js
mmarcant/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ReactDOM from 'react-dom'; import Nav from '../src/Nav'; import NavItem from '../src/NavItem'; import Tab from '../src/Tab'; import TabPane from '../src/TabPane'; import Tabs from '../src/Tabs'; import ValidComponentChildren from ...
src/components/Player/components/Modal/components/StreamLAN.js
jaruba/PowderPlayer
import React from 'react'; import { clipboard, shell } from 'electron'; import { app } from 'remote'; import ModalActions from '../actions'; import ModalStore from '../store'; import PlayerStore from '../../../store'; import player from '../../../utils/player'; import QRCode from 'rc-qrcode'; import ip fro...
ajax/libs/zeroclipboard/2.1.4/ZeroClipboard.js
NamPNQ/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.1.4 */ (function(window, undefined) { "use strict";...
src/containers/HomePage.js
hanndbn/appDemo
import React from 'react'; import Header from '../components/Header/Header'; import Banner from '../components/Banner/Banner'; import NewFeeds from '../components/NewFeeds/NewFeeds'; import CustomerComment from '../components/CustomerComment/CustomerComment'; import Products from '../components/Products/Products'; impo...
app/javascript/mastodon/features/report/components/option.js
cobodo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Check from 'mastodon/components/check'; export default class Option extends React.PureComponent { static propTypes = { name: PropTypes.string.isRequired, value: PropTypes.string.isRequired, checked...
wp-content/themes/node_modules/gulp-imagemin/node_modules/image-min/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/map-key/node_modules/underscore.string/test/test_underscore/vendor/jquery.js
jmfurlott/wordpress-sass-gulp-timber-starter
/*! * 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. ...
ajax/libs/extjs/3.4.1-1/ext-all.js
iamJoeTaylor/cdnjs
/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
packages/mineral-ui-icons/src/IconSettingsRemote.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 IconSettingsRemote(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...ico...
blueocean-material-icons/src/js/components/svg-icons/hardware/headset-mic.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const HardwareHeadsetMic = (props) => ( <SvgIcon {...props}> <path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"/> </SvgIcon> ); HardwareHeadsetMic...
node_modules/react-icons/go/cloud-upload.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const GoCloudUpload = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 15l-7.5 7.5h5v12.5h5v-12.5h5l-7.5-7.5z m12.5-2.5c-0.3 0-0.7 0.1-1 0.1-1.9-4.5-6.3-7.6-11.5-7.6-5.2 0-9.6 3.1-11.5 7.6-0.3 0-0.7-0.1-1-0.1-4.1 0-7.5 3.4-7.5 7....
ajax/libs/yui/3.15.0/event-custom-base/event-custom-base.js
aashish24/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
ajax/libs/forerunnerdb/1.3.590/fdb-core+views.min.js
froala/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...
ftplugin/javascript/jshint/node_modules/react-tools/src/browser/eventPlugins/__tests__/AnalyticsEventPlugin-test.js
myappleguy/jshint.vim
/** * 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 applicable law or agree...
components/TitleSection/Author.js
cobbweb/golittle.red
import React from 'react'; function Author({ children }) { return <span className="Author">{children}</span>; } export default Author;
test/specs/modules/Popup/Popup-test.js
clemensw/stardust
import _ from 'lodash' import React from 'react' import Popup from 'src/modules/Popup/Popup' import PopupHeader from 'src/modules/Popup/PopupHeader' import PopupContent from 'src/modules/Popup/PopupContent' import Portal from 'src/addons/Portal/Portal' import { keyboardKey } from 'src/lib' import { domEvent, sandbox ...
misc/jquery.js
wild-iris/d7md
/*! * 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....
ajax/libs/react-popper/0.6.7/react-popper.js
jdh8/cdnjs
/*! * React Popper 0.6.7 * https://github.com/souporserious/react-popper * Copyright (c) 2017 React Popper Authors */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("prop-types")); else ...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/react-bootstrap/0.31.0/es/NavbarBrand.js
Akkuma/npm-cache-benchmark
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/component/Hello.js
eye1985/react-redux-starter
import React from 'react'; const Hello = (props) => ( <div className="container"> {props.children} </div> ); export default Hello;