path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/jstransform/src/simple.js
saw/reactrender
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict'; ...
src/svg-icons/maps/directions-railway.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsRailway = (props) => ( <SvgIcon {...props}> <path d="M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V5c0-3.5-3.58-4-8-4s-8 .5-8 4v10.5zm8 1.5c-1.1 0-2-.9-2-2s.9-2 2...
js/components/Header/5.js
mrcflorian/classbook
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text } from 'native-base'; import { Actions } from 'react-native-router-flux'; import { actions } from 'react-native-navigation-redux-helpers'; import { openDra...
internals/templates/appContainer.js
sekkithub/wg
/** * * App.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) */ import React from 'react'; function App(props) { return ( <div> { props.children } </div> ); } export default App;
ajax/libs/yui/3.0.0b1/yui/yui-debug.js
redmunds/cdnjs
(function() { var _instances = {}, _startTime = new Date().getTime(), p, i, add = function () { if (window.addEventListener) { return function(el, type, fn, capture) { el.addEventListener(type, fn, (!!capture)); }; ...
app/containers/Root.js
robogroves/iotbp
// @flow import React from 'react'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'react-router-redux'; import Routes from '../routes'; type RootType = { store: {}, history: {} }; export default function Root({ store, history }: RootType) { return ( <Provider store={store}> <...
src/components/lists/RecipientListItem.js
openvcash/vcash-electron
import React from 'react' import { observer } from 'mobx-react' /** Ant Design */ import Input from 'antd/lib/input' import Popconfirm from 'antd/lib/popconfirm' const RecipientListItem = observer(props => { const rec = props.send.recipients.get(props.send.recipientsKeys[props.index]) return ( <div className=...
interface/modules/zend_modules/public/js/jquery.min.js
srutav/openemr-latest
/*! 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===...
node_modules/react-icons/md/network-wifi.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdNetworkWifi = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m34.1 18.2l0 0.1-14.1 17.5-14.1-17.5 0-0.1-5.3-6.6c0.8-0.5 8.2-6.6 19.4-6.6s18.6 6.1 19.4 6.6z"/></g> </Icon> ) export default MdNetworkWifi
src/Parser/Paladin/Holy/Modules/Items/Ilterendi.js
enragednuke/WoWAnalyzer
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import ItemLink from 'common/ItemLink'; import { formatPercentage } from 'common/format'; import Wrapper from 'common/Wrapper'; import Analyzer from 'Parser/Core/Analyzer'; import ...
docs/app/Examples/addons/Radio/States/RadioExampleReadOnly.js
ben174/Semantic-UI-React
import React from 'react' import { Radio } from 'semantic-ui-react' const RadioExampleReadOnly = () => ( <Radio label='This radio is read-only' readOnly /> ) export default RadioExampleReadOnly
examples/Position.js
glortho/react-overlays
import React from 'react'; import Position from 'react-overlays/Position'; import Button from 'react-bootstrap/lib/Button'; const OverlayStyle = { position: 'absolute' }; const OverlayInnerStyle = { margin: 5, backgroundColor: '#555', borderRadius: 3, color: 'white', padding: '2px 5px' }; const CalloutS...
src/svg-icons/device/bluetooth-disabled.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBluetoothDisabled = (props) => ( <SvgIcon {...props}> <path d="M13 5.83l1.88 1.88-1.6 1.6 1.41 1.41 3.02-3.02L12 2h-1v5.03l2 2v-3.2zM5.41 4L4 5.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l4.29-4.29 2.3 2.29...
ajax/libs/yui/3.5.0pr2/event-focus/event-focus-debug.js
mscharl/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, useActivate = YLang.isFunction( Y.DOM.create('<p onbeforeactivate="...
imports/ui/components/Loading/Loading.js
haraneesh/mydev
import React from 'react'; import './Loading.scss'; const Loading = () => ( <div className="Loader" /> ); export default Loading;
src/svg-icons/communication/forum.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationForum = (props) => ( <SvgIcon {...props}> <path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/> </SvgIcon> ); Co...
docs/src/pages/system/typography/FontWeight.js
Kagami/material-ui
import React from 'react'; import Typography from '@material-ui/core/Typography'; import { unstable_Box as Box } from '@material-ui/core/Box'; function FontWeight() { return ( <Typography component="div"> <Box fontWeight="fontWeightLight" m={1}> Light </Box> <Box fontWeight="fontWeightR...
ajax/libs/F2/1.3.2/f2.no-easyXDM.min.js
warpech/cdnjs
/*! F2 - v1.3.2 - 11-18-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! 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 obta...
src/js/components/video/Time.js
odedre/grommet-final
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Box from '../Box'; import Heading from '../Heading'; import CSSClassnames from '../../utils/CSSClassnames'; import { formatTime } from '../../utils/FormatTime'; co...
ajax/libs/vue/2.0.0-beta.1/vue.common.js
wout/cdnjs
'use strict'; /** * Convert a value to a string that is actually rendered. */ function _toString(val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val); } /** * Convert a input value to a number for persistence. * If the conversion fails, return original string. *...
src/utils.js
planttheidea/react-windowed-list
// external dependencies import React from 'react'; // constants import { CLIENT_START_KEYS, CLIENT_SIZE_KEYS, DEFAULT_CONTAINER_STYLE, INNER_SIZE_KEYS, OFFSET_START_KEYS, OFFSET_SIZE_KEYS, SCROLL_SIZE_KEYS, SIZE_KEYS, VALID_AXES, VALID_TYPES } from './constants'; /** * @function isFunction * *...
containers/DevTools.js
dsvictor94/trello-kanban-metrics
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-q' defaultIsVisible={true}...
public/assets/jquery.min.js
mayugechief/srsg
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=ot.type(e);return"functi...
src/Fabric/FilterList.js
reactmob/dos-filter
import React from 'react'; import { FilterItem } from './FilterItem'; import { FilterList as BaseFilterList } from '../FilterList'; export class FilterList extends BaseFilterList { doRenderFilterItem = ([filterId, filter]) => { const { fields, removeLabel } = this.props; return <FilterItem ...
src/svg-icons/av/mic-none.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMicNone = (props) => ( <SvgIcon {...props}> <path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 ...
React/react-demo/src/Alarm.js
KyleKing/My-Programming-Sketchbook
// Quick CRON guide // second 0-59 // minute 0-59 // hour 0-23 // day of month 0-31 // month 0-12 // day of week 0-6 (Sun-Sat) import './Alarm.css' import PropTypes from 'prop-types' import React from 'react' class Alarm extends React.Component { static propTypes = { running...
src/components/SearchView/InfoView/index.js
JamesJin038801/CampID
import React, { Component } from 'react'; import I18n from 'react-native-i18n'; import { connect } from 'react-redux'; import { View, Text, TouchableOpacity, Image, Alert, ScrollView } from 'react-native'; import { Styles, Metrics, Images, Colors, Fonts } from '@theme/'; import styles from './styles'; import CommonWid...
src/svg-icons/action/assignment.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssignment = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-...
src/containers/FooterContainer.js
Bubblesphere/portfolio-deric
import React from 'react'; import {connect} from 'react-redux'; import Footer from '../components/layout/Footer'; export class FooterContainer extends React.Component { constructor(props, context) { super(props, context); } componentDidMount() { } render() { return ( <Footer /> ); } } ...
src/components/Layout/Layout.js
LeraSavchenko/Maysternia
import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; // external-global styles must be imported in your JS. import normalizeCss from 'normalize.css'; import s from './Layout.css'; import Footer from '../Footer'; class Layout extends React.Comp...
src/main.js
Shugar/twinspires
import React from 'react' import ReactDOM from 'react-dom' import { useRouterHistory } from 'react-router' import { createHistory } from 'history' import routes from './routes' import Root from './containers/Root' import configureStore from './redux/configureStore' const historyConfig = { basename: __BASENAME__ } cons...
ajax/libs/flocks.js/0.14.7/flocks.js
underyx/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /** * The Flocks library module. * * @module Flocks * @main Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React === 'undefined') { var React = require('react'...
test/GridSelectionSpec.js
yyssc/ssc-grid
import React from 'react'; import ReactDOM from 'react-dom'; import ReactTestUtils from 'react-addons-test-utils'; import Grid from '../src/Grid'; import { getTableCell, getTableHeadColumn } from './helpers'; const getFakeColumnsModel = () => ([ {type: 'string', id: 'code', label: '编号'}, {type: 'string', id: 'nam...
app/components/specificComponents/WorkshopListItem/index.js
romainquellec/cuistot
/** * RepoListItem * * Lists the name and the issue count of a repository */ import React from 'react'; import PropTypes from 'prop-types'; import ListItem from 'components/genericComponents/ListItem'; import WorkShopCard from 'components/specificComponents/WorkShopCard'; // eslint-disable-next-line react/prefer...
ajax/libs/webshim/1.15.0/dev/shims/moxie/js/moxie-swf.js
JohnKim/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
modules/Navigation.js
RobertKielty/react-router
import React from 'react'; var { object } = React.PropTypes; /** * A mixin for components that modify the URL. * * Example: * * import { Navigation } from 'react-router'; * * var MyLink = React.createClass({ * mixins: [ Navigation ], * handleClick(event) { * event.preventDefault(); * ...
app/components/routes.js
newtext/timer
// import React from 'react'; // import { Route } from 'react-router'; // import App from './app'; // // export default ( // <Route path="/" components={App} /> // );
src/modules/Designer/index.js
2941972057/flower-react
/** * Created by dllo on 17/8/23. */ import React from 'react' import ReactDOM from 'react-dom' import Designer from './Designer' ReactDOM.render( <Designer />, document.getElementById('app') )
desenvolvimento-plataformas-moveis/pocs/poc-interfaces/App.js
mfklauberg/projetosacademicosfurb
import React from 'react'; import { StyleSheet, Text, View, ScrollView } from 'react-native'; const squareStyle = () => { return StyleSheet.create({ square: { borderWidth: 2, borderColor: randomColor(), width: 100, height: 100, alignItems: 'center', justifyContent: 'center', ...
src/pages/resume/components/skills/skillset/index.js
picchietti/picchietti.io
import React from 'react'; import PropTypes from 'prop-types'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import '../index.css'; function SkillSet(props) { return ( <div> <div className="subtitle"> { props.featured && <span><FontAwesomeIcon icon="star" className="featured" /...
common/components/NotFound.js
nikgraf/redux-universal-app
import React from 'react'; const NotFound = () => <div> 404 - page does not exists </div> ; export default NotFound;
src/routes.js
kpuno/survey-app
import React from 'react'; import { Route } from 'react-router'; import App from './components/App'; import HomePage from './components/HomePage'; import NotFoundPage from './components/NotFoundPage'; import SignIn from './components/auth/SignIn'; import SignUp from './components/auth/SignUp'; import EditProfile from ...
src/layouts/layout-5-6.js
binary-com/binary-next-gen
import React from 'react'; export default (components, className, onClick) => ( <div className={className + ' horizontal'} onClick={onClick}> {components[0]} {components[1]} {components[2]} {components[3]} {components[4]} </div> );
information/blendle-frontend-react-source/app/components/ManifestDropdown/TriggerButton/index.js
BramscoChill/BlendleParser
import React from 'react'; import { bool, func, string } from 'prop-types'; import { ArrowDownIcon } from '@blendle/lego'; import classNames from 'classnames'; import CSS from './style.scss'; function TriggerButton({ isOpen, isCappuccinoButton, onClick, className }) { const iconClasses = classNames(CSS.arrowIcon, { ...
newclient/scripts/components/user/manual/manual-relation-dialog/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lic...
src/components/icons/StarUnFilledIcon.js
InsideSalesOfficial/insidesales-components
import React from 'react'; const StarUnFilledIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24"> { props.title && <title>{props.title}</title> } <path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12...
src/views/dictionary/conjunctiond/addedit/ConjunctiondAEForm.js
bostontrader/senmaker
// @flow import React from 'react' import ConjunctiondActions from '../../../../data/dictionary/conjunctiond/ConjunctiondActions' import {validateConjunctiond} from '../../../../data/Validator' function ConjunctiondAEForm(props:Object):Object { const style:Object = { border: '1px solid black', ...
src/components/TaskListItem/index.js
alimek/scrum-poker-react
import React from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import classNames from 'classnames'; import { connect } from 'react-redux'; import { setActiveTask } from '../../actions/task'; import styles from './styles.css'; const TaskListItem = ({ number, task, curr...
src/components/MediaList/MediaThumbnail.js
u-wave/web
import React from 'react'; import PropTypes from 'prop-types'; function MediaThumbnail({ url }) { return ( <div className="MediaListRow-thumb"> <img className="MediaListRow-image" src={url} alt="" /> </div> ); } MediaThumbnail.propTypes = { url: PropTypes.string.isReq...
ajax/libs/analytics.js/2.3.6/analytics.js
ruo91/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
src/components/CartPreview.js
zeachco/rockplusinc.com
import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import cx from 'classnames'; import CartIcon from 'react-icons/lib/md/shopping-cart'; import {toggleModal} from '../store/actions/cart'; const CartPreview = ({ count, isLoading }) => ( <a disabled={...
docs/app/Examples/collections/Breadcrumb/Content/BreadcrumbSectionExample.js
jcarbo/stardust
import React from 'react' import { Breadcrumb } from 'stardust' const BreadcrumbSectionExample = () => ( <Breadcrumb> <Breadcrumb.Section link>Home</Breadcrumb.Section> <Breadcrumb.Divider /> <Breadcrumb.Section active>Search</Breadcrumb.Section> </Breadcrumb> ) export default BreadcrumbSectionExample...
src/components/todo.js
alisson446/redux-firebase
import React from 'react'; const Todo = ({ id, todo, onUpdateClick, onRemoveClick }) => { let input; return ( <li> <input ref={(node) => input = node} defaultValue={todo} onKeyDown={(e) => { if (e.which === 13) onUpdateClick(id, input.value); }} /> ...
packages/material-ui-icons/src/SubjectTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z" /> , 'SubjectTwoTone');
lib/components/TorrentTitleRow.js
imsnif/wtorrent-extension
"use strict"; import prettyMs from 'pretty-ms'; import React from 'react'; import { Row } from 'react-bootstrap'; import { Col } from 'react-bootstrap'; import { ProgressBar } from 'react-bootstrap'; import DeleteButton from '../containers/DeleteButton'; export default class TorrentTitleRow extends React.Component {...
app/src/components/Nav.js
alpcanaydin/github-stats-for-turkey
/* eslint-disable jsx-a11y/no-static-element-interactions */ import React, { Component } from 'react'; import { Link } from 'react-router-dom'; class Nav extends Component { constructor(props) { super(props); this.state = { isMobileMenuOpened: false }; this.handleMobileMenuVisibility = this.handleMobi...
media/js/jquery.js
rtrinidad/DataTables
/*! 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.17.1-rc-1/event-focus/event-focus.js
pvnr0082t/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
ajax/libs/forerunnerdb/1.3.817/fdb-all.js
jonobr1/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...
app/main.js
halversondm/solr-reaction
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App.js'; ReactDOM.render(<App />, document.getElementById('root'));
src/Resume/Skills.js
yrezgui/napersona
import React from 'react'; export default class Skills extends React.Component { constructor(props) { super(props); } renderSkill(name, index) { const className = `state skill ${name}`; return <span key={index} className={className}>{name}</span>; } render() { return ( <p className="l...
ajax/libs/forerunnerdb/1.4.30/fdb-core+views.min.js
BenjaminVanRyseghem/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...
docs/app/Examples/elements/Loader/States/index.js
shengnian/shengnian-ui-react
import React from 'react' import { Message } from 'shengnian-ui-react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const LoaderStatesExamples = () => ( <ExampleSection title='States'> <ComponentExam...
yycomponent/date-picker/RangePicker.js
77ircloud/yycomponent
import React from 'react'; import { DatePicker as _DatePicker, } from 'antd'; import moment from 'moment'; moment.locale('zh-cn');//中文国际化 const getPopupContainer=(target)=>{//弹框挂载点 if(target&&target.closest&&target.closest('.body')){ return target.closest('.body'); } return document.body; }; class RangePick...
integration/azure/authentication/ms-identity-v2/implicit-grant/ClientApp/src/components/Callback.js
advantys/workflowgen-templates
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Container } from 'reactstrap'; class CallbackComponent extends Component { shouldComponentUpdate (newProps) { return newProps.error !== this.props.error; } render () { const { error = null } = this.props; retur...
js/jquery.min.js
erikvdbergh/erikvdbergh.github.io
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
Libraries/Components/ViewPager/ViewPagerAndroid.android.js
gre/react-native
/** * 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...
jest-integration/tests/basics/3-change-in-code/ClickCounter.spec.js
bruderstein/unexpected-react
import React from 'react'; import ClickCounter from '../ClickCounter'; import TestRenderer from 'react-test-renderer'; import Unexpected from 'unexpected'; import jestSnapshot from 'jest-snapshot'; import UnexpectedReact from '../../unexpected-react-test-renderer'; const expect = Unexpected.clone().use(UnexpectedReac...
server/static/build/src/main/webapp/dojo/demos/cropper/src/Preview.js
adamfisk/littleshoot-client
dojo.provide("demos.cropper.src.Preview"); dojo.require("dijit._Widget"); dojo.require("dojo.dnd.move"); dojo.require("dojox.layout.ResizeHandle"); (function(d, $){ // a simple "wrap" function. availaing in `plugd` // warning: node must be in the DOM before being wrapped. var wrap = function(node, withTag){ /...
example/components/react/Decrementer.js
subuta/redux-virtual-dom
import React from 'react' import { inject } from 'example/store.js' import { decrement } from 'example/actions/counter.js'; export default inject(({ dispatch }) => { return ( <button onClick={(ev) => dispatch(decrement())} style={{ height: '20px' }}> decrement </button> ); });
mobile/ClubLife/src/views/search.js
Bcpoole/ClubLife
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TextInput, TouchableNativeFeedback, Image, TouchableOpacity, Platform, } from 'react-native'; class Search extends Component { constructor(props){ super(props); } render() { var Tou...
static/src/components/MenuBar.js
eltrufas/cosmico
import React from 'react'; const MenuBar = ({ onMenuButtonClick }) => ( <div> <button onClick={onMenuButtonClick}>toggle menu</button> <div>Menu</div> </div> ); export default MenuBar;
src/Assets/App/App.js
resistdesign/rdx
import { hot } from 'react-hot-loader'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; const {{name}} = class extends Component { static propTypes = {}; constructor() { super(); } state = {}; render() { return ( <h1> {{title}} </h1> ); } } ...
packages/web/src/components/base.js
dralletje/ezgo
import React from "react"; import styled from "styled-components/macro"; export let View = styled.div` display: flex; flex-direction: column; `; export let Card = styled(View)` box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); background-color: #eee; `; export let Text = "span";
lib/SignalR/tests/Microsoft.AspNet.SignalR.Client.JS.Tests/Scripts/jquery-1.8.3.js
meebey/smuxi-head-mirror
/*! * 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(...
test/trans.render.spec.js
i18next/react-i18next
import React from 'react'; import { render } from '@testing-library/react'; import i18n from './i18n'; import { withTranslation } from '../src/withTranslation'; import { Trans } from '../src/Trans'; function Link({ to, children }) { return <a href={to}>{children}</a>; } describe('trans simple', () => { const Test...
src/svg-icons/image/panorama-horizontal.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePanoramaHorizontal = (props) => ( <SvgIcon {...props}> <path d="M20 6.54v10.91c-2.6-.77-5.28-1.16-8-1.16-2.72 0-5.4.39-8 1.16V6.54c2.6.77 5.28 1.16 8 1.16 2.72.01 5.4-.38 8-1.16M21.43 4c-.1 0-.2.02-.31.06C...
ajax/libs/react-bootstrap-typeahead/0.2.1/react-bootstrap-typeahead.js
nolsherry/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
ajax/libs/forerunnerdb/1.3.371/fdb-legacy.js
seogi1004/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...
docs/spectre/steal.production.js
roemhildtg/spectre-canjs
if(typeof steal === "undefined") steal = {}; steal.bundlesPath = "bundles"; steal.main = "spectre-canjs/index"; steal.configMain = "package.json!npm"; steal.loadMainOnStartup = true; /* * steal v2.1.1 * * Copyright (c) 2018 Bitovi; Licensed MIT */ !function(__global){function __eval(__source,__global,__load){t...
src/utils/createDevToolsWindow.js
Outc4sted/Pairadice
/* eslint no-console:0 */ import React from 'react'; import { render } from 'react-dom'; import DevTools from '../containers/DevTools'; /** * Puts Redux DevTools into a separate window. * Based on https://gist.github.com/tlrobinson/1e63d15d3e5f33410ef7#gistcomment-1560218. */ export default function createDevToolsW...
src/containers/content/index.js
btoo/btoo.github.io
import React from 'react' import './index.css' import Intro from '../intro' import Skills from '../skills' import Projects from '../projects' import Social from '../../components/social' export default props => ( <div className="content" style={{'--ratio': props.ratio}}> <Content ratio={props.ratio}> <Intr...
ajax/libs/babel-core/4.4.1/browser.min.js
terrymun/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.babel=e()}}(function(){var e,n,l;return function t(e,...
my-app/src/components/helper/pulsifier.js
sThig/jabbascrypt
import React from 'react'; import Pulse from './Pulse' class Pulsifier extends React.Component { getRandomNumber(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; } generatePulse(i) { const props = { key: i, top: this.getRandomNumber(-385, 256), left: this.getRando...
lib/blocks/quote.js
pairyo/kattappa
import React from 'react'; import QuillComponent from '../components/quill'; import BlockText from './text'; class BlockQuote extends BlockText.React { constructor(props) { super(props); this.onContentChanged = this.onContentChanged.bind(this); this.onCreditChange = this.onCreditChange.bind(this); } ...
src/svg-icons/action/account-balance-wallet.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccountBalanceWallet = (props) => ( <SvgIcon {...props}> <path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-...
packages/material-ui-icons/src/MusicNoteSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z" /> , 'MusicNoteSharp');
src/Home/Home.js
pkerpedjiev/hg-website
import React, { Component } from 'react'; class Home extends Component { login() { this.props.auth.login(); } render() { const { isAuthenticated } = this.props.auth; return ( <div className="container"> { isAuthenticated() && ( <h4> You are logged in! ...
client/src/components/ModuleDetails/ModuleHealthIndicator.js
FriendsOfSilverStripe/silverstripe-maintenance
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; class ModuleHealthIndicator extends Component { /** * Based on health rating score, determine health indicator colour and styling * * @returns {String} */ getSymbolClasses() { const { ...
src/components/finder/FinderItem.js
chrisrzhou/interviews
import React from 'react'; const FinderItem = ({ isActive, label, onClick, }) => ( <div className={`Finder-item ${isActive ? 'Finder-activeItem' : null}`} onClick={onClick}> {label} </div> ); export default FinderItem;
js/components/fuelstation/data.js
ChiragHindocha/stay_fit
import React from 'react'; import {Image} from 'react-native'; var btnsDefault = [ { text: 'Button' } ]; var btnsTypes = [ { text: 'Primary', type: 'primary', }, { text: 'Secondary', type: 'secondary', }, { text: 'Delete', type: 'delete', } ]; var rows = [ { text: "Basic Example", right:...
test/StyleSheetRegistrySpec.js
michalkvasnicak/stylo
import { expect } from 'chai'; import StyleSheetRegistry from '../src/StyleSheetRegistry'; import StyleSheet from '../src/StyleSheet'; import { stub, spy } from 'sinon'; import jsdom from './jsdom'; import React from 'react'; describe('StyleSheetRegistry', () => { describe('#styleElement()', () => { let r...
src/components/Quiz.js
scottluptowski/newyorktimesorjennyholzer
import React from 'react'; import Score from './Score'; import PostGame from './PostGame'; import GameLogicStore from '../stores/GameLogicStore'; import TruismActions from '../actions/truism_actions'; import { HOLZER, NYT } from '../constants'; function getUpdatedState() { let state = GameLogicStore.getState(); ...
src/containers/futureComps/commentFeed.js
Jguardado/ComponentBase
import React, { Component } from 'react'; import { connect } from 'react-redux'; class CommentFeed extends Component { constructor(props) { spuer(props); } render() { return <div>Comments go here</div>; //this is where I will need to pull information from database with action calls. //use map t...
frontend/src/containers/App.js
XiaocongDong/mongodb-backup-manager
import React, { Component } from 'react'; import Header from 'components/Header'; import Content from 'components/Content'; import { connect } from 'react-redux'; import Loading from 'containers/Loading'; class App extends Component { render() { const props = this.props; if(!props.user && props....
Components/Markdown.js
tradle/tim
import { parse as parseUrl } from 'url' import { deepLinkHost } from '../utils/env' import React from 'react'; import createMarkdownRenderer from 'rn-markdown' import Actions from '../Actions/Actions' import { TouchableOpacity, View, Linking } from 'react-native' const Markdown = createMarkdownRenderer() Markd...
docs/src/sections/ListGroupSection.js
mmarcant/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function ListGroupSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> ...
ajax/libs/iview/2.6.0-beta.1/iview.min.js
holtkamp/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define("iview",["vue"],t):"object"==typeof exports?exports.iview=t(require("vue")):e.iview=t(e.Vue)}(this,function(e){return function(e){function t(i){if(n[i])return n[i].exports;var r...
ajax/libs/F2/1.3.3/f2.js
agraebe/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...
packages/react-native-web/src/modules/mergeRefs/index.js
necolas/react-native-web
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict */ import * as React from 'react'; export default function mergeRefs( ...args: $ReadOnlyArray<React.ElementRef<...