path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/radium/0.19.6/radium.min.js
seogi1004/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
docs/Button.js
jxnblk/axs
import React from 'react' import Base from '../src' import { withTheme } from 'theming' const Button = withTheme(({ theme, ...props }) => <Base.a {...props} css={` display: inline-block; text-decoration: none; font-weight: bold; padding-left: 24px; padding-right: 24px; pad...
jenkins-design-language/src/js/components/material-ui/svg-icons/action/open-in-new.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionOpenInNew = (props) => ( <SvgIcon {...props}> <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/> </SvgIcon> ); ActionOpenInNew.displayName = 'A...
packages/material-ui-icons/src/HdrOn.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M21 11.5v-1c0-.8-.7-1.5-1.5-1.5H16v6h1.5v-2h1.1l.9 2H21l-.9-2.1c.5-.3.9-.8.9-1.4zm-1.5 0h-2v-1h2v1zm-13-.5h-2V9H3v6h1.5v-2.5h2V15H8V9H6.5v2zM13 ...
ajax/libs/primereact/7.0.1/knob/knob.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames } from 'primereact/utils'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < p...
ajax/libs/rxjs/2.3.16/rx.lite.compat.js
cgvarela/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
presentation/examples/future-advisor-lite/server.js
iansinnott/react-static-presentation
/** * NOTE: This file must be run with babel-node as Node is not yet compatible * with all of ES6 and we also use JSX. */ import url from 'url'; import React from 'react'; import { renderToStaticMarkup } from 'react-dom/server'; import express from 'express'; import webpack from 'webpack'; import config from './web...
ajax/libs/vue/2.4.2/vue.runtime.js
dakshshah96/cdnjs
/*! * Vue.js v2.4.2 * (c) 2014-2017 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function ()...
Realization/frontend/czechidm-core/src/components/advanced/RoleRequestInfo/RoleRequestInfo.js
bcvsolutions/CzechIdMng
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; // import * as Basic from '../../basic'; import { RoleRequestManager, SecurityManager } from '../../../redux'; import AbstractEntityInfo from '../EntityInfo/AbstractEntityInfo'; import EntityInfo from '../EntityInfo/En...
src/components/wallet/index.js
golemfactory/golem-electron
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { BigNumber } from 'bignumber.js'; import isEqual from 'lodash/isEqual'; import * as Actions from './../../actions'; import { getStatus } from '../../reducers'; import CurrencyBox from '...
tests/shared/allowClearTest.js
ddcat1115/select
/* eslint-disable no-undef */ import React from 'react'; import { render } from 'enzyme'; import Select from '../../src/Select'; export default function allowClearTest(mode) { describe('allowClear', () => { it('renders correctly', () => { const wrapper = render(<Select {...({ [mode]: true })} allowClear />...
docs/src/app/components/pages/components/Drawer/Page.js
ruifortes/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import drawerReadmeText from './README'; import DrawerSimpleExample from './Exam...
ajax/libs/vue/1.0.0-alpha.5/vue.js
hare1039/cdnjs
/*! * Vue.js v1.0.0-alpha.5 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); e...
src/app.js
bendyorke/auth0-profile
import React from 'react' import ReactDOM from 'react-dom' import 'whatwg-fetch' import 'bootstrap/dist/css/bootstrap.css' import './app.css' import App from 'containers/App/App' import {hashHistory} from 'react-router' import makeRoutes from './routes' const routes = makeRoutes() const mountNode = document.queryS...
pages/people/jcrianoro.js
pcm-ca/pcm-ca.github.io
import React from 'react' import { Link } from 'react-router' import Helmet from 'react-helmet' import { config } from 'config' import { prefixLink } from 'gatsby-helpers' import bib from './bib' import info from './info' import PersonPage from '../../components/PersonPage' export default class Index extends React.Co...
ajax/libs/brain/0.6.3/jquery.min.js
cloudrifles/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/yasqe/2.2.0/yasqe.bundled.min.js
IonicaBizauKitchen/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.YASQE=e()}}(function(){var e;return function t(e,r,i)...
src/views/home/c/Navbar.js
STMU1320/dedao-demo
import React from 'react' import { Link } from 'react-router-dom' import Icon from 'components/Icon' import styles from '../style.less' const NavBar = ({ data = [{ icon: '#icon-iconbook', text: '电子书', route: '/book', bg: '#63a5f1', }, { icon: '#icon-play1', text: '每天听本书', route: '/lis...
client/src/app/admin/panel/articles/admin-panel-view-article.js
ivandiazwm/opensupports
import React from 'react'; import _ from 'lodash'; import {connect} from 'react-redux'; import history from 'lib-app/history'; import ArticlesActions from 'actions/articles-actions'; import SessionStore from 'lib-app/session-store'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import MentionsP...
webpack.config.js
ryu047/DBZ-Scouter
var webpack = require('webpack'); var path = require('path'); var config = module.exports = { entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', './src/app.js' ], output: { path: path.join(__dirname, 'dist'), publicPath: '/static/', filename: 'bundl...
svg-icons/action/swap-vert.js
janmarsicek/material-ui
'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/scenes/selectDate.js
Andrey11/golfmanager
'use strict'; import React, { Component } from 'react'; import { AppRegistry, Text, View, InteractionManager, TouchableHighlight, StyleSheet } from 'react-native'; import * as RightButtonMapper from '../navigation/rightButtonMapper'; import DatePicker from '../components/datePicker'; export default class...
zt/wqr/js/jquery-1.8.3.min.js
linmingling/demo
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
src/components/ui/animations/default.js
xavier-besson/react-playground
import React from 'react'; import BaseAnimation from 'components/ui/animations/index'; import LayoutManager from 'utils/layout-manager.js'; import * as Uid from 'utils/uid'; /** * https://github.com/daneden/animate.css/tree/master/source * @class DefaultAnimation * @extends BaseAnimation */ class DefaultAnimation ...
test/TabbedAreaSpec.js
leozdgao/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import TabbedArea from '../src/TabbedArea'; import NavItem from '../src/NavItem'; import TabPane from '../src/TabPane'; import ValidComponentChildren from '../src/utils/ValidComponentChildren'; describe('TabbedArea', function () { it('...
docs/components/Footer.js
romagny13/react-form-validation
import React from 'react'; const Footer = () => ( <div className="footer clearfix">React Form Validation © 2017 ROMAGNY13 <a href="https://github.com/romagny13/react-form-validation" className="github-link"><i className="fa fa-github fa-2x" aria-hidden="true" /></a></div> ); export default Footer;
docs/src/app/components/pages/components/DropDownMenu/ExampleSimple.js
rscnt/material-ui
import React from 'react'; import DropDownMenu from 'material-ui/DropDownMenu'; import MenuItem from 'material-ui/MenuItem'; const styles = { customWidth: { width: 200, }, }; export default class DropDownMenuSimpleExample extends React.Component { constructor(props) { super(props); this.state = {va...
ajax/libs/6to5/3.3.0/browser.js
RizkyAdiSaputra/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
src/styles/theme-decorator.js
chrismcv/material-ui
import React from 'react'; export default (customTheme) => { return function(Component) { return React.createClass({ childContextTypes: { muiTheme: React.PropTypes.object, }, getChildContext() { return { muiTheme: customTheme, }; }, render() { ...
dist/components/SidebarModule/SidebarModule.js
jrsowles/react-building-blocks
'use strict'; 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; }; var _createClass = function () { function defi...
ajax/libs/forerunnerdb/1.3.454/fdb-legacy.js
sufuf3/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...
web-app/src/shared/components/Table/AllLabelHeadingCell.js
crypticism/FF
import React from 'react'; export default function AllLabelHeadingCell() { return ( <span>All</span> ); }
reactjs-component-test/app/components/layouts/search-list-layout.js
dafobe/react-component-test
import React from 'react'; import ComponentList from '../views/component-list'; const SearchListLayout = React.createClass({ filter: function(){ this.props.filter(this.refs.searchInput.value); }, render: function() { let placeHolder = "Search " + this.props.title; return ( <div className="sear...
ajax/libs/primereact/6.5.0-rc.2/orderlist/orderlist.esm.min.js
cdnjs/cdnjs
import e,{Component as t}from"react";import{Button as n}from"primereact/button";import{ObjectUtils as r,DomHandler as o,classNames as i}from"primereact/utils";import{Ripple as l}from"primereact/ripple";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e...
vendor/tacit/test/dialog-spec.js
vanHeemstraSystems/components
import React from 'react'; import Dialog from 'dialog'; import {spy} from 'sinon'; import TestUtils from 'react-addons-test-utils'; describe('Dialog', () => { it('appends a dialog to the document body', () => { let testClass = 'test-dialog-class'; TestUtils.renderIntoDocument( <Dialog open={tru...
tests/unit/test_helpers.js
mozilla/addons-frontend
/* eslint-disable react/no-multi-comp, max-classes-per-file */ import React, { Component } from 'react'; import { ConnectedRouter } from 'connected-react-router'; import { shallow, mount } from 'enzyme'; import { createMemoryHistory } from 'history'; import { compose } from 'redux'; import { Provider } from 'react-redu...
client/src/App.js
Nnutthowze/analytics
import React from 'react'; import ReactDom from 'react-dom'; import HomePage from './components/HomePage'; import LoginPage from './containers/LoginPage'; import SignUpPage from './containers/SignUpPage'; import { BrowserRouter as Router, Route, NavLink } from 'react-router-dom'; import injectTapEventPlugin from 'react...
src/components/LoginPage.js
jperez10/RobinHoodAutoTrader
import React from 'react'; const LoginPage = (props) => { var style = { 'float': 'left', 'clear': 'both', 'maxWidth': '45%' }; return( <div style={{'marginTop':'80px'}} className="login"> <div style={{float:'left', clear:'both'}}className="imgcontainer"> <...
ajax/libs/yasgui/0.0.3/yasgui.bundled.min.js
melvinsembrano/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...
nailgun/static/views/root.js
huntxu/fuel-web
/* * Copyright 2015 Mirantis, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
app/index.js
jmsstudio/CurrencyConverter
import React from 'react'; import EStyleSheet from 'react-native-extended-stylesheet'; import { Provider, connect } from 'react-redux'; import { addNavigationHelpers } from 'react-navigation'; import Navigator from './config/routes'; import { AlertProvider } from './components/Alert'; import store from './config/store...
src/svg-icons/hardware/keyboard-backspace.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardBackspace = (props) => ( <SvgIcon {...props}> <path d="M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"/> </SvgIcon> ); HardwareKeyboardBackspace = pure(HardwareKeyboardBackspace); Ha...
config.js
adjohnston/react-jspm-example
System.config({ baseURL: "/", defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime", "optimisation.modules.system" ] }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "babel": "npm:babel-core@5.8....
ajax/libs/react-data-grid/0.13.9/react-data-grid-with-addons.js
sufuf3/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactDataGrid"] = f...
lib/components/plugins/SpecialCharsDialog.js
liuhong1happy/react-umeditor
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("val...
ui/src/components/quotations/pages.js
jollopre/mps
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import queryString from 'query-string'; import { getQuotations, searchQuotations } from '../../actions/quotations'; import { setPage, QUOTATIONS } from '../../actions/pagination'; import Paginatio...
scripts/shop.js
Ingvildk/larry
import React from 'react'; import ReactBootstrap from 'react-bootstrap'; import Router from 'react-router'; var { Route, DefaultRoute, RouteHandler, Link } = Router; var { Col, Grid, Row, Button, Thumbnail } = ReactBootstrap; export default class Shop extends React.Component { constructor(props) { super(props); ...
src/svg-icons/content/content-paste.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentContentPaste = (props) => ( <SvgIcon {...props}> <path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s...
cpat-client/src/components/target-types/company/forms/CompanyCreate.js
meddlin/CPAT
import React from 'react'; import { useHistory } from 'react-router-dom'; import { connect } from 'react-redux'; import { withFormik, Form, FieldArray } from 'formik'; import * as Yup from 'yup'; import { Button, TextInput, Heading } from 'evergreen-ui'; import { CompanyDocumentRelationFormArray } from './form-arrays/C...
docs/src/sections/BadgeSection.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 BadgeSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> <Anc...
src/svg-icons/device/battery-std.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryStd = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/> </SvgIcon> ); D...
preprocessor.js
yinaw/travelBook
/** * React Starter Kit (http://www.reactstarterkit.com/) * * Copyright © 2014-2015 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. */ 'use strict'; var babel = require('babel-core'); module.e...
ajax/libs/jquery-localScroll/1.3.4/jquery.localScroll.js
r3x/cdnjs
/*! * jQuery.localScroll * Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com * Licensed under MIT * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html * @author Ariel Flesler * @version 1.3.4 */ ;(function(plugin) { // AMD Support if (typeof define =...
src/routes.js
korabh/quran.com-frontend
/* eslint-disable max-len, no-console */ import React from 'react'; import IndexRoute from 'react-router/lib/IndexRoute'; import Route from 'react-router/lib/Route'; import Redirect from 'react-router/lib/Redirect'; import { isLoaded as isAuthLoaded, load as loadAuth, hasAccessToken } from 'redux/actions/auth'; ...
ajax/libs/inferno/1.0.0-beta37/inferno-mobx.js
Piicksarn/cdnjs
/*! * inferno-mobx v1.0.0-beta36 * (c) 2016 Ryan Megidov * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-component'), require('mobx'), require('./inferno-create-class'), require('./inferno-...
assets/resources/jquery/jquery.min.js
abhinav2710/abhinav2710.github.com
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
node_modules/material-ui/lib/svg-icons/image/photo-size-select-large.js
fernando-jascovich/vagrant-manager
'use strict'; var React = require('react'); var PureRenderMixin = require('react-addons-pure-render-mixin'); var SvgIcon = require('../../svg-icon'); var ImagePhotoSizeSelectLarge = React.createClass({ displayName: 'ImagePhotoSizeSelectLarge', mixins: [PureRenderMixin], render: function render() { return ...
ajax/libs/6to5/3.0.8/browser.js
mathiasrw/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/RunningTasksCard/RunningTasksCard.js
theforeman/foreman-tasks
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import TasksDonutCard from '../TasksDonutCard/TasksDonutCard'; const RunningTasksCard = ({ ...props }) => ( <TasksDonutCard title={__('Running')} wantedQueryState="running" id="running-tasks-card" {...props} /> ...
docs/client/components/pages/Image/gettingStarted.js
koaninc/draft-js-plugins
// It is important to import the Editor which accepts plugins. // eslint-disable-next-line import/no-unresolved import Editor from 'draft-js-plugins-editor'; // eslint-disable-next-line import/no-unresolved import createImagePlugin from 'draft-js-image-plugin'; import React from 'react'; const imagePlugin = createImag...
app/javascript/flavours/glitch/components/status_content.js
Kirishima21/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import Permalink from './permalink'; import classnames from 'classnames'; import Icon from 'flavours/glitch/components/icon'; import { autoPlayGif } f...
ajax/libs/highmaps/1.0.3/highcharts.src.js
cluo/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.0.3 (2014-07-03) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
src/client/pages/app/modalRoot/addMappingModal/NewMappingForm.js
doemski/cblocks
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; import FormRangeComponent from './newMappingForm/FormRangeComponent'; import MenuItem from '@material-ui/core/MenuItem'; import Select from '@...
ajax/libs/chimee/0.2.0/index.browser.js
joeyparrish/cdnjs
/** * chimee v0.2.0 * (c) 2017 toxic-johann * Released under MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Chimee = factory()); }(this, (function () { 'use s...
docs/app/Examples/modules/Dropdown/Variations/DropdownExampleScrolling.js
aabustamante/Semantic-UI-React
import React from 'react' import { Dropdown } from 'semantic-ui-react' import { getOptions } from '../common' const DropdownExampleScrolling = () => ( <Dropdown placeholder='Select choice' scrolling options={getOptions(15)} /> ) export default DropdownExampleScrolling
app/app.js
ajanthvofox/react-crud
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; impor...
packages/material-ui-icons/src/Portrait.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M12 12.25c1.24 0 2.25-1.01 2.25-2.25S13.24 7.75 12 7.75 9.75 8.76 9.75 10s1.01 2.25 2.25 2.25zm4.5 4c0-1.5-3-2.25-4.5-2.25s-4.5.75-4.5 2.25V17h9v-...
templates/rubix/demo/src/routes/AreaSeries.js
jeffthemaximum/jeffline
import React from 'react'; import { Row, Col, Panel, PanelBody, PanelContainer, } from '@sketchpixy/rubix'; class Chart extends React.Component { render() { return ( <PanelContainer> <Panel> <PanelBody style={{padding: 25}}> <div id={this.props.id}></div> ...
src/svg-icons/maps/local-offer.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalOffer = (props) => ( <SvgIcon {...props}> <path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86...
src/components/Navbar/Navbar.js
phoenixbox/vesty-fe
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ 'use strict'; import React from 'react'; export default React.createClass({ render()...
ajax/libs/reactive-coffee/1.1.1/reactive-coffee.min.js
hipertracker/cdnjs
(function(){var a,b=[].slice,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};a=function(a,c,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V...
packages/material-ui-icons/src/Pages.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 5v6h5L7 7l4 1V3H5c-1.1 0-2 .9-2 2zm5 8H3v6c0 1.1.9 2 2 2h6v-5l-4 1 1-4zm9 4l-4-1v5h6c1.1 0 2-.9 2-2v-6h-5l1 4zm2-14h-6v5l4-1-1 4h5V5c0-1.1-.9-2-2-2z" /> , 'Pages');
src/components/EmployeeCreate.js
goblinbr/manager-react-native-app
import React, { Component } from 'react'; import { Button } from 'react-native'; import { connect } from 'react-redux'; import { employeeCreate } from '../actions'; import { Card, CardSection, EmployeeForm } from '.'; class EmployeeCreate extends Component { static navigationOptions = { title: 'Add employee', ...
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/DefaultPropsUninitialized.js
TiddoLangerak/flow
// @flow import React from 'react'; class MyComponent extends React.Component { static defaultProps: DefaultProps; props: Props; defaultProps: T; static props: T; static state: T; a: T; b = 5; c: T = 5; method() {} } const expression = () => class extends React.Component { static defaultProp...
src/components/app.js
aleksandrsmolin/react-redux-weather
import React, { Component } from 'react'; import SearchBar from '../containers/searchBar'; import WeatherList from '../containers/weatherList'; export default class App extends Component { render() { return ( <div> <SearchBar /> <WeatherList /> </div> ); } }
docs/pages/components/tree-view.js
kybarg/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/components/tree-view', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../....
webapp-src/src/Profile/Session.js
babelouest/glewlwyd
import React, { Component } from 'react'; import i18next from 'i18next'; import apiManager from '../lib/APIManager'; import messageDispatcher from '../lib/MessageDispatcher'; import Notification from '../lib/Notification'; class Session extends Component { constructor(props) { super(props); this.state ...
app/javascript/mastodon/features/ui/components/__tests__/column-test.js
Ryanaka/mastodon
import { render, fireEvent, screen } from '@testing-library/react'; import React from 'react'; import Column from '../column'; describe('<Column />', () => { describe('<ColumnHeader /> click handler', () => { it('runs the scroll animation if the column contains scrollable content', () => { const scrollToMo...
src/ModalHeader.js
Sipree/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import tbsUtils, { bsClass } from './utils/bootstrapUtils'; import createChainedFunction from './utils/createChainedFunction'; class ModalHeader extends React.Component { render() { let { 'aria-label': label, ...props } = this.props; let onHide...
Libraries/Components/TextInput/TextInput.js
orenklein/react-native
/** * 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...
src/destinations/Raw.js
RoyalIcing/gateau
import R from 'ramda' import React from 'react' import seeds, { Seed } from 'react-seeds' import rgba from 'react-sow/rgba' import JSONComponent from './JSONComponent' export const Preview = ({ ingredients, contentTree }) => ( <JSONComponent json={ contentTree } isDeserialized /> ) export const title = 'Raw' cons...
ajax/libs/forerunnerdb/1.3.724/fdb-core+views.js
humbletim/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/containers/LanguageProvider/index.js
dwightgunning/dailywriting
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
src/components/HeartsRoot.js
tgevaert/react-redux-hearts
import React from 'react'; import { connect } from 'react-redux'; import HeartsGame from './HeartsGame'; import ScoreGraph from './ScoreGraph'; import GameOver from './GameOver'; import NewGame from './NewGameButton'; import SourceButton from './SourceButton'; import { gamePhases, getCurrentPhase } from '../reducers'; ...
src/interface/report/ReportLoader.js
FaideWW/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import { t } from '@lingui/macro'; import { fetchFights, LogNotFoundError } from 'common/fetchWclApi'; import { captureException } from '...
ajax/libs/core-js/0.2.4/library.js
BobbieBel/cdnjs
/** * Core.js 0.2.4 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2014 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/client/auth/index.react.js
steida/songary
import Component from '../components/component.react'; import DocumentTitle from 'react-document-title'; import Login from './login.react'; import React from 'react'; export default class Index extends Component { static propTypes = { msg: React.PropTypes.object.isRequired } render() { const {msg} = th...
ajax/libs/forerunnerdb/1.3.551/fdb-core+views.min.js
viskin/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...
webapp-src/src/Admin/App.js
babelouest/glewlwyd
import React, { Component } from 'react'; import apiManager from '../lib/APIManager'; import messageDispatcher from '../lib/MessageDispatcher'; import Notification from '../lib/Notification'; import i18next from 'i18next'; import Confirm from '../Modal/Confirm'; import Message from '../Modal/Message'; import EditReco...
node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js
pcclarke/civ-techs
import React from 'react'; /** * @ignore - internal component. */ var RadioGroupContext = React.createContext(); export default RadioGroupContext;
actor-apps/app-web/src/app/components/Main.react.js
berserkertdl/actor-platform
import React from 'react'; import requireAuth from 'utils/require-auth'; import VisibilityActionCreators from '../actions/VisibilityActionCreators'; import FaviconActionCreators from 'actions/FaviconActionCreators'; import FaviconStore from 'stores/FaviconStore'; import ActivitySection from 'components/ActivitySecti...
ajax/libs/jQRangeSlider/4.2/jQRangeSliderBar.min.js
humbletim/cdnjs
(function(a,b){a.widget("ui.rangeSliderBar",a.ui.rangeSliderDraggable,{options:{leftHandle:null,rightHandle:null,bounds:{min:0,max:100},type:"rangeSliderHandle",range:false,drag:function(){},stop:function(){},values:{min:0,max:20},wheelSpeed:4,wheelMode:null},_values:{min:0,max:20},_waitingToInit:2,_wheelTimeout:false,...
src/App.js
gndx/sonrie.club
import React, { Component } from 'react'; import Header from './components/Header'; import Main from './components/Main'; import Footer from './components/Footer'; const App = () => { return ( <div> <Header title='Sonríe Club 😙'></Header> <Main></Main> <Footer></Footer> </div> ); }; e...
src/svg-icons/action/perm-device-information.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermDeviceInformation = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/> ...
tests/components/containerComponentTest.js
mordra/cotwmtor
import React from 'react'; import ReactDom from 'react-dom'; import {shallow} from 'enzyme'; import * as cotw from '/core/cotwContent.js'; import * as map from '/core/maps.js'; import * as Item from '/core/item.js'; import {ContainerView} from '/client/misc/containerComponent.js'; import ItemView from '/client/shop/i...
src/svg-icons/editor/format-clear.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatClear = (props) => ( <SvgIcon {...props}> <path d="M3.27 5L2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27 3.27 5zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5H6z"/> </SvgIcon...
src/web/forms/fields/TextInput/alert-icon.js
asha-nepal/AshaFusionCross
/** * Copyright 2018 Yuichiro Tsuchiya * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
components/User/UserProfile/ChangePassword.js
slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import { FormattedMessage, defineMessages } from 'react-intl'; import changePassword from '../../../actions/user/userprofile/changePassword'; import { hashPassword } from '../../../common'; class ChangePassword extends ...
Examples/UIExplorer/SliderIOSExample.js
huip/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/Footer.js
MaksimMartyn/LAZARUS
'use strict'; import React from 'react'; const Footer = () => ( <footer> <div className="container"> <section className="col-mobile-8 col-2-8"> <p>Lazarus Inc. 2017</p> <p>+38 089 253 62 37</p> <p>lazarus@gmail.com </p> </section> <section className="socials col-mobile-...