target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
src/DateTimePicker.js
MYOB-Technology/react-bootstrap-datetimepicker
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import DateTimePickerDate from './DateTimePickerDate.js'; import DateTimePickerTime from './DateTimePickerTime.js'; import Constants from './Constants.js'; export default class DateTimePicker extends Comp...
packages/react-scripts/fixtures/kitchensink/src/features/env/FileEnvVariables.js
digitalorigin/create-react-app
/** * 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. */ import React from 'react'; export default () => ( <span> <span id="feature-file-env-original-1"> {process.env.REACT_APP_ORI...
node_modules/enzyme/test/ComplexSelector-spec.js
sharonjean/React-Netflix
import { describeWithDOM } from './_helpers'; import React from 'react'; import { expect } from 'chai'; import { mount, shallow, } from '../src/'; const tests = [ { name: 'mount', renderMethod: mount, describeMethod: describeWithDOM, }, { name: 'shallow', renderMethod: shallow, descri...
src/components/LocationItem.js
afikris6/afikris6.github.io
import React from 'react'; import PropTypes from 'prop-types'; import { Textfield, ListItem, ListItemContent, ListItemAction } from 'react-mdl'; const LocationItem = ({ subtitle, textField, content, onClick, children }) => ( <ListItem twoLine onClick={onClick}> <ListItemContent subtitle={subtitle...
ajax/libs/clappr/0.0.37/clappr.js
Piicksarn/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]...
src/esm/components/feedback/vertical-progress/components/step.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["statusType", "statusProps", "progressTitle", "children"]; import React from 'react'; import styled from 'styled-components'; import { pxToRem } from '...
src/utils/domUtils.js
pieter-lazzaro/react-bootstrap
import React from 'react'; let canUseDom = !!( typeof window !== 'undefined' && window.document && window.document.createElement ); /** * Get elements owner document * * @param {ReactComponent|HTMLElement} componentOrElement * @returns {HTMLElement} */ function ownerDocument(componentOrElement) { let e...
src/uic/RangeSelector.js
ajaycheenath/earthquake
import React, { Component } from 'react'; import rangeStyle from "../css/range.css"; class RangeSelector extends Component { static propTypes = { start: React.PropTypes.number, end: React.PropTypes.number, selectedRange: React.PropTypes.number, onClick: React.PropTypes.func }; rend...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
rohit-sourcefuse/mxtr-theme
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
src/frontend/components/survey-renderers/BSDSurvey.js
al3x/ground-control
import React from 'react'; import Relay from 'react-relay'; import Radium from 'radium'; import {LinearProgress} from 'material-ui'; // This just handles rendering and interacting with a BSD survey in an iFrame @Radium class BSDSurvey extends React.Component { styles = { container: { // width: '100%', }...
src/components/idle.js
whoisandie/react-player
import React from 'react'; import cx from 'classnames'; import Player from '../player'; const { PropTypes, Component } = React; class Idle extends Component { static propTypes = { playing: PropTypes.bool, player: PropTypes.instanceOf(Player), className: PropTypes.string, } shouldComponentUpdate() {...
src/svg-icons/action/cached.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionCached = (props) => ( <SvgIcon {...props}> <path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97....
packages/material-ui-icons/src/WifiLockOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M21.31 9.58L24 6c-3.34-2.51-7.5-4-12-4S3.34 3.49 0 6l12 16 3.5-4.67V14.5c0-2.76 2.24-5 5-5 .28 0 .55.04.81.08z" /><path d="M23 16v-1.5c0-1.38...
information/blendle-frontend-react-source/app/modules/overlay/module.js
BramscoChill/BlendleParser
import React from 'react'; import PremiumVerifiedOverlayContainer from 'containers/overlays/PremiumVerifiedOverlayContainer'; export function openPremiumSuccess(dismissRoute) { return <PremiumVerifiedOverlayContainer dismissRoute={dismissRoute} />; } // WEBPACK FOOTER // // ./src/js/app/modules/overlay/module.js
webapp/app/components/SoftwaresByUser/Table/ModalUpdateSoftware/index.js
EIP-SAM/SAM-Solution-Node-js
// // Modal to update a software in softwares by user page // import React from 'react'; import { Modal, ButtonToolbar, Glyphicon } from 'react-bootstrap'; import LinkContainerButton from 'components/Button'; import styles from 'components/SoftwaresByUser/styles.css'; /* eslint-disable react/prefer-stateless-function...
packager/react-packager/src/Server/index.js
dirkliu/react-native
/** * 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. */ 'use strict...
src/routes.js
NoobJS-nwhax/nwhacks-2017
'use strict'; import React from 'react' import { Route, IndexRoute } from 'react-router' import Layout from './components/Layout'; import IndexPage from './components/IndexPage'; import AthletePage from './components/AthletePage'; import CreateSpacePage from './components/CreateSpacePage'; import NotFoundPage from '....
src/svg-icons/image/exposure-neg-2.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageExposureNeg2 = (props) => ( <SvgIcon {...props}> <path d="M15.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17.23-.39.41-.78.54-1.17s.19-.79.19-1.18c0-.53-.09-1.02-.27-1.46-.18-.44-.44-.81...
jenkins-design-language/src/js/components/material-ui/svg-icons/places/all-inclusive.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const PlacesAllInclusive = (props) => ( <SvgIcon {...props}> <path d="M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9...
components/App.js
owennicol/yaiza
// React import React from 'react'; // Prismic import Prismic from 'prismic.io'; // Config import config from '../config/config'; // Components import ExecutionEnvironment from 'exenv'; import Header from '../components/Header/Header'; import Nav from './Nav' import Footer from '../components/Footer'; Array.prototype....
gulpfile.js
rpoli/mindScoper
//*********** IMPORTS *****************// var gulp = require('gulp'), sass = require('gulp-ruby-sass'), minifycss = require('gulp-minify-css'), cssBase64 = require('gulp-css-base64'), gutil = require('gulp-util'), rename = require("gulp-rename"), map = require("map-stream"), livereload = require("gulp-liv...
src/components/NewsContainer.js
radubrehar/evanghelic.ro
import React from 'react'; import Link from 'gatsby-link'; import moment from 'moment'; import nl2br from 'nl2br'; import Text from '@app/Text'; import Card from '@app/Card'; import { accentColor } from '@app/colors'; moment.locale('ro'); export default ({ news }) => ( <div className="container-fluid" css={{ back...
client/src/components/about_page/AboutPage.js
thewizardplusplus/vk-group-stats
import React from 'react' import {AdditionalBlock} from '../additional_block/AdditionalBlock' import {Card, CardHeader, CardText} from 'material-ui/Card' import Icon from '../icon/Icon' import Avatar from 'material-ui/Avatar' export default class AboutPage extends React.Component { render() { return <AdditionalB...
js/jquery-1.11.0.js
genixers/genixers.github.io
/*! 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...
src/scripts/components/colour/History.js
arkon/ColourNTP
import React from 'react'; import Colours from '../../modules/colours'; import Saved from '../../modules/saved'; export default class History extends React.Component { static defaultProps = { max: 10 }; constructor(props) { super(props); this.state = { history: new Array(this.props.max) ...
node_modules/react-bootstrap/es/DropdownToggle.js
WatkinsSoftwareDevelopment/HowardsBarberShop
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/shared/views/demos/ThreeD/ThreeD.js
in-depth/indepth-demo
import React from 'react' import { Model3d } from '../../plugins/Model3d' const ThreeD = () => { return ( <div> <Model3d url="https://sketchfab.com/models/522e811044bc4e09bf84431e6c1cc109/embed" /> </div> ) } export default ThreeD
docs/src/app/components/pages/components/RefreshIndicator/ExampleReady.js
ichiohta/material-ui
import React from 'react'; import RefreshIndicator from 'material-ui/RefreshIndicator'; const style = { container: { position: 'relative', }, refresh: { display: 'inline-block', position: 'relative', }, }; const RefreshIndicatorExampleSimple = () => ( <div style={style.container}> <RefreshIn...
ajax/libs/yui/3.14.0/datatable-core/datatable-core-debug.js
artch/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
assets/entry.js
jongha/stock-ai
// require("./style.css"); // document.write(require("./content.js")); import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') );
example/dist/app.js
kiqs/chartify
!function(t){function e(e){for(var r,o,i=e[0],a=e[1],c=e[2],u=0,s=[];u<i.length;u++)o=i[u],O[o]&&s.push(O[o][0]),O[o]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r]);for(L&&L(e);s.length;)s.shift()();return k.push.apply(k,c||[]),n()}function n(){for(var t,e=0;e<k.length;e++){for(var n=k[e],r=!0,o=1;...
img/portfolio/node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
jdaly04/portfolio
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
src/parser/paladin/retribution/modules/core/Retribution.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatNumber, formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } fr...
admin/client/components/AudioSelector.js
nickhsine/keystone
'use strict'; import { parseAudioAPIResponse, parseImageAPIResponse } from '../../../lib/parseAPIResponse'; import { Button, Modal, Pagination } from 'elemental'; import qs from 'qs'; import xhr from 'xhr'; import AudioSelection from './AudioSelection'; import SelectorMixin from './mixins/SelectorMixin'; import React f...
ajax/libs/rxjs/2.3.8/rx.all.js
viskin/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
resource/js/components/Page/PagePath.js
crow-misia/crowi
import React from 'react'; export default class PagePath extends React.Component { // Original Crowi.linkPath /* Crowi.linkPath = function(revisionPath) { var $revisionPath = revisionPath || '#revision-path'; var $title = $($revisionPath); var pathData = $('#content-main').data('path'); if (!pa...
blueocean-material-icons/src/js/components/svg-icons/navigation-arrow-drop-right.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../SvgIcon'; const NavigationArrowDropRight = (props) => ( <SvgIcon {...props}> <path d="M9.5,7l5,5l-5,5V7z" /> </SvgIcon> ); NavigationArrowDropRight.displayName = 'NavigationArrowDropRight'; NavigationArrowDropRight.muiName = 'SvgIcon'; export default Navigat...
src/Input/ThemedInputErrorSuffix.js
skyiea/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import InputErrorSuffix from './InputErrorSuffix'; import Tooltip from '../Tooltip'; import Error from '../Icons/dist/components/Error'; import styles from './Input.scss'; const placementToMoveBy = { right: {x: 2,...
ajax/libs/dexie/1.5.0-rc.3/dexie.es6.js
joeyparrish/cdnjs
/* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== * * By David Fahlander, david.fahlander@gmail.com * * Version 1.5.0-rc.3, Thu Oct 13 2016 * www.dexie.com * Apache License Version 2.0, January 2004, http://www.apache.org/licenses/ */ var keys = Ob...
client/reader/full-post/controller.js
tinkertinker/wp-calypso
/** * External Dependencies */ import React from 'react'; import ReactDom from 'react-dom'; import { Provider as ReduxProvider } from 'react-redux'; import i18n from 'i18n-calypso'; import page from 'page'; import { defer } from 'lodash'; /** * Internal Dependencies */ import FeedError from 'reader/feed-error'; im...
src/Label.js
nickuraltsev/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Label = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'label', bsStyle: 'default' }; }, render() { let classes = this.getBsClassSe...
app/scripts/Widget/plugins/Match/__tests__/components/AddChoiceForm.spec.js
igr-santos/bonde-client
import React from 'react' import { mount } from 'enzyme' import { expect } from 'chai' import sinon from 'sinon' import { AddChoiceForm } from '../../components/' describe('Match/components/AddChoiceForm', () => { let wrapper let props = { title: undefined, label: undefined, choices: [], handleAdd...
app/index.js
princeV/koa2-react-redux-webpack-boilerplate
import React from 'react' import ReactDOM from 'react-dom' import { createStore } from 'redux' import Counter from './components/Counter' import counter from './reducers' const store = createStore(counter) const rootEl = document.getElementById('root') const render = () => ReactDOM.render( <Counter value={store...
wp-includes/js/jquery/jquery.js
sparshmurali/wordpressnew
/*! 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...
src/main/resources/js/server.js
maximenajim/isomorphic-javascript-example
import React from "react/addons"; import Page from "./page"; export default function (movies) { var moviesList = Java.from(movies); return React.renderToString( <Page movies={moviesList}/> ); };
scripts/ItemManager.js
krulmacius/sdasdasdasfgasdawsdwadawd
import React from 'react'; import axios from 'axios'; import Alert from 'react-s-alert'; import LazyLoad from 'react-lazyload'; import 'react-s-alert/dist/s-alert-default.css'; import 'react-s-alert/dist/s-alert-css-effects/jelly.css'; class ItemManager extends React.Component { constructor(props) { super(pro...
docs/app/Examples/collections/Form/Variations/index.js
koenvg/Semantic-UI-React
import React from 'react' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' const FormFormVariationsExamples = () => ( <ExampleSection title='Form Variations'> <ComponentExample title='Size' de...
src/components/TopMenu/TopMenu.js
ro-savage/nwa-react-redux-boilerplate
import React from 'react' import { IconButton } from 'react-toolbox/lib/button' import { connect } from 'react-redux' import { toggleMenu } from '../../redux/modules/layout/layout' const TopMenu = (props) => { const handleClick = () => { props.dispatch(toggleMenu()) } return ( <div className="top-menu gr...
ajax/libs/clappr/0.0.30/clappr.js
paleozogt/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]...
src/js/pages/Proposals/Edit/BasicPage.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import translate from '../../../i18n/Translate'; import AuthenticatedComponent from "../../../components/AuthenticatedComponent"; import connectToStores from "../../../utils/connectToStores"; import TopNavBar from '../../../components/TopNavB...
frontend/src/Settings/ImportLists/ImportListExclusions/EditImportListExclusionModalContent.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React from 'react'; import Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import Button from 'Components/Link/Button'; import S...
src/index.js
rangle/redux-gtm
const createMiddleware = require('./create-middleware'); const createMetaReducer = require('./create-meta-reducer'); // Extensions const logger = require('./extensions/logger'); const offlineWeb = require('./extensions/offline-web'); const offlineReactNative = require('./extensions/offline-react-native'); // Event Help...
example/app.js
raodurgesh/react-virtualized-chatbox
import React, { Component } from 'react'; import InputBox from './input-box'; import ChatBox from '../dist/index' export default class App extends Component { constructor(props) { super(props); this.listComponent = {}; this.state = { list: [90, 91, 92,93] } this._rowRenderer = this._rowRe...
ChannelListings/Content/Scripts/jquery-1.9.1.min.js
ericrrichards/tvlistings
/*! 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){retur...
ajax/libs/forerunnerdb/1.3.14/fdb-core+views.min.js
sashberd/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
packages/material-ui-icons/src/KeyboardBackspaceOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21v-2z" /> , 'KeyboardBackspaceOutlined');
test/actions/index.spec.js
noahpeden/adoptfund
import React from 'react'; import { mount, shallow } from 'enzyme'; import { expect, assert } from 'chai'; import sinon from 'sinon' import * as actions from '../../public/lib/actions/index' describe('actions', () => { it('should create an action to make an array of featured families', () => { const featured = {...
ajax/libs/6to5/1.13.9/browser.js
cdnjs/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
MyWeibo/node_modules/react/lib/ReactNodeTypes.js
alucardlockon/LearnCode
/** * Copyright 2013-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. * * @providesModu...
client/src/Components/FacetContainer/FacetContainer.js
CrashsLanding/petfinder-searcher
import React from 'react'; import './FacetContainer.css'; import Facet from '../Facet/Facet'; import _ from 'lodash'; class FacetContainer extends React.Component { constructor(props) { super(props); this.state = { facets: {} }; } toggleAndFacet(facetName, e) { let the_state = _.clone(thi...
src/containers/DevTools/DevTools.js
mozilla/mozlando-frontend-demo
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-shift-h" defaultIsVisible={false} ...
ajax/libs/react-select/1.0.0-rc.3/react-select.min.js
Amomo/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Select=e()}}(function(){return function e(t,u,n){functi...
client/me/payment-methods/controller.js
tinkertinker/wp-calypso
/** * External dependencies */ import React from 'react'; /** * Internal dependencies */ import AddCreditCard from 'me/payment-methods/add-credit-card'; import * as paths from './paths'; import { recordPageView, renderPage } from 'lib/react-helpers'; export function addCreditCard( context ) { recordPageView( p...
test/integration/client-navigation/pages/head.js
zeit/next.js
import React from 'react' import Head from 'next/head' export default () => ( <div> <Head> {/* this will not render */} <meta charSet="utf-8" /> {/* this will get rendered */} <meta charSet="iso-8859-5" /> {/* this will not render */} <meta name="viewport" content="width=devi...
ajax/libs/6to5/1.14.3/browser-polyfill.js
GaryChamberlain/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...
js/player/ButtonPanel.js
GyrosOfWar/podcaster-frontend
import React from 'react' import { Button, Glyphicon, ButtonGroup } from 'react-bootstrap' const ButtonPanel = React.createClass({ getDefaultProps: function() { return { currentSongIndex: 0, songCount: 0 }; }, render: function() { var isPlaying = this.props.isPlaying; var isPause = this.props.isPau...
stories/components/modal/index.js
tskuse/operationcode_frontend
import React, { Component } from 'react'; import { storiesOf } from '@storybook/react'; import Modal from 'shared/components/modal/modal'; class ComponentWithModal extends Component { constructor() { super(); this.state = { isModalOpened: false, }; } handleOpen = () => { this.setState({ i...
src/components/Magic/MagicDisplay.js
KageEnterprises/weed-wizard
import PropTypes from 'prop-types'; import React from 'react'; import NumberFormat from 'react-number-format'; import { Card, CardContent, Checkbox, Chip, List, ListItem, ListItemText, Typography } from '@material-ui/core'; import { withStyles } from '@material-ui/core/styles'; import { contextPropTy...
ajax/libs/ember-data.js/1.13.7/ember-data.js
Teino1978-Corp/Teino1978-Corp-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...
src/components/app.js
januswel/rn-pomodoro
// @flow import React from 'react' import { StyleSheet, Text, View, } from 'react-native' const COLORS = { VERY_PALE_BLUE: '#f5fcff', } const STYLES = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: COLORS.V...
src/index.js
dizzyrobin/um-schedule-creator
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
ajax/libs/yasr/2.4.0/yasr.bundled.min.js
dmsanchez86/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.YASR=t()}}(function(){var t;return function e(t,n,r){...
config/index.js
bradparks/react-redux-starter-kit
process.env.NODE_ENV = process.env.NODE_ENV || 'development'; const resolve = require('path').resolve, yargs = require('yargs').argv, _slice = [].slice; const SRC_DIRNAME = 'src', DIST_DIRNAME = 'dist', PROJECT_PATH = resolve(__dirname, '../'); function inProject () { return resolve.app...
ajax/libs/rxjs/2.2.2/rx.js
ppavlov/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
src/js/components/icons/base/DocumentImage.js
odedre/grommet-final
/** * @description DocumentImage SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. ...
ajax/libs/clappr/0.0.78/clappr.js
wallin/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);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)...
ajax/libs/inferno/1.0.0-beta17/inferno-mobx.js
x112358/cdnjs
/*! * inferno-mobx v1.0.0-beta17 * (c) 2016 Ryan Megidov * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('./inferno'), require('./inferno-create-class'), require('./inf...
src/svg-icons/action/description.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDescription = (props) => ( <SvgIcon {...props}> <path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/> </SvgIcon> ); A...
spec/javascripts/jsx/speed_grader/AssessmentAuditTray/components/AssessmentSummarySpec.js
djbender/canvas-lms
/* * Copyright (C) 2018 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
src/components/foiRequests/WebView/index.js
jfilter/frag-den-staat-app
import { Platform, Share } from 'react-native'; import { WebView } from 'react-native-webview'; import React from 'react'; import NavBarIcon from '../NavBarIcon'; const FoiRequestsWebView = ({ navigation }) => ( <WebView source={{ uri: navigation.state.params.uri }} /> ); FoiRequestsWebView.navigationOptions = pro...
ajax/libs/react-router/0.11.0/react-router.min.js
shelsonjava/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define;return functi...
src/app/BoardView.js
smonev/15-Puzzle
import React from 'react'; import Board15 from './games/Board15'; // import AbcBoard from './games/AbcBoard'; import Cell from './Cell'; import LevelView from './Level'; import TileView from './TileView'; require('../sass/index.scss'); export default class BoardView extends React.Component { componentDidMount() {...
src/common/movie-list-horizontal.js
rldona/react-native-tab-view-seed
import React, { Component } from 'react'; import { View, Text, Image, TouchableOpacity, ListView, StyleSheet, Dimensions, Vibration, ToastAndroid, InteractionManager } from 'react-native'; import * as firebase from 'firebase'; import * as themoviedb from '../services/movies-service.js'; import * a...
client2/src/components/whiteboard/colorbox.js
gdomorski/CodeOut
import React, { Component } from 'react'; import InputColor from 'react-input-color' export default (props) => { const texty = { 'color': 'white', 'marginRight': '5px', 'width': '150px' }; return ( <div className="app animated slideInLeft"> <span style={texty}>Tool: </span> <input ...
ajax/libs/reactive-coffee/0.0.0/reactive-coffee.js
zauguin/cdnjs
(function() { var DepArray, DepCell, DepMgr, Depmap, Ev, MappedDepArray, ObsArray, ObsCell, ObsMap, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, bind, depMgr, lagBind, mktag, mkuid, nextUid, popKey, recorder, rx, rxt, tag, tags, _ref, _ref1, _ref2, _ref3, __hasProp = {}.hasOwnProperty, __extends = function(c...
src/svg-icons/action/gif.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGif = (props) => ( <SvgIcon {...props}> <path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"/> </Svg...
js/src/ui/Warning/warning.js
jesuscript/parity
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any la...
ajax/libs/core-js/0.1.4/library.js
quba/cdnjs
/** * Core.js 0.1.4 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2014 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/components/Preferences.react.js
tomasen/kitematic
import React from 'react/addons'; import metrics from '../utils/MetricsUtil'; import Router from 'react-router'; var Preferences = React.createClass({ mixins: [Router.Navigation], getInitialState: function () { return { closeVMOnQuit: localStorage.getItem('settings.closeVMOnQuit') === 'true', metri...
js/vendor/jquery-1.9.1.min.js
TecHunter/jquery-ui-chat
/*! 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...
src/comment/views/Edit.js
rick-liu/react_readable_frontend
import React from 'react' import { connect } from 'react-redux' import Form from './Form' import { updateComment } from '../actions' const EditComment = ({ active, submit }) => ( active && <Form title="Edit Comment" submitAction={submit}/> ) const mapStateToProps = ({ commentForm }) => ({ active: commentForm.acti...
src/routes/component/index.js
balmbees/overwatch
import React from 'react'; import create from './create'; import show from './show'; export default { path: '/components', children: [ create, show, ], async action({ next }) { // eslint-disable-line const component = await next(); return ( <div> {component} </div> ); ...
public/docs/api/latest/@stdlib/utils/if-else/benchmark_bundle.js
stdlib-js/www
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
ajax/libs/rxjs/2.3.2/rx.compat.js
iamJoeTaylor/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
docs/app/Examples/elements/Button/States/index.js
ben174/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const ButtonStatesExamples = () => ( <ExampleSection title='States'> <ComponentExample title='Active' description='A ...
examples/js/sort/custom-sort-table.js
neelvadgama-hailo/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
packages/jQuery.1.10.2/Content/Scripts/jquery-1.10.2.js
mwhaubold/MettSite
/* NUGET: BEGIN LICENSE TEXT * * 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 or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/web/assets/javascripts/application.js
suhongrui/gitlab
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
ajax/libs/6to5/1.14.9/browser-polyfill.js
cnbin/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...
ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.js
jonesgithub/cdnjs
/*! X-editable - v1.5.0 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to form ...