path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/react-transition-group/2.2.1/react-transition-group.js
wout/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
src/components/MomentPage/MomentPage.js
ggdiam/storia
import React, { Component } from 'react'; import styles from './MomentPage.css'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; import dataClient from '../../core/DataClient'; import cachedDataClient from '../../core/CachedD...
src/frontend/components/forms/GCToggleField.js
Bernie-2016/ground-control
import React from 'react'; import {Toggle} from 'material-ui'; import {BernieText, BernieColors} from '../styles/bernie-css' export default class GCToggleField extends React.Component { styles = { label: { ...BernieText.inputLabel }, selectedButton: { color: BernieColors.lightBlue, back...
samples/startbootstrap-freelancer-gh-pages/vendor/jquery/jquery.min.js
newphew92/newphew92.github.io
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,fu...
companion-m/src/scenes/MainScreen.js
lbkchen/magic-m
import React from 'react'; import { StyleSheet, Text, View, TextInput } from 'react-native'; import { Actions } from 'react-native-router-flux'; import MapView from 'react-native-maps'; import Button from '../common/Button'; import Input from '../common/Input'; import { marginTop } from '../styles/layout'; import colo...
src/components/AllAlert.js
BinaryCool/LaceShop
import React from 'react';
docs/app/Examples/collections/Grid/Variations/GridExampleTextAlignmentCenter.js
aabustamante/Semantic-UI-React
import React from 'react' import { Grid, Menu } from 'semantic-ui-react' const GridExampleTextAlignmentCenter = () => ( <Grid textAlign='center' columns={3}> <Grid.Row> <Grid.Column> <Menu fluid vertical> <Menu.Item className='header'>Cats</Menu.Item> </Menu> </Grid.Column> ...
src/svg-icons/content/flag.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentFlag = (props) => ( <SvgIcon {...props}> <path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/> </SvgIcon> ); ContentFlag = pure(ContentFlag); ContentFlag.displayName = 'ContentFlag'; export default Content...
src/svg-icons/content/undo.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentUndo = (props) => ( <SvgIcon {...props}> <path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/> </Svg...
wp-content/themes/starkers-master/cinema/js/jquery-1.9.0.min.js
epicallan/wp_cinema
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
src/components/side-menu.js
bokuweb/tomato_pasta
import React, { Component } from 'react'; import BookmarkSlider from './bookmark-slider'; import KeywordInput from './keyword-input'; import KeywordList from './keyword-list'; export default class SideMenu extends Component { constructor(props) { super(props); } onSliderChanged() { this.props.clearFeeds...
02-simple-contacts/src/components/ContactItem.js
posquit0/react-tutorial
import React from 'react'; import './ContactItem.css' const CONTACT_IMAGE_DEFAULT = 'http://bcdcog.com/wp-content/uploads/2016/05/profile-default-02.png'; const ContactItem = (props) => { const img = props.contact.img || CONTACT_IMAGE_DEFAULT; return ( <li className="contact-item"> <img className="con...
src/server/render.js
vacuumlabs/todolist
import DocumentTitle from 'react-document-title'; import Html from './html'; import Promise from 'bluebird'; import React from 'react'; import Router from 'react-router'; import config from './config'; import initialState from './initialstate'; import routes from '../client/routes'; import {state} from '../client/state...
source/components/DynamicForm/DynamicForm.js
ViZhe/my-test-react-redux
import React from 'react' // import React, {PropTypes} from 'react' import {reduxForm} from 'redux-form' import DynamicFieldAuto from './DynamicFieldAuto' const DynamicForm = ({fields, groupsList, fieldsList, handleSubmit, submitButtonText}) => { const optionGroups = groupsList .filter(group => groupsList.ind...
node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js
wguaraca/webrtc_hack
(function(e,t){function n(e){var t=e.length,n=ut.type(e);return ut.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Nt[e]={};return ut.each(e.match(ct)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ut.acceptData(e)){var o,a,s=ut.expan...
ajax/libs/react-native-web/0.11.6/vendor/react-native/SwipeableFlatList/index.js
cdnjs/cdnjs
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule SwipeableFlatList * * @format */ 'use strict'; function _objectSpread(target) { for (var i = 1; i < arguments.leng...
blueprints/dumb/files/__test__/components/__name__.spec.js
vasekric/regrinder
import React from 'react' import <%= pascalEntityName %> from 'components/<%= pascalEntityName %>/<%= pascalEntityName %>' describe('(Component) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
packages/@lyra/server/src/browser/entry-dev.js
VegaPublish/vega-studio
// eslint-disable-next-line import/no-unassigned-import import 'symbol-observable' import React from 'react' import ReactDOM from 'react-dom' import Root from 'part:@lyra/base/lyra-root' import {AppContainer} from 'react-hot-loader' function render(RootComponent) { ReactDOM.render( <AppContainer> <RootComp...
node_modules/antd/es/transfer/list.js
ZSMingNB/react-news
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possib...
.eslintrc.js
metabrainz/acousticbrainz-server
module.exports = { env: { browser: true, es6: true, }, extends: [ "plugin:react/recommended", "airbnb", "prettier", "prettier/@typescript-eslint", "prettier/react", ], globals: { Atomics: "readonly", SharedArrayBuffer: "readonly", JSX: true, "$": true }, parser:...
docs/layoutsExample/Home.js
Bandwidth/shared-components
import React from 'react'; import { H1, P, Spacing, Code, Link } from '@bandwidth/shared-components'; export default () => ( <Spacing> <H1>Bandwidth Layouts</H1> <P> You've found the documentation for Bandwidth's React layout library. Use the navigation above to get started. </P> <P> ...
ajax/libs/yui/3.9.0pr3/event-custom-base/event-custom-base-coverage.js
tholu/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...
src/components/RealStructure/landing.js
DawnOfHammers/TrendR
import React from 'react'; import { Link } from 'react-router'; import Card from 'material-ui/Card'; import Background from '../background.js'; export default class Landing extends React.Component{ render(){ const temp = { position: "fixed", height: "50px", width: "50px", left: "50%", top: "50%", b...
app/views/components/item-column/placeholder-cards.js
whitebird08/sprintly-kanban
import _ from 'lodash'; import React from 'react'; import OwnerAvatar from '../item-card/owner'; // Flux import HeaderActions from '../../../actions/header-actions' import HeaderStore from '../../../stores/header-store' const CURRENT_COL_STATUS = 'in-progress'; var PlaceholderCards = React.createClass({ propTypes...
app/components/shared/labelledFormComponent.spec.js
fotinakis/buildkite-frontend
/* global describe, it, expect */ import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-dom/test-utils'; import labelled from './labelledFormComponent'; describe('labelledFormComponent', () => { it('renders DOM element children as expected', () => { const LabelledFormComponen...
frontend-dev/src/containers/Error/Error.js
akeating14/data-viz
import React from 'react'; class Error extends React.Component { render() { return ( <h2>Not Found!111!!</h2> ) } } export default Error;
react_demo/app/root.js
Zhang-xiaohui/react-demo
import React from 'react' import ReactDom from 'react-dom' import {Router, Route, browserHistory} from 'react-router' import IndexComponent from "./components/index/index.js" import DetailComponent from "./components/detail/index.js" import ListComponent from "./components/list/list.js" import {createStore} from 'redux...
server/sonar-web/src/main/js/apps/settings/licenses/__tests__/LicensesList-test.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
old/js/jquery.js
hkjpotato/mywebsite
/*! 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...
src/Components/Navbar/navbar.js
SilverDFlame/bearded-dog
import React from 'react' class Navbar extends React.Component { render () { return ( <nav> <div className="common-flex-grid-thirds"> <a className='common-flex-block' href="#">Link 1</a> <a className='common-flex-block' href="#">Link 2</a> <a className='common-flex-bl...
example/src/HelloWorld.js
GertjanReynaert/react-intl-translations-manager
import React, { Component } from 'react'; import { intlShape, defineMessages } from 'react-intl'; const t = defineMessages({ helloWorld: { id: 'hello_world', description: 'A greeting to the world', defaultMessage: 'Hello {name}' }, name: { id: 'hello_name', description: 'Name input field plac...
src/routes/EntityPage/components/RelationEntityGroup.js
SurfaceW/connectify_client
import React from 'react' import { List, ListItem } from 'material-ui/List' import _ from 'lodash' const RelationEntityGroup = (relatedEntities, gotoEntity) => ( <List> {_.map(relatedEntities, (entity, key) => { return ( <ListItem key={key} primaryText={entity.name} on...
src/templates/blog-post.js
talentedunicorn/talentedunicorn.github.io
require('prismjs/themes/prism.css') import React from 'react' import Link from 'gatsby-link' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import Heading from '../components/heading' import Content from '../components/content' import Navigation from '../components/navigation' import styled from ...
ajax/libs/react-instantsearch/5.0.0/Connectors.js
cdnjs/cdnjs
/*! ReactInstantSearch 5.0.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : ...
examples/TextFieldWrapper.js
yayoc/react-textfield
import React from 'react'; import ReactTextField from '../src/components/ReactTextField'; function TextFieldWrapper(props) { return ( <div> { props.label && <label>{props.label}</label> } <ReactTextField {...props} /> </div> ); } TextFieldWrapper.propTypes = { lab...
ajax/libs/angular-ui-select/0.14.2/select.js
holtkamp/cdnjs
/*! * ui-select * http://github.com/angular-ui/ui-select * Version: 0.14.1 - 2016-01-27T22:27:00.452Z * License: MIT */ (function () { "use strict"; var KEY = { TAB: 9, ENTER: 13, ESC: 27, SPACE: 32, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, SHIFT: 16, CTRL: 17, ALT: 18,...
src/pages/blog.js
ianjsikes/ianjsikes.github.io
import React from 'react' import { Link, graphql } from 'gatsby' import styled from 'styled-components' import PostPreview from '../components/post-preview' const Container = styled.div` margin: 3rem auto; max-width: 800px; ` const PageTitle = styled.h2` color: black; font-family: 'Fira Code'; text-decorat...
pages/sass.js
grand-crew/grand-crew.github.io
import React from 'react' import './example.scss' export default class Sass extends React.Component { render () { return ( <div> <h1 className="the-sass-class" > Hi sassy friends </h1> <div className="sass-nav-example"> <h2>Nav example</h2> ...
cloud-disk/src/main/webapp/assets/js/sea/modules/jquery/1.7.2/jquery-debug.js
allanfish/facetime-demo
define('#jquery/1.7.2/jquery-debug', [], function(require) { /*! * 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 Do...
docs/src/pages/components/slider/SimpleSlider.js
allanalexandre/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Typography from '@material-ui/core/Typography'; import Slider from '@material-ui/lab/Slider'; const styles = { root: { width: 300, }, slider: { padding: '22px 0px', }, }; class ...
src/svg-icons/social/notifications.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialNotifications = (props) => ( <SvgIcon {...props}> <path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 ...
ajax/libs/react-bootstrap/0.23.5/react-bootstrap.js
vetruvet/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["ReactBootstrap"] = ...
ajax/libs/react-bootstrap-table/4.0.0/react-bootstrap-table.js
wout/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
node_modules/react-onsenui/test/progressBar-test.js
epgui/FEECUM-cordova
/* global describe it assert */ import React from 'react'; import ReactDOM from 'react-dom'; import {ProgressBar} from '../dist/react-onsenui.js'; import TestUtils from 'react/lib/ReactTestUtils'; import rendersToComponent from './testUtil.js'; describe('ProgressBar', function() { rendersToComponent( <Progres...
ajax/libs/6to5/2.12.3/browser.js
redmunds/cdnjs
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.to5=t()}}(function(){var e,t,r;return function n(e,t,...
node_modules/react-router/es/IndexRedirect.js
meetdheeraj/NewsAggregator
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import Redirect from './Redirect'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes, string = _React$PropTypes.string, object = _React$PropTypes.object; /** * An <IndexRedir...
app/viewControllers/components/SplitSpread.js
Evyy/cffs-ui
'use strict'; import React from 'react'; import classnames from 'classnames'; import Spread from './Spread'; import SpreadHeading from './SpreadHeading'; class SplitSpread extends React.Component { constructor (props) { super(props); } static defaultProps = { imageRight: false, f...
ajax/libs/forerunnerdb/1.3.464/fdb-legacy.js
cdnjs/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...
source/examples/ListItem.js
thomaswright/bayst
import React from 'react' import { ListItem, Box } from '../collator' /**___________________________________________________________________________*/ /** You have available in this comp an icon or image, the primary text, the secondary text, and an arrow to the right */ const example_basic_ListItem = ( <ListItem ...
packages/material-ui-icons/src/VerifiedUser.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z" /></g> , 'VerifiedUser');
fields/types/geopoint/GeoPointFilter.js
giovanniRodighiero/cms
import React from 'react'; import { FormField, FormInput, Grid, SegmentedControl, } from '../../../admin/client/App/elemental'; const DISTANCE_OPTIONS = [ { label: 'Max distance (km)', value: 'max' }, { label: 'Min distance (km)', value: 'min' }, ]; function getDefaultValue () { return { lat: undefined, l...
src/app/components/resourses/planet/Calculator.js
mazahell/eve-react-app
import React from 'react' import {connect} from 'react-redux' import Helper from './../../../helpers' import {changePriceTypeOutput, changePriceTypeInput, changeCycle} from '../../../actions/planetActions' // components import SystemOutput from './../planet/SystemOutput' import SystemInput from './../planet/SystemInput...
boilerplate/app/shared/components/full-button/full-button.js
ruddell/ignite-jhipster
import React from 'react' import PropTypes from 'prop-types' import { TouchableOpacity, Text } from 'react-native' import styles from './full-button.styles' export default class FullButton extends React.Component { static propTypes = { text: PropTypes.string, onPress: PropTypes.func, styles: PropTypes.ob...
admin/templates/src/components/ui/search.js
TangMonk/tuols
import React from 'react' import ReactDOM from 'react-dom' import styles from './search.less' import { Input, Select, Button, Icon } from 'antd' class Search extends React.Component { state = { clearVisible: false, selectValue: (this.props.select && this.props.selectProps) ? this.props.selectProps.defaultVal...
ajax/libs/react-dom/0.14.7/react-dom.js
BenjaminVanRyseghem/cdnjs
/** * ReactDOM v0.14.7 * * Copyright 2013-2015, 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....
website/templates/template-doc-layout.js
Pop-Code/keystone
import React from 'react'; require('../css/prism-coy.css'); require('../css/styles.css'); require('typeface-roboto'); import Page from './template-doc-page'; import Navbar from '../components/Navbar'; export default class DocumentLayout extends React.Component { constructor (props) { super(props); } getNavItem...
my-web-app/static/jquery-timepicker/test/resources/jquery/jquery-1.8.3.min.js
Whiplash777/MyWork
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
src/svg-icons/hardware/phone-iphone.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwarePhoneIphone = (props) => ( <SvgIcon {...props}> <path d="M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1...
node_modules/react-select/src/utils/defaultMenuRenderer.js
maty21/statistisc
import classNames from 'classnames'; import React from 'react'; function menuRenderer ({ focusedOption, instancePrefix, labelKey, onFocus, onSelect, optionClassName, optionComponent, optionRenderer, options, valueArray, valueKey, onOptionRef }) { let Option = optionComponent; return options.map((option,...
ajax/libs/yui/3.17.2/datatable-core/datatable-core-debug.js
kristoferjoseph/cdnjs
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
app/containers/DevTools.js
yangshun/linguist
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q" defaultIsVisible={fal...
node_modules/react-icons/md/account-balance.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdAccountBalance = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m19.1 1.6l15.9 8.4v3.4h-31.6v-3.4z m7.5 15h5v11.8h-5v-11.8z m-23.2 20v-5h31.6v5h-31.6z m13.2-20h5v11.8h-5v-11.8z m-10 0h5v11.8h-5v-11.8z"/></g> </Icon> ) ...
fields/types/select/SelectFilter.js
Redmart/keystone
import React from 'react'; import { Checkbox, FormField, SegmentedControl } from 'elemental'; import PopoutList from '../../../admin/client/components/PopoutList'; const TOGGLE_OPTIONS = [ { label: 'Matches', value: false }, { label: 'Does NOT Match', value: true } ]; function getDefaultValue () { return { inver...
ajax/libs/analytics.js/1.3.29/analytics.js
JacquesMarais/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
client/src/Home.js
martchellop/shcode
import React, { Component } from 'react'; import { Row, Jumbotron, Button } from 'react-bootstrap'; import { Link } from 'react-router-dom'; class Home extends Component { render(){ const jumbotron_st = { background: "white", }; const row_st = { marginLeft: 0, marginRight: 0 }; ...
src/pages/index.js
wellguimaraes/wellguimaraes.com
import React from 'react' import { AboutContainer, BrFlag, HeroContainer, IndexRoot, MyQuote } from '../styles/pages/index.styles' import quote from '../assets/quote.svg' import flag from '../assets/brazilian-flag.svg' const IndexPage = () => ( <IndexRoot> <HeroContainer> <MyQuote src={ quote } alt="A pass...
src/loaders/rocket/index.js
n7best/react-ptr
//Icon Madeby Google CC 3.0 import React from 'react'; import rocketSrc from './rocket.svg'; import animalSrc from './chick.svg'; import './style.less'; export default { loaderHeight: 150, loaderLoadingHeight: 150, loaderDefaultIcon: (progress) => { let easeAmt = progress * progress let s...
src/svg-icons/editor/insert-emoticon.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorInsertEmoticon = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm...
src/components/Pages/CashRegister.js
dacostafilipe/react-base
/** * Created by Apart-Filipe on 03/05/16. */ // // Main Imports import React from 'react'; import Constants from '../../Constants'; import classNames from 'classnames'; import BaseComponent from '../../tools/BaseComponent.js'; // // Stores import SupplyStore from '../../stores/SupplyStore'; import RegisterStore ...
src/components/Banner/Banner.js
MarynaHapon/Data-root-react
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Banner.css'; class Banner extends React.Component { render() { return ( <div className={s.root}> <div className={s.banner}> <h1 className={s.bannerTitle}>Створюємо шедeври <br...
ajax/libs/quickblox/1.0.1/quickblox.js
seogi1004/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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports...
ajax/libs/ember-data.js/1.13.7/ember-data.prod.js
samthor/cdnjs
(function() { "use strict"; var ember$lib$main$$default = Ember; var ember$data$lib$system$object$polyfills$$keysFunc = Object.keys || Ember.keys; var ember$data$lib$system$object$polyfills$$create = Object.create || Ember.create; var ember$data$lib$adapters$errors$$EmberError = Ember.Error; va...
app/javascript/mastodon/components/column_back_button_slim.js
hyuki0000/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; export default class ColumnBackButtonSlim extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; handleClick = () => { if (window.history && window.history.length ==...
src/assets/scripts/containers/Detail.js
curlybracesco/pablo
import React, { Component } from 'react'; import ReactMarkdown from 'react-markdown'; import Highlight from 'react-highlight'; import Frame from './../components/Frame'; const __INITIAL_STATE__ = window.__INITIAL_STATE__; export default class Detail extends Component { getSection(params, data) { return params....
src/components/Header.js
maloun96/react-admin
import React from 'react'; import {render} from 'react-dom'; class Header extends React.Component { render () { return ( <div> <header className="main-header"> <a href="public/index2.html" className="logo"> <span className="logo-mini"><b>A</b>LT</span> <span className="logo-lg"><...
src/components/dashboard/EchartsViews/index.js
SmiletoSUN/react-redux-demo
import React from 'react'; import ReactEcharts from 'echarts-for-react'; const xAxisData = []; const data = []; for (let i = 0; i < 50; i++) { xAxisData.push(i); data.push(Math.ceil((Math.cos(i / 5) * (i / 5) + i / 6) * 5) + 10); } const option = { title: { text: '最近50天每天项目完成情况', left: 'center', tex...
jenkins-design-language/src/js/components/material-ui/svg-icons/action/info-outline.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionInfoOutline = (props) => ( <SvgIcon {...props}> <path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/> </SvgIcon> ); Acti...
app/public/bower_components/html5-boilerplate/js/vendor/jquery-1.10.2.min.js
alefort/getcrafty
/*! 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...
ajax/libs/maple.js/1.2.3/maple.min.js
redmunds/cdnjs
!function t(e,r,n){function o(a,u){if(!r[a]){if(!e[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};e[a][0].call(c.exports,function(t){var r=e[a][1][t];return o(r?r:t)},c,c.ex...
src/sub-grid/index.js
pixelass/schachtel
import React, {PropTypes} from 'react' import classNames from 'classnames' import styles from './style.css' /** * A subgrid simply takes kae of the gutters * and opens a new `flexbox` wrapper * @param {Object} [props] options * @param {String} [props.el='div'] element to render as subgrid. * @param {String} [...
client/Contests/components/ProblemNavigator.js
rystecher/senior-design
import React from 'react'; import { fetchSolvedArrays } from '../ContestActions'; import './problemnavigator.css'; export default class ProblemNavigator extends React.Component { constructor(props) { super(props); this.state = { solvedArray: [] }; } componentDidMount() { if (this....
node/client/src/views/Page/Page.js
joseph-bakke/hack4cause
import React from 'react'; import axios from 'axios'; import _ from 'lodash'; import Layout from '../Shared/Layout'; import Graph from '../Shared/Graph'; import ButtonSelectorMenu from '../Shared/ButtonSelectorMenu'; const eugeneOverviewEndpoint = 'http://localhost:3001/eugeneData'; const ignoreFields = ['index', 'ren...
ajax/libs/primereact/6.5.1/skeleton/skeleton.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames } from 'primereact/core'; 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 < pr...
src/svg-icons/action/event-seat.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEventSeat = (props) => ( <SvgIcon {...props}> <path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"/> </SvgIcon> ); ActionEventSeat = pure(ActionEventSe...
native/base.js
joe-sky/nornj-react
import njr from '../lib/core'; import nj, { registerComponent } from 'nornj'; import bindTemplate from '../lib/bindTemplate'; import '../lib/extension/debounce'; import React from 'react'; import { AccessibilityInfo, ActivityIndicator, ART, Button, DatePickerIOS, DrawerLayoutAndroid, FlatList, Image, ...
public/assets/application-c94c3e83508f076d7d2d9629249fd755.js
foneandrew/nonogram-rails
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=it.type(e);return"functi...
packages/insomnia-app/app/ui/components/keydown-binder.js
Atvaark/insomnia
// @flow import * as React from 'react'; import ReactDOM from 'react-dom'; import autobind from 'autobind-decorator'; import { isMac } from '../../common/constants'; type Props = { children: React.Node, onKeydown?: Function, onKeyup?: Function, disabled?: boolean, scoped?: boolean, stopMetaPropagation?: bo...
components/analytics/iot-analytics/org.wso2.carbon.device.mgt.cdmf.analytics/src/main/resources/carbonapps/GadgetFilteredBy_1.0.0/filtered-by/js/jquery.js
DimalChandrasiri/carbon-device-mgt-plugins
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
js/results-list.js
HipsterBrown/resource-finder-firefox
import React from 'react'; import ResultClass from './result-item'; let D = React.DOM; let Type = React.PropTypes; let Result = React.createFactory(ResultClass); export default React.createClass({ displayName: "ResultsList", propTypes: { results: Type.array.isRequired, title: Type.string }, getDefau...
client/src/TitleBar.js
jghibiki/Doc
import React from 'react'; import PropTypes from 'prop-types'; // Material referances import { withStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import IconButton from '@ma...
src/components/fields/BooleanField.js
shrimpliu/shradmin
import React from 'react'; import get from 'lodash/get'; import PropTypes from 'prop-types'; import { Icon } from 'antd'; const BooleanField = ({ source, record = {}, elStyle, format }) => { const value = format(get(record, source), record); return <Icon style={elStyle} type={!!value ? "check" : "close"} />; }; B...
ajax/libs/mobx/2.1.3/mobx.js
Amomo/cdnjs
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; registerGlobals(); exports._ = { quickDiff: quickDiff, ...
tests/react_modules/es6class-proptypes-module.js
mroch/flow
/* @flow */ import React from 'react'; import type {Node} from 'react'; class Hello extends React.Component<{name: string}> { defaultProps: {...} = {}; propTypes: { name: React$PropType$Primitive$Required<string> } = { name: React.PropTypes.string.isRequired, }; render(): Node { return <div>{this.prop...
src/svg-icons/file/attachment.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileAttachment = (props) => ( <SvgIcon {...props}> <path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-....
ajax/libs/oojs-ui/0.2.4/oojs-ui.js
Amomo/cdnjs
/*! * OOjs UI v0.2.4 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2014 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2014-12-02T18:45:19Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and stati...
www/src/views/Marketing.js
naemono/bootstrap-carousel-react
import React from 'react' class Marketing extends React.Component { render() { return ( <div id='marketing'> <div className="row"> <div className="col-lg-4"> <img className="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAAL...
src/components/antd/switch/index.js
hyd378008136/olymComponents
import React from 'react'; import PropTypes from 'prop-types'; import RcSwitch from 'rc-switch'; import classNames from 'classnames'; export default class Switch extends React.Component { render() { const { prefixCls, size, className = '' } = this.props; const classes = classNames(className, { ...
src/Component/test.js
narqo/react-islands
/* eslint-env mocha */ import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import Component from './'; describe('Component', () => { describe('wrap()', () => { it('wraps every top-level child that is not a Component with a wrapper', () => { class TestCom...
app/pages/Splash.js
zhanghaj00/shop-reactnative
/** * ShopReactNative * * @author Tony Wong * @date 2016-08-13 * @email 908601756@qq.com * @copyright Copyright © 2016 EleTeam * @license The MIT License (MIT) */ 'use strict'; import React, { Component } from 'react'; import { Dimensions, Image, InteractionManager, View } from 'react-native';...
ajax/libs/video.js/5.0.0-rc.42/video.js
jdh8/cdnjs
/** * @license * Video.js 5.0.0-rc.42 <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...