path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/yui/3.11.0/scrollview-base/scrollview-base-debug.js
hikaMaeng/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...
assets/js/jquery.min.js
humatios/tiendawebci
/*! 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...
admin/client/components/PopoutPane.js
Ftonso/keystone
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; var PopoutPane = React.createClass({ displayName: 'PopoutPane', propTypes: { children: React.PropTypes.node.isRequired, className: React.PropTypes.string, onLayout: React.PropTypes.func }, getDefaultProps () { ...
frontend/src/components/dialog/dismiss-group-dialog.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap'; import { gettext } from '../../utils/constants'; import { seafileAPI } from '../../utils/seafile-api'; import { Utils } from '../../utils/utils'; import toaster from '../toast'...
packages/jsx_orphaned_brackets_transformer/run.js
alexanther1012/react
#!/usr/bin/env node 'use strict'; var FileFinder = require('node-find-files'); var fs = require('graceful-fs'); var jstransform = require('jstransform'); var path = require('path'); var visitReactTag = require('./transforms/react').visitReactTag; /*eslint-disable no-shadow*/ var S = jstransform.Syntax; var USAGE = ...
react/reactRedux/redux-master/examples/tree-view/src/index.js
huxinmin/PracticeMakesPerfect
import React from 'react' import { render } from 'react-dom' import { createStore } from 'redux' import { Provider } from 'react-redux' import reducer from './reducers' import generateTree from './generateTree' import Node from './containers/Node' const tree = generateTree() const store = createStore(reducer, tree) r...
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.js
Wohlfarth/terrevirtuelle
/*! * 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 * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
app/containers/DataView/3D.js
SpatialMap/SpatialMapDev
import React, { Component } from 'react'; import * as THREE from 'three'; class Scene extends React.Component { constructor(props) { super(props) console.log(props); this.height = props.height this.width = props.width this.start = this.start.bind(this) this.stop = this.stop.bind(this) thi...
src/www/js/components/filter-button.js
nickolusroy/react_dnd
import React from 'react'; import * as utilities from "../utilities.js"; import { SubmitButton } from '../form-fields/submit-button.js'; /** * makes a button that filters the state by specified key and value * @param {string} key [key to search] * @param {string} val [value to search] * @param {string} labe...
src/spa/dev/js/components/workflow-state.js
MoimHossain/netcore-microservice-tutorial
import React from 'react'; const WorkflowState = (props) => ( <div className="ui ordered steps"> <div className="completed step"> <div className="content"> <div className="title">SO</div> <div className="description">Schets ontwerp</div> </div> ...
test/containers/CounterPage.spec.js
FilipPyrek/school-project-match-generator
import React from 'react'; import { mount } from 'enzyme'; import { Provider } from 'react-redux'; import { createBrowserHistory } from 'history'; import { ConnectedRouter } from 'react-router-redux'; import CounterPage from '../../app/containers/CounterPage'; import { configureStore } from '../../app/store/configureSt...
src/components/Login.js
darksc/reactc
'use strict'; import React, { Component } from 'react'; import { Router } from 'react-router'; export default class Login extends Component { static contextTypes = { router: React.PropTypes.object.isRequired }; constructor(props, context) { super(props, context); this.state = {...
src/root/Root.js
jorilindell/postit-react
// @flow import React from 'react' import {Provider} from 'react-redux' import {Router} from 'react-router' import routes from './routes' export type RootProps = { history: any, store: any, } const Root = ({history, store}: RootProps) => <Provider store={store}> <Router history={history} routes={routes} ke...
modules/gui/src/widget/panelSections.js
openforis/sepal
import * as PropTypes from 'prop-types' import {Form} from './form/form' import {Panel} from 'widget/panel/panel' import ButtonSelect from 'widget/buttonSelect' import React from 'react' import _ from 'lodash' export default class PanelSections extends React.Component { render() { const {icon, step} = this...
files/babel/5.6.6/browser-polyfill.js
moay/jsdelivr
(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...
app/client/src/components/Layout/components/HeaderContainer/components/Header/Header.js
uprisecampaigns/uprise-app
import PropTypes from 'prop-types'; import React from 'react'; import ClassNames from 'classnames'; import ArrowDropUp from 'material-ui/svg-icons/navigation/arrow-drop-up'; import AccountCircle from 'material-ui/svg-icons/action/account-circle'; import Avatar from 'material-ui/Avatar'; import Link from 'components/Li...
website/modules/components/App.js
asaf/react-router
import React from 'react' // don't want the shimmed one // eslint-disable-next-line import BrowserRouter from '../../../packages/react-router-dom/BrowserRouter' // this stuff is shimmed, see ReactRouterDOMShim.js for more details import { Switch, Route } from 'react-router-dom' import DelegateMarkdownLinks from './D...
ajax/libs/ember-data.js/2.5.0-beta.3/ember-data.prod.js
dc-js/cdnjs
(function(){ "use strict"; /*! * @overview Ember Data * @copyright Copyright 2011-2016 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 2.5.0-beta.3 */ var define, requireModule, require, requirejs; (func...
packages/material-ui-icons/src/StreetviewRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12.56 14.33c-.34.27-.56.7-.56 1.17V21h7c1.1 0 2-.9 2-2v-5.98c-.94-.33-1.95-.52-3-.52-2.03 0-3.93.7-5.44 1.83z" /><circle cx="18" cy="6" r="5" /><path d="M11.5 6c0-1.08.27-2.1.74-3H5c-...
src/components/forms/FormCheckbox.js
ProAI/react-essentials
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import Field from './Field'; import useIdentifier from '../../hooks/useIdentifier'; import useFormField from './useFormField'; import FieldPropTypes from './FieldPropTypes'; const propTypes = { ...FieldPropTypes, label: Pro...
docs/server.js
roderickwang/react-bootstrap
/* eslint no-console: 0 */ import 'colors'; import React from 'react'; import express from 'express'; import path from 'path'; import Router from 'react-router'; import routes from './src/Routes'; import httpProxy from 'http-proxy'; import metadata from './generate-metadata'; import ip from 'ip'; const development =...
source/app/app.js
Vuanjun/meep-toy
import React from 'react'; import House from './lib/container'; import 'normalize.css/normalize.css!'; import 'font-awesome/css/font-awesome.min.css!'; // import Sidebar from './lib/sidebar'; // import Meeptv Vfrom './lib/meeptv'; import RouterStore from 'meepworks/stores/router-store'; // import ChatStore from './stor...
lib/yuilib/2in3/2.9.0/build/yui2-yuiloader/yui2-yuiloader-debug.js
dwaynetin/garage
YUI.add('yui2-yahoo', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{}); YUI.add('yui2-get', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{"requires": ["yui2-yahoo"]}); YUI.add('yui2-yuiloader', function(Y) { /* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: htt...
node_modules/karma-es6-shim/node_modules/es6-shim/es6-shim.min.js
diztinct-tim/ESL
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.34.4 * see https://github.com/paulmillr/es6-shim/blob/0.34.4/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-s...
static/js/main.4858836d.js
husm/husm.github.io
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return ...
src/svg-icons/toggle/radio-button-checked.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleRadioButtonChecked = (props) => ( <SvgIcon {...props}> <path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3...
app/components/LoadingIndicator/index.js
c-dagostino/react-boilerplate-example
import React from 'react'; import Circle from './Circle'; import Wrapper from './Wrapper'; const LoadingIndicator = () => ( <Wrapper> <Circle /> <Circle rotate={30} delay={-1.1} /> <Circle rotate={60} delay={-1} /> <Circle rotate={90} delay={-0.9} /> <Circle rotate={120} delay={-0.8} /> <Cir...
packages/reactor-conference-app/src/schedule/EventTpl.js
dbuhrman/extjs-reactor
import React from 'react'; import highlight from '../util/highlight'; export function createTpl({ getQuery, showTime=true, onFavoriteClick }) { return data => { const mark = (text) => { const query = getQuery(); return query ? highlight(query, text) : { __html: text}; } ...
files/yasr/2.2.0/yasr.bundled.min.js
ramda/jsdelivr
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASR=e()}}(function(){var e;return function t(e,n,r){...
client/components/Faq/index.js
bzswords/blackstallion
/* * * Faq * */ import React from 'react'; import Page from './../shared/Page'; import PageHeader from './../shared/PageHeader'; import Questions from './../Faq/Questions'; import MobileBackground from './../../assets/images/Faq/mobile-faq-header-img.jpg'; import DesktopBackground from './../../assets/images/Faq...
ajax/libs/6to5/3.0.15/browser-polyfill.js
viskin/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/svg-icons/places/spa.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesSpa = (props) => ( <SvgIcon {...props}> <path d="M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1.61zm10.43-1.61c-1.29.34-2.49.91-3.57 1.64 1.08-.73 2.28-1.3 3.57-1.64z"/><path d="M15.49 9.63c...
client/src/components/atomic/RegularExpressionsList.js
kfirprods/tpp
import React from 'react'; import InputList from './InputList'; export default class RegularExpressionsList extends React.Component { render() { return ( <InputList {...this.props} maxItems={10} placeholder="Regular Expression" ...
ajax/libs/F2/1.3.1/f2.no-easyXDM.js
briznad/cdnjs
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
src/app/component/labeled-field/labeled-field.story.js
all3dp/printing-engine-client
import React from 'react' import {storiesOf} from '@storybook/react' import {withState} from '@dump247/storybook-state' import LabeledField from '.' import NumberField from '../number-field' storiesOf('LabeledField', module).add( 'default', withState({value: 1}, store => ( <LabeledField label="Label:"> ...
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-router/4.1.1/es/Route.js
Akkuma/npm-cache-benchmark
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _classCallCheck(instance, Constructor) { if (!(insta...
app/assets/scripts/components/Workspace/index.js
bartoszkrawczyk2/curves.js
import React, { Component } from 'react'; import './style.scss'; class Workspace extends Component { render() { return ( <main className='workspace-wrapper'> {this.props.children} </main> ); } } export default Workspace;
src/svg-icons/hardware/keyboard-tab.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardTab = (props) => ( <SvgIcon {...props}> <path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6-6-6-1.41 1.41zM20 6v12h2V6h-2z"/> </SvgIcon> ); HardwareKeyboardTab = pure(HardwareKeyboard...
tp-3/juan-pablo-gonzalez/src/shared/components/columnsSelector/components/columnList/components/ColumnListItem.js
jpgonzalezquinteros/sovos-reactivo-2017
import React from 'react'; import PropTypes from 'prop-types'; import { DropTarget } from 'react-dnd'; import { primaryBlue } from '../../../../../../theme/PhoenixColors'; import { ItemTypes } from '../../../../../../shared/components/dragAndDrop'; const dropTarget = { hover(props, monitor) { props.onDragAndDro...
packages/material-ui-icons/src/HourglassEmpty.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z" /><path fill="none" d="M0 0h24v24H0V0z" /><...
src/svg-icons/device/signal-cellular-0-bar.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellular0Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M2 22h20V2z"/> </SvgIcon> ); DeviceSignalCellular0Bar = pure(DeviceSignalCellular0Bar); DeviceSignalCellular0Bar.displayN...
public/assets/js/jquery-1.11.1.js
phndavid13/IoT_Icesi_energy
/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function( global, factory ) { if ...
src/svg-icons/device/signal-cellular-no-sim.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularNoSim = (props) => ( <SvgIcon {...props}> <path d="M18.99 5c0-1.1-.89-2-1.99-2h-7L7.66 5.34 19 16.68 18.99 5zM3.65 3.88L2.38 5.15 5 7.77V19c0 1.1.9 2 2 2h10.01c.35 0 .67-.1.96-.26l1.88 1.88 ...
src/PageHeader.js
jamon/react-bootstrap
import React from 'react'; import classNames from 'classnames'; const PageHeader = React.createClass({ render() { return ( <div {...this.props} className={classNames(this.props.className, 'page-header')}> <h1>{this.props.children}</h1> </div> ); } }); export default PageHeader;
packages/icons/src/md/communication/PresentToAll.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdPresentToAll(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M42 6c2.21 0 4 1.79 4 4v28c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4V10c0-2.21 1.79-4 4-4h36zm0 32.03V9.97H6v28.06h36zM20 24h-4l8-8 8 8h-4v8h-8v-8z...
src/components/movie/MovieListContainer.js
Tinusw/myMovieCollection
import React from 'react' import MovieList from './MovieList' import { dispatch, connect } from 'react-redux' import { deleteMovie } from '../../actions/movieActions' class MovieListContainer extends React.Component{ constructor(props){ super(props) } render() { return ( <MovieList {...this.props}...
docs/app/Examples/elements/Segment/index.js
koenvg/Semantic-UI-React
import React from 'react' import Types from './Types' import Groups from './Groups' import States from './States' import Variations from './Variations' const SegmentExamples = () => ( <div> <Types /> <Groups /> <States /> <Variations /> </div> ) export default SegmentExamples
packages/icons/src/sp/Behance.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function SpBehance(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M23.37 25.348c.712 1.102 1.068 2.44 1.068 4.01 0 1.625-.401 3.082-1.216 4.37a7.575 7.575 0 0 1-1.937 2.15c-.872.67-1.904 1.129-3.09 1.374-1.19.246-2....
js/table_js/jquery.js
ardimas173/Nadia
/*! 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/routes.js
react-in-action/letters-social
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './app'; import Home from './pages/home'; import SinglePost from './pages/post'; import Login from './pages/login'; import NotFound from './pages/404'; import { loadUser } from './shared/http'; import { createError } from './a...
node_modules/react-native/Libraries/Image/Image.ios.js
mk007sg/threeSeaShells
/** * 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. * * @provides...
lib/components/NavigationBar.android.js
jazmon/react-native-onscreen-navbar
// @flow // Implementation borrows heavily from https://github.com/facebook/react-native/blob/master/Libraries/Components/StatusBar/StatusBar.js import React from 'react'; import { processColor, NativeModules } from 'react-native'; const { NavigationBarManager } = NativeModules; /** * Merges the prop stack with the ...
app/javascript/mastodon/features/ui/components/modal_root.js
WitchesTown/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import BundleContainer from '../containers/bundle_container'; import BundleModalError from './bundle_modal_error'; import ModalLoading from './modal_loading'; import ActionsModal from './actions_modal'; import MediaModal from './media_modal'; import VideoMo...
src/main/webapp/static/jquery-jbox/2.3/jquery-1.4.2.min.js
aatsi112/jtyd
/*! * 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. ...
node_modules/babel-core/lib/transformation/transformers/other/react-compat.js
bencallis1/the-shop
"use strict"; exports.__esModule = true; exports.manipulateOptions = manipulateOptions; // istanbul ignore next function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newOb...
packages/material-ui/src/Autocomplete/Autocomplete.js
callemall/material-ui
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes, integerPropType } from '@material-ui/utils'; import { unstable_composeClasses as composeClasses } from '@material-ui/unstyled'; import { alpha } from '../styles/colorManipulator'; import Popper from '.....
src/icons/MicC.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class MicC extends React.Component { render() { if(this.props.bare) { return <g> <path d="M329.2,32H182.9C152.5,32,128,55.4,128,84.4V112h152v37H128v43h152v37H128v43h152v37H128v41.8c0,29,24.5,52.2,54.9,52.2H213 v77...
core/dslmcode/shared/drupal-7.x/libraries/jmol/jsmol/j2s/J/adapter/smarter/Resolver.js
heyMP/elmsln
Clazz.declarePackage ("J.adapter.smarter"); Clazz.load (null, "J.adapter.smarter.Resolver", ["java.lang.Float", "java.util.StringTokenizer", "javajs.api.GenericBinaryDocument", "JU.LimitedLineReader", "$.PT", "J.adapter.smarter.AtomSetCollectionReader", "$.SmarterJmolAdapter", "J.api.Interface", "JU.Logger", "JV.JC"], ...
packages/icons/src/md/editor/FormatStrikeThrough.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFormatStrikeThrough(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M20 39h8v-6h-8v6zM10 9v6h10v6h8v-6h10V9H10zM6 29h36v-4H6v4z" /> </IconBase> ); } export default MdFormatStrikeThrough;
assets/jqwidgets/demos/react/app/grid/addnewbottomrow/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js'; import JqxRadioButton from '../../../jqwidgets-react/react_jqxradiobutton.js'; class App extends React.Component { componentDidMount() { this.refs.top.on('checked', () => { ...
src/components/VmDetails/cards/DisksCard/index.js
mareklibra/userportal
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { createDiskForVm, editDiskOnVm, removeDisk } from '_/actions' import { msg } from '_/intl' import { maskForElementId, suggestDiskName } from '_/components/utils' import { sortDisksForDisplay } from '_/components...
src/containers/organizations/components/OrganizationTitleSectionComponent.js
kryptnostic/gallery
import React from 'react'; import Immutable from 'immutable'; import FontAwesome from 'react-fontawesome'; import styled from 'styled-components'; import { Button, Modal, SplitButton, MenuItem } from 'react-bootstrap'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { Mode...
test/components/button/ButtonTest.js
ctco/rosemary-ui
import React from 'react'; import TestUtils from 'react-dom/test-utils'; import ReactDOM from 'react-dom'; import {renderComponent, expect, assert} from '../../test_helper'; import Button from '../../../src/Button'; describe('Button Component', () => { let component; beforeEach(()=> { component = ren...
src/parser/druid/restoration/modules/talents/Photosynthesis.js
sMteX/WoWAnalyzer
import React from 'react'; import StatisticBox from 'interface/others/StatisticBox'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Analyzer from 'parser/core/Analyzer'; import Combatants from 'parser/shared/modules/Combatants';...
packages/frontend/tests/components/adminPage/MetricDialog/index.spec.js
ks888/LambStatus
import React from 'react' import { Provider } from 'react-redux' import { mount } from 'enzyme' import * as dialogUtil from 'utils/dialog' import { metricStatuses } from 'utils/status' import MetricDialog, { metricDialogType } from 'components/adminPage/MetricDialog' import RawMetricDialog from 'components/adminPage/Me...
stories/components/SwapiAsyncSelect.js
sthomas1618/react-crane
import React from 'react' import { SimpleSelect } from '../../src' class SwapiAsyncSelect extends React.Component { constructor(props) { super(props) this.state = { value: null, inputValue: '', options: [], isLoading: false } } handleChange = (event) => this.setState({ valu...
js/components/settings/styles.js
bsusta/NativeBase-KitchenSink
const React = require('react-native'); const { StyleSheet } = React; export default { container: { backgroundColor: '#FFF', }, text: { alignSelf: 'center', marginBottom: 7, }, mb: { marginBottom: 15, }, };
src/main.js
CarlTheLandlord/spotify-checker
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import AppContainer from './containers/AppContainer' // ======================================================== // Store Instantiation // ======================================================== const initialState...
src/app/component/payment-section/payment-section.js
all3dp/printing-engine-client
import PropTypes from 'prop-types' import React from 'react' import propTypes from '../../prop-types' import cn from '../../lib/class-names' const PaymentSection = ({classNames, children, childrenLabel, subtotal, shippings, vat, total}) => ( <section className={cn('PaymentSection', {}, classNames)}> <ul classNa...
src/components/01-atoms/Tooltip/TooltipAnchor.js
buildit/bookit-web
import React from 'react' import PropTypes from 'prop-types' const TooltipAnchor = ({ anchorContainerRef, anchorRef, styles }) => ( <div className={styles.anchorContainer} ref={anchorContainerRef}> <div className={styles.anchor} ref={anchorRef} /> </div> ) TooltipAnchor.propTypes = { anchorContainerRef: Pro...
src/components/Menu/index.js
benceg/dani
import React, { Component } from 'react'; import { Link, IndexLink } from 'react-router'; import { connect } from 'react-redux'; import onClickOutside from 'react-onclickoutside'; import get from 'lodash/get'; if (process.env.WEBPACK) require('./stylesheet.styl'); const menuItems = [ { title: "Home", uri: "/", load...
src/index.js
likethemammal/crys
import React from 'react' import ReactDOM from 'react-dom' import Root from './components/Root' ReactDOM.render( <Root />, document.getElementById('app') )
packages/reaction-schemas/common/schemas/registry.js
Aesop7/reaction
/** * Permissions Schema */ ReactionCore.Schemas.Permissions = new SimpleSchema({ permission: { type: String }, label: { type: String } }); /** * Permissions Registry * the registry entries in the Package registry */ ReactionCore.Schemas.Registry = new SimpleSchema({ provides: { type: Stri...
node_modules/gatsby/node_modules/react-dom/dist/react-dom.js
oiricaud/horizon-education
/** * ReactDOM v15.6.2 */ ;(function(f) { // CommonJS if (typeof exports === "object" && typeof module !== "undefined") { module.exports = f(require('react')); // RequireJS } else if (typeof define === "function" && define.amd) { define(['react'], f); // <script> } else { var g; if (...
docs/src/examples/elements/Button/States/ButtonExampleDisabled.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Button } from 'semantic-ui-react' const ButtonExampleDisabled = () => <Button disabled>Disabled</Button> export default ButtonExampleDisabled
src/svg-icons/editor/bubble-chart.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBubbleChart = (props) => ( <SvgIcon {...props}> <circle cx="7.2" cy="14.4" r="3.2"/><circle cx="14.8" cy="18" r="2"/><circle cx="15.2" cy="8.8" r="4.8"/> </SvgIcon> ); EditorBubbleChart = pure(EditorBub...
lib/src/navbar.js
SerendpityZOEY/Solr-Search-React-UI
/** * Created by yue on 8/16/16. */ import React from 'react'; import AppBar from 'material-ui/AppBar'; import Drawer from 'material-ui/Drawer'; import Searchpanel from './searchpanel.js'; const styles = { wholeBar: { backgroundColor:'#5e35b1' }, title: { textAlign:'center' } } clas...
admin/segments/Segments.js
romainquellec/cuistot
import React from 'react'; import { Card } from 'material-ui/Card'; import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn} from 'material-ui/Table'; import { ViewTitle } from 'admin-on-rest/lib/mui'; import { translate } from 'admin-on-rest'; import LinkToRelatedCustomers from './LinkToRe...
src/shared/components/socialMedia/socialMediaItem/socialMediaItem.js
tal87/operationcode_frontend
import React from 'react'; import PropTypes from 'prop-types'; import styles from './socialMediaItem.css'; const SocialMediaItem = (props) => { const { smImage, smText, link, } = props; return ( <div className={styles.socialMediaItem}> <a href={link} target="_blank" rel="noopener noreferre...
docs/app/Examples/views/Card/Types/CardExampleGroups.js
shengnian/shengnian-ui-react
import React from 'react' import { Button, Card, Image } from 'shengnian-ui-react' const CardExampleGroups = () => ( <Card.Group> <Card> <Card.Content> <Image floated='right' size='mini' src='/assets/images/avatar/large/steve.jpg' /> <Card.Header> Steve Sanders </Card.Head...
code/web/node_modules/react-bootstrap/es/Glyphicon.js
zyxcambridge/RecordExistence
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/components/app.js
n1ckp/spotmybands
import React, { Component } from 'react'; require('../style/app.scss'); export default class App extends Component { render() { return ( <div> { this.props.children } </div> ); } }
ajax/libs/mobx/3.0.0-rc.1/mobx.umd.min.js
menuka94/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ !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:...
packages/examples/src/goTo/index.js
diegomura/react-pdf
/* eslint react/prop-types: 0, react/jsx-sort-props: 0 */ import React from 'react'; import { Page, Document, Link, View, Image } from '@react-pdf/renderer'; export default () => ( <Document> <Page size="A4"> <Link href="#myDest">Link</Link> </Page> <Page size="A4"> <View style={{ height: ...
src/components/hero/index.js
fmoliveira/wannagrow-client
import React from 'react' export const Hero = ({ title, children }) => ( <section className='hero is-primary'> <div className='hero-body'> <div className='container'> <h1 className='title'>{title}</h1> </div> </div> </section> ) export default Hero
examples/js/keyboard-nav/simple-nav-table.js
powerhome/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/material-ui-icons/src/AspectRatioTwoTone.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="M3 19.01h18V4.99H3v14.02zM14 15h3v-3h2v5h-5v-2zM5 7h5v2H7v3H5V7z" opacity=".3" /><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2...
lib/components/tabs.js
zeit/hyperterm
import React from 'react'; import {decorate, getTabProps} from '../utils/plugins'; import Tab_ from './tab'; const Tab = decorate(Tab_, 'Tab'); const isMac = /Mac/.test(navigator.userAgent); export default class Tabs extends React.PureComponent { render() { const {tabs = [], borderColor, onChange, onClose} = ...
vendor/okfn-recline/vendor/slickgrid/2.2/jquery-1.7.min.js
codeforseoul/dataonkorea
/*! jQuery v1.7 jquery.com | jquery.org/license */ (function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=...
src/pages/tags.js
chtefi/golb
import React from 'react' import PropTypes from 'prop-types' import { css } from 'react-emotion' import kebabCase from 'lodash/kebabCase' import Helmet from 'react-helmet' import { Link, graphql } from 'gatsby' import Layout from '../components/Layout' export default ({ data: { allMarkdownRemark: { group }, ...
src/ShortURLs.js
betoesquivel/pili_frontend
import React, { Component } from 'react'; import { gql, graphql } from 'react-apollo'; import ShortURLInfo from './ShortURLInfo'; class ShortURLs extends Component { render() { const items = this.props.data.shortURLs; return ( <div> {typeof items !== 'undefined' ? <section className=...
src/HOCs/archive/OnArchivedContainerHOC.js
VGraupera/1on1tracker
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { getIsArchived } from '../../selectors/routing'; const propTypes = { isArchived: PropTypes.bool, dispatch: PropTypes.func.isRequired, }; const defaultProps = { isArchived: false, }; export const mapS...
apps/marketplace/components/SellerDashboard/Messages.js
AusDTO/dto-digitalmarketplace-frontend
import React, { Component } from 'react' import { connect } from 'react-redux' import LoadingIndicatorFullPage from 'shared/LoadingIndicatorFullPage/LoadingIndicatorFullPage' import differenceInSeconds from 'date-fns/difference_in_seconds' import { ErrorBoxComponent } from 'shared/form/ErrorBox' import { loadMessages }...
ajax/libs/yui/3.7.2/datatable-core/datatable-core.js
LeaYeh/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...
docs/app/Examples/views/Item/Content/ItemExampleMetadata.js
koenvg/Semantic-UI-React
import React from 'react' import { Image as ImageComponent, Item } from 'semantic-ui-react' const paragraph = <ImageComponent src='http://semantic-ui.com/images/wireframe/short-paragraph.png' /> const ItemExampleMetadata = () => ( <Item.Group> <Item> <Item.Image size='tiny' src='http://semantic-ui.com/ima...
client/src/Assistant/ApartmentFeatureInputs/BuildingFeatures.js
ciex/mietlimbo
// @flow import React from 'react' import { injectIntl, defineMessages, FormattedMessage } from 'react-intl' import { CardText } from 'material-ui/Card' import FeatureInput from './FeatureInput' import CheckboxInput from './CheckboxInput' import type { RangeInputProps } from './RangeSelectionGroup' import EnergyClass...
src/index.js
rahulpyd/react-dnd-sort-example
import React from 'react'; import ReactDOM from 'react-dom'; import Container from './Container'; ReactDOM.render(<Container />, document.getElementById('root'));
PragmaCMS/web/admin/js/aloha/lib/aloha-bootstrap.js
fmguler/PragmaCMS
/*! * This file is part of Aloha Editor Project http://aloha-editor.org * Copyright (c) 2010-2011 Gentics Software GmbH, aloha@gentics.com * Contributors http://aloha-editor.org/contribution.php * Licensed unter the terms of http://www.aloha-editor.org/license.html * * Aloha Editor is free software: you can redistrib...
node_modules/react-icons/fa/level-up.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaLevelUp = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m31.2 13.5q-0.4 0.8-1.3 0.8h-4.3v19.3q0 0.3-0.2 0.5t-0.5 0.2h-15.7q-0.5 0-0.6-0.4-0.2-0.5 0.1-0.8l3.5-4.3q0.2-0.2 0.6-0.2h7.1v-14.3h-4.3q-0.9 0-1.3-0.8-0.3-0.9 0.2-1....
ajax/libs/forerunnerdb/1.3.771/fdb-core+persist.min.js
CyrusSUEN/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...