path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
packages/reactive-dict/package.js
TechplexEngineer/meteor
Package.describe({ summary: "Reactive dictionary", version: '1.1.1-plugins.0' }); Package.onUse(function (api) { api.use(['underscore', 'tracker', 'ejson']); // If we are loading mongo-livedata, let you store ObjectIDs in it. api.use('mongo', {weak: true}); api.export('ReactiveDict'); api.addFiles('react...
frontend/blueprints/dumb/files/__root__/components/__name__/__name__.js
qurben/mopidy-jukebox
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
app/components/Vesting/PowerDownDestinationPrompt.js
aaroncox/vessel
// @flow import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import InputRange from 'react-input-range'; import { Checkbox, Divider, Message, Modal, Segment } from 'semantic-ui-react'; import { Form, Input } from 'formsy-semantic-ui-react' import...
app/javascript/packs/components/shared/Section/index.js
NahlStudio/teamly-rails
import React from 'react'; function Section(props) { return ( <section {...props}> {props.children} </section> ); } export default Section;
packages/material-ui-icons/src/FindReplaceRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M11 6c1.38 0 2.63.56 3.54 1.46l-1.69 1.69c-.31.31-.09.85.36.85h4.29c.28 0 .5-.22.5-.5V5.21c0-.45-.54-.67-.85-.35l-1.2 1.2C14.68 4.78 12.93 4 11 4 7.96 4 5.38 5.94 4.42 8.64c-.24.66.23 1.36.93 1.36.42 ...
node_modules/react-router/lib/Router.js
TarikHuber/react-redux-material-starter-kit
'use strict'; exports.__esModule = true; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _createHashHis...
frontend/src/components/dialog/share-repo-dialog.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Input, Alert } from 'reactstrap'; import { seafileAPI } from '../../utils/seafile-api'; import { gettext } from '../../utils/constants'; import { Utils } from '../../u...
P/lixil/src/components/About/LeftNav.js
imuntil/React
import React from 'react' import './LeftNav.css' import PropTypes from 'prop-types' function LeftNav({index, onHashChange}) { const titles = ['关于骊住', '企业理念', '历史沿革', '公司信息'] return ( <ul className="left-nav"> { titles.map((title, i) => ( <li key={i}> <a className={i === inde...
src/components/SideMenu.js
shunito/daisyconv
// jshint esversion:6 import React, { Component } from 'react'; import ReactDOM, { render } from 'react-dom'; class SideMenuDaisy extends Component { constructor(props) { super(props); } _isActive( m ) { return this.props.mode === m; } _onMenuSelect( e ) { const menu = e.cu...
website/src/app.js
text-mask/text-mask
import './styles.scss' import React from 'react' import ReactDOM from 'react-dom' import MaskedInput from '../../react/src/reactTextMask' import classnames from 'classnames' import appStyles from './app.scss' import choices from './choices' import {Row, DemoTop, DemoBottom, OnOffSwitch} from './partials' import {connec...
src/components/textProcessor/index.js
orbitdb/orbit-web
'use strict' import React from 'react' import reactAutoLink from './react-auto-link' import reactEmoji from './react-emoji' import reactIpfsLink from './react-ipfs-link' import reactHighlight from './react-highlight' import { flatten } from '../../utils/flatten' function process (strFunc, input, options = {}, wordI...
ajax/libs/react-instantsearch/6.8.1/Dom.js
cdnjs/cdnjs
/*! React InstantSearch 6.8.1 | © Algolia, inc. | https://github.com/algolia/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : ...
app/views/Settings.js
MaxMEllon/comelon
'use strict'; import R from 'ramda'; import React from 'react'; import Immutable from 'immutable'; import AppComponent from '../utils/AppComponent'; import SettingAction from '../actions/SettingAction'; import SettingStore from '../stores/SettingStore'; import { Divider, Dialog, FlatButton, Toggle } from 'mat...
public/js/components/activityfeed/Comment.react.js
IsuruDilhan/Coupley
import React from 'react'; import Card from 'material-ui/lib/card/card'; import ListItem from 'material-ui/lib/lists/list-item'; import List from 'material-ui/lib/lists/list'; import Divider from 'material-ui/lib/divider'; import Avatar from 'material-ui/lib/avatar'; var Comment = React.createClass({ render: fun...
ajax/libs/react-bootstrap/0.24.1/react-bootstrap.min.js
itvsai/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return ...
__tests__/switch/switch.js
ricsv/react-leonardo-ui
import React from 'react'; import renderer from 'react-test-renderer'; import Switch from '../../src/switch'; test('Normal switch renders correctly', () => { const tree = renderer.create( <Switch checked /> ).toJSON(); expect(tree).toMatchSnapshot(); }); test('Switch with states renders correctly', () => {...
ajax/libs/primereact/6.5.0-rc.2/row/row.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[...
src/Position.js
victorzhang17/react-bootstrap
import deprecationWarning from './utils/deprecationWarning'; import Position from 'react-overlays/lib/Position'; export default deprecationWarning.wrapper(Position, { message: 'The Position component is deprecated in react-bootstrap. It has been moved to a more generic library: react-overlays. ' + 'You can r...
webapp/app/components/Notifications/Form/Users/AllUsers/index.js
EIP-SAM/SAM-Solution-Server
// // Component all users form notifications // import React from 'react'; import { FormGroup, FormControl, ControlLabel } from 'react-bootstrap'; import ButtonPopover from 'components/ButtonPopover'; import Option from 'components/Option'; import NotificationsFormAllUsersSelectAll from 'containers/Notifications/Form/...
static/index2_files/jquery.min.js
biocross/VITCloud
/*! 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===...
sites/all/modules/essential/jquery_update/replace/jquery/1.7/jquery.js
matchbox10/mark-of-gains
/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL...
ajax/libs/oojs-ui/0.18.0/oojs-ui.js
wout/cdnjs
/*! * OOjs UI v0.18.0 * 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-11-09T00:52:37Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and s...
src/components/typography/H1.js
typical000/paveldavydov
import React from 'react' import PropTypes from 'prop-types' import cn from 'classnames' import injectSheet from '../../utils/jss' const styles = (theme) => ({ heading: { fontSize: 54, lineHeight: 1.2, fontWeight: 'bold', margin: [0, 0, 20, 0], letterSpacing: 4, textTransform: 'uppercase', ...
app/clients/next/components/resource/list.js
garbin/koapp
import React from 'react' import Router from 'next/router' import { compose } from 'recompose' import { Field, reset, reduxForm } from 'redux-form' import { get } from 'lodash' import { toastr } from 'react-redux-toastr' import { translate } from 'react-i18next' import { Base64 } from 'js-base64' import { Card, CardB...
lib/components/notification.js
rickycodes/hyper
import React from 'react'; import Component from '../component'; export default class Notification extends Component { constructor() { super(); this.state = { dismissing: false }; this.handleDismiss = this.handleDismiss.bind(this); this.onElement = this.onElement.bind(this); } compone...
src/svg-icons/action/fingerprint.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFingerprint = (props) => ( <SvgIcon {...props}> <path d="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12...
ajax/libs/yui/3.10.3/event-focus/event-focus-coverage.js
luanlmd/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"...
src/Client.js
bpa/cyborg-rally
import { extendObservable } from 'mobx'; import { ws, GameContext } from './Util'; import React from 'react'; import Lobby from "./Lobby"; import Playing from "./Playing"; import RegisteredComponent from './RegisteredComponent'; import theme from "./theme"; import { Grommet } from 'grommet'; /*eslint no-extend-native:...
node_modules/react-icons/md/sd-storage.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdSdStorage = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30 13.4v-6.8h-3.4v6.8h3.4z m-5 0v-6.8h-3.4v6.8h3.4z m-5 0v-6.8h-3.4v6.8h3.4z m10-10c1.8 0 3.4 1.4 3.4 3.2v26.8c0 1.8-1.6 3.2-3.4 3.2h-20c-1.8 0-3.4-1.4-3.4-3.2l0.1...
react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
jitsi/jitsi-meet
// @flow import _ from 'lodash'; import React from 'react'; import { ActivityIndicator, FlatList, TouchableOpacity, View } from 'react-native'; import { withTheme } from 'react-native-paper'; import { AlertDialog, openDialog } from '../../../../base/dialog'; import { translate } from '../../../../base...
ajax/libs/6to5/3.3.12/browser-polyfill.js
Nadeermalangadan/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/components/MissionExplorer.js
IAmPicard/StarTrekTimelinesSpreadsheet
import React from 'react'; import { Image } from 'office-ui-fabric-react/lib/Image'; import { Dropdown, DropdownMenuItemType } from 'office-ui-fabric-react/lib/Dropdown'; import { Persona, PersonaSize, PersonaPresence } from 'office-ui-fabric-react/lib/Persona'; import { getTheme } from '@uifabric/styling'; import { ...
src/main.js
stefanosKarantin/stefanos-react-prj
import React from 'react' import ReactDOM from 'react-dom' import createBrowserHistory from 'history/lib/createBrowserHistory' import { Router, useRouterHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import createStore from './store/createStore' import { Provider } from 'react-r...
ajax/libs/babel-core/5.6.19/browser-polyfill.min.js
dada0423/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/index.js
bolshchikov-public/wazzapp
// @ts-check import React from 'react'; import ReactDOM from 'react-dom'; import AppShell from './AppShell'; import registerServiceWorker from './registerServiceWorker'; import './index.css'; ReactDOM.render(<AppShell />, document.getElementById('root')); registerServiceWorker();
src/user/UserMenu.js
jaguar51/blog-client
import React from "react"; import {Nav, Dropdown, MenuItem} from 'react-bootstrap'; import {browserHistory, Link} from "react-router"; import Api from "../api/Api"; import TokenService from "../api/TokenService"; export default class UserMenu extends React.Component { constructor(props) { super(props); ...
src/svg-icons/editor/format-italic.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatItalic = (props) => ( <SvgIcon {...props}> <path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"/> </SvgIcon> ); EditorFormatItalic = pure(EditorFormatItalic); EditorFormatItalic.displayName ...
src/server.js
iamfrontender/resume
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import 'babel/polyfill'; import path from 'path'; import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Router from './routes'; import Html from './components/Html'; const server = global.serve...
src/app/index.js
henkin/brex
'use strict' import React from 'react'; import { render } from 'react-dom'; import { Main } from './main'; // we need the user passed in a parameter render( <Main user={serializedUser}/>, document.getElementById('example') );
examples/counter/index.js
zalmoxisus/redux-devtools-extension
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore(); render( <Provider store={store}> <App /> </Provider>, document.getElementById('root'...
node_modules/rx/dist/rx.lite.extras.js
john1jan/ReactNativeSignatureExample
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'und...
packages/material-ui-icons/src/DirectionsCarRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01l-1.97 5.67c-.07.21-.11.43-.11.66v7.16c0 .83.67 1.5 1.5 1.5S6 20.33 6 19.5V19h...
node_modules/lite-server/node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.typescript.react/app/dist/bundle.js
EstiNet/EstiAccess
!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){e.exports=n(3)},function(e,t){/*! * react-lite.js v0.15.3 * (c) 2016 Jade Gu * Released under the...
src/svg-icons/image/blur-off.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBlurOff = (props) => ( <SvgIcon {...props}> <path d="M14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-.2 4.48l.2.02c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5l.02.2c.09.67.61 1.19 1.28 1.2...
node_modules/react-bootstrap/es/DropdownToggle.js
NickingMeSpace/questionnaire
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/routes/home/index.js
Nikhil22/trooper
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Home from './Home'; impo...
src/collection/collectionLocation.js
ikanedo/ecommerce-store-locator
import React from 'react'; import PropTypes from 'prop-types'; export default function CollectionLocation(props) { const { handleLocationClick, location, name, className, ...inputProps } = props; const { addressLine1, telephone, postcodeAfter, city, uid, deliveryMode,...
ajax/libs/core-js/0.9.3/shim.js
victorjonsson/cdnjs
/** * Core.js 0.9.3 * 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 = {}; /******...
src/lib/components/nineCellMenu/NineCellMenu.js
lighter-cd/ezui_react_one
import React from 'react'; import PropTypes from 'prop-types'; import injectSheet from 'react-jss'; import classNames from 'classnames'; import Link from '../../utils/Link'; import { Icon } from '../icon'; const styles = { menu: { flex: 'none', width: props => props.width, display: 'flex', flexFlow: ...
Samples/Core.InformationManagement/Core.InformationManagementWeb/Scripts/jquery-1.9.1.js
r0ddney/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
src/routes/tenant/Tenant.js
medevelopment/updatemeadmin
import React from 'react'; import axios from 'axios'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import Loader from '../../components/Loader/Loader'; class Tenant extends React.Component { static propTypes = { news: PropTypes.arrayOf(PropTypes.shape({ ...
packages/material-ui-icons/src/Looks5Outlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-2c0-1.11-.9-2-2-2h-2V9h4V7H9v6h4v2H9v2h4c1.1 0 2-.89 2-2z" /> , 'Looks5Outlined');
example/examples/EventListener.js
zigbang/react-native-maps
import React from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, View, Text, Dimensions, ScrollView, } from 'react-native'; // eslint-disable-next-line max-len import MapView, { PROVIDER_GOOGLE, Marker, ProviderPropType, Polygon, Polyline, Callout } from 'react-native-maps'; import PriceMa...
test/PaginationSpec.js
Sipree/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Pagination from '../src/Pagination'; describe('Pagination', () => { it('Should have class', () => { let instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert.ok(ReactTes...
node_modules/react-bootstrap/es/Modal.js
ivanhristov92/bookingCalendar
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/analytics.js/2.3.2/analytics.js
blairvanderhoof/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
docs/app/Examples/collections/Grid/Types/GridDividedNumberExample.js
jcarbo/stardust
import React from 'react' import { Image, Grid } from 'stardust' const image = <Image src='http://semantic-ui.com/images/wireframe/media-paragraph.png' /> const GridDividedExample = () => ( <Grid columns={3} divided> <Grid.Row> <Grid.Column>{image}</Grid.Column> <Grid.Column>{image}</Grid.Column> ...
node_modules/material-ui/internal/ExpandTransitionChild.js
meetdheeraj/NewsAggregator
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _inte...
app/containers/HomePage/index.js
shiftunion/bot-a-tron
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import AtPrefix from './AtPre...
src/routes/login/index.js
caijinchun/hsweb-antd
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'dva' import { Button, Row, Form, Input } from 'antd' import { config } from '../../utils' import styles from './index.less' const FormItem = Form.Item const Login = ({ login, dispatch, form: { getFieldDecorator, valida...
jenkins-design-language/src/js/components/material-ui/svg-icons/editor/merge-type.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorMergeType = (props) => ( <SvgIcon {...props}> <path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/> </SvgIcon> ); EditorMergeType.displayName = 'EditorMergeType'; EditorMergeTy...
app/javascript/mastodon/features/ui/components/column_link.js
MitarashiDango/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import Icon from 'mastodon/components/icon'; const ColumnLink = ({ icon, text, to, href, method, badge }) => { const badgeElement = typeof badge !== 'undefined' ? <span className='column-link__badge'>{badge}</span...
src/index.js
wmkcc/react-transform-boilerplate
import React from 'react'; import { App } from './App'; React.render(<App />, document.getElementById('root'));
packages/react-scripts/fixtures/kitchensink/src/features/webpack/NoExtInclusion.js
dpoineau/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import Rea...
app/javascript/mastodon/features/ui/components/focal_point_modal.js
blackle/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; import ImageLoader from './image_loader'; import classNames from 'classnames'; import { changeUploadCompose } from '../../../...
src/svg-icons/action/shopping-cart.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionShoppingCart = (props) => ( <SvgIcon {...props}> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11...
ajax/libs/cyclejs-dom/8.1.0/cycle-dom.js
dhenson02/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.CycleDOM = f()...
node_modules/react-router/lib/PropTypes.js
vs4vijay/batman.js
'use strict'; var assign = require('react/lib/Object.assign'); var ReactPropTypes = require('react').PropTypes; var Route = require('./Route'); var PropTypes = assign({}, ReactPropTypes, { /** * Indicates that a prop should be falsy. */ falsy: function falsy(props, propName, componentName) { if (props[...
client/app/components/Button/DeleteButton.js
sfabrizio/bloggy
import React from 'react'; export default class DeleteButton extends React.Component { constructor() { super(); } deleteItem () { this.props.action(); } render() { return ( <a className="button button__delete" onClick={this.deleteItem.bind(this)}> ...
app/pages/dependency-updates/UpdateDependenciesPage.js
anthonyraymond/joal-desktop
import React from 'react'; import Updaters from '../../components/updaters'; const UpdateDependenciesPage = () => <Updaters />; export default UpdateDependenciesPage;
ajax/libs/webshim/1.14.2/dev/shims/moxie/js/moxie.js
xeodou/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 ...
blueprints/dumb/files/__test__/components/__name__.spec.js
harijoe/redux-shooting-stars
import React from 'react' import <%= pascalEntityName %> from 'components/<%= pascalEntityName %>/<%= pascalEntityName %>' describe('(Component) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
src/components/Chat/Markup/Code.js
welovekpop/uwave-web-welovekpop.club
import React from 'react'; import PropTypes from 'prop-types'; const Code = ({ children, ...props }) => <code {...props}>{children}</code>; Code.propTypes = { children: PropTypes.node.isRequired, }; export default Code;
vendors/jQuery-Smart-Wizard/js/jquery-1.4.2.min.js
saiteja123/ProjectoPro1
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/window/page/view/toolbar/view.js
unkyulee/control-center
/****************************************************************************** Search Element *******************************************************************************/ import React from 'react' import { ipcRenderer } from 'electron' import { ButtonToolbar, Button } from 'react-bootstrap' /// /// /// export...
packages/cf-component-modal/test/Modal.js
koddsson/cf-ui
import React from 'react'; import renderer from 'react-test-renderer'; import { Modal } from '../../cf-component-modal/src/index'; import { GatewayProvider, Gateway, GatewayDest } from 'react-gateway'; import { shallow, render } from 'enzyme'; import toJson from 'enzyme-to-json'; class Application extends React.Compon...
src/NavItem.js
xiaoking/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import SafeAnchor from './SafeAnchor'; const NavItem = React.createClass({ mixins: [BootstrapMixin], propTypes: { linkId: React.PropTypes.string, onSelect: React.PropTypes.func, active: React...
frontend/src/components/settings/category-create.js
Kilte/cindy
import React from 'react'; import {connect} from 'react-redux'; import {createCategoryRequest} from '../../actions'; import Button from '../shared/button'; import Dialog from '../shared/dialog'; import FormError from '../shared/form-error'; import TextField from '../shared/text-field'; import './category-create.css'; ...
frontend/src/components/posts-list/post/attachments/attachment.js
1905410/Misago
/* jshint ignore:start */ import React from 'react'; import misago from 'misago'; import escapeHtml from 'misago/utils/escape-html'; import formatFilesize from 'misago/utils/file-size'; const DATE_ABBR = '<abbr title="%(absolute)s">%(relative)s</abbr>'; const USER_SPAN = '<span class="item-title">%(user)s</span>'; con...
plugins/react/formEnvironment/src/index.js
carteb/carte-blanche
import React from 'react'; import ReactDOM from 'react-dom'; import CarteBlancheInput from '../../frontend/components/form/CarteBlancheInput'; import Grid from '../../frontend/components/form/Grid'; import Row from '../../frontend/components/form/Grid/Row'; import LeftColumn from '../../frontend/components/form/Grid/L...
docs/pages/api-docs/table-head.js
lgollut/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'api/table-head'; const requireRaw = require.context('!raw-loader!./', false, /\/table-head\.md$/); export default function Page(...
src/routes/index.js
shtefanntz/cw
import { Route, IndexRoute } from 'react-router' // NOTE: here we're making use of the `resolve.root` configuration // option in webpack, which allows us to specify import paths as if // they were from the root of the ~/src directory. This makes it // very easy to navigate to files regardless of how deeply nested // y...
app/javascript/mastodon/components/column_back_button_slim.js
kazh98/social.arnip.org
import React from 'react'; import { FormattedMessage } from 'react-intl'; import ColumnBackButton from './column_back_button'; import Icon from 'mastodon/components/icon'; export default class ColumnBackButtonSlim extends ColumnBackButton { render () { return ( <div className='column-back-button--slim'> ...
tests/lib/rules/vars-on-top.js
davidshepherd7/eslint
/** * @fileoverview Tests for vars-on-top rule. * @author Danny Fritz * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var rule = require("../....
ajax/libs/yui/3.9.1/scrollview-base/scrollview-base.js
luanlmd/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
app/components/search.js
aclark73/task-list-app
import React, { Component } from 'react'; export default class Search extends Component { updateSearch(event) { console.log("search", event.target.value); // this.props.context.actions.search(event.target.value); this.props.setSearch(event.target.value); } clearSearch() { t...
src/components/Page/Page.js
zuiidea/antd-admin
import React, { Component } from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' import Loader from '../Loader' import styles from './Page.less' export default class Page extends Component { render() { const { className, children, loading = false, inner = false } = this.props c...
client/components/gallery-edit.js
VaRt-io/V-aRt
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import {updateGalleryThunk} from '../store'; import jwt_decode from 'jwt-decode'; import {Button} from 'react-bootstrap'; import {DisplayPaintings, DisplaySelectForm, PaintingDropdown, GalleryEditPa...
app/javascript/mastodon/features/ui/components/video_modal.js
cobodo/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Video from 'mastodon/features/video'; import ImmutablePureComponent from 'react-immutable-pure-component'; import Footer from 'mastodon/features/picture_in_picture/components/footer'; import...
project/react-ant/src/containers/FunderProdMgmt/Add/index.js
FFF-team/generator-earth
import React from 'react' import moment from 'moment' import { DatePicker, Button, Form, Input, Col } from 'antd' import BaseContainer from 'ROOT_SOURCE/base/BaseContainer' import request from 'ROOT_SOURCE/utils/request' import { mapMoment } from 'ROOT_SOURCE/utils/fieldFormatter' import Rules from 'ROOT_SOURCE/utils...
blueprints/view/files/__test__/views/__name__View.spec.js
nowavailable/TDAlloyUI
import React from 'react' describe('(View) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
frontend-admin/src/common/containers/fileListingCourseContainer/index.js
OptimusCrime/youkok2
import React from 'react'; import {connect} from 'react-redux'; import FileListingContainer from '../fileListingContent'; import {FileListingBox} from "../fileListingBox"; import {showCreateDirectoryModal} from "../../redux/createDirectory/actions"; import {showEditFileModal} from "../../redux/editFile/actions"; cons...
src/main/webapp/resources/themes/easyui/jquery.min.js
DanneLeung/spring-boot-starter
/*! jQuery v1.11.3 | (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 wind...
admin/client/App/screens/List/components/ItemsTable/ItemsTableDragDropZone.js
helloworld3q3q/keystone
/** * THIS IS ORPHANED AND ISN'T RENDERED AT THE MOMENT * THIS WAS DONE TO FINISH THE REDUX INTEGRATION, WILL REWRITE SOON * - @mxstbr */ import React from 'react'; import DropZoneTarget from './ItemsTableDragDropZoneTarget'; import classnames from 'classnames'; var ItemsTableDragDropZone = React.createClass({ d...
client/src/components/ChatContainer.js
mconstanza/TwitchAvidReact
import React, { Component } from 'react'; import Chat from './Chat'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group' class ChatContainer extends Component { constructor(props) { super(props); this.state = { shouldShowBox: true }; } // toggleBox = () => { // this.se...
website/src/components/explorables/Explorables/index.js
jwngr/notreda.me
import React from 'react'; import {Helmet} from 'react-helmet'; import InternalLink from '../../common/InternalLink'; import NewsletterSignupForm from '../../common/NewsletterSignupForm'; import { Title, Subtitle, Wrapper, Divider, BlogPostCardWrapper, BlogPostDate, BlogPostDescription, } from './index....
src/components/ClosableModal.js
NikkiLoveGod/clashripoff
import React from 'react' import { Modal, Text, TouchableHighlight, View } from 'react-native' import styles from '../styles' export default class ClosableModal extends React.Component { render () { const buttonText = this.props.buttonText || 'Close' return ( <Modal animationType={'fade'} ...
ajax/libs/react-highcharts/10.0.0/ReactHighstock.src.js
hare1039/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts/highstock")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts/highstock"], factory); else if(ty...
exp/blockingscripts/jquery-1.10.2.min.js
oceanlau/oceanlau.github.com
/*! 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...
files/rxjs/2.4.8/rx.lite.extras.js
wallin/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...