path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
js/jquery.js
chrislaughlin/christopherlaughlin.co.uk
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
packages/material-ui-icons/src/InsertLink.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39...
webpack/helpers/tableHelper.js
theforeman/foreman_openscap
import React from 'react'; import { Link } from 'react-router-dom'; import { TableText } from '@patternfly/react-table'; export const linkCell = (path, text) => ( <TableText> <Link to={path}>{text}</Link> </TableText> );
website-prototyping-tools/graphiql.js
lucasterra/relay
import 'babel/polyfill'; import 'graphiql/graphiql.css'; import GraphiQL from 'graphiql'; import React from 'react'; window.React = React; import ReactDOM from 'react/lib/ReactDOM'; import evalSchema from './evalSchema'; import queryString from 'query-string'; import {graphql} from 'graphql'; if ( /^https?:\/\/fac...
app/javascript/mastodon/features/ui/components/embed_modal.js
codl/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage, injectIntl } from 'react-intl'; import api from '../../../api'; @injectIntl export default class EmbedModal extends ImmutablePureComponent { static propTypes...
node_modules/react-icons/md/border-outer.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdBorderOuter = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m15 18.4v3.2h-3.4v-3.2h3.4z m6.6 6.6v3.4h-3.2v-3.4h3.2z m10 6.6v-23.2h-23.2v23.2h23.2z m-26.6-26.6h30v30h-30v-30z m23.4 13.4v3.2h-3.4v-3.2h3.4z m-6.8 0v3.2h-3.2v-...
src/components/ImportEpwing.js
rsimmons/immersion-player
import React, { Component } from 'react'; import './ImportEpwing.css'; import SecondaryScreen from './SecondaryScreen.js'; import SystemBrowserLink from './SystemBrowserLink.js'; import Button from './Button.js'; import { importEpwing } from '../dictionary'; const { ipcRenderer } = window.require('electron'); // use...
client/modules/core/components/edit_view/dropzone.js
bompi88/grand-view
import React from 'react'; import Dropzone from 'react-dropzone'; export default class EditRootViewForm extends React.Component { uploadFile(file, load = false) { const { Collections, LocalState, Meteor } = this.props.context(); const { Files } = Collections; let uploadInstance; const nodeId = Loca...
client/node_modules/material-ui/lib/svg-icons/file/cloud.js
jnajdi/canvas_starter_app_local
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var FileCloud = React.createClass({ displayName: 'FileCloud', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M19.35 10.04C18.67 6.59 15.64 4 1...
admin/src/components/ListSort.js
kwangkim/keystone
import { FormNote } from 'elemental'; import classNames from 'classnames'; import React from 'react'; import Popout from './Popout'; import PopoutList from './PopoutList'; import vkey from 'vkey'; import CurrentListStore from '../stores/CurrentListStore'; const Transition = React.addons.CSSTransitionGroup; var ListS...
ajax/libs/forerunnerdb/1.3.591/fdb-core+persist.js
boneskull/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/CollapsibleMixin.js
Cellule/react-bootstrap
import React from 'react'; import TransitionEvents from './utils/TransitionEvents'; const CollapsibleMixin = { propTypes: { defaultExpanded: React.PropTypes.bool, expanded: React.PropTypes.bool }, getInitialState(){ let defaultExpanded = this.props.defaultExpanded != null ? this.props.default...
public/js/signup/signupForm.js
RobertHebel/chatApp
import React from 'react'; import PropTypes from 'prop-types'; import isEmpty from 'lodash/isEmpty'; import validateInput from '../../../server/shared/validations/signup'; import TextFieldGroup from '../common/textFieldGroup'; import {withRouter} from 'react-router-dom'; class signupForm extends React.Component { ...
static/src/js/components/resources/ResourceTypeGit.js
enginyoyen/blackcrystal
import React from 'react'; import LinkedStateMixin from 'react-addons-linked-state-mixin'; import { Input, Tooltip, OverlayTrigger, Glyphicon, Grid, Row, Col } from 'react-bootstrap'; const ResourceTypeGit = React.createClass({ mixins: [LinkedStateMixin], getInitialState: function () { return {reposito...
admin/src/js/jquery-1.11.0.min.js
Phirational/withlove
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
ajax/libs/antd-mobile/0.8.4/antd-mobile.min.js
him2him2/cdnjs
/*! * antd-mobile v0.8.4 * * Copyright 2015-present, Alipay, Inc. * All rights reserved. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?export...
packages/material-ui-icons/lib/esm/BorderRightRounded.js
mbrookes/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2...
src/components/passphrase/passphrase.js
slaweet/lisk-nano
import React from 'react'; import Input from 'react-toolbox/lib/input'; import grid from 'flexboxgrid/dist/flexboxgrid.css'; import styles from './passphrase.css'; import InfoParagraph from '../infoParagraph'; import PassphraseGenerator from './passphraseGenerator'; import PassphraseVerifier from './passphraseVerifier'...
app/javascript/mastodon/features/ui/components/columns_area.js
8796n/mastodon
import React from 'react'; import PropTypes from 'prop-types'; class ColumnsArea extends React.PureComponent { static propTypes = { children: PropTypes.node }; render () { return ( <div className='columns-area'> {this.props.children} </div> ); } } export default ColumnsArea;...
node_modules/webpack-dev-server/client/live.bundle.js
1101-1105/Jellyfish
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r=n(22),o=n(50),i=n(54);n(56),r(function(){function e(){if(l){t.text("App hot update.");try{c[0].con...
docs/output/Ext.flash.Component.js
zendmaniacs/extjs4
Ext.data.JsonP.Ext_flash_Component({"alternateClassNames":["Ext.FlashComponent"],"aliases":{"widget":["flash"]},"enum":null,"parentMixins":["Ext.state.Stateful","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Floating","Ext.util.Observable","Ext.util.Positionable","Ext.util.Renderable"],"tagname":"class","subc...
admin/client/Signin/components/Brand.js
helloworld3q3q/keystone
/** * Renders a logo, defaulting to the Keystone logo if no brand is specified in * the configuration */ import React from 'react'; const Brand = function (props) { // Default to the KeystoneJS logo let logo = { src: `${Keystone.adminPath}/images/logo.png`, width: 205, height: 68 }; if (props.logo) { // If th...
src/views/BootCard/BootCardBlock.js
shengnian/shengnian-ui-react
import React from 'react' import PropTypes from 'prop-types' import cx from 'classnames' import { mapToCssModules } from '../../lib/' const propTypes = { tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]), className: PropTypes.string, cssModule: PropTypes.object, } const defaultProps = { tag: 'div',...
app/server.js
browniefed/redux-blog-example
/* eslint-env node */ import express from 'express'; import cookieParser from 'cookie-parser'; import _ from 'lodash'; import path from 'path'; import fs from 'fs'; import React from 'react'; import { Router } from 'react-router'; import Location from 'react-router/lib/Location'; import { Provider } from 'react-redux';...
templates/js/jquery.js
devthuan/qcv
/*! * jQuery JavaScript Library v1.6.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...
src/routes.js
capusta/simplegolf
// react routes, not to be convused with express routes // import React from 'react'; import { Router, Route } from 'react-router'; import App from './components/App'; import NotFound from './components/NotFound'; import Public from './components/Public'; const Routes = (props) => ( <Router {...props}> <R...
ajax/libs/yui/2.9.0/yuiloader/yuiloader.js
j0k3r/cdnjs
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ /** * The YAHOO object is the single global object used by YUI Library. It * contains utility function for setting up namespaces, inheritance, and * logging. YA...
stability/stability-manual-android-tests/webrunner/jquery-1.10.2.min.js
pk-sam/crosswalk-test-suite
/*! 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...
src/components/Main/index.js
RichardTianke/react-ant-design-demo-blog
import React from 'react'; import {Layout} from 'antd'; import Header from './Header'; import Content from "./Content"; import Footer from "./Footer"; import './Main.css'; class Main extends React.Component { render() { return ( <Layout className="main"> <Header/> ...
js/components/profile/index.js
chris50bn/Between
'use strict'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Image, View, TouchableOpacity, Platform } from 'react-native'; import { replaceRoute } from '../../actions/route'; import { openDrawer } from '../../actions/drawer'; import { Container, Header, Content, Text, Icon...
src/decorators/withViewport.js
obrin/rc
import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height: 768}; // Default size for server-side rendering const RESIZE_EVENT = 'resize'; function ha...
src/components/App.js
chrisfisher/graph-editor
// @flow import React from 'react'; import GraphControls from './GraphControls'; import GraphScene from './GraphScene'; const App = () => ( <div> <GraphControls /> <GraphScene /> </div> ); export default App;
fields/types/email/EmailField.js
qwales1/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...
assets/components/product/search.js
alwayalive/admin-be
import React from 'react' import { Form, Input, Row, Col, Button, DatePicker } from 'antd' const FormItem = Form.Item; export default React.createClass({ render(){ return <Form horizontal className="ant-advanced-search-form"> <Row> <Col sm={6}> <FormItem label="搜索名称" labelCol={{ span: 6 }} wrapper...
packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/RequiredSign/index.js
wistityhq/strapi
import React from 'react'; import styled from 'styled-components'; const Required = styled.span` color: ${({ theme }) => theme.colors.danger700}; padding-left: ${({ theme }) => theme.spaces[1]}px; `; const RequiredSign = () => <Required>*</Required>; export default RequiredSign;
src/ControlLabel/test/ControlLabelStylesSpec.js
suitejs/suite
import React from 'react'; import ReactDOM from 'react-dom'; import ControlLabel from '../index'; import { createTestContainer, getDOMNode, getStyle } from '@test/testUtils'; import '../styles/index'; describe('ControlLabel styles', () => { it('Should render the correct styles', () => { const instanceRef = Reac...
ajax/libs/elfinder/2.1.41/js/i18n/elfinder.nl.js
joeyparrish/cdnjs
/** * Dutch translation * @author Barry vd. Heuvel <barry@fruitcakestudio.nl> * @version 2015-12-01 */ (function(root, factory) { if (typeof define === 'function' && define.amd) { define(['elfinder'], factory); } else if (typeof exports !== 'undefined') { module.exports = factory(require('elfinder')); } else...
app/containers/RegisterPage/index.js
VeloCloud/website-ui
/* * * Register * */ import React from 'react'; import { connect } from 'react-redux'; import styled from 'styled-components'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { createStructuredSelector } from 'reselect'; import UserRegister from 'containers/UserRegister'; i...
doc/html/struct__dwg__object__DIMSTYLE.js
gaganjyot/LibreDWG-API
var struct__dwg__object__DIMSTYLE = [ [ "_64_flag", "struct__dwg__object__DIMSTYLE.html#af0e001328ddbd3def14a0c5946b7ec32", null ], [ "DIMADEC", "struct__dwg__object__DIMSTYLE.html#aa08e6192dfdb3128ab567687b55623a0", null ], [ "DIMALT", "struct__dwg__object__DIMSTYLE.html#acee0c5d4b08b7d29876edff3e1c7a530",...
src/components/app.js
ASH-khan/ReduxMiddleware
import React, { Component } from 'react'; import UserList from './user_list'; export default class App extends Component { render() { return ( <div> <UserList/> </div> ); } }
packages/mui-icons-material/lib/esm/ReportOffOutlined.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M9.1 5h5.8L19 9.1v5.8l-.22.22 1.42 1.41.8-.8V8.27L15.73 3H8.27l-.8.8 1.41 1.42z" }, "0"), /*#__PURE__*/_jsx("circle", { cx: "12", cy: "16", r: "1" }, ...
node_modules 11.32.44 AM/react-router/modules/RouteContext.js
drankadank/client
import React from 'react'; var { object } = React.PropTypes; /** * The RouteContext mixin provides a convenient way for route * components to set the route in context. This is needed for * routes that render elements that want to use the Lifecycle * mixin to prevent transitions. */ var RouteContext = { propTy...
sites/default/files/js/js_8ZfSoLKgnLmBVeqI6YsvCM55SsNv-Ssj5ODZoFemLLo.js
kuntyiblinkreaction/contrib8
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof windo...
packages/reactor-kitchensink/src/examples/PivotGrid/RowStyling/RowStyling.js
dbuhrman/extjs-reactor
import React, { Component } from 'react'; import { PivotGrid } from '@extjs/reactor/modern'; import SaleModel from '../SaleModel'; import { generateData } from '../generateSaleData';
ajax/libs/clappr/0.0.22/clappr.js
tambien/cdnjs
require=(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]...
js/components/developer/create-job-screen/placeCard.js
justarrived/p2p-client
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Grid, Col, Form, Item, Label, Input, Card, CardItem } from 'native-base'; import CardHeader from '../../common/card-header/cardHeader'; import I18n from '../../../i18n'; import { setStreet, setZip, setCity } from '../../../action...
src/chapters/04-porazdelitve-verjetnosti/04-zvezne-porazdelitve/index.js
medja/ovs-prirocnik
import React from 'react'; import { createChapter } from 'components/chapter'; import EnakomernaPorazdelitev from './01-enakomerna-porazdelitev'; import NormalnaPorazdelitev from './02-normalna-porazdelitev'; import EksponentnaPorazdelitev from './03-eksponentna-porazdelitev'; import GamaPorazdelitev from './04-gama-...
src/components/TotalAlbums/index.js
slwen/lastfm-app
'use strict'; require("./style.scss"); import React from 'react'; import numeral from 'numeral'; export default React.createClass({ displayName: 'TotalAlbums', propTypes: { albumsCount: React.PropTypes.string.isRequired, topAlbums: React.PropTypes.array.isRequired }, renderFavs() { return this.p...
test/BadgeSpec.js
yickli/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Badge from '../src/Badge'; describe('Badge', function () { it('Should output a badge with content', function () { let instance = ReactTestUtils.renderIntoDocument( <Badge> <strong>Content</strong> </Badge...
assets/beckend/js/flot/jquery.min.js
LawangSukmaSejati/RegisterPakan
/*! 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===...
app/javascript/mastodon/components/logo.js
im-in-space/mastodon
import React from 'react'; const Logo = () => ( <svg viewBox='0 0 216.4144 232.00976' className='logo'> <use xlinkHref='#mastodon-svg-logo' /> </svg> ); export default Logo;
src/svg-icons/action/toc.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionToc = (props) => ( <SvgIcon {...props}> <path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"/> </SvgIcon> ); ActionToc = pure(ActionToc); ActionToc.displa...
src/index.js
hisarkaya/polinsur
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import reducers from './reducers'; import thunk from 'redux-thunk'; import App from './containers'; const createStoreWithMiddleware = applyMiddleware(thunk)(creat...
packages/material-ui-icons/src/FormatListNumberedOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z" /> , 'FormatListNumberedOutlined');
docs/app/Examples/views/Advertisement/Types/AdvertisementExampleSmallButton.js
aabustamante/Semantic-UI-React
import React from 'react' import { Advertisement } from 'semantic-ui-react' const AdvertisementExampleSmallButton = () => ( <Advertisement unit='small button' test='Small Button' /> ) export default AdvertisementExampleSmallButton
src/rsg-components/Markdown/Table/TableHeadRenderer.js
bluetidepro/react-styleguidist
import React from 'react'; import PropTypes from 'prop-types'; import Styled from 'rsg-components/Styled'; const styles = ({ color }) => ({ thead: { borderBottom: [[1, color.border, 'solid']], }, }); export function TableHeadRenderer({ classes, children }) { return <thead className={classes.thead}>{children}</t...
docs/includes/components/Menus.js
harjeethans/materialistic
import React from 'react'; import {Menu, MenuItem} from 'materialistic'; class Menus extends React.Component { render() { return ( <div style={{width:200}}> <Menu className="foo" label="options"> <MenuItem className="mdl-menu__item">Some Action</MenuItem> <MenuItem className="m...
hyracks/hyracks-control/hyracks-control-cc/src/main/resources/static/javascript/jquery/jquery.min.js
amoudi87/hyracks
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
src/svg-icons/editor/format-color-text.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatColorText = (props) => ( <SvgIcon {...props}> <path fillOpacity=".36" d="M0 20h24v4H0z"/><path d="M11 3L5.5 17h2.25l1.12-3h6.25l1.12 3h2.25L13 3h-2zm-1.38 9L12 5.67 14.38 12H9.62z"/> </SvgIcon> );...
src/components/Header.js
suranartnc/react-tutorial
import React from 'react'; export default function() { return ( <div> Header </div> ); }
src/components/shared/PaginationFooter.js
juandjara/open-crono
import React from 'react' import PropTypes from 'prop-types' import Tooltip from 'react-toolbox/lib/tooltip' import IconButton from 'react-toolbox/lib/button/IconButton' const TooltipIconButton = Tooltip(IconButton); const PaginationFooter = props => { const {params, onPageChange} = props return ( <div style=...
IntegrationTests/AppEventsTest.js
pandiaraj44/react-native
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const ReactNative = require('react-native'); const {NativeAp...
packages/idyll-cli/test/basic-project/src/components/functional-component.js
idyll-lang/idyll
import React from 'react'; export default () => { return <div>Let's put the fun back in functional!</div>; };
src/svg-icons/social/notifications-active.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialNotificationsActive = (props) => ( <SvgIcon {...props}> <path d="M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02...
ajax/libs/zxcvbn/1.0/zxcvbn.min.js
smcguinness/cdnjs
(function(){var e,t,i,n,r,s,o,a,l,c,h,u,d,p,m,f,g,y,v,b,w;h=function(e){var t,i;i=[];for(t in e)i.push(t);return 0===i.length},d=function(e,t){return e.push.apply(e,t)},b=function(e,t){var i,n,r,s,o;for(s=e.split(""),o=[],n=0,r=s.length;r>n;n++)i=s[n],o.push(t[i]||i);return o.join("")},f=function(e){var t,i,n,r;for(i=[...
test/integration/client-navigation/pages/error-inside-browser-page.js
flybayer/next.js
import React from 'react' export default class ErrorInRenderPage extends React.Component { render() { if (typeof window !== 'undefined') { throw new Error('An Expected error occurred') } return <div /> } }
files/yasqe/2.3.6/yasqe.bundled.min.js
vousk/jsdelivr
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
ajax/libs/react-select/0.6.5/react-select.js
tholu/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Select = f()}}...
examples/todomvc/containers/TodoApp.js
josebalius/redux-devtools
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import Header from '../components/Header'; import MainSection from '../components/MainSection'; import * as TodoActions from '../actions/TodoActions'; class TodoApp extends Component { render(...
examples/custom_react/project/static/bower_components/react-bootstrap/lib/OverlayTrigger.js
askerry/pyxley
define(['exports', 'module', 'react', './OverlayMixin', './RootCloseWrapper', './utils/createChainedFunction', './utils/createContextWrapper', './utils/domUtils', './utils/Object.assign'], function (exports, module, _react, _OverlayMixin, _RootCloseWrapper, _utilsCreateChainedFunction, _utilsCreateContextWrapper, _util...
app/javascript/mastodon/components/permalink.js
ikuradon/mastodon
import React from 'react'; import PropTypes from 'prop-types'; export default class Permalink extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; static propTypes = { className: PropTypes.string, href: PropTypes.string.isRequired, to: PropTypes.string.isRequired, ...
src/DropdownButton.js
BespokeInsights/react-bootstrap
import React from 'react'; import BootstrapMixin from './BootstrapMixin'; import Dropdown from './Dropdown'; import NavDropdown from './NavDropdown'; import CustomPropTypes from './utils/CustomPropTypes'; import deprecationWarning from './utils/deprecationWarning'; import omit from 'lodash/object/omit'; class Dropdown...
src/components/Header/Header.js
przeor/ReactC
import React from 'react' import { IndexLink, Link } from 'react-router' import classes from './Header.scss' let loginObj = { user: '', password: '' } const usernameOnChange = (e) => { loginObj.user = e.target.value } const passwordOnChange = (e) => { loginObj.password = e.target.value } co...
ajax/libs/rxjs/3.1.1/rx.lite.extras.compat.js
dmsanchez86/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports...
src/App.js
schwibbes/sitris
import React, { Component } from 'react'; import './App.css'; import * as Keys from './Keys.js' import Block from './Block.js'; import Score from './Score.js'; const COL_COUNT = 8 // width of block container const ROW_COUNT = 4 // maps to keys asdf const PREVIEW_COUNT = ROW_COUNT * 2 // visible next blocks const SLOTS...
app/components/HistoriqueCommandesUtilisateur/components/DetailCommandeContainer.js
Proxiweb/react-boilerplate
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { createStructuredSelector } from 'reselect'; import RefreshIndicator from 'material-ui/RefreshIndicator'; import RaisedButton from 'material-ui/Raised...
docs/src/pages/premium-themes/instapaper/components/atoms/Chip.js
Kagami/material-ui
import React from 'react'; import cx from 'classnames'; import MuiChip from '@material-ui/core/Chip'; import { CHIP } from '../../theme/core'; const Chip = ({ className, inverted, ...props }) => ( <MuiChip className={cx(CHIP.root, className, inverted && CHIP.inverted)} classes={{ label: CHIP.label, ...
index.android.js
LavaLabUSC/waitless-frontend
/** * Load the App component. * (All the fun stuff happens in "/ReactApp/containers/index.js") * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ 'use strict'; import React from 'react' import { AppRegistry } from 'react-native' import AppContainer from './ReactApp/containers/...
pootle/static/js/editor/components/SuggestionValue.js
JohnnyKing94/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import diff from 'utils/diff';...
paraviewweb/src/React/Widgets/SelectionEditorWidget/partition/DividerRender.js
CordyChen/VisMechan
import React from 'react'; import style from 'PVWStyle/ReactWidgets/SelectionEditorWidget.mcss'; import NumberFormatter, { sciNotationRegExp } from '../../../../Common/Misc/NumberFormatter'; import SvgIconWidget from '../../SvgIconWidget'; import Ineq from '../../../../../svg/Operations/Ineq.svg'; import Ineqq from '.....
src/app.js
wind85/waterandboards
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import Route from 'react-router-dom/Route' import Switch from 'react-router-dom/Switch' import { createStore, applyMiddleware, compose } from 'redux' import getMuiTheme from 'material-ui/styles/getMuiTheme' impor...
app/containers/App/index.js
sahilkhan99/PosApp
import React from 'react'; import { Switch, Route, Redirect } from 'react-router-dom'; import Header from 'components/Header'; import Budget from 'routes/Budget'; import Reports from 'routes/Reports'; import POS from 'routes/POS'; import Transaction from 'routes/Transaction'; import './style.scss'; {/*<Header /> ...
client/src/components/Rooms.js
egdbear/simple-chat
import React from 'react'; import { map } from 'lodash'; import Room from './Room'; import { List } from 'material-ui/List'; import './Rooms.css'; export default class Rooms extends React.Component { render() { const { rooms, history} = this.props; const roomsList = map(rooms, r => { return <Room {......
js/account/src/components/Registry/RegistryNone.js
fogfish/oauth2
import React from 'react' import { H5, Button, Intent } from '@blueprintjs/core' const RegistryNone = ({ showRegistrar }) => ( <div> <H5>No OAuth applications in your account...</H5> <p>OAuth applications are used to access REST API.</p> <Button intent={Intent.PRIMARY} onClick={() => showRegistrar(true)}...
examples/huge-apps/routes/Messages/components/Messages.js
axross/react-router
import React from 'react' class Messages extends React.Component { render() { return ( <div> <h2>Messages</h2> </div> ) } } export default Messages
src/routes/RequestPayment/components/PreApproval.js
vijayasankar/ML2.0
import Col from 'react-bootstrap/lib/Col' import ControlLabel from 'react-bootstrap/lib/ControlLabel' import DateTimePickerField from 'components/DateTimePickerField' import FormGroup from 'react-bootstrap/lib/FormGroup' import Moment from 'moment' import React from 'react' import Row from 'react-bootstrap/lib/Row' imp...
ajax/libs/ember-data.js/2.3.0-beta.3/ember-data.js
jdh8/cdnjs
(function(){ "use strict"; /*! * @overview Ember Data * @copyright Copyright 2011-2015 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version v2.3.0-beta.3 */ var define, requireModule, require, requirejs; (fun...
src/v2/components/Cell/components/Konnectable/components/KonnectableMetadata/components/MetadataPlay/index.js
aredotna/ervell
import React from 'react' import styled from 'styled-components' import { space } from 'styled-system' import constants from 'v2/styles/constants' import { preset } from 'v2/styles/functions' import { fractional } from 'v2/styles/mixins' const Container = styled.span` position: relative; display: inline-block; ...
ajax/libs/oojs-ui/0.17.7/oojs-ui-windows.js
AMoo-Miki/cdnjs
/*! * OOjs UI v0.17.7 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2016-08-03T16:38:22Z */ ( function ( OO ) { 'use strict'; /** * An ActionWidget is a {@link OO.ui.ButtonWidget ...
static-src/src/js/AlbumStar.js
chrisbay/library.kdhx.org
import React from 'react'; import {addHeader} from './csrf'; class AlbumStar extends React.Component { constructor(props) { super(props); let parts = window.location.pathname.split('/'); let albumId = props.albumId; let iconClasses = props.starred ? "fa fa-star" : "fa fa-star-o"; this.state = { ...
Table.js
FunctionFoundry/react-partial-table
/* React HTML Tables */ import React, { Component, PropTypes } from 'react'; var styles = require('./Table.css'); // infinite range generator will run as fast as the data access allows. function range(begin, end, interval = 1) { var a = []; for (let i = begin; i < (begin+end); i += interval) { a.push(i); ...
app/modules/publishes/utils/page/createForm.js
theseushu/runcai
import React from 'react'; import _omitBy from 'lodash/omitBy'; import { reduxForm } from 'redux-form'; import { browserHistory } from 'react-router'; import success from 'modules/toastr/success'; import { publishTypesInfo } from 'funong-common/lib/appConstants'; const omitFileds = ['shop', 'original', 'updatedAt', 'o...
lib/utils/plugins.js
reslaurentii/hyper
import {remote} from 'electron'; import {connect as reduxConnect} from 'react-redux'; // patching Module._load // so plugins can `require` them wihtout needing their own version // https://github.com/zeit/hyper/issues/619 import React from 'react'; import ReactDOM from 'react-dom'; import Component from '../component'...
src/svg-icons/content/mail.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentMail = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/> </SvgIcon> ); ContentMail = pure(Conte...
src/components/Common/List/Components/Book/tpl.js
LifeSourceUA/lifesource.ua
/** * [IL] * Library Import */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; /** * [IV] * View Import */ import Mobile from './Views/Mobile/tpl'; import Desktop from './Views/Desktop/tpl'; /** * [IBP] * Pixel Perfect and Breakpoints */ im...
tests/fixtures/apps/fluxible-router/components/Application.js
mridgway/react-server
/** * Copyright 2014, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import React from 'react'; import Nav from './Nav'; import Timestamp from './Timestamp'; import ApplicationStore from '../stores/ApplicationStore'; import {connectToStores, provideContex...
internals/templates/containers/HomePage/index.js
darrellesh/redux-react-boilerplate
/* * HomePage * * This is the first thing users see of our App, at the '/' route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it and remove * the l...
app/routes.js
Raymond-Zhu/music-video-app
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './App'; import ArtistPage from './artist/containers/ArtistPage'; import YoutubePage from './youtube/components/YoutubePage'; import TrackPage from './track/containers/TrackPage'; export default ( <Route path="/" component={...
frontend/app/components/SearchDocumentTypesTemplate/index.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import './SearchDocumentTypesTemplate.css' import IconButton from '@material-ui/core/IconButton' import Clear from '@material-ui/icons/Clear' import Tooltip from '@material-ui/core/Tooltip' import FVLabel from 'components/FVLabel' export const SearchDocumentTypesTemplate = (locals) => { retu...
node_modules/react-icons/io/cube.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoCube = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m34 13.1c0.5 0 1 0.5 1 1v14.3c0 0.7-0.5 1.3-1.1 1.7v0.1l-13.7 7.1v0.1c-0.1 0.1-0.3 0.1-0.4 0.1-0.6 0-1.1-0.5-1.1-0.9v-14.5c0-0.7 0.4-1.3 1.1-1.7l0.2-0.2 13.6-7c0.1-0.1 0...