path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/F2/1.4.0/f2.no-easyXDM.js
calebmer/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
src/header/__tests__/NavButton.js
martinezguillaume/react-native-elements
import React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import NavButton from '../NavButton'; describe('NavButton Component', () => { it('should render without issues', () => { const component = shallow(<NavButton />); expect(component.length).toBe(1); expect(to...
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js
shenhzou654321/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import ContactStore from 'stores/ContactStore'; import ContactActionCreators from 'actions/ContactActionCreators'; import AddContactStore from 'stores/AddContactStore'...
bulletin-board-app/src/index.js
MuhammadHafidzMisrudin/reactjs-basics
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Board from './Board'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<Board count={50} />, document.getElementById('react-container')); registerServiceWorker();
ajax/libs/js-data/2.2.0/js-data-debug.min.js
CyrusSUEN/cdnjs
/*! * js-data * @version 2.2.0 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
src/mutations/ChangeTodoCompleteMutation.js
tmbtech/reindex-todo-relay
import Relay from 'react-relay'; export default class ChangeTodoStatusMutation extends Relay.Mutation { getMutation() { return Relay.QL`mutation{ updateTodo }`; } getVariables() { return { id: this.props.id, complete: this.props.complete, }; } getFa...
ajax/libs/yui/3.12.0/event-custom-base/event-custom-base.js
RoryStolzenberg/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mo...
components/Widget/MemberItem/MemberItem.js
kimeva/zerofallgravity
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ImageLoader } from 'components'; import { getImageAlt } from 'helpers/util'; import { MemberContainer, MemberDetails, MemberName, MemberRole, MemberSocialMedia } from '../../Styled/About/Member'; export class MemberItem ex...
app/containers/BulkGenerator/CellParameterInput.js
mhoffman/CatAppBrowser
import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { withStyles } from 'material-ui/styles'; import Grid from 'material-ui/Grid'; import Button from 'material-ui/Button'; import { FormControl } from 'material-ui/Form'; /* import { FormCon...
actor-apps/app-web/src/app/components/modals/AppCacheUpdate.react.js
chieryw/actor-platform
import React from 'react'; import Modal from 'react-modal'; //import pureRender from 'pure-render-decorator'; import { Styles, FlatButton } from 'material-ui'; import AppCacheStore from 'stores/AppCacheStore'; import AppCacheActionCreators from 'actions/AppCacheActionCreators'; import { KeyCodes } from 'constants/Act...
ajax/libs/rxjs/2.3.11/rx.lite.compat.js
neveldo/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/svg-icons/action/label.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLabel = (props) => ( <SvgIcon {...props}> <path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/> </SvgIcon> ); A...
Genesis-Faergen-Theme/js/jquery-1.10.2.min.js
mbernth/Genesis-Faergen
/*! 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.hasOwnPropert...
client/components/Footer.js
carlbernardo/jimini
import React from 'react'; class Footer extends React.Component { render(){ return ( <footer className="footer"> <div className="col-md-12"> <div className="footer-container"> <span className="footer-elements">&copy; Jimini 2016&nbsp;</span> <a href="https://git...
ajax/libs/yui/3.14.1/datatable-body/datatable-body.js
JGallardo/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 = ...
docs/app/Examples/views/Advertisement/Types/AdvertisementExampleMobile.js
shengnian/shengnian-ui-react
import React from 'react' import { Advertisement } from 'shengnian-ui-react' const AdvertisementExampleMobile = () => ( <div> <Advertisement unit='mobile banner' test='Mobile Banner' /> <Advertisement unit='mobile leaderboard' test='Mobile Leaderboard' /> </div> ) export default AdvertisementExampleMobile...
pkg/interface/link/src/js/components/lib/member-element.js
ngzax/urbit
import React, { Component } from 'react'; import { Sigil } from '/components/lib/icons/sigil'; import { uxToHex, cite } from '/lib/util'; export class MemberElement extends Component { onRemove() { const { props } = this; api.groups.remove(props.groupPath, [`~${props.ship}`]); } render() { const { p...
examples/huge-apps/routes/Calendar/components/Calendar.js
nhunzaker/react-router
import React from 'react' class Calendar extends React.Component { render() { const events = [ { id: 0, title: 'essay due' } ] return ( <div> <h2>Calendar</h2> <ul> {events.map(event => ( <li key={event.id}>{event.title}</li> ))} </ul> ...
www/docs/en/quick-start-guide_ubuntu-1404_kilo/5.0-rev2/common/jquery/jquery-1.4.3.min.js
midonet/midonet-docs
/*! * jQuery JavaScript Library v1.4.3 * 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. ...
app/javascript/mastodon/features/account_timeline/index.js
pso2club/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { fetchAccount } from '../../actions/accounts'; import { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/timelines'; import ...
app/components/elements/Link.js
enisey14/platform
import React from 'react'; import links from 'app/utils/Links' import {browserHistory} from 'react-router' import shouldComponentUpdate from 'app/utils/shouldComponentUpdate' export default class Link extends React.Component { static propTypes = { // HTML properties href: React.PropTypes.string, ...
ngiiedu-client/src/components/admin/school/sync/file/MainContainer.js
jinifor/branchtest
import React from 'react'; import { Link } from 'react-router-dom'; import { Step, Stepper, StepLabel } from 'material-ui/Stepper'; import Divider from 'material-ui/Divider'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; import UploadDataContainer from...
src/move-group.js
davidkpiano/react-move
import React from 'react'; import ReactDOM from 'react-dom'; import difference from 'lodash/difference'; import intersection from 'lodash/intersection'; import filter from 'lodash/filter'; import map from 'lodash/map'; import { applyMiddleware, createStore } from 'redux'; import thunk from 'redux-thunk'; import { upda...
node_modules/enzyme/test/ShallowWrapper-spec.js
Asamaha/React-Side-Project-Netflix
import React from 'react'; import { expect } from 'chai'; import { shallow, render, ShallowWrapper } from '../src/'; import sinon from 'sinon'; import { describeIf } from './_helpers'; import { REACT013 } from '../src/version'; describe('shallow', () => { describe('context', () => { const context = { name: 'foo...
ajax/libs/aui/5.2-m6/js/aui-all.min.js
maruilian11/cdnjs
!function(a2,aB){var w,af,o=a2.document,aI=a2.location,d=a2.navigator,bg=a2.jQuery,I=a2.$,am=Array.prototype.push,a4=Array.prototype.slice,aK=Array.prototype.indexOf,z=Object.prototype.toString,V=Object.prototype.hasOwnProperty,aO=String.prototype.trim,bG=function(e,bZ){return new bG.fn.init(e,bZ,w)},bx=/[\-+]?(?:\d*\....
ajax/libs/yui/3.15.0/datatable-core/datatable-core-coverage.js
prosenjit-itobuz/cdnjs
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-core/datatable-core.js']) { __coverage__['build/datatable-core/datatable-...
client/app/components/Settings.Contractors.js
jfanderson/KIM
import React from 'react'; import h from '../helpers.js'; import c from '../services/contractorService.js'; import sign from '../services/sign.js'; import AddContractorForm from './Form.AddContractor.js'; import Cell from './Cell.js'; import Column from './Column.js'; import Table from './Table.js'; class Contractor...
src/components/Markup.js
NuCivic/react-dash
import React, { Component } from 'react'; import Registry from '../utils/Registry'; import BaseComponent from './BaseComponent'; import Card from './Card'; import { isArray } from 'lodash'; export default class Markup extends BaseComponent { getContent() { if (this.props.data && isArray(this.props.data) && this....
ajax/libs/react-redux/4.4.2/react-redux.min.js
keicheng/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("redux")):"function"==typeof define&&define.amd?define(["react","redux"],e):"object"==typeof exports?exports.ReactRedux=e(require("react"),require("redux")):t.ReactRedux=e(t.React,t.Redux)}(this,function(t,e){retu...
maodou/singlePages/client/components/admin/singlePagesConf/config/index.js
maodouio/meteor-react-redux-base
import React, { Component, PropTypes } from 'react'; import Section from '../../../../containers/admin/singlePagesConf/config/section'; import Content from '../../../../containers/admin/singlePagesConf/config/content'; import Iframe from './iframe'; export default class Config extends Component { render () { c...
src/Text/windows/index.js
gabrielbull/react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Margin, { marginPropTypes } from '../../style/margin'; import Padding, { paddingPropTypes } from '../../style/padding'; import Alignment, { alignmentPropTypes } from '../../style/alignment'; import Hidden, { hiddenPropTypes } from '../...
react/features/base/participants/components/ParticipantView.native.js
bgrozev/jitsi-meet
// @flow import React, { Component } from 'react'; import { Text, View } from 'react-native'; import { Avatar } from '../../avatar'; import { translate } from '../../i18n'; import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet'; import { MEDIA_TYPE, VideoTrack } from '../../media'; import { C...
src/platform/apps/team/admin/views/settings/index.js
ccetc/platform
import React from 'react' import Page from 'admin/components/page' import Collection from 'admin/components/collection' import Edit from './edit' import AppToken from '../../components/app_token' class Index extends React.Component { render() { return ( <div className="chrome-body"> <Collection {....
protected/extensions/booster/assets/js/jquery.json.yiigridview.js
adbogomolov/rupor
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id$ */ (function ($) { var selectCheckedRows, methods, gridSet...
ajax/libs/analytics.js/2.8.16/analytics.min.js
iwdmb/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
frontend/web/assets/c64f3b8d/yii.gridView.js
virtualdevelopers/tsa
/** * Yii GridView widget. * * This is the JavaScript widget used by the yii\grid\GridView widget. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ (function ($) { ...
src/common/components/vanilla-modules/heading/index.js
canonical-websites/build.snapcraft.io
import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import styles from '../../../style/vanilla/css/headings.css'; const Heading = (props) => { const H = props.heading; const headingClassnames = { h1: 'p-heading--one', h2: 'p-heading--two', h3: 'p-heading...
components/impressum.js
Yutenko/stories360
import React from 'react' import {Container,Row,Col} from 'react-grid-system' import {deepPurple500,orange500} from 'material-ui/styles/colors' import {translate} from '../client/lang/translation' class Stories360Impressum extends React.Component { render () { return ( <div> Impressum von storis360.org <...
src/FileMessage/__tests__/FileMessage.js
Detaysoft/react-chat-elements
import React, { Component } from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import FileMessage from '../FileMessage'; describe('FileMessage component', () => { it('should render without issues', () => { const component = shallow(<FileMessage />); expect(component.length)...
src/svg-icons/places/beach-access.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesBeachAccess = (props) => ( <SvgIcon {...props}> <path d="M13.127 14.56l1.43-1.43 6.44 6.443L19.57 21zm4.293-5.73l2.86-2.86c-3.95-3.95-10.35-3.96-14.3-.02 3.93-1.3 8.31-.25 11.44 2.88zM5.95 5.98c-3.94 3.95...
ajax/libs/forerunnerdb/1.3.578/fdb-core+views.min.js
viskin/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...
js/jqwidgets/demos/react/app/scheduler/rowheight/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxScheduler from '../../../jqwidgets-react/react_jqxscheduler.js'; class App extends React.Component { componentDidMount () { // gets scrollbable height. let scrollHeight = this.refs.myScheduler.scrollHeight(); // scroll ...
src/components/Quote/Quote.js
divyanshu013/impulse-tabs
import React from 'react'; class Quote extends React.Component { constructor() { super(); this.state = { quote: 'Hey guys!' }; } componentDidMount() { const url = 'https://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en'; this.fetchQuote(url); } fetchQuote(url) { ...
ajax/libs/babel-core/5.6.7/browser-polyfill.min.js
tholu/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/client/components/mainMenu/index.js
dwperrin/hapi-react-resumable-upload
import React from 'react' import { Link } from 'react-router' import styles from './styles.scss' const MainMenu = () => { return ( <div> <Link to={`/signage`}>Signage</Link> <br /> </div> ) } export default MainMenu
frontend/src/components/eois/cells/eoiStatusWithIconsCell.js
unicef/un-partner-portal
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import EoiStatusCell from './eoiStatusCell'; import TooltipIcon from '../../common/tooltipIcon'; import PinIcon from '../../common/pinIcon'; const styleSheet = theme => ({ pinnedIcon: { fill: theme....
node_modules/react-icons/fa/viadeo.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaViadeo = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.9 24.7q0 4.8-3.2 8.3-3.3 3.6-8.5 3.6-5.2 0-8.4-3.6-3.3-3.5-3.3-8.3 0-3.3 1.5-6.1t4.2-4.3 6-1.7q2.2 0 4.1 0.7-0.7 1.4-0.9 2.8-1.5-0.6-3.2-0.6-3.7 0-6.2 2.8t-2.6 6.5...
ignite/DevScreens/PluginExamplesScreen.js
mohammadhendy/DriverApp
// Fair Warning: PluginExamples has a good bit of Ignite automation in editing. // Though robust, if you should modify this file, review your changes with us // As to not break the automated addition/subtractions. import React from 'react' import { View, ScrollView, Text, TouchableOpacity, Image } from 'react-native' ...
js/lessons/lesson3/InputBar.js
leftstick/react-lesson
'use strict'; import React from 'react'; class InputBar extends React.Component { constructor(props) { super(props); } render() { return ( <div> <input type='text' /> <button> ADD </button> </div> ...
docs/src/pages/components/use-media-query/ThemeHelper.js
lgollut/material-ui
import React from 'react'; import { createMuiTheme, ThemeProvider, useTheme } from '@material-ui/core/styles'; import useMediaQuery from '@material-ui/core/useMediaQuery'; function MyComponent() { const theme = useTheme(); const matches = useMediaQuery(theme.breakpoints.up('sm')); return <span>{`theme.breakpoin...
classic/src/scenes/mailboxes/src/Scenes/SettingsScene/Accounts/Sections/MailboxSettingsSection/MailboxLinkSettings/MailboxLinkRulesetDialogContent.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import { accountStore, accountActions } from 'stores/account' import { settingsStore } from 'stores/settings' import shallowCompare from 'react-addons-shallow-compare' import MailboxReducer from 'shared/AltStores/Account/MailboxReducers/MailboxReducer' import...
ajax/libs/primereact/7.0.0-rc.1/dialog/dialog.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { UniqueComponentId, DomHandler, ZIndexUtils, Ripple, classNames, ObjectUtils, CSSTransition, Portal } from 'primereact/core'; function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < l...
ajax/libs/forerunnerdb/1.3.455/fdb-core+views.js
honestree/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/svg-icons/hardware/tablet-android.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareTabletAndroid = (props) => ( <SvgIcon {...props}> <path d="M18 0H6C4.34 0 3 1.34 3 3v18c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V3c0-1.66-1.34-3-3-3zm-4 22h-4v-1h4v1zm5.25-3H4.75V3h14.5v16z"/> </SvgIcon...
test/e2e/getserversideprops/app/pages/catchall/[...path].js
azukaru/next.js
import React from 'react' import Link from 'next/link' import { useRouter } from 'next/router' export async function getServerSideProps({ params }) { return { props: { world: 'world', params: params || {}, time: new Date().getTime(), random: Math.random(), }, } } export default ({ ...
lib/yuilib/3.7.3/build/datatable-core/datatable-core-coverage.js
ed-bassett/moodle
/* YUI 3.7.3 (build 5687) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!...
packages/material-ui-icons/src/SportsGolfTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 14c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm2-7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 2c.55 0 1 .45 1 ...
src/components/notFound.js
ataylorme/hazels-heritage-frontend
import React from 'react'; class NotFound extends React.Component { render() { return ( <div id="four-oh-four"> <h1>404 - Not Found!</h1> </div> ) } } export default NotFound
app/bower_components/modernizr/test/js/lib/jquery-1.7b2.js
thesifter/fillumz
/*! * jQuery JavaScript Library v1.7b2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/shared/views/demos/Vibrate/Vibrate.js
in-depth/indepth-demo
import React from 'react' import { Button } from 'react-toolbox/lib/button' import styles from './Vibrate.css' import { Icon } from '../../../components' const handleVibrate = e => { e.preventDefault() window.navigator.vibrate([100, 10, 200, 10, 400, 10, 800, 10, 1600, 10, 3200, 10, 1600, 10, 800, 10, 400, 10, 200...
ajax/libs/react-native-web/0.17.2/exports/LayoutAnimation/index.min.js
cdnjs/cdnjs
import LayoutAnimation from"../../vendor/react-native/LayoutAnimation";export default LayoutAnimation;
client/modules/core/routes.js
open-dash/open-dash
import React from 'react'; import { mount } from 'react-mounter'; import MainLayout from './containers/main_layout'; import LoginLayout from './containers/login_layout'; import Login from './components/login'; import Dashboard from './components/dashboard'; import NotFound from './components/not_found'; export default...
app/javascript/mastodon/components/intersection_observer_article.js
ashfurrow/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import scheduleIdleTask from '../features/ui/util/schedule_idle_task'; import getRectFromEntry from '../features/ui/util/get_rect_from_entry'; // Diff these props in the "unrendered" state const updateOnPropsForUnrendered = ['id', 'index', 'listLength', 'c...
client/app/scripts/components/search.js
alban/scope
import React from 'react'; import { connect } from 'react-redux'; import classnames from 'classnames'; import { debounce } from 'lodash'; import { blurSearch, doSearch, focusSearch, pinSearch, toggleHelp } from '../actions/app-actions'; import { searchMatchCountByTopologySelector } from '../selectors/search'; import {...
src/ButtonInput.js
collinwu/react-bootstrap
import React from 'react'; import Button from './Button'; import FormGroup from './FormGroup'; import InputBase from './InputBase'; import childrenValueValidation from './utils/childrenValueInputValidation'; class ButtonInput extends InputBase { renderFormGroup(children) { let {bsStyle, value, ...other} = this.p...
app/javascript/mastodon/components/attachment_list.js
MastodonCloud/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; const filename = url => url.split('/').pop().split('#')[0].split('?')[0]; export default class AttachmentList extends Immutabl...
packages/material-ui-icons/src/LocalHotelTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><circle cx="7" cy="11" r="1" opacity=".3" /><path d="M19 9h-6v6h8v-4c0-1.1-.9-2-2-2z" opacity=".3" /><path d="M4 11c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3...
app/javascript/mastodon/features/notifications/components/clear_column_button.js
mhffdq/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; export default class ClearColumnButton extends React.PureComponent { static propTypes = { onClick: PropTypes.func.isRequired, }; render () { return ( <button className='text-btn column-he...
src/components/not-found.js
nicholaswyoung/react-boilerplate
import React from 'react'; export default function NotFound() { return ( <h1>Not Found</h1> ); }
src/desktop/apps/collect/client.js
mzikherman/force
import { buildClientApp } from "reaction/Artsy/Router/client" import { data as sd } from "sharify" import { routes } from "reaction/Apps/Collect/routes" import mediator from "desktop/lib/mediator.coffee" import React from "react" import ReactDOM from "react-dom" import qs from "querystring" import { clone, isArray } fr...
node_modules/react-bootstrap/es/ButtonToolbar.js
soniacq/LearningReact
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 ...
ajax/libs/ui-router-extras/0.0.11-pre2/ct-ui-router-extras.min.js
bootcdn/cdnjs
/*! ui-router-extras - v0.0.11-pre2 - 2014-11-03 */!function(a,b,c){function d(a,b){var c=[];for(var d in a.path){if(a.path[d]!==b.path[d])break;c.push(a.path[d])}return c}function e(a){if(Object.keys)return Object.keys(a);var c=[];return b.forEach(a,function(a,b){c.push(b)}),c}function f(a,b){if(Array.prototype.indexO...
client/src/components/feedbackScreen.js
TeamAusDigital/apec-connect
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import AppBarMain from '../components/AppBarMain'; import Paper from 'material-ui/Paper'; import StarRating from '../components/starRating'; import RaisedButton from 'material-ui/RaisedButton'; import {indigo,white,red} from './apecConnectThe...
fields/types/email/EmailField.js
pswoodworth/keystone
import Field from '../Field'; import React from 'react'; import { FormInput } from 'elemental'; /* TODO: - gravatar - validate email address */ module.exports = Field.create({ displayName: 'EmailField', renderField () { return ( <FormInput name={this.props.path} ref="focusTarget" value={this.pr...
app/components/DateTimePicker/index.js
aditigoel23/React-Car-App
import React from 'react'; import ReactDatePicker from 'react-datepicker'; import moment from 'moment'; import '!!style-loader!css-loader!../../../node_modules/react-datepicker/dist/react-datepicker.min.css'; import '!!style-loader!css-loader!./DatePicker.css'; import Label from '../Label/index'; import TimePicker fro...
components/TodoItem.js
pmdarrow/react-todo
import React from 'react'; export default class extends React.Component { state = { editing: false, }; handleEditClick() { this.setState({ editing: true }); } handleValueChange(event) { this.props.onEdit(this.props.id, event.target.value, this.props.completed); } handleValueBlur() { th...
20161216/cnode/index.ios.js
fengnovo/react-native
// import React from 'react'; // import { AppRegistry } from 'react-native'; // import Root from './app/app.js'; // AppRegistry.registerComponent('cnode', ()=>Root); require('./app/main');
static/js/extern/jquery/jquery.js
racker/rackspace-monitoring-gui
/*! * jQuery JavaScript Library v1.8.1 * 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 Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time) */ (function(...
src/components/App.js
jhabdas/react-native-webpack-starter-kit
import React, { Component, PropTypes } from 'react' import { Platform, StyleSheet, Text, View, } from 'react-native' function App({ instructions, }) { return ( <View style={styles.container}> <Text style={styles.welcome}> Welcome to React Native! </Text> <Text style={styles.i...
lavalab/html/node_modules/react-bootstrap/es/DropdownToggle.js
LavaLabUSC/usclavalab.org
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 ...
definitions/npm/react-css-modules_v3.x.x/flow_v0.53.x-/test_react-css-modules-v3.js
echenley/flow-typed
// @flow import React, { Component } from 'react'; import CSSModules from 'react-css-modules'; const styles = { test: '123' }; class ExampleModule extends Component<{ foo: string, styles: typeof styles, }> { render() { return <div className={this.props.styles}>{this.props.foo}</div>; } } const ExampleCS...
App/Views/Language/index.js
BelinChung/react-native-hiapp
import React from 'react' import config from '@Config' import styles from '@Styles' import t, { getCurrentLanguage, setCurrentLanguage } from '@Localize' import HeaderButton from '@Components/HeaderButton' import ListTitle from '@Components/ListTitle' import { View, StyleSheet, Alert } from 'react-native' impo...
src/main/js/element/ConsoleSelect.js
MannanM/corporate-game-share
import React, { Component } from 'react'; import { FormControl } from 'react-bootstrap'; import { GetConsoles } from '../Client'; class ConsoleSelect extends Component { componentDidMount() { GetConsoles().then((result) => { this.setState({ consoles: result.data }); }); } render() { let options...
src/components/Footer/Footer.js
kevtastic/conversation-simulation
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import s from './Footer.scss'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; @withStyles(s) class Footer extends Component { render() { return ( <div clas...
tests/lib/rules/indent.js
mlarcher/eslint
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @author Gyandeep Singh * @copyright 2014 Dmitriy Shekhovtsov. All rights reserved. * @copyright 2015 Gyandeep Singh. All rights reserved. */ "use strict"; //----------------------------------------------------...
karma.conf.js
Kos/rtable
// Karma configuration // Generated on Fri Jan 01 2016 21:13:30 GMT+0100 (CET) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
ajax/libs/core-js/0.9.13/library.js
vetruvet/cdnjs
/** * Core.js 0.9.13 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
lavalab/html/node_modules/react-bootstrap/es/ToggleButton.js
LavaLabUSC/usclavalab.org
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 ...
test/DropdownButtonSpec.js
BespokeInsights/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import DropdownButton from '../src/DropdownButton'; import DropdownMenu from '../src/DropdownMenu'; import MenuItem from '../src/MenuItem'; import { shouldWarn } from './helpers'; describe('DropdownButton', function() { const simpleD...
ajax/libs/yui/3.10.3/event-focus/event-focus.js
Amomo/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/svg-icons/notification/event-note.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationEventNote = (props) => ( <SvgIcon {...props}> <path d="M17 10H7v2h10v-2zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-5-5H7v...
indico/modules/events/editing/client/js/management/editable_type/review_conditions/context.js
indico/indico
// This file is part of Indico. // Copyright (C) 2002 - 2022 CERN // // Indico is free software; you can redistribute it and/or // modify it under the terms of the MIT License; see the // LICENSE file for more details. import React from 'react'; const ReviewConditionsContext = React.createContext(null); export defaul...
frontend/src/index.js
jjasonclark/GLAD-to-JAM-on-Docker
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter as Router } from 'react-router-dom' import App from './pages'; import createStore from './store'; import registerServiceWorker from './registerServiceWorker'; import { Provider } from 'react-redux'; import { currentUserFetch } from './d...
node_modules/react-bootstrap/es/NavDropdown.js
saltypaul/SnipTodo
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import _extends from...
ajax/libs/webshim/1.15.0-RC2/dev/shims/moxie/js/moxie-swf.js
HealthIndicators/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 ...
__tests__/components/Animate-test.js
nickjvm/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import Animate from '../../src/js/components/Animate'; import Paragraph from '../../src/js/components/Paragraph'; // needed because this: // https://github.com/facebook/jest/iss...
src/components/FileEditor/FileEditor.react.js
6congyao/CGB-Dashboard
/* * Copyright (c) 2016-present, Parse, LLC * All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. */ import hasAncestor from 'lib/hasAncestor'; import Parse from 'parse'; import React from 'react'; import styles from 'compo...
ajax/libs/styled-components/3.4.8/styled-components.cjs.min.js
extend1994/cdnjs
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var hyphenate=_interopDefault(require("fbjs/lib/hyphenateStyleName")),React=require("react"),React__default=_interopDefault(React),Stylis=_interopDefault(require("styli...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
SmithTM90/SmithTM90.github.io
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
node_modules/material-ui/svg-icons/editor/format-color-text.js
taforyou/testtesttest-yo
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...