target stringlengths 5 300 | feat_repo_name stringlengths 6 76 | text stringlengths 26 1.05M |
|---|---|---|
src/main/resources/web/lib/jquery.min.js | dothub/floodlight | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
src/lib/component.js | tjhz/Ember | import React from 'react'
import {createRenderer} from 'fela'
import {render} from 'fela-dom'
const renderer = createRenderer()
render(renderer)
class Component extends React.Component {
constructor (props) {
super(props)
this.localProperties = {}
this._styles = this.createStyleSheet()
this.cssHel... |
web/js/vendor/jquery-1.11.2.min.js | mikebirdgeneau/Docker-Datastack | /*! jQuery v1.11.2 | (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/modules/Accordion/AccordionAccordion.js | Semantic-Org/Semantic-UI-React | import cx from 'clsx'
import _ from 'lodash'
import PropTypes from 'prop-types'
import React from 'react'
import {
ModernAutoControlledComponent as Component,
childrenUtils,
createShorthandFactory,
customPropTypes,
getElementType,
getUnhandledProps,
} from '../../lib'
import AccordionPanel from './Accordio... |
src/settings/PatronGroupsSettings.js | folio-org/ui-users | import React from 'react';
import PropTypes from 'prop-types';
import {
FormattedMessage,
injectIntl,
} from 'react-intl';
import { ControlledVocab } from '@folio/stripes/smart-components';
import { withStripes } from '@folio/stripes/core';
class PatronGroupsSettings extends React.Component {
static propTypes = ... |
node/webpack/react/mount/mount.js | wushi27/nodejs201606 | 'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
var Hello = React.createClass({
getInitialState:function(){
return {
opacity:1
};
},
componentDidMount:function(){
this.timer = setInterval(function(){
var opacity = this.state.opacity... |
js/components/App.js | ranjithnori/lemons-list | import React from 'react';
import Relay from 'react-relay';
import AddLemonMutation from '../mutations/AddLemonMutation';
import DeleteLemonMutation from '../mutations/DeleteLemonMutation';
import EditLemonMutation from '../mutations/EditLemonMutation';
class App extends React.Component {
state = {
firstName... |
src/entypo/Document.js | cox-auto-kc/react-entypo | import React from 'react';
import EntypoIcon from '../EntypoIcon';
const iconClass = 'entypo-svgicon entypo--Document';
let EntypoDocument = (props) => (
<EntypoIcon propClass={iconClass} {...props}>
<path fillRule="evenodd" clipRule="evenodd" d="M16,1H4C3.447,1,3,1.447,3,2v16c0,0.552,0.447,1,1,1h12c0.553... |
uncontrolled/Cinput.js | eyesofkids/react-compositionevent | // @flow
import React from 'react'
const Cinput = (props: any) => {
// record if is on Composition
let isOnComposition: boolean = false
const isChrome = !!window.chrome && !!window.chrome.webstore
const handleComposition = (e: KeyboardEvent) => {
if (e.type === 'compositionend') {
// composition is ... |
ajax/libs/js-data/2.0.0-beta.2/js-data-debug.min.js | voronianski/cdnjs | /*!
* js-data
* @version 2.0.0-beta.2 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUnivers... |
src/svg-icons/action/info-outline.js | mit-cml/iot-website-source | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionInfoOutline = (props) => (
<SvgIcon {...props}>
<path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h... |
node_modules/npm-run-all/node_modules/babel-runtime/helpers/jsx.js | chszard/chszard.github.io | "use strict";
exports.__esModule = true;
var _for = require("../core-js/symbol/for");
var _for2 = _interopRequireDefault(_for);
var _symbol = require("../core-js/symbol");
var _symbol2 = _interopRequireDefault(_symbol);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; ... |
src/client/components/list/button/PrintButton.js | DBCDK/content-first | import React from 'react';
import Button from '../../base/Button';
import T from '../../base/T';
import withPermissions from '../../hoc/Permissions';
const PrintButton = ({
style,
onClick = false,
className,
_id = 'huskeliste'
}) => {
return (
<Button
size="large"
type="link2"
iconLeft... |
docs/app/Examples/elements/Label/Content/index.js | Rohanhacker/Semantic-UI-React | import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const LabelContent = () => (
<ExampleSection title='Content'>
<ComponentExample
title='Detail'
description='A label ... |
ui/js/dfv/src/fields/time/index.js | pods-framework/pods | import React from 'react';
import PropTypes from 'prop-types';
import DateTime from '../datetime';
import { FIELD_COMPONENT_BASE_PROPS } from 'dfv/src/config/prop-types';
const Time = ( props ) => {
const {
fieldConfig = {},
} = props;
// Process the field config so that properties prefixed with "date_"
// are... |
waliki/static/js/jquery.min.js | aszepieniec/waliki | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
ajax/libs/shariff/1.16.0/shariff.complete.js | ahocevar/cdnjs |
/*!
* shariff - v1.16.0 - 13.07.2015
* https://github.com/heiseonline/shariff
* Copyright (c) 2015 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
* Licensed under the MIT license
*/
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)... |
src/ForgotPassword.js | HimanshuBCS/mt2414ui | /**
* @module src/ForgotPassword
*
* Component that display ForgotPassword with validation of each field
* Accepts the following properties:
* - password: enter the same password which you have enter at the time of signup
* - passwordConfirm: enter the same password for confirmpassword
*
*/
import React, ... |
src/pages/Splash.js | zzelune/neam | /*
* @Author: zhaozheng1.zh
* @Date: 2017-08-30 21:08:30
* @Last Modified by: zhaozheng1.zh
* @Last Modified time: 2017-09-14 10:07:14
*/
import React from 'react';
import { Dimensions, Animated } from 'react-native';
import NavigationUtil from '../utils/NavigationUtil';
const maxHeight = Dimensions.get('window').... |
docs/src/pages/components/lists/CheckboxListSecondary.js | kybarg/material-ui | import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import ListItemSecondaryAction from '@material-ui/core/ListItemSecondaryAction';
import ListItemText from '@material-ui/core/ListItemText';
impo... |
app/javascript/mastodon/components/status_action_bar.js | TootCat/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import IconButton from './icon_button';
import DropdownMenu from './dropdown_menu';
import { defineMessages, injectIntl } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure... |
ajax/libs/styled-components/4.0.0-beta.4-hmr/styled-components.browser.esm.min.js | cdnjs/cdnjs | import Stylis from"stylis/stylis.min";import _insertRulePlugin from"stylis-rule-sheet";import React,{cloneElement,createContext,Component,createElement,PureComponent}from"react";import{isValidElementType}from"react-is";import memoize from"memoize-one";import PropTypes from"prop-types";import validAttr from"@emotion/is-... |
examples/test-cra/src/index.js | enjoylife/storybook | import React from 'react';
import ReactDOM from 'react-dom';
import { document } from 'global';
import App from './App';
import './index.css';
ReactDOM.render(<App />, document.getElementById('root'));
|
src/components/TrackingDetailsContainer/TrackingStatusContainer.js | alexhawkins/trackingWidget | 'use strict';
import React from 'react';
import'styles//TrackingStatus.scss';
class TrackingStatusContainer extends React.Component {
render() {
return (
<div className="trackingstatus-component">
</div>
);
}
}
TrackingStatusContainer.displayName = 'TrackingStatusContainerComponent';
// Unco... |
src/components/tooltips/demos/Right.js | isogon/styled-mdl | import React from 'react'
import { Tooltip, Button, Icon } from '../../../'
export default () => (
<Tooltip message="Follow" position="right">
<Button icon>
<Icon name="add" />
</Button>
</Tooltip>
)
|
src/layouts/CoreLayout.js | crystalstone/react-redux-starter-kit | import React from 'react';
import 'styles/core.scss';
export default class CoreLayout extends React.Component {
static propTypes = {
children : React.PropTypes.element
}
constructor () {
super();
}
render () {
return (
<div className='page-container'>
<div className='view-containe... |
node_modules/lite-server/node_modules/browser-sync/node_modules/rx/dist/rx.lite.extras.js | ethan1341/heroku-league | // Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'function': true,
'object': true
};
function checkGlobal(value) {
return (value && value.Object === Object) ? value : null;
}
var freeExports ... |
packages/react/components/page.js | iamxiaoma/Framework7 | import React from 'react';
import Utils from '../utils/utils';
import Mixins from '../utils/mixins';
import F7PageContent from './page-content';
import __reactComponentDispatchEvent from '../runtime-helpers/react-component-dispatch-event.js';
import __reactComponentSlots from '../runtime-helpers/react-component-slots.j... |
ajax/libs/yasr/2.5.3/yasr.bundled.min.js | pm5/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){... |
components/main.js | Yutenko/stories360 | import React from 'react'
import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import getMuiTheme from 'material-ui/styles/getMuiTheme'
import Header from './header'
import Footer from './footer'
import Messenger from './messenger'
... |
src/svg-icons/image/texture.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageTexture = (props) => (
<SvgIcon {...props}>
<path d="M19.51 3.08L3.08 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L20.93 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.88 3L3 11.88v2.83L14.71 3h-2.83zM5 3c-1.1 0-2 .9-2 ... |
src/public/home/components/index-component.js | msherer95/tastir |
/* eslint-disable */
import React from 'react';
import ReactDOM from 'react-dom';
import {Container1} from './container1-component';
import {Container2} from './container2-component';
import {Container3} from './container3-component';
import {Container4} from './container4-component';
/* eslint-disable */
// homepage... |
src/components/about.js | 7022Andre/kitti | import React from 'react';
import { Link } from 'react-router-dom';
import Header from './common/kittiHeader';
import '../css/about.css';
export default () => {
return (
<div className="About">
<Header title={'About Kitti'} />
<div className="about-feature">
<div className="about-content">
... |
ajax/libs/mobx/3.6.0/mobx.min.js | joeyparrish/cdnjs | /** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */
"use strict";function e(e,t){function n(){this.constructor=e}en(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function t(e){return e.interceptors&&e.interceptors.length>0}function n(e,t){var n=e.interceptors||(e.interceptors=[]);... |
src/app.js | gj262/noaa-coops-viewer | import React from 'react'
import ReactDOM from 'react-dom'
import { connectRouter, routerMiddleware } from 'connected-react-router'
import thunkMiddleware from 'redux-thunk'
import { createBrowserHistory } from 'history'
import { applyMiddleware, compose, createStore, combineReducers } from 'redux'
import 'utils/loggin... |
js/jquery-ui-1.11.3.custom/external/jquery/jquery.js | emacip/lifetrackphp_bluemix | /*!
* 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 ) {
// ... |
ajax/libs/aui/5.2-m6/js/aui-dependencies.js | altmind/cdnjs | /*! AUI Flat Pack - version 5.2-m6 - generated 2013-05-29 03:12:37 -0400 */
/*
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* D... |
app/javascript/mastodon/features/compose/components/character_counter.js | tootcafe/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { length } from 'stringz';
export default class CharacterCounter extends React.PureComponent {
static propTypes = {
text: PropTypes.string.isRequired,
max: PropTypes.number.isRequired,
};
checkRemainingText (diff) {
if (diff < 0)... |
src/components/Header/Header.js | warcraftlfg/warcrafthub-client | import React from 'react'
import {Link, IndexLink} from 'react-router'
import SearchBar from '../../components/SearchBar'
import SideBarMenu from '../../components/SideBarMenu'
import SideBarAccount from '../../components/SideBarAccount'
import logo from './assets/logo.svg'
import './Header.scss'
class Header exten... |
ajax/libs/mobx-react/4.0.3-rc/custom.min.js | iwdmb/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("mobx"),require("react")):"function"==typeof define&&define.amd?define(["mobx","react"],t):"object"==typeof exports?exports.mobxReact=t(require("mobx"),require("react")):e.mobxReact=t(e.mobx,e.React)}(this,function(e,t){return fun... |
src/svg-icons/action/restore.js | spiermar/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionRestore = (props) => (
<SvgIcon {...props}>
<path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 ... |
src/routes/CheckIn/components/CheckIn.js | oliveirafabio/test-senior | import React from 'react'
import classes from './CheckIn.scss'
import { Button, Panel, CheckBox } from 'react-bootstrap'
import { Field } from 'redux-form'
import FieldGroup from 'components/FieldGroup'
import Autocomplete from 'components/Autocomplete'
export const CheckIn = (props) => {
const { handleSubmit, check... |
ajax/libs/react-instantsearch/3.3.0/Connectors.min.js | jdh8/cdnjs | /*! ReactInstantSearch 3.3.0 | © Algolia, inc. | https://community.algolia.com/instantsearch.js/react/ */
!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.Connectors=t(require("r... |
admin/webpack.production.js | dianpou/dianpou | var path = require('path');
var glob = require('glob');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
devtool:'eval',
context: __dirname,
node: {
__filename: true
}... |
library_js/src/index.js | HoldYourBreath/Library | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { BrowserRouter } from 'react-router-dom';
import registerServiceWorker from './registerServiceWorker';
import '../node_modules/bootstrap/dist/css/bootstrap.min.css';
import '../node_modules/bootstrap/dist/css/bootstrap-theme... |
src/components/seo.js | Pier1/rocketbelt | import React from 'react';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import { useStaticQuery, graphql } from 'gatsby';
function SEO({ pageContext, pageMetadata, title, meta }) {
meta = meta || [];
const { site } = useStaticQuery(
graphql`
query {
site {
sit... |
src/application/components/ApplicationHome.js | movio/apidoc-ui | // @flow
import React from 'react';
import { onClickHref, cleanPath } from 'utils';
import H1 from 'components/H1';
import Markdown from 'components/Markdown';
import ResourceCard from 'application/components/ResourceCard';
import type { Service } from 'generated/version/ServiceType';
import styles from 'applicatio... |
docs/src/pages/system/palette/Color.js | allanalexandre/material-ui | import React from 'react';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
function Color() {
return (
<Typography component="div" variant="body1">
<Box color="primary.main">primary.main</Box>
<Box color="secondary.main">secondary.main</Box>
<Box ... |
grails-app/assets/javascripts/jquery.min.js | vahidhedayati/jssh | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
ajax/libs/yui/3.14.0/event-focus/event-focus-coverage.js | sreym/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/routes/Player/components/Player/MP4Player/MP4AlphaPlayer.js | bhj/karaoke-forever | import PropTypes from 'prop-types'
import React from 'react'
import GLChroma from 'gl-chromakey'
class MP4Player extends React.Component {
static propTypes = {
isPlaying: PropTypes.bool.isRequired,
mediaId: PropTypes.number.isRequired,
mediaKey: PropTypes.number.isRequired,
mp4Alpha: PropTypes.number... |
assets/js/jquery.js | thinhit/sipml5 | /*! jQuery v1.7.1 jquery.com | jquery.org/license */
(function( window, undefined ) {
// Use the correct document accordingly with window argument (sandbox)
var document = window.document,
navigator = window.navigator,
location = window.location;
var jQuery = (function() {
// Define a local copy of jQuery
var jQuer... |
src/components/Profile.js | kimckm/dictation-wx | import React from 'react';
import { List, Tag } from 'antd-mobile';
const Item = List.Item;
const Profile = () => (
<List renderHeader={() => '我'}>
<Item extra={'大鱼师兄'}>
<img
src="https://avatars3.githubusercontent.com/u/3894562?v=4&s=400&u=0b6504f1ec606deaff9ca4dd3b08a415a9b3a25a"
style={... |
components/DownloadLinks/index.js | bmagic/acdh-client | import React from 'react'
import PropTypes from 'prop-types'
import generateUrl from 'utils/urlGenerator'
const DownloadLinks = (props) => {
const links = props.links.map((link, index) => {
let name
switch (link.get('type')) {
case 'story':
name = 'Le récit'
break
case 'video':
... |
packages/material-ui-icons/src/SignalWifi4BarLockRounded.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.55 9.61L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l10.08 12.56c.8 1 2.32 1 3.12 0l1.94-2.42V14.5c0-2.8 2.2-5 5-5 .36 0 .71.04 1... |
ajax/libs/fixed-data-table/0.6.0-rc1/fixed-data-table.js | menuka94/cdnjs | /**
* FixedDataTable v0.6.0-rc1
*
* Copyright (c) 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 d... |
submissions/pasieronen/client.js | gterzian/flux-challenge | import React from 'react';
import Dispatcher from './Dispatcher';
import * as JediConstants from './JediConstants';
import JediApp from './JediApp';
import * as JediStore from './JediStore';
window.onload = () =>
Dispatcher.dispatch(JediConstants.START, {
firstJediId: 3616,
firstJediUrl: "http://localhost:... |
modules/experimental/AsyncProps.js | flocks/react-router | import React from 'react';
import invariant from 'invariant';
var { func, array, shape, object } = React.PropTypes;
var contextTypes = {
asyncProps: shape({
reloadComponent: func,
propsArray: array,
componentsArray: array
})
};
var _serverPropsArray = null;
function setServerPropsArray(array) {
inv... |
src/utils/Misc.js | Fineighbor/ui-kit | import React from 'react'
import { mapProps } from 'recompose'
export const filterProps = (Component, filteredProps) => (props) => {
const newProps = Object.assign({}, props)
filteredProps.forEach(propName => {
delete newProps[propName]
})
return <Component {...newProps} />
}
export { mapProps }
|
src/DownloadTokens.js | HimanshuBCS/mt2414ui | /**
* @module src/DownloadTokens
*
* Component that display SourceDocument
* Accepts the following properties:
* - language: Ethnologue code of the language
* - version: Version of the language
* - revision: Autogenerated for each updation of this same source
*/
import React, { Component } from 'react';
impo... |
src/routes/Admin/routes/Dashboard/components/charts/Block.js | EricThsi/thsi-react-admin | import React from 'react'
import { Col } from 'antd'
import { blockIcon } from '../config'
import { parseNumber } from '../parseNumber'
const Block = props => {
const data = props.data
const statsData = data.stats
let renderData = null
if (statsData) {
const blockWidth = 24 / data.block.length
renderDa... |
src/components/UserInfoPopover.js | dkadrios/zendrum-stompblock-client | import React from 'react'
import PropTypes from 'prop-types'
const UserInfoPopover = ({ showDialog }) => (
<span
onClick={showDialog}
role="button"
tabIndex="0"
>
Please take a moment to register your STOMPBLOCK
</span>
)
UserInfoPopover.propTypes = { showDialog: PropTypes.func.isRequired }
exp... |
src/interface/Portal.js | sMteX/WoWAnalyzer | import React from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import PortalTarget from './PortalTarget';
class Portal extends React.PureComponent {
static propTypes = {
children: PropTypes.node.isRequired,
};
state = {
elem: null,
};
componentDidMount() {
this.... |
js/jquery-1.7.2.min.js | maxdup/Prolix | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
frontend/assets/js/components/JobForm.js | ianmilliken/rwf | import React from 'react';
const JobForm = (props) => {
// Collector variables
let roleSelect, fruitSelect, startDateInput, durationInput, descriptionInput = null;
return (
<form method="post" onSubmit={e => {
e.preventDefault();
// Assemble data into object
var input = {
role: rol... |
Examples/UIExplorer/TextExample.ios.js | ivanph/react-native | /**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... |
tests/lib/rules/display-name.js | lencioni/eslint-plugin-react | /**
* @fileoverview Prevent missing displayName in a React component definition
* @author Yannick Croissant
*/
'use strict';
// ------------------------------------------------------------------------------
// Requirements
// ------------------------------------------------------------------------------
var rule =... |
web/src/main/webapp_source/src/components/Inventory.js | mschvarc/PB138-Inventory-Management | import React, { Component } from 'react';
import InventoryTable from './components/InventoryTable';
class Inventory extends Component {
render() {
var items = this.props.items;
return <div className="page-inventory row">
<div className="small-12 columns">
<h2>Current Inventory</h2>
<Inventory... |
packages/material-ui-icons/src/ErrorTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M12 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm1 13h-2v-2h2v2zm0-4h-2V7h2v6z" opacity=".3" /><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17... |
ajax/libs/rxjs-dom/7.0.3/rx.dom.js | sreym/cdnjs | // Copyright (c) Microsoft, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'function': true,
'object': true
};
function checkGlobal(value) {
return (value && value.Object === Object) ? value : null;
}
var freeExp... |
src/docs/components/heading/HeadingDoc.js | grommet/grommet-docs | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import Heading from 'grommet/components/Heading';
import Anchor from 'grommet/components/Anchor';
import Button from 'grommet/components/Button';
import DocsArticle from '../../../components/DocsArticle';
ex... |
app/javascript/packs/application.js | robotstart/mastodon | import Mastodon from 'mastodon/containers/mastodon';
import React from 'react';
import ReactDOM from 'react-dom';
import 'font-awesome/css/font-awesome.css';
import '../styles/application.scss';
if (!window.Intl) {
require('intl');
require('intl/locale-data/jsonp/en.js');
}
window.jQuery = window.$ = require('jqu... |
ajax/libs/yui/3.18.1/datatable-body/datatable-body.js | tholu/cdnjs | YUI.add('datatable-body', function (Y, NAME) {
/**
View class responsible for rendering the `<tbody>` section of a table. Used as
the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes.
@module datatable
@submodule datatable-body
@since 3.5.0
**/
var Lang = Y.Lang,
isArray = ... |
app/components/overview/index.js | wfa207/portfolio-page | 'use strict';
import React, { Component } from 'react';
import SocialBtn from '../social_button';
import { buttons } from '../../data';
export default class Overview extends Component {
constructor(props) {
super(props);
}
render() {
return (
<header>
<div className='container'>
... |
src/views/menu.js | wiki1024/sam-bs | import React, { Component } from 'react';
import Row from '../components/bootstrap/Row'
import Column from '../components/bootstrap/Column'
import Dropdown from '../components/bootstrap/Dropdown'
import { toggleMenu,clickOption } from '../actions/dropdownAction'
export default function menu(viewModel) {
let menuMo... |
packages/generator-emakinacee-react/generators/app/templates/static/src/containers/Home/Home.spec.js | emakina-cee-oss/generator-emakinacee-react | import React from 'react';
import ReactDOM from 'react-dom';
import { Container } from '@cerebral/react';
import controller from '../../controller';
import Home from './Home';
describe('Home', () => {
it('renders without crashing', () => {
ReactDOM.render(
<Container controller={controller} >
... |
node_modules/node_modules/material-ui/svg-icons/notification/do-not-disturb-off.js | SerendpityZOEY/Fixr-RelevantCodeSearch | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
src/layouts/BlogLayout/BlogLayout.js | cdtinney/cdtinney.github.io | import React from 'react';
import PropTypes from 'prop-types';
import PageLayout from '../PageLayout';
import classes from './BlogLayout.module.css';
function BlogLayout({ pageTitle, pageDescription, children }) {
return (
<PageLayout
pageTitle={pageTitle}
pageDescription={pageDescription}
ti... |
packages/storybook/src/storybook.js | newsuk/times-components | import { storiesOf } from "@storybook/react-native";
import * as actions from "@storybook/addon-actions";
import * as builtInKnobs from "@storybook/addon-knobs/react";
import * as decorators from "./decorators";
import showcaseToStoryBook from "./showcase-to-storybook";
import sections from "./sections";
import NewTab ... |
ajax/libs/forerunnerdb/1.3.875/fdb-all.min.js | Amomo/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... |
src/Web/CommonNews.Web/Scripts/jquery-1.10.2.min.js | EmilPD/Common-News | /* 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... |
ajax/libs/pdf.js/2.0.129/pdf.js | sufuf3/cdnjs | /* Copyright 2017 Mozilla Foundation
*
* 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... |
ajax/libs/react-highcharts/8.4.2/ReactHighmaps.src.js | him2him2/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("highcharts/highmaps"));
else if(typeof define === 'function' && define.amd)
define(["react", "highcharts/highmaps"], factory);
else if(type... |
06/src/layouts/Nav.js | arcthur/react-book-examples | import React from 'react';
import { Link } from 'react-router';
export default class Nav extends React.Component {
render() {
return (
<nav>
<Link to="/">Home</Link>
</nav>
);
}
}
|
static/node_modules/material-ui/svg-icons/social/cake.js | unmeshpro/easyPost | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
node_modules/react-avatar/node_modules/react/lib/ReactInputSelection.js | yomolify/cc-server | /**
* Copyright 2013-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.
*
* @providesModule ... |
js/components/footer/iconText.js | YeisonGomez/RNAmanda |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { actions } from 'react-native-navigation-redux-helpers';
import { Container, Header, Title, Content, Button, Footer, FooterTab, Text, Body, Left, Right, Icon } from 'native-base';
import { Actions } from 'react-native-router-flux'... |
src/components/followers/followers_list.js | carlosfh87/KN_REACT_API | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { showLoader } from '../../actions/index';
import FollowerListItem from './followers_list_item';
class FollowersList extends Component{
constructor(props){
super(props);
}... |
src/views/Icons/SimpleLineIcons/SimpleLineIcons.js | hungtruongquoc/shipper_front | import React, { Component } from 'react';
class SimpleLineIcons extends Component {
render() {
return (
<div className="animated fadeIn">
<div className="card card-default">
<div className="card-header">
<i className="fa fa-picture-o"></i> Simple Line Icons
</div>
... |
src/components/orderInput/shopSelect/shopSelect.js | beehive-spg/beehive-frontend | import React from 'react'
import Select from 'react-select'
import 'react-select/dist/react-select.css'
import './shopSelect.css'
export default class ShopSelect extends React.Component {
render() {
const { selected, onSelect, shops } = this.props
return (
<Select
name="shopSelect"
placeholder="Select... |
ajax/libs/material-ui/5.0.0-alpha.14/AvatarGroup/AvatarGroup.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import { isFragment } from 'react-is';
import clsx from 'clsx';
import { chainPropTypes } fr... |
ajax/libs/material-ui/4.9.4/esm/TablePagination/TablePagination.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import { chainPropTypes } from '@material-ui/utils';
import clsx from 'clsx';
import withStyles from '../st... |
src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js | silkapp/react | /**
* Copyright 2014-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/components/Btns/BtnRefresh.js | hahoocn/hahoo-admin | import React from 'react';
import MenuItem from 'react-bootstrap/lib/MenuItem';
import Tap from '../hahoo/Tap';
class BtnRefresh extends React.Component {
static defaultProps = {
dropdown: false
}
static propTypes = {
dropdown: React.PropTypes.bool,
onItemClick: React.PropTypes.func
}
render() ... |
ajax/libs/ui-router-extras/0.1.0/ct-ui-router-extras.min.js | BenjaminVanRyseghem/cdnjs | /** UI-Router Extras v.0.1.0 Monolithic build (all modules) http://christopherthielen.github.io/ui-router-extras/ - MIT License */
!function(t,e){"use strict";"function"==typeof define&&define.amd?define(["angular"],function(t){e(t)}):e("object"==typeof exports?require("angular"):t.angular)}(this,function(t,e){function... |
packages/material-ui-icons/src/LocationCity.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z" /></g>
, 'LocationCity');
|
ajax/libs/legojs/0.0.1/lego.min.js | MisatoTremor/cdnjs | /*
* __ _
* / /__ ____ ____ (_)____
* / / _ \/ __ `/ __ \ / / ___/
* / / __/ /_/ / /_/ / / (__ )
* /_/\___/\__, /\____(_)_/ /____/
* /____/ /___/
*
*
* https://github.com/tybenz/legojs
*
* made in 2013
* by
* Tyler Benziger
* -... |
wp-content/themes/polis-theme/js/caroufredsel/jquery-1.8.2.min.js | brasadesign/wp-polis | /*! 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===... |
app/assets/scripts/components/breakpoint.js | openaq/openaq.org | 'use strict';
import React from 'react';
import { PropTypes as T } from 'prop-types';
import { environment } from '../config';
export const RANGE_MATRIX = {
xsmall: [0, 543],
small: [544, 767],
medium: [768, 991],
large: [992, 1199],
xlarge: [1200, Infinity],
};
class Breakpoint extends React.Component {
... |
src/svg-icons/social/plus-one.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialPlusOne = (props) => (
<SvgIcon {...props}>
<path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4zm4.5-1.92V7.9l2.5-.5V18h2V5z"/>
</SvgIcon>
);
SocialPlusOne = pure(SocialPlusOne);
SocialPlusOne.displayName = 'Social... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.