path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/jQRangeSlider/5.5.0/jQRangeSliderBar.js
AlexisArce/cdnjs
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function($, undefined){ "use strict"; $.widget("ui.rangeSliderBar", $.ui.rangeSliderDraggable, { options: { leftHandle: null, ...
examples/huge-apps/routes/Course/components/Course.js
mozillo/react-router
/*globals COURSES:true */ import React from 'react' import Dashboard from './Dashboard' import Nav from './Nav' const styles = {} styles.sidebar = { float: 'left', width: 200, padding: 20, borderRight: '1px solid #aaa', marginRight: 20 } class Course extends React.Component { render() { let { childre...
react/features/base/dialog/components/native/InputDialog.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import { View } from 'react-native'; import Dialog from 'react-native-dialog'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; import { _abstractMapStateToProps } from '../../functions'; import AbstractDialog, { type Props as AbstractProps, ...
docs/src/PropTable.js
pombredanne/react-bootstrap
import _ from 'lodash-compat'; import React from 'react'; import Glyphicon from '../../src/Glyphicon'; import Label from '../../src/Label'; import Table from '../../src/Table'; let cleanDocletValue = str => str.trim().replace(/^\{/, '').replace(/\}$/, ''); let capitalize = str => str[0].toUpperCase() + str.substr(1);...
game.js
Otouto/4inrow
import React from 'react'; import classNames from 'classnames'; const defaultState = { isFirstPlayer: true, isGameEnded: false, endReason: null } var Game = React.createClass({ getDefaultProps() { return { rows: 6, columns: 7, winNum: 4 } }, ...
app/routes.js
eccorley/electron-starter
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; export default ( <Route path="/" component={App}> <IndexRoute component={HomePage} /> </Route> );
pootle/static/js/admin/components/UserForm.js
fabada/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ 'use strict'; import React from 'react'; import { FormEl...
ajax/libs/forerunnerdb/1.3.645/fdb-core+views.js
amoyeh/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/js/tests/staff-form.spec.js
gonebusy/sample-react-app
import { expect } from 'chai'; import React from 'react'; import renderShallow from 'render-shallow'; import { findWithClass } from 'react-shallow-testutils'; import { spy, stub } from 'sinon'; import request from 'superagent-bluebird-promise'; import moment from 'moment'; import { createNew } from 'src/js/store'; impo...
src/scripts/components/BidForm.js
scyclow/fire-sale
import React, { Component } from 'react'; require('../../styles/bid-form.scss'); class BidForm extends Component { state = { error: '', confirmation: '' } _createBid = () => { const amount = Number(this.refs.amount.value); const bidderName = this.refs.bidderName.value; const comment = this.refs.comme...
frontend/app_v2/src/components/Gallery/GalleryPresentationWidget.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import { Link } from 'react-router-dom' import PropTypes from 'prop-types' // FPCC import SectionTitle from 'components/SectionTitle' import ImageWithLightbox from 'components/ImageWithLightbox' function GalleryPresentationWidget({ data, sitename }) { const images = window.innerWidth >= 10...
js/components/card/index.js
LetsBuildSomething/vmag_mobile
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Container, Header, Title, Content, Button, Icon, Text, Left, Body, Right, List, ListItem } from 'native-base'; import { Actions } from 'react-native-router-flux'; ...
reactNativeThermo/src/containers/pairButton.js
jontore/web_bluetooth_demo
import React, { Component } from 'react'; import { BleManager } from 'react-native-ble-plx'; import { Buffer } from 'buffer'; import { Text, View, StyleSheet, FlatList, Vibration } from 'react-native'; import Button from './button'; const vibrationPattern = [0, 500, 200, 500]; class PairButton extends Com...
packages/material-ui-icons/src/CropOriginalSharp.js
Kagami/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 3H3v18h18V3zm-2 16H5V5h14v14zm-5.04-6.71l-2.75 3.54-1.96-2.36L6.5 17h11l-3.54-4.71z" /></g></React.Fragment> , 'CropOriginalSharp');
ui/src/js/plantBag/PlantBagItem.js
Dica-Developer/weplantaforest
import Accounting from 'accounting'; import React, { Component } from 'react'; import IconButton from '../common/components/IconButton'; require('./plantBagItem.less'); export default class PlantBagItem extends Component { constructor() { super(); this.state = { }; } componentWillUnmount() { co...
linksa/Scustomera.js
liuhui219/linksa
import React from 'react'; import { View, StyleSheet, Navigator, TouchableOpacity, TouchableHighlight, Text, ScrollView, ActivityIndicator, InteractionManager, Dimensions, BackAndroid, Image, RefreshControl, ListView, } from 'react-native'; import ScrollableTabView, { DefaultTabBar, } from 'react...
resources/assets/admin/components/utilities/Shell.js
DoSomething/northstar
import React from 'react'; const BaseShell = ({ title, subtitle, children }) => ( <div> <header className="header" role="banner"> <div className="wrapper"> <h1 className="header__title">{title}</h1> <p className="header__subtitle">{subtitle}</p> </div> </header> <div className...
d3-view/0.7.2/d3-view.min.js
quantmind/giottojs.org
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-collection"),require("d3-let"),require("object-assign"),require("d3-timer"),require("d3-selection"),require("d3-dispatch"),require("d3-require")):"function"==typeof define&&define.amd?define(["exports","d3-collection","d3-let","ob...
test/integration/jsconfig-paths/pages/basic-alias.js
JeromeFitz/next.js
import React from 'react' import { World } from '@c/world' export default function HelloPage() { return ( <div> <World /> </div> ) }
ajax/libs/yasgui/0.0.11/yasgui.bundled.min.js
cgvarela/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
ajax/libs/angular-google-maps/2.0.15/angular-google-maps.js
tholu/cdnjs
/*! angular-google-maps 2.0.15 2015-03-10 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, ...
src/index.js
petercm/measurements-tally
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
assets/jqwidgets/demos/react/app/tree/loadondemandwithxhr/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTree from '../../../jqwidgets-react/react_jqxtree.js'; class App extends React.Component { componentDidMount() { this.refs.myTree.selectItem(document.getElementById('home')); this.refs.myTree.expandItem(document.getElementById(...
src/parser/shared/modules/features/Checklist/Requirement.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import InformationIcon from 'interface/icons/Information'; import { formatNumber, formatPercentage, formatThousands } from 'common/format'; import Tooltip, { TooltipElement } from 'common/Tooltip'; import colorForPerformance from 'common/colorForPerformanc...
Examples/UIExplorer/UIExplorerList.ios.js
tsdl2013/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, ...
src/components/RandomSticker.js
aalselius/Test
import React, { Component } from 'react'; import Image from './Image.js'; import Button from './Button.js'; import InfoText from './InfoText.js'; import Header from './Header.js'; class RandomSticker extends Component { constructor() { super(); this.state = { imageUrl: '', ...
docs/app/Examples/modules/Embed/Variations/index.js
koenvg/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const EmbedVariationsExamples = () => ( <ExampleSection title='Variations'> <ComponentExample title='Aspect Ratio' d...
src/web/containers/LoginPage/tests/index.js
lukemarsh/hq
import expect from 'expect'; import { shallow } from 'enzyme'; import React from 'react'; import { LoginPage } from '../index'; describe('<LoginPage />', () => { it('should render the page', () => { const renderedComponent = shallow( <LoginPage /> ); expect(renderedComponent.children.length).toEqu...
src/Parser/Monk/Mistweaver/Modules/Talents/SpiritOfTheCrane.js
enragednuke/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatNumber } from 'common/format'; import Wrapper from 'common/Wrapper'; import Combatants from 'Parser/Core/Modules/Combatants'; import Analyzer from 'Parser/...
ui/src/js/common/components/MultiLineErrorObject.js
Dica-Developer/weplantaforest
import counterpart from 'counterpart'; import React, { Component } from 'react'; export default class MultiLineErrorObject extends Component { render() { return ( <div> {this.props.lines.map(function(line, i) { return <div key={i}>{counterpart.translate(line.errorCode)}</div>; })}...
src/components/groups/GroupVideosView.js
mg4tv/mg4tv-web
import * as _ from 'lodash' import React from 'react' import {compose, withHandlers, withProps} from 'recompose' import VideosList from '../videos/VideosList' const enhance = compose( withProps(({match}) => ({ groupId: match.params.groupId })), withHandlers( { onNewVideoSubmit: props => event => ...
src/Components/Header.js
neilD2/neilD2.github.io
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; class Header extends Component { render() { return ( <header> <div className="title">History Overflow</div> <img className="logo"></img> <nav> ...
fixtures/blocks/src/index.js
ericyang321/react
/** * 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. */ import React from 'react'; import {unstable_createRoot as createRoot} from 'react-dom'; import './index.css'; import Router from '...
src/index.js
revuniversal/5e-sheets
// @flow import React from 'react'; import { render } from 'react-dom'; import { ThemeProvider } from 'styled-components'; import App from './App'; import store from './store'; import theme from './theme'; import './index.css'; const state = store.getState(); render( <ThemeProvider theme={theme}> <App character...
jenkins-design-language/src/js/components/material-ui/svg-icons/av/web-asset.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvWebAsset = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm0 14H5V8h14v10z"/> </SvgIcon> ); AvWebAsset.displayName = 'AvWebAsset'; AvWebAsset.muiName = 'SvgIcon'; ...
packages/material-ui-icons/legacy/Battery20TwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M7 17v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17H7z" /><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V17h10V5.33z" /></React...
app/javascript/mastodon/components/load_more.js
rainyday/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; export default class LoadMore extends React.PureComponent { static propTypes = { onClick: PropTypes.func, disabled: PropTypes.bool, visible: PropTypes.bool, } static defaultProps = { vi...
app/javascript/mastodon/features/report/components/status_check_box.js
mimumemo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Toggle from 'react-toggle'; import noop from 'lodash/noop'; import StatusContent from '../../../components/status_content'; import { MediaGallery, Video } from '../../ui/util/async-component...
eGasAPP/www/lib/auth0-lock/support/design/index.js
egasJMLM/App-web
import React from 'react'; import ReactDOM from 'react-dom'; import Immutable from 'immutable'; import _ from '../../src/browser'; import Control, { store } from './control'; import * as ClientSettings from '../../src/core/client/settings'; import webAPI from '../../src/core/web_api'; const WebAPI = webAPI.constructor;...
examples/demo/Form/index.js
NE-LOAN-FED/NE-Component
/** * Created by kisnows on 2016/12/26. */ import React from 'react' import { Form, Input, Select, CheckBox, CellInput, Cells, Cell, Icon, Modal, Alert, VerifyButton, Toast, Button } from '../../../lib' import Logger from '../../../src/_utils/log' import lang from '../../utils/lang' import v...
ajax/libs/yui/3.8.0pr1/datatable-body/datatable-body.js
nolsherry/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 = Lang.isA...
ajax/libs/forerunnerdb/1.3.462/fdb-core+views.min.js
tholu/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/components/Head.js
rhostem/blog
import React from 'react' import Helmet from 'react-helmet' import { GlobalStyle } from '../styles/globalStyle' export default function Head({ children }) { return ( <> <Helmet> <link rel="stylesheet" href="/fonts/nanum-square/font.css" /> <link href="https://fonts.googleapis.com/...
packages/react-codemod/test/class-test.js
demohi/react
'use strict'; var React = require('React'); var Relay = require('Relay'); var Image = require('Image.react'); /* * Multiline */ var MyComponent = React.createClass({ getInitialState: function() { var x = this.props.foo; return { heyoo: 23, }; }, foo: function() { this.setState({heyoo: ...
packages/geo/src/GeoMap.js
plouc/nivo
/* * This file is part of the nivo project. * * Copyright 2016-present, Raphaël Benitte. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { Fragment, useCallback, memo } from 'react' import { SvgWrapper, withContainer, useDim...
client/components/basic/UTCClock.js
Sing-Li/Rocket.Chat
import React from 'react'; import { useTimezoneTime } from '../../hooks/useTimezoneTime'; import { useTranslation } from '../../contexts/TranslationContext'; const useUTCClock = (utcOffset) => { const time = useTimezoneTime(utcOffset, 10000); return `${ time } (UTC ${ utcOffset })`; }; export const UTCClock = Reac...
webpack.config.js
lakshmikanthadn/bookMyShow
var path = require('path'); var webpack = require('webpack'); module.exports = { devtool: 'eval', entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', './src/index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: ...
packages/veritone-widgets/src/widgets/Table/index.js
veritone/veritone-sdk
import React from 'react'; import { func, arrayOf, bool, shape, object } from 'prop-types'; import { Table as TableComponent, PaginatedTable, Column, MenuColumn } from 'veritone-react-common'; import { omit } from 'lodash'; import widget from '../../shared/widget'; class Table extends React.Component { stati...
ajax/libs/babel-core/5.1.10/browser-polyfill.js
sympmarc/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/inferno/1.0.0-alpha3/inferno-compat.js
sashberd/cdnjs
/*! * inferno-compat v1.0.0-alpha3 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.Infer...
src/components/listen/soundPlayerContainer.js
cannoneyed/tmm-glare
import React from 'react' import { stopAllOther, addToPlayedStore } from './utils/audioStore.js' import { connect } from 'react-redux' import * as listenActions from 'src/core/listen' import { getNextUnlockedTrack } from 'src/core/selectors/listen' let { PropTypes, Component } = React class SoundPlayerContainer exte...
src/views/Data/index.js
jtmckay/TQL
import React from 'react' import * as styles from 'styles' import DataGrid from 'components/DataGrid' export default function DataView (props) { return <DataGrid body={[[1]]} styles={{ body: { edit: { borderRadius: 2, boxShadow: '0...
blueocean-material-icons/src/js/components/svg-icons/av/mic-none.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const 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 1.2-1.19 1.2-.66 0-1.2-.54-1.2-1....
ajax/libs/yui/3.8.1/scrollview-base/scrollview-base-debug.js
MEXXIO/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 */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie, NATIVE_TRA...
src/layouts/CoreLayout/CoreLayout.js
Lily418/Realtime-News-Client
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' export const CoreLayout = ({ children }) => ( <div className='container text-center'> <Header /> <div className='core-layout__viewport'> {children} </div> </div> ) Co...
jekyll-strapi-tutorial/api/plugins/content-type-builder/admin/src/components/InputCheckboxWithNestedInputs/index.js
strapi/strapi-examples
/** * * InputCheckboxWithNestedInputs * */ import React from 'react'; import PropTypes from 'prop-types'; import { isEmpty, map, findIndex } from 'lodash'; import { FormattedMessage } from 'react-intl'; import Input from 'components/InputsIndex'; import styles from './styles.scss'; class InputCheckboxWithNestedInputs...
ajax/libs/algoliasearch/3.19.1/algoliasearch.jquery.js
dlueth/cdnjs
/*! algoliasearch 3.19.1 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o...
support/maven-archetype/src/main/resources/archetype-resources/src/main/webapp/static/jquery/jquery-1.9.1.min.js
xiaoping2367/springside4
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){retu...
docs/app/Examples/collections/Message/Variations/MessageExampleSuccess.js
shengnian/shengnian-ui-react
import React from 'react' import { Message } from 'shengnian-ui-react' const MessageExampleSuccess = () => ( <Message success header='Your user registration was successful' content='You may now log-in with the username you have chosen' /> ) export default MessageExampleSuccess
packages/material-ui-icons/src/Pets.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="4.5" cy="9.5" r="2.5" /><circle cx="9" cy="5.5" r="2.5" /><circle cx="15" cy="5.5" r="2.5" /><circle cx="19.5" cy="9.5" r="2.5" /><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-...
ajax/libs/jquery.fancytree/2.5.1-0/jquery.fancytree.min.js
kentcdodds/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2006-2014, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.5.0 * @dat...
opentech/static_src/src/app/src/components/EmptyPanel/index.js
OpenTechFund/WebApp
import React from 'react' import PropTypes from 'prop-types'; import NoteIcon from 'images/note.svg'; export default class EmptyPanel extends React.Component { static propTypes = { column: PropTypes.string, } render() { const { column } = this.props; return ( <div cla...
src/svg-icons/navigation/arrow-upward.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationArrowUpward = (props) => ( <SvgIcon {...props}> <path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/> </SvgIcon> ); NavigationArrowUpward = pure(NavigationArrowUpward); NavigationA...
ajax/libs/react-native-web/0.0.0-4fd133e73/exports/PanResponder/index.min.js
cdnjs/cdnjs
import PanResponder from"../../vendor/react-native/PanResponder";export default PanResponder;
files/jquery/1.7.2/jquery.js
vousk/jsdelivr
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/compoments/PurpleSearchInput.js
purple-net/react-native-purple
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { StyleSheet, Text, View, Alert, ListView, ScrollView, PixelRatio, Dimensions, TextInput, TouchableOpacity, TouchableHighlight, ActivityIndicator, AsyncStor...
docs/tests/useSelect.js
paypal/downshift
import React from 'react' import {useSelect} from '../../src' import {items, menuStyles} from '../utils' export default function DropdownSelect() { const { isOpen, selectedItem, getToggleButtonProps, getLabelProps, getMenuProps, highlightedIndex, getItemProps, } = useSelect({items}) r...
src/svg-icons/hardware/laptop-mac.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareLaptopMac = (props) => ( <SvgIcon {...props}> <path d="M20 18c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2H0c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2h-4zM4 5h16v11H4V5zm8 14c-.55 0...
ajax/libs/forerunnerdb/1.3.854/fdb-core+persist.js
joeyparrish/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/components/Footer.js
amit-kulkarni/react-food-order
import React from 'react'; export default function Footer() { return ( <footer className="container"> <div className="row justify-content-center py-2" style={{textAlign: "center"}}> <div className="col-12 col-md-3 my-1"> Copyright &copy; None </div> <div className="col-12 col-md-3 my-1"><a ...
stories/Welcome.js
hollomancer/operationcode_frontend
import React from 'react'; const styles = { main: { margin: 15, maxWidth: 600, lineHeight: 1.4, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif', }, logo: { width: 200, }, link: { color: '#1474f3', textDecoration: 'none', borderBottom: '1px ...
blueocean-material-icons/src/js/components/svg-icons/image/image-aspect-ratio.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImageImageAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"/> </SvgIcon> ); Ima...
jquery.js
lowearthorbiter/sheen
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
app/jsx/course_wizard/Checklist.js
venturehive/canvas-lms
/* * Copyright (C) 2014 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
node_modules/material-ui/svg-icons/communication/import-export.js
Jbeagle/writeItEasy2.0
'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...
svg-icons/action/g-translate.js
dhavalbyteprophecy/material-ui-build
'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/views/components/LockCard.js
physiii/open-automation
import React from 'react'; import PropTypes from 'prop-types'; import ServiceCardBase from './ServiceCardBase.js'; import Button from './Button.js'; import {connect} from 'react-redux'; import {lockLock, lockUnlock} from '../../state/ducks/services-list/operations.js'; export const LockCard = (props) => { const isLoc...
src/components/Link/Link.js
ihnat/work-hard
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { PropTypes, Component } from 'react'; import Location from '../../core/Location'; function isLeftClickEvent(event) { return event.button === 0; } function isModifiedEvent(event) { return !!(event.metaKey || event.altKey || ev...
test/components/stateless/SubmitButtonTest.js
thomas-p-wilson/react-form
/* eslint-disable no-unused-expressions */ import React from 'react'; import { expect } from 'chai'; import { fullRender, shallowRender, click } from '../../utils'; import SubmitButton from '../../../src/components/stateless/SubmitButton'; import basicFieldTests from '../BasicFieldTests'; const validProps...
src/Parser/Druid/Restoration/Modules/Features/Lifebloom.js
hasseboulen/WoWAnalyzer
import React from 'react'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import { formatPercentage } from 'common/format'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import ItemLink from 'common/ItemLink'; import Wrapper from 'common/Wrapper'; import SPELLS...
static/src/components/Footer.js
Termnator/mikebot
// @flow import React from 'react'; import numeral from 'numeral'; import * as StatsActions from '../actions/StatsActions'; import * as ShareActions from '../actions/ShareActions'; import ShareStore from '../stores/ShareStore'; import Constants from '../Constants'; const Footer = React.createClass({ render() { ...
e2e-tests/production-runtime/src/pages/env-vars.js
ChristopherBiscardi/gatsby
import React from 'react' import Layout from '../components/layout' const UseEnv = ({ heading, envVar }) => ( <React.Fragment> <h2>{heading}</h2> <pre> <code data-testid={heading}>{JSON.stringify(envVar)}</code> </pre> </React.Fragment> ) const SecondPage = () => ( <Layout> <h1>Using env ...
docs/src/app/components/pages/components/Stepper/HorizontalNonLinearStepper.js
igorbt/material-ui
import React from 'react'; import { Step, Stepper, StepButton, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; /** * Non-linear steppers allow users to enter a multi-step flow at any point. * * This example is similar to the r...
test/specs/chart/BarChartSpec.js
scostaqb/recharts
import React from 'react'; import { expect } from 'chai'; import { BarChart, Bar, XAxis, YAxis, Tooltip } from 'recharts'; import { mount, render } from 'enzyme'; describe('<BarChart />', () => { const data = [ { name: 'food', uv: 400, pv: 2400 }, { name: 'cosmetic', uv: 300, pv: 4567 }, { name: 'storage...
code/workspaces/web-app/src/components/modal/EditDataStoreDialog.spec.js
NERC-CEH/datalab
import React from 'react'; import { shallow } from 'enzyme'; import EditDataStoreDialog, { getOnDetailsEditSubmit } from './EditDataStoreDialog'; import modalDialogActions from '../../actions/modalDialogActions'; import dataStorageActions from '../../actions/dataStorageActions'; const editDataStoreDetailsMock = jest.f...
app/component/resume/PersonalDetailsSectionPage.js
mrFlick72/mrFlick72.github.io
import React from 'react'; import avatar from '../../asset/images/myPhoto.jpeg'; import ResumeRow from "./ResumeRow"; const PERSONAL_DETAILS_LABEL = { "firstName": "First Name", "lastName": "Last Name", "address": "Address", "zip": "Zip", "city": "City", "region": "Region", "mail": "E-Mai...
index.android.js
bangwu/leavemessage
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class leavemessage extends Component { render() { return ( <View style={styles.container}> <...
src/app.js
Schubidu/gambling-block
import React from 'react'; import ReactDOM from 'react-dom'; import createBrowserHistory from 'history/lib/createHashHistory'; import { syncReduxAndRouter } from 'redux-simple-router'; import routes from './routes'; import Root from './containers/Root'; import configureStore from './redux/configureStore'; const histor...
stories/Lookup.js
propertybase/react-lds
import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean, object, text } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; import { Button, Lookup, Spinner } from '../src'; const stories = storiesOf('Lookup', module); const exampleData = [ { id: '...
ajax/libs/remoteStorage/0.14.0/remotestorage-nocache.js
joeyparrish/cdnjs
/** remotestorage.js 0.14.0, http://remotestorage.io, MIT-licensed **/ /** FILE: lib/bluebird.js **/ /** * bluebird build version 2.3.4 * Features enabled: core, nodeify * Features disabled: race, call_get, generators, map, promisify, props, reduce, settle, some, progress, cancel, using, filter, any, each, timers *...
src/component/bootstrap/AlertSuccess.js
MortalFlesh/Dashboard
import React from "react"; import PropTypes from "prop-types"; class AlertSuccess extends React.PureComponent { render() { return ( <div className="alert alert-success" role="alert"> {this.props.children} </div> ); } } AlertSuccess.propTypes = { chil...
src/routes/contact/index.js
koistya/react-starter-kit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Contact from './Contact'...
imports/plugins/included/social/client/components/twitter.js
evereveofficial/reaction
import React, { Component, PropTypes } from "react"; import Helmet from "react-helmet"; import classnames from "classnames"; import { Translation } from "/imports/plugins/core/ui/client/components"; export function getTwitterMeta(props) { const title = props.title || document.title; const preferredUrl = props.url...
antd-mobile-custom/antd-mobile/lib/image-picker/PropsType.js
forwk1990/wechart-checkin
// import React from 'react'; "use strict";
src/js/components/icons/base/Info.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
src/Checkbox.js
pandoraui/react-ui
"use strict" import React from 'react' import classnames from 'classnames' import { requireCss } from './themes' requireCss('checkbox') class Checkbox extends React.Component { static displayName = "Checkbox" static propTypes = { checked: React.PropTypes.bool, children: React.PropTypes.any, className...
ajax/libs/aui/7.5.0/aui/js/aui-experimental.js
joeyparrish/cdnjs
/*! * @atlassian/aui - Atlassian User Interface Framework * @version v7.5.0 * @link https://docs.atlassian.com/aui/latest/ * @license SEE LICENSE IN LICENSE.md * @author Atlassian Pty Ltd. */ // src/js/aui/polyfills/placeholder.js (typeof window === 'undefined' ? global : window).__452d3f8e5d643ab60faf3f564b8276d...
web/src/components/tooltips/lowcarboninfotooltip.js
corradio/electricitymap
import React from 'react'; import { useTranslation } from '../../helpers/translation'; import Tooltip from '../tooltip'; const LowCarbonInfoTooltip = ({ position, onClose }) => { const { __ } = useTranslation(); return ( <Tooltip id="lowcarb-info-tooltip" position={position} onClose={onClose}> <b>{_...
user_guide/searchindex.js
jds8899/messenger
Search.setIndex({envversion:42,terms:{represent:[25,110,13,73],mybackup:69,yellow:[6,124],poorli:86,four:[144,82,49,130,50,120,116,125,119],prefix:[82,89,2,29],oldest:125,hate:126,optimize_databas:69,forget:[46,98],whose:29,accur:[0,29,109,146,37,88],aug:86,emailaddress:46,my_control:[96,105],site_url:[91,75,7,29],illu...
ajax/libs/forerunnerdb/1.3.677/fdb-core.min.js
pvnr0082t/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...