path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
techCurriculum/ui/solutions/7.1/src/components/LineChart.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
packages/core/admin/public/assets/lib/zeroclipboard/dist/ZeroClipboard.Core.js
unifieddigitalmedia/unifieddigitalmedia-M.E.A.N_stack
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2009-2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.2.0 */ (function(window, undefined) { "use str...
client/modules/Feed/Feed.js
jde-maga/supermoube
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Feed.js :+: :+: :+: ...
web/views/AboutPage/index.js
xontab/basic-node-ci
import React, { Component } from 'react'; import globalStyles from '../../layout/styles.scss'; export default class AboutPage extends Component { render() { return ( <div> <h1 className={globalStyles.title}>About</h1> <p>Created by <a href="http://xontab.com/" t...
packages/material-ui-icons/src/ThirtyFpsSelectTwoTone.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M4 4v2h5v2H5v2h4v2H4v2h5c1.1 0 2-.9 2-2v-1.5c0-.83-.17-1.5-1-1.5.83 0 1-.67 1-1.5V6c0-1.1-.9-2-2-2H4zm14 0c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2h-3c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3zm0 2h-3v6h3V6zM5 22...
packages/wix-style-react/src/CustomModalLayout/docs/examples/FootnoteExample.js
wix/wix-style-react
/* eslint-disable */ import React from 'react'; import { Checkbox } from 'wix-style-react'; class FootnoteExample extends React.Component { render() { return ( <CustomModalLayout primaryButtonText="Save" secondaryButtonText="Cancel" onCloseButtonClick={() => {}} title="Creat...
examples/counter/index.js
gdi2290/redux
import React from 'react'; import App from './containers/App'; React.render( <App />, document.getElementById('root') );
app/index.js
orballo/game-of-life
'use strict' import React from 'react' import ReactDOM from 'react-dom' import TableContainer from './containers/TableContainer' require('./styles/main.css') ReactDOM.render( <TableContainer />, document.getElementById('app') )
pages/about/index.js
DarcyChan/darcychan.com
import React from 'react'; import { PageTitle, PageWrapper, PageJumbotron, PageLead } from 'components/page'; import { ExternalLink, SmallLabel } from 'components/common'; /* eslint-disable quotes */ exports.data = { id: 3, path: `/about/`, template: `basic`, category: `about`, sho...
ajax/libs/extjs/4.2.1/src/layout/container/Card.min.js
ruo91/cdnjs
Ext.define("Ext.layout.container.Card",{extend:"Ext.layout.container.Fit",alternateClassName:"Ext.layout.CardLayout",alias:"layout.card",type:"card",hideInactive:true,deferredRender:false,getRenderTree:function(){var a=this,b=a.getActiveItem();if(b){if(b.hasListeners.beforeactivate&&b.fireEvent("beforeactivate",b)===fa...
components/slider/slider.js
Centroida/CentroUI
import React from 'react'; import { AppRegistry, asset, Pano, Text, View, Sphere, } from 'react-vr'; const DEFAULT_BACKGROUND_COLOR = "#0275d8"; const DEFAULT_HOVER_COLOR = "#585858"; export default class Slider extends React.Component { constructor(props) { super(props); ...
ajax/libs/angular.js/0.9.11/angular-scenario.js
mojio/cdnjs
/*! * 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. ...
docs/src/index.js
bokuweb/react-motion-menu
import React from 'react'; import { render } from 'react-dom'; import Example from './example'; render(<Example />, document.querySelector('.content'));
src/layouts/base.js
mr47/react-redux-kit
"use strict"; import React from 'react'; import { Link } from 'react-router' const BaseLayout = ({ children })=>{ return ( <div className="container"> <h1><Link to="/">React + Redux Demo</Link></h1> {children} </div> ) }; export { BaseLayout };
tests/react_native_tests/test_data/native_code/Scrollview/app/components/UserConnect_1/index.js
ibhubs/sketch-components
/** * @flow */ import React from 'react' import PropTypes from 'prop-types' import { observer } from 'mobx-react/native' import styles from './styles' import UserConnect_1 from './component' @observer class UserConnect_1Wrapper extends React.Component { render() { return ( <UserConnect_1 {...thi...
src/trade/mobile/TradeMobile.js
nazaninreihani/binary-next-gen
import React from 'react'; import MobilePage from '../../containers/MobilePage'; import MobileTradeContainer from './MobileTradeContainer'; export default (props) => ( <MobilePage> <MobileTradeContainer {...props} compact index={0} /> </MobilePage> );
admin/client/App/screens/List/index.js
Yaska/keystone
/** * The list view is a paginated table of all items in the list. It can show a * variety of information about the individual items in columns. */ import React from 'react'; // import { findDOMNode } from 'react-dom'; // TODO re-implement focus when ready import numeral from 'numeral'; import { BlankState, Conta...
app/src/App.js
joshlevy89/the-book-thing
import React, { Component } from 'react'; import { createStore, applyMiddleware } from 'redux'; import logger from 'redux-logger'; import thunk from 'redux-thunk'; import { Router, browserHistory, Route, IndexRoute } from 'react-router'; import { Provider } from 'react-redux'; import io from 'socket.io-client'; import ...
imports/ui/components/register.js
jiyuu-jin/openlens
import React from 'react' import {Link} from 'react-router-dom'; const Register = () =>({ confirm(){ let user = { email: $('#email').val(), password: $('#password').val(), confirm_password: $('#confirm_password').val(), username: $('#user_name').val(),...
src/menu.js
HsuTing/cat-components
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import radium, {StyleRoot} from 'radium'; import areEqual from 'fbjs/lib/areEqual'; import toggleStyle from 'utils/toggleStyle'; import loadAnimation from 'utils/loadAnimation'; import * as style from './style/menu'; export const menuStyle...
fixtures/ssr/src/index.js
pyitphyoaung/react
import React from 'react'; import {hydrate} from 'react-dom'; import App from './components/App'; hydrate(<App assets={window.assetManifest} />, document);
src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
easyfmxu/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/svg-icons/av/volume-mute.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVolumeMute = (props) => ( <SvgIcon {...props}> <path d="M7 9v6h4l5 5V4l-5 5H7z"/> </SvgIcon> ); AvVolumeMute = pure(AvVolumeMute); AvVolumeMute.displayName = 'AvVolumeMute'; AvVolumeMute.muiName = 'SvgIcon'...
website/src/relay/support.js
steveleec/relay
/** * 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. */ var React ...
app/components/Link/index.js
minhnhat09/scalable-react
/** * * Link * */ import React from 'react'; import styles from './styles.css'; function Link({link}) { return ( <div className={styles.link}> <div className={styles.votingContainer}> <div className={styles.votingCount}> {link.voteCount} </div> </div> <div className...
cheesecakes/plugins/users-permissions/admin/src/components/Plugins/index.js
strapi/strapi-examples
/** * * Plugins * */ import React from 'react'; import { FormattedMessage } from 'react-intl'; import { has, map } from 'lodash'; import PropTypes from 'prop-types'; import cn from 'classnames'; import Plugin from 'components/Plugin'; import styles from './styles.scss'; class Plugins extends React.Component { stat...
app/javascript/mastodon/features/standalone/compose/index.js
KnzkDev/mastodon
import React from 'react'; import ComposeFormContainer from '../../compose/containers/compose_form_container'; import NotificationsContainer from '../../ui/containers/notifications_container'; import LoadingBarContainer from '../../ui/containers/loading_bar_container'; import ModalContainer from '../../ui/containers/mo...
todomvc/client/containers/Root.prod.js
eswar2016/drf-redux
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import TodoApp from './TodoApp'; import AdvApp from './AdvApp'; export default class Root extends Component { render() { const { store } = this.props; return ( <Provider store={store}> <TodoApp /> </Provide...
src/main/js/players/components/PlayerAffinities.js
Bernardo-MG/dreadball-toolkit-webpage
import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl } from 'react-intl'; import Box from 'grommet/components/Box'; import Label from 'grommet/components/Label'; import Title from 'grommet/components/Title'; import playerMessages from 'i18n/player'; import affinityMessages from 'i18n/a...
node_modules/_babel-types@6.26.0@babel-types/lib/index.js
ligangwolai/blog
"use strict"; exports.__esModule = true; exports.createTypeAnnotationBasedOnTypeof = exports.removeTypeDuplicates = exports.createUnionTypeAnnotation = exports.valueToNode = exports.toBlock = exports.toExpression = exports.toStatement = exports.toBindingIdentifierName = exports.toIdentifier = exports.toKeyAlias = expo...
ajax/libs/yui/3.7.1/event-focus/event-focus-min.js
qooxdoo/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(a),c=e.stamp(f....
src/components/Logo/_Logo.js
tutti-ch/react-styleguide
import React, { PureComponent } from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; import classes from "./Logo.scss"; import Image from "../Image/Image"; import TuttiSymbolSquare from "./assets/tutti-logo-square.svg"; import TuttiSymbolT from "./assets/tutti-logo-t-white.svg"; impor...
ajax/libs/yui/3.11.0/scrollview-base/scrollview-base-debug.js
smcguinness/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...
lib/__jquery.tablesorter/jquery-latest.js
pjlinn/homeTheaterD3
/*! * 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...
ajax/libs/core-js/0.4.5/library.js
AlexisArce/cdnjs
/** * Core.js 0.4.5 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
packages/material-ui-icons/src/Replay30TwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8zm-2.44 8.49h.45c.21 0 .37-.05.48-.16s.16-.25.16-.43c0-.08-.01-.15-.04-.22s-.06-.12-.11-.17-.11-.09-...
node_modules/material-ui/lib/svg-icons/navigation/unfold-less.js
Maxwelloff/react-football
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
src/components/SocialIcon.js
thundernixon/blog2017
import React from 'react'; import Link from 'gatsby-link'; export default function SocialIcon({ icon }) { return ( <svg className={`icon ${icon}`}> <use xlinkHref={`#${icon}`} /> </svg> ); }
client/modules/App/components/DevTools.js
trantuthien/React-Test
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> ...
frontend/src/Search/Artist/AddNewArtistModalContentConnector.js
lidarr/Lidarr
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { addArtist, setAddDefault } from 'Store/Actions/searchActions'; import createDimensionsSelector from 'Store/Selectors/createDimensionsSelector'; import ...
src/routes/dashboard/components/weather.js
ykx456654/hr_admin
import React from 'react' import PropTypes from 'prop-types' import styles from './weather.less' function Weather ({ city, icon, dateTime, temperature, name }) { return (<div className={styles.weather}> <div className={styles.left}> <div className={styles.icon} style={{ backgroundImage: `url(${icon...
examples/flux-utils-todomvc/js/app.js
ksivam/flux
/** * Copyright (c) 2014, 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. * * @flow */ 'use s...
src/components/form/checkbox.js
n7best/react-weui
import React from 'react'; import classNames from '../../utils/classnames'; /** * weui wrapper for checkbox * */ const Checkbox = (props) => { const { className, ...others } = props; const cls = classNames({ 'weui-check': true, [className]: className }); return ( <div> ...
src/components/__tests__/TableTest.js
joellanciaux/Griddle
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import Table from '../Table'; test('renders', (t) => { const wrapper = shallow(<Table visibleRows={5} />); t.true(wrapper.matchesElement(<table />)); }); test('renders with style', (t) => { const style = { backgroundColor: '#...
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/source/src/app/components/Applications/Listing/ApplicationTable.js
thusithak/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
src/docs/examples/Label/ExampleRequired.js
coryhouse/ps-react
import React from 'react'; import Label from 'ps-react/Label'; /** Required label */ export default function ExampleRequired() { return <Label htmlFor="test" label="test" required /> }
packages/material-ui-icons/src/AttachMoneyRounded.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="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.42 0 2.13.54 2.39 1.4.12.4.45.7.87.7h.3c.66 0 1.13-.65.9-1.27-.42-1.18-1.4-2.16...
examples/RaisedButton.js
jsbranco/react-materialize
import React from 'react'; import Button from '../src/Button'; import Icon from '../src/Icon'; export default <div> <Button waves='light'>button</Button> <Button waves='light'>button<Icon left>cloud</Icon></Button> <Button waves='light'>button<Icon right>cloud</Icon></Button> </div>;
app/renderer/presentational/generic/List.js
AbsoluteZero273/Deezic
import React from 'react' const List = ({ children, rootClass }) => { return ( <ul className={'mdl-list ' + rootClass}> { children } </ul> ) } export default List
packages/react-server-website/components/page-title.js
redfin/react-server
import PropTypes from 'prop-types'; import React from 'react'; import { Component } from 'react'; import './page-title.less'; export default class PageTitle extends Component { render() { let ctas; if (this.props.viewSourceUrl || this.props.serverVersion) { let viewSourceLink; let serverVersionDiv; if ...
app/react-icons/fa/eur.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaEur extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m30.3 29.2l0.8 3.5q0 0.3-0.1 0.5t-0.4 0.3l-0.1 0.1q-0.1 0-0.2 0t-0.4 0.1-0.5 0.2...
client/app/stories/index.js
nyeholt/silverstripe-microblog
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import Button from 'src/components/Button'; import { HeaderNotifications } from 'src/components/organisms/HeaderNotifications'; storiesOf('Button', module) .add('with text', () => ( <Butto...
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===...
src/svg-icons/av/airplay.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvAirplay = (props) => ( <SvgIcon {...props}> <path d="M6 22h12l-6-6zM21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V5h18v12h-4v2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/> </SvgIcon> ); AvAirplay = pure(AvAirplay...
src/components/common/svg-icons/device/bluetooth-searching.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBluetoothSearching = (props) => ( <SvgIcon {...props}> <path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-.9...
src/components/FontChangeButton.js
hanyulo/twreporter-react
import React from 'react' import styles from './FontChangeButton.scss' import fontIconSmall from '../../static/asset/fontsize-small.svg' import fontIconMedium from '../../static/asset/fontsize-medium.svg' import fontIconLarge from '../../static/asset/fontsize-large.svg' import fontIconClose from '../../static/asset/fon...
app/src/App.js
nickvertucci/Sundays-Are-For-Baseball
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welco...
ajax/libs/asynquence-contrib/0.5.2-a/contrib.js
Amomo/cdnjs
/*! asynquence-contrib v0.5.2-a (c) Kyle Simpson MIT License: http://getify.mit-license.org */ !function(n,e){"undefined"!=typeof module&&module.exports?(module.exports=function t(n){if("string"==typeof n)try{n=require(n)}catch(r){return t}return e(n)},"string"==typeof n&&(module.exports=module.exports(require(...
lib/react-render.js
saw/reactrender
var React = require('react'); var fs = require('fs'); require('node-jsx').install(); var wrapper = fs.readFileSync(__dirname + '/../views/layout.html', 'utf-8'); var arr = wrapper.split('{{content}}'); var start = arr[0]; var end = arr[1]; module.exports = function(filePath, options, callback) { var template = req...
node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable/never.js
rohan07/AngularTutorial
/** * Returns a non-terminating observable sequence, which can be used to denote an infinite duration (e.g. when using reactive joins). * @returns {Observable} An observable sequence whose observers will never get called. */ var observableNever = Observable.never = function () { return new AnonymousObs...
lib/component-library-slides/Mixins.js
RallySoftware/rally-present
import React from 'react'; import CodeBlock from '../components/CodeBlock'; const mixinCode = `React.createClass({ mixins: [ValidationMixin] ...`; export default class Slide extends React.Component { render() { return ( <div> <h1>That sounds like a mixin!</h1> <CodeBlock> {...
src/app/auth/Signup/Signup.js
drivesense/server
import React from 'react'; import { CardTitle, CardText, CardActions, FlatButton, TextField } from 'material-ui'; const styles = { actions: { display: 'flex', justifyContent: 'flex-end' }, text: { display: 'flex', flexDirection: 'column' }, nameContainer: { display: 'flex', ...
ajax/libs/cleave.js/1.2.1/cleave.js
joeyparrish/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Cleave"] = factory(); else root["Cleave...
docs/pages/api-docs/accordion-actions.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/accordion-actions'; const requireRaw = require.context('!raw-loader!./', false, /\/accordion-actions\.md$/); export default ...
node_modules/react-bootstrap/src/Interpolate.js
gitoneman/react-soc
// https://www.npmjs.org/package/react-interpolate-component // TODO: Drop this in favor of es6 string interpolation import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; import assign from './utils/Object.assign'; const REGEXP = /\%\((.+?)\)s/; const Interpolate = React.cre...
app/components/LoginForm/index.js
oualid-mazouz/fbchallenge
import React from 'react'; import {Row,Col,Button,Input,Preloader} from 'react-materialize'; import '../../styles/login/login.css'; class LoginForm extends React.Component { render(){ const {onSubmit,onEmailChange,onPasswordChange,errors,onEnterPressed,isLoading} = this.props; console.log('is...
ajax/libs/forerunnerdb/1.3.887/fdb-all.min.js
sajochiu/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...
node_modules/react-bootstrap/es/ControlLabel.js
skinsshark/skinsshark.github.io
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 ...
packages/wix-style-react/src/CustomModalLayout/docs/examples/BasicExample.js
wix/wix-style-react
/* eslint-disable */ import React from 'react'; import { Checkbox } from 'wix-style-react'; class BasicExample extends React.Component { render() { return ( <CustomModalLayout primaryButtonText="Save" secondaryButtonText="Cancel" onCloseButtonClick={() => {}} title="Create N...
client/verification-portal/pregnancy-resource-center/services.js
HelpAssistHer/help-assist-her
import React from 'react' import injectSheet from 'react-jss' import ServicesGroup from '../components/services-group' import { counselingServices, educationServices, examServices, otherServices, pregnancyTestServices, referralServices, } from '../../../../server/pregnancy-centers/pregnancy-center-services' con...
src/Layout/Footer.spec.js
sagar12861/mars
import React from 'react'; import ReactDOM from 'react-dom'; import Footer from './Footer.js'; describe('Footer', () => { it('renders without crashing', () => { const div = document.createElement('div'); ReactDOM.render(<Footer/>, div); }); });
app/index.js
passionn/react-isomorphic
import React from 'react' import { render } from 'react-dom' import { Router, browserHistory } from 'react-router' import routers from './router' require('./css/main.css'); /*render( <Router routers={routers} history={browserHistory} />, document.getElementById('root') ); */ render( routers, document.getElement...
ajax/libs/6to5/1.12.3/browser-polyfill.js
freak3dot/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...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/babel-runtime/node_modules/core-js/modules/es6.promise.js
jnui/json-ld-generator
'use strict'; var $ = require('./$') , LIBRARY = require('./$.library') , global = require('./$.global') , ctx = require('./$.ctx') , classof = require('./$.classof') , $export = require('./$.export') , isObject = require('./$.is-object') , anObject = require('./$.an-objec...
src/components/Marker/index.js
benceg/dani
import React from 'react'; if (process.env.WEBPACK) require('./stylesheet.styl'); const Marker = ({ title, tint }) => <div className='Marker' style={{backgroundColor: tint}}> {title} </div> Map.propTypes = { title: React.PropTypes.string.isRequired }; export default Marker;
examples/renderinitial/views/App.js
matthewwithanm/monorouter
/** @jsx React.DOM */ var React = require('react'); function App(props, children) { return ( <html> <head> <title>RenderInitial Example</title> </head> <body> {children} <script type="text/javascript" src="/browser.js"></script> </body> </html> ); }; module...
src/Content/Publisher/Publisher.js
Kisfejes/test-mqtt-client
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import AceEditor from 'react-ace'; import 'brace/ext/language_tools'; import 'brace/mode/json'; import 'brace/theme/github'; import styles ...
src/button-second.js
EurekaLabs-Dev/eureka-rn-components
import React from 'react'; import PropTypes from 'prop-types' import { Text, View, TouchableOpacity, StyleSheet } from 'react-native'; function ButtonSecond({title, onPress, style, textStyle}) { return ( <TouchableOpacity onPress={onPress} style={[ styles.container, style ]}> <...
04-split-chunk/resources/assets/js/app1.js
Imballinst/webpack-incremental-tutorial
import React from 'react'; import feelsGoodMan from '../img/feelsgoodman.png'; import { printA } from './util'; console.log('xd'); printA();
ajax/libs/video.js/7.2.3/alt/video.core.novtt.js
joeyparrish/cdnjs
/** * @license * Video.js 7.2.3 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
pages/discover-more/community.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/discover-more/community', false, /\.md|\.js$/); const reqSource = require.context( '!raw-loader!../.....
ajax/libs/angular-google-maps/1.1.10/angular-google-maps.js
sullivanmatt/cdnjs
/*! angular-google-maps 1.1.10 2014-07-27 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/AsyncAwait.js
Clearcover/web-build
/** * 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, { Component } from 'react'; import PropTypes from 'prop-types'; async function load() { return [ { id: 1, name: '1'...
src/home/Kyeosis.js
tyrsius/portfolio
import React from 'react' import { navigate } from 'raviger' import hotkeys from 'hotkeys-js' import { Link } from '../components/index.js' // const kyeoticHosts = ['kyeotic.com', 'localhost'] export function kyeosis() { navigate(window.location.pathname !== '/kyeosis' ? '/kyeosis' : '/about') } hotkeys...
app/javascript/mastodon/features/tutorial/components/tutorial.js
masarakki/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import TutorialContents from './tutorial_contents'; export default class Tutorial extends React.Component { static propTypes = { visible: PropTypes.bool, onClose: PropTypes.func, }; state = { page: 1, display: 'block', totalPage...
src/headers/ColumnEditor.js
diogofcunha/react-data-grid-extensions
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class ColumnEditor extends Component { constructor() { super(); this.handeKeyDown = this.handeKeyDown.bind(this); } static propTypes = { name: PropTypes.string, handleChange: PropTypes.func.isRequired, ...
src/main/webapp/static/jquery-validation/1.11.1/lib/jquery-1.6.4.js
yangming85/jeesite
/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/core-js/0.9.14/shim.js
ematsusaka/cdnjs
/** * core-js 0.9.14 * 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/components/Post/Tags/Tags.js
faizhasim/faizhasim.github.io
// @flow strict import React from 'react'; import { Link } from 'gatsby'; import styles from './Tags.module.scss'; type Props = { tags: string[], tagSlugs: string[] }; const Tags = ({ tags, tagSlugs }: Props) => ( <div className={styles['tags']}> <ul className={styles['tags__list']}> {tagSlugs && tagS...
ajax/libs/material-ui/4.9.2/es/CircularProgress/CircularProgress.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes } from '@material-ui/utils'; import withStyles f...
src/scenes/messages.js
Seeingu/borrow-book
/* 通知 还书时间、押金退还提醒、核验通过提醒 */ import React, { Component } from 'react'; import { Image, Text, View, } from 'react-native'; import { ComponentStyles, CommonStyles, StyleConfig } from '../assets/styles'; export default class Message extends Component { constructor(props) { super(props); this.state = ...
src/utils/MetaHelper.js
muhammadsayuti/releasify-server
import React from 'react' import PropTypes from 'prop-types' /** * * @param {Object} MetaOptions anything that can be used in meta element or title, the key is used as meta name and the value as meta content property */ export default function(MetaOptions) { return function(WrappedComponent) { class MetaHelpe...
frontend/test/app/reducers/newsletter-form-test.js
dannycoates/testpilot
import React from 'react'; import { expect } from 'chai'; import sinon from 'sinon'; import { newsletterFormSetEmail as setEmail, newsletterFormSetPrivacy as setPrivacy, newsletterFormSetSubmitting as setSubmitting, newsletterFormSetFailed as setFailed, newsletterFormSetSucceeded as...
image_styles/node_modules/jqueryui/external/jquery/jquery.js
devalfrz/django-image-styles
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
admin/client/App/shared/Popout/PopoutHeader.js
Yaska/keystone
/** * Render a header for a popout */ import React from 'react'; import Transition from 'react-addons-css-transition-group'; const PopoutHeader = React.createClass({ displayName: 'PopoutHeader', propTypes: { leftAction: React.PropTypes.func, leftIcon: React.PropTypes.string, title: React.PropTypes.string.is...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/react-dom/lib/ReactDOMTreeTraversal.js
bhathiya/test
/** * Copyright 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...
actor-apps/app-web/src/app/components/common/Favicon.react.js
Ajunboys/actor-platform
import React from 'react'; export default class Fav extends React.Component { static propTypes = { path: React.PropTypes.string } constructor(props) { super(props); //// Create link element and it's attributes //let favicon = document.createElement('link'); //let rel = document.createAttrib...
CallDetectionExample/src/HomeComponent.js
priteshrnandgaonkar/react-native-call-detection
/** * @providesModule HomeComponent * */ import React, { Component } from 'react'; import { StyleSheet, Text, View, Button, Linking, ListView } from 'react-native'; var callDetector = undefined import CallDetectorManager from 'react-native-call-detection' export default class HomeComponent extends Com...
ajax/libs/yui/3.1.2/event-custom/event-custom.js
gagan-bansal/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
Libraries/BugReporting/BugReporting.js
tarkus/react-native-appletv
/** * Copyright (c) 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. * * @provides...