path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/cyclejs-core/0.5.2/cycle.js
wil93/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
filiperibeiro77/polisClientAdmin
/* * Copyright 2012-present, Polis Technology 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 for non-commercial use can be found in the PATENTS file * in the sam...
src/svg-icons/communication/stay-primary-landscape.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationStayPrimaryLandscape = (props) => ( <SvgIcon {...props}> <path d="M1.01 7L1 17c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2zM19 7v10H5V7h14z"/> </SvgIcon> ); Communicat...
apps/shared/ClosedDate.js
AusDTO/dto-digitalmarketplace-frontend
import React from 'react' import format from 'date-fns/format' import isBefore from 'date-fns/is_before' import parse from 'date-fns/parse' import differenceInSeconds from 'date-fns/difference_in_seconds' const ClosedDate = props => { let final = 'Closed' if (props.date) { const parsed = props.isNewClosingTim...
local-cli/templates/HelloNavigation/views/chat/ChatListScreen.js
gilesvangruisen/react-native
'use strict'; import React, { Component } from 'react'; import { ActivityIndicator, Image, ListView, Platform, StyleSheet, View, } from 'react-native'; import ListItem from '../../components/ListItem'; import Backend from '../../lib/Backend'; export default class ChatListScreen extends Component { stat...
test/unit/client/header/components/landing-page-header.js
jmeas/finance-app
import React from 'react'; import {Link} from 'react-router'; import {shallow} from 'enzyme'; import LandingPageHeader from '../../../../../client/header/components/landing-page-header'; describe('LandingPageHeader', function() { describe('rendering', () => { it('should be a header el with the right class', () =...
static/ueditor/third-party/jquery-1.10.2.min.js
leiminglin/LBlog
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
www/lib/onsenui/js/onsenui.min.js
puku0x/pooks
/*! onsenui v2.0.3 - 2016-10-26 */ window.CustomEvent||!function(){var CustomEvent;CustomEvent=function(event,params){var evt;return params=params||{bubbles:!1,cancelable:!1,detail:void 0},evt=document.createEvent("CustomEvent"),evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail),evt},CustomEvent....
ajax/libs/angular.js/1.1.2/angular-scenario.js
amoyeh/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
src/jsx/components/controls/datesPicker/CalendarTableRow.js
developerJohnBeagan2/DatesPicker
import React from 'react'; import PropTypes from 'prop-types'; import TableCell from './CalendarTableCell'; const CalendarTableRow = ({days, selectDate, currentMonthDate}) => { return ( <tr> {[0,1,2,3,4,5,6].map( i => <TableCell key={i} day={days[i]} selectDate={selectDate} currentMonthDate={curre...
example/src/index.js
ionutmilica/redux-modal-container
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import store from './store'; import App from './app'; ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('root'), );
ajax/libs/yui/3.14.1/event-focus/event-focus-min.js
HealthIndicators/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
toDoList/app/components/common/List.js
joekraken/react-demos
import React from 'react'; export default class List extends React.Component { render() { const ItemType = this.props.itemType; const items = this.props.items || []; const markupItems = this.createItemsMarkup(items, ItemType); return (<ul className="ui-list">{markupItems}</ul>); ...
src/components/PartiesPage/PartiesPage.js
cbellino/roster
import React, { Component } from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './PartiesPage.scss'; import PartyListContainer from '../../containers/PartyListContainer/PartyListContainer'; const PartiesPage = () => ( <div className={s.root}> <PartyListContainer /> </...
docs/src/pages/index.js
react-charts/react-charts
import * as React from 'react' import { Banner } from 'components/Banner' import { Sticky } from 'components/Sticky' import { Nav } from 'components/Nav' import { siteConfig } from 'siteConfig' import Link from 'next/link' import { Footer } from 'components/Footer' import { Seo } from 'components/Seo' import Head from ...
ajax/libs/6to5/1.14.9/browser.js
tjbp/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...
src/parser/priest/holy/modules/talents/45/GuardianAngel.js
fyruna/WoWAnalyzer
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import TalentStatisticBox, { STATISTIC_ORDER } from 'interface/others/TalentStatisticBox'; import React from 'react'; import AbilityTracker from 'parser/shared/modules/AbilityTracker'; import Events from 'parser/core/E...
src/components/slides/Slides.js
santiagoarriaga/slide_viewer
import React from 'react' import { connect } from 'react-redux' import ExternalLink from './ExternalLink' import HomeLink from '../HomeLink' import Next from './Next' import Previous from './Previous' /** * Show the slides of the selected module. */ class Slides extends React.Component { render() { if( thi...
docs/src/app/components/pages/components/GridList/ExampleSimple.js
kittyjumbalaya/material-components-web
import React from 'react'; import {GridList, GridTile} from 'material-ui/GridList'; import IconButton from 'material-ui/IconButton'; import Subheader from 'material-ui/Subheader'; import StarBorder from 'material-ui/svg-icons/toggle/star-border'; const styles = { root: { display: 'flex', flexWrap: 'wrap', ...
src/library/validations/components/Form.js
zdizzle6717/react-redux-arc
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import classNames from 'classnames'; import FormActions from '../actions/FormActions'; const mapStateToProps = (state) => { return { 'forms': state.forms } } c...
docs/src/examples/elements/Button/Variations/ButtonExampleFloated.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Button } from 'semantic-ui-react' const ButtonExampleFloated = () => ( <div> <Button floated='right'>Right Floated</Button> <Button floated='left'>Left Floated</Button> </div> ) export default ButtonExampleFloated
src/routes/app/routes/forms/routes/steppers/components/VerticalNonLinear.js
ahthamrin/kbri-admin2
import React from 'react'; import { Step, Stepper, StepButton, StepContent, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; /** * A basic vertical non-linear implementation */ class VerticalNonLinear extends React.Com...
client/src/javascript/components/icons/File.js
jfurrow/flood
import React from 'react'; import BaseIcon from './BaseIcon'; export default class File extends BaseIcon { render() { return ( <svg className={`icon icon--file ${this.props.className}`} viewBox={this.getViewBox()}> <g style={{transform: 'translate(8px, 0)'}}> <path d="M48.14,19.89V56a3,3...
src/Navbar/__tests__/Navbar.js
Detaysoft/react-chat-elements
import React, { Component } from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import Navbar from '../Navbar'; describe('Navbar component', () => { it('should render without issues', () => { const component = shallow(<Navbar />); expect(component.length).toBe(1); expect(...
src/js/func/Func.js
mtford90/brio
import React from 'react'; import ReactBootstrap, {Accordion, Panel} from 'react-bootstrap'; import FuncDef from './FuncDef'; import FuncDesc from './FuncDesc'; import FuncExample from './FuncExample'; export default class Func extends React.Component { render() { var { name='', def, params, ...
ajax/libs/react-native-web/0.17.4/exports/AppRegistry/renderApplication.js
cdnjs/cdnjs
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /...
client/remove-overlay/index.js
ironmanLee/my_calypso
/** * External dependencies */ var React = require( 'react' ), page = require( 'page' ); /** * Internal dependencies */ var classes = require( 'component-classes' ); // This function can be called directly with no parameters to remove // the overlay. Or, it can be used as a `page` route handler, // or it can be ...
node_modules/react-router/es6/Link.js
hkim53/insta
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
src/components/NotFoundPage/index.js
JohnTasto/housing-frontend
import React from 'react'; export default function NotFoundPage() { return ( <h1> Page not found. </h1> ); }
src/Parser/DeathKnight/Unholy/Modules/Features/VirulentPlagueUptime.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Enemies from 'Parser/Core/Modules/Enemies'; import StatisticBox, { ST...
app/javascript/mastodon/features/follow_requests/components/account_authorize.js
cobodo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from '../../../components/permalink'; import Avatar from '../../../components/avatar'; import DisplayName from '../../../components/display_name'; import IconButton from '../../../...
test/DropdownToggleSpec.js
xsistens/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import DropdownToggle from '../src/DropdownToggle'; describe('DropdownToggle', function() { const simpleToggle = <DropdownToggle open={false} title='herpa derpa' />; it('renders toggle button', function() { const instance = Reac...
consoles/my-joy-instances/src/components/instances/description.js
yldio/joyent-portal
import React from 'react'; import { P as BaseP } from 'joyent-ui-toolkit'; import { Row, Col } from 'joyent-react-styled-flexboxgrid'; import styled from 'styled-components'; const P = styled(BaseP)` font-weight: 200; `; export default ({ href = '', children }) => ( <Row> <Col xs="12" sm="7"> <P> ...
lib/components/compact/CompactColor.js
kazi1010feni/react-color
'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp...
static_files/lib/dynatree/jquery/jquery.js
amschaal/bioshare
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
web/src/components/layout.js
MauriceMahan/FocusOverlay
import React from 'react'; import GithubCorner from 'react-github-corner'; import '../assets/scss/main.scss'; class Template extends React.Component { constructor(props) { super(props); this.state = { loading: 'is-loading' }; } componentDidMount() { this.timeoutId = setTimeout(() => { ...
src/shared/__stories__/ButtonThemeSetting.stories.js
nattatorn-dev/currency-exchange
import React from 'react' import { storiesOf, action } from '@kadira/storybook' import { withKnobs, text, boolean } from '@kadira/storybook-addon-knobs' import ButtonHighlight from '../ButtomHighlight' const buttonStyles = { backgroundColor: '#FFFFFF', border: '1px solid #eee', borderRadius: 3, color: 'red', ...
files/yui/3.15.0/event-custom-base/event-custom-base-debug.js
CTres/jsdelivr
/* 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...
week_07/examples/tree_array_p5js/libraries/p5.sound.js
IDMNYU/DM-GY6063A-Creative-Coding
/*! p5.sound.js v0.2.13 2015-07-17 */ (function (root, factory) { if (typeof define === 'function' && define.amd) define('p5.sound', ['p5'], function (p5) { (factory(p5));}); else if (typeof exports === 'object') factory(require('../p5')); else factory(root['p5']); }(this, function (p5) { /** * p5...
client/node_modules/uu5g03/dist-node/forms-v3/text.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin} from './../common/common.js'; import TextInput from './internal/text-input.js'; import TextInputMixin from './mixins/text-input-mixin.js' import ItemList from './internal/item-list.js'; import Backdrop from './../bricks/backdrop.js'; import './text.les...
ajax/libs/react-data-grid/0.13.35/react-data-grid-with-addons.js
him2him2/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["ReactDataGrid"] = f...
src/main/webapp/static/jquery-validation/1.11.1/lib/jquery-1.8.3.js
yubin1030/jeesite
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
web-frontend/src/link/components.js
croservices/cro
import React from 'react'; var App = props => ( <div> <h3>Service links</h3> {props.linkReducer.errorMsg != null && <div className="alert alert-danger" role="alert"> <pre><code> {props.linkReducer.errorMsg} </code></pre> </div>} {props.linkReducer.l...
examples/Demo.js
MrCheater/text-resize-and-word-wrap-provider
import React from 'react'; const mode = { code : 'code', result : 'result' }; const tabStyle = { display: 'inline-block', width : '50%', boxSizing: 'border-box', padding: '10px', textAlign: 'center', cursor: 'pointer', borderTopLeftRadius: '10px', borderTopRightRadius: '10px', ...
ajax/libs/react-router/0.12.2/ReactRouter.min.js
MenZil/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactRouter=e(require("react")):t.ReactRouter=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].e...
styleguide/sections/Colours.js
scott-riley/loggins
/* eslint react/no-multi-comp:0 */ import React, { Component, findDOMNode } from 'react'; import Section from '../components/Section'; import styles from '../styleguide.css'; import * as t from 'globals/typography.css'; class Swatch extends Component { constructor(props) { super(props); this.onClick = this....
app/javascript/mastodon/features/compose/containers/warning_container.js
pso2club/mastodon
import React from 'react'; import { connect } from 'react-redux'; import Warning from '../components/warning'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { me } from '../../../initial_state'; const APPROX_HASHTAG_RE = /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i; const mapStateT...
src/svg-icons/image/movie-creation.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageMovieCreation = (props) => ( <SvgIcon {...props}> <path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"/> </SvgIcon> ); ImageMovieCreati...
react/private/GlobalFooter/GlobalFooter.js
seekinternational/seek-asia-style-guide
import React, { Component } from 'react'; import styles from './GlobalFooter.less'; import PropTypes from 'prop-types'; import FooterLinks from './components/FooterLinks/FooterLinks'; import UpperFooter from './components/UpperFooter/UpperFooter'; import { Hidden, Text, PageBlock, ListItem, Icon } from 'seek-asia-style...
client/src/New.js
coletiv/fonixchat
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './New.css'; class New extends Component { render() { const { errors, connect, updateRoom, updateUsername, username, room, } = this.props; return ( <form className="new...
fields/types/list/ListColumn.js
Yaska/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; import { plural } from '../../../admin/client/utils/string'; var ListColumn = React.createClass({ displayName: 'ListColumn', propTypes: { col: React.PropTypes.obj...
src/svg-icons/editor/pie-chart.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPieChart = (props) => ( <SvgIcon {...props}> <path d="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"/> </SvgIco...
ajax/libs/yui/3.17.1/datatable-body/datatable-body-debug.js
DinhAnhTu/cdnjs
/* YUI 3.17.1 (build 0eb5a52) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ 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...
src/app/app.js
PinkFLoyd92/softwareII
import React from 'react'; import ReactDOM from 'react-dom'; import injectTapEventPlugin from 'react-tap-event-plugin'; import AppRoutes from './AppRoutes'; import { muiTheme } from '../TabubaTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; injectTapEventPlugin(); const App = () => ( <Mui...
node_modules/semantic-ui-react/dist/es/modules/Dimmer/DimmerDimmable.js
mowbell/clickdelivery-fed-test
import _extends from 'babel-runtime/helpers/extends'; import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import { customPropTypes, getElementType, getUnhandledProps, META, useKeyOnly } from '../../lib'; /** * A dimmable sub-component for Dimmer. */ function DimmerDimmable(pr...
js/vendor/jquery-1.10.2.min.js
christopheradams/freebassel-iscfa
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
docs/app/Examples/elements/Step/Variations/StepExampleStackable.js
ben174/Semantic-UI-React
import React from 'react' import { Step } from 'semantic-ui-react' const StepExampleStackable = () => ( <Step.Group stackable='tablet'> <Step icon='plane' title='Shipping' description='Choose your shipping options' /> <Step active icon='dollar' title='Billing' description='Enter billing information' /> <...
envkey-react/src/containers/requires_connection_container_factory.js
envkey/envkey-app
import React from 'react' import { connect } from 'react-redux' import { getDisconnected } from 'selectors' import DisconnectedOverlay from 'components/shared/disconnected_overlay' export default function(ContainerClass){ const mapStateToProps = (state, ownProps) => ({ ...ownProps, disconnected: getDisconne...
grunt/tasks/npm-react-addons.js
wjb12/react
'use strict'; var assign = require('object-assign'); var fs = require('fs'); var grunt = require('grunt'); var path = require('path'); var addons = { CSSTransitionGroup: { module: 'ReactCSSTransitionGroup', name: 'css-transition-group', }, LinkedStateMixin: { module: 'LinkedStateMixin', name: 'l...
src/components/photography/article-list.js
nickhsine/twreporter-react
import { date2yyyymmdd } from '@twreporter/core/lib/utils/date' import { replaceGCSUrlOrigin } from '@twreporter/core/lib/utils/storage-url-processor' import { formatPostLinkTo, formatPostLinkTarget } from '../../utils/url' import { sourceHanSansTC as fontWeight } from '@twreporter/core/lib/constants/font-weight' impor...
node_modules/react/lib/ReactElementSymbol.js
ishan993/IshanBlogReactRedux
/** * Copyright (c) 2014-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. * * */ 'use strict'; // The Symbol used to tag the ReactElement type. If there is no native Symbol // nor polyfill, then a plain number...
code/web/node_modules/react-router/es6/RouterContext.js
zyxcambridge/RecordExistence
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _extends = Object.assign || function (target) { for (var i = 1; i < argum...
app/javascript/mastodon/components/autosuggest_input.js
gol-cha/mastodon
import React from 'react'; import AutosuggestAccountContainer from '../features/compose/containers/autosuggest_account_container'; import AutosuggestEmoji from './autosuggest_emoji'; import AutosuggestHashtag from './autosuggest_hashtag'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from...
ajax/libs/flocks.js/1.2.0/flocks.min.js
wormful/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function f(a){return"[object Array]"===Object.prototype.toString.call(a)}function k(a){return"undefined"===typeof a}function u(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function c(a,b){if("string"===type...
imports/ui/admin/components/carousel.js
dououFullstack/atomic
import React from 'react'; import {browserHistory} from 'react-router'; import Alert from 'react-s-alert'; import Loading from '/imports/ui/loading'; import Images from '/imports/api/images/collection'; import Form from './carousel_form'; const Carousel = React.createClass({ handleSubmit(values) { const src = $...
src/pages/intro.js
EricPing/react-redux-shopcart
import React from 'react'; import PropTypes from 'prop-types'; import {Link} from 'react-router-dom'; /** * @return {compoment} The main compoment of IntroPage. */ class IntroPage extends React.Component { /** * */ componentDidMount() { } /** * @return {component} */ render(...
app/javascript/mastodon/features/follow_requests/components/account_authorize.js
nonoz/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from '../../../components/permalink'; import Avatar from '../../../components/avatar'; import DisplayName from '../../../components/display_name'; import emojify from '../../../emo...
RN/ImageDemo/NewComponent/Main.js
puyanLiu/LPYFramework
import React, { Component } from 'react'; import { StyleSheet, Text, View, TabBarIOS, NavigatorIOS, } from 'react-native'; // 引入外部文件 var Home = require('./Home'); var Find = require('./Find'); var Message = require('./Message'); var Mine = require('./Mine'); class Main extends Component { con...
node_modules/@material-ui/core/esm/Fab/Fab.js
pcclarke/civ-techs
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; import _extends from "@babel/runtime/helpers/extends"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import ButtonBase from '../ButtonBase'; imp...
modules/samples/capps/Httpd_Log_Analytics/Gadget_Country_Code_1.0.0/Country_Vs_Request/js/jquery.js
Thanu/product-bam
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
example/App.js
thiagoc7/react-animate.css
import React, { Component } from 'react'; import Select from './Select' import List from './List' import Code from './Code' import 'animate.css/animate.css' import style from './styles.css' export default class extends Component { constructor(props) { super(props); this.state = { animationEnter: 'bou...
sites/all/modules/contrib/jquery_update/replace/jquery/1.8/jquery.js
laurentiust/fresh_football
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
client/extensions/woocommerce/woocommerce-services/views/shipping-label/label-purchase-modal/packages-step/item-info.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { localize } from 'i18n-calypso'; /** * Internal dependencies */ import { getSite } from 'state/sites/selectors'; i...
gulpfile.js
modulexcite/react-responsive
'use strict'; var http = require('http'); var path = require('path'); var gulp = require('gulp'); var jshint = require('gulp-jshint'); var sourcemaps = require('gulp-sourcemaps'); var lr = require('gulp-livereload'); var cached = require('gulp-cached'); var deploy = require('gulp-gh-pages'); var merge = require('mer...
sites/all/modules/jquery_update/replace/jquery/1.7/jquery.js
Josejs/texipago
/*! * 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. ...
docs/app/Examples/elements/Reveal/Types/RevealExampleMoveRight.js
shengnian/shengnian-ui-react
import React from 'react' import { Image, Reveal } from 'shengnian-ui-react' const RevealExampleMoveRight = () => ( <Reveal animated='move right'> <Reveal.Content visible> <Image src='/assets/images/wireframe/square-image.png' size='small' /> </Reveal.Content> <Reveal.Content hidden> <Image s...
app/components/clock.js
romankhrystynych/raspitron
// @flow import moment from 'moment'; import React, { Component } from 'react'; import styles from './styles.css'; class Clock extends Component { constructor(props) { super(props); this.state = { time: '' }; } componentWillMount() { this.setTime(); } componentDidMount() { this.lo...
src/index.js
Nodecasts-io/web
import React from 'react' import ReactDOM from 'react-dom' import App from './App' import './index.css' ReactDOM.render( <App />, document.getElementById('root') )
src/client.js
kdama/react-starter-kit-twitter
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 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 'babel-polyfill'; import React from 'react'; import...
src/components/PlayerSearch.js
SamanthaJ/theotherfoot
import React, { Component } from 'react'; import { Typeahead } from 'react-typeahead'; import PlayerStore from '../stores/PlayerStore'; import connectToStores from 'alt/utils/connectToStores'; import PlayerActions from '../actions/PlayerActions'; import SelectedPlayer from './SelectedPlayer'; import TeamActions from '....
node_modules/react-icons/fa/file-audio-o.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaFileAudioO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35.8 8.5q0.6 0.6 1 1.7t0.5 1.9v25.8q0 0.8-0.6 1.5t-1.6 0.6h-30q-0.9 0-1.5-0.6t-0.6-1.5v-35.8q0-0.8 0.6-1.5t1.5-0.6h20q0.9 0 2 0.4t1.7 1.1z m-9.9-5.5v8.4h8.4q-0.3-...
assets/js/jquery.js
jjsarmiento/itecm
/*! jQuery v1.11.1 | (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...
local-cli/templates/HelloWorld/__tests__/index.ios.js
charlesvinette/react-native
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
examples/huge-apps/routes/Course/components/Nav.js
emmenko/react-router
import React from 'react'; import { Link } from 'react-router'; import AnnouncementsRoute from '../routes/Announcements'; import AssignmentsRoute from '../routes/Assignments'; import GradesRoute from '../routes/Grades'; const styles = {}; styles.nav = { borderBottom: '1px solid #aaa' }; styles.link = { display: ...
adressbook/testContact/test-output/jquery-1.7.1.min.js
Vodoroslia/java-test
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
node_modules/react-icons/fa/shield.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaShield = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m29.8 21.4v-14.3h-10v25.4q2.6-1.4 4.7-3 5.3-4.1 5.3-8.1z m4.3-17.1v17.1q0 2-0.8 3.8t-1.8 3.4-2.7 2.8-2.8 2.3-2.7 1.8-2 1.1-0.9 0.4q-0.3 0.1-0.6 0.1t-0.6-0.1q-0.4-0.2-0...
ajax/libs/rxjs/2.2.24/rx.all.compat.js
visualjeff/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 }; v...
ajax/libs/flocks.js/1.5.0/flocks.min.js
gaearon/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function h(a){return"[object Array]"===Object.prototype.toString.call(a)}function l(a){return"undefined"===typeof a}function v(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function b(a,c){if("string"===type...
src/components/chart.js
AdevaS/weather_redux
import React from 'react'; import { Sparklines, SparklinesLine, SparklinesReferenceLine } from 'react-sparklines'; import _ from 'lodash'; function average(data) { return _.round(_.sum(data)/data.length) } export default (props) => { return ( <div> <Sparklines data={props.data} width={180} he...
ajax/libs/video.js/5.0.0-rc.12/video.js
tholu/cdnjs
/** * @license * Video.js 5.0.0-rc.12 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
client/components/detail/index.js
burgessa23/tiff-cv-site
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import Hero from '../hero'; import Nav from '../nav'; import myData from '../../../config/data.json'; import { Link, withRouter } from 'react-router-dom'; import ScrollToTop from 'react-scroll-up'; import { StickyContainer, Sticky } from 'react...
src/components/Svg/Path.js
weaintplastic/react-sketchapp
import React from 'react'; import PropTypes from 'prop-types'; import { pathProps } from './props'; module.exports = class Path extends React.Component { static propTypes = { ...pathProps, d: PropTypes.string.isRequired, }; render() { const { children, ...rest } = this.props; return <svg_path {....
src/containers/card.story.js
francisl/baer
import React from 'react'; import { containerSizeStyles } from '../../stories/config'; import Card from './card'; import Layout from '../layouts/layout'; import Button from '../widgets/button'; import Label from '../widgets/label'; import Input from '../widgets/input'; export default () => ( <div> <h2>Sim...
monkey/monkey_island/cc/ui/src/components/report-components/attack/SelectedTechnique.js
guardicore/monkey
import React from 'react'; import Collapse from '@kunukn/react-collapse'; import AttackReport from '../AttackReport'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faQuestionCircle} from '@fortawesome/free-solid-svg-icons/faQuestionCircle'; import classNames from 'classnames'; class Selecte...
src/svg-icons/communication/rss-feed.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationRssFeed = (props) => ( <SvgIcon {...props}> <circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17...
ajax/libs/angular.js/0.9.18/angular-scenario.js
adobe-webplatform/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/PanelGroup/PanelSlider.js
GetAmbassador/react-ions
import React from 'react' import PropTypes from 'prop-types' import optclass from '../internal/OptClass' import style from './style.scss' class PanelSlider extends React.Component { constructor(props) { super(props) } static propTypes = { /** * The currently active panel */ activePanel: Pr...
src/svg-icons/hardware/scanner.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareScanner = (props) => ( <SvgIcon {...props}> <path d="M19.8 10.7L4.2 5l-.7 1.9L17.6 12H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5.5c0-.8-.5-1.6-1.2-1.8zM7 17H5v-2h2v2zm12 0H9v-2h10v2z"/> </...
packages/react-ui-components/src/SelectBox/index.story.js
grebaldi/PackageFactory.Guevara
import React from 'react'; import {storiesOf, action} from '@storybook/react'; import {withKnobs, text} from '@storybook/addon-knobs'; import {StoryWrapper} from './../_lib/storyUtils'; import SelectBox from '.'; import DropDown from './../DropDown'; const optionsWithoutGroups = [ {value: 'opt1', label: 'Option 1'...
win-client/bin/teamtalk/data/module/js/lib/jquery.min.js
Collin-V/TeamTalk
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...