path stringlengths 5 300 | repo_name stringlengths 6 76 | content stringlengths 26 1.05M |
|---|---|---|
packages/material-ui-icons/src/WorkOutlineRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M14 6V4h-4v2h4zM4 9v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1zm16-3c1.11 0 2 .89 2 2v11c0 1.11-.89 2-2 2H4c-1.11 0-2-.89-2-2l.01-11c0-1.11.88-2 1.99-2h4V4c0-1.11.89-2 2-... |
react/features/device-selection/components/DeviceSelection.js | jitsi/jitsi-meet | // @flow
import React from 'react';
import AbstractDialogTab, {
type Props as AbstractDialogTabProps
} from '../../base/dialog/components/web/AbstractDialogTab';
import { translate } from '../../base/i18n/functions';
import { createLocalTrack } from '../../base/lib-jitsi-meet/functions';
import logger from '../lo... |
jenkins-design-language/src/js/components/material-ui/svg-icons/places/all-inclusive.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const PlacesAllInclusive = (props) => (
<SvgIcon {...props}>
<path d="M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9... |
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; |
ajax/libs/zone.js/0.8.13/zone.min.js | dakshshah96/cdnjs | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(this,function(){"use strict";function e(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function t(t,n){for(var r=t.constructor.name,o=... |
src/svg-icons/action/compare-arrows.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionCompareArrows = (props) => (
<SvgIcon {...props}>
<path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"/>
</SvgIcon>
);
ActionCompareArrows = pure(ActionCompareArrows);
Acti... |
src/parser/monk/windwalker/modules/spells/ComboBreaker.js | FaideWW/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import SpellIcon from 'common/SpellIcon';
import { formatPercentage } from 'common/format';
import AbilityTracker from 'parser/shared/modules/AbilityTracker';
import Analyzer from 'parser/core/Analyzer';
import Stat... |
app/components/SetupStackController/BonjourScanContainer/BonjourScan/ClockListContainer/ClockList/ItemContainer/Item/index.js | reubn/atomic | import React from 'react'
import {Text, TouchableOpacity, View} from 'react-native'
import {Ionicons} from '@expo/vector-icons'
import {View as AnimatedView} from 'react-native-animatable'
import {item, itemText, icon, iconContainer} from './styles'
export default ({name, selected, pickClock}) => (
<TouchableOpacit... |
js/components/segment/segmentTab.js | YeisonGomez/RNAmanda |
import React, { Component } from 'react';
import { StatusBar } from 'react-native';
import { connect } from 'react-redux';
import { Container, Header, Title, Content, Text, H3, Button, Icon, Footer, FooterTab, Left, Right, Body, Segment } from 'native-base';
import { openDrawer } from '../../actions/drawer';
import {... |
ajax/libs/react-native-web/0.17.5/exports/Touchable/Position.min.js | cdnjs/cdnjs | import PooledClass from"../../vendor/react-native/PooledClass";var twoArgumentPooler=PooledClass.twoArgumentPooler;function Position(o,t){this.left=o,this.top=t}Position.prototype.destructor=function(){this.left=null,this.top=null},PooledClass.addPoolingTo(Position,twoArgumentPooler);export default Position; |
sites/all/modules/chooseit/ctools/js/dependent.js | eagle-one78/Choose_it | /**
* @file
* Provides dependent visibility for form items in CTools' ajax forms.
*
* To your $form item definition add:
* - '#process' => array('ctools_process_dependency'),
* - '#dependency' => array('id-of-form-item' => array(list, of, values, that,
* make, this, item, show),
*
* Special considerations:
... |
examples/quick-start/app.js | davidkpiano/redux-simple-form | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
// We'll create this in Step 5.
import store from './store.js';
// We'll create this in Step 6.
import UserForm from './components/user-form.js';
class App extends React.Component {
render() {
return (
<... |
packages/material-ui-icons/src/Cast.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" opacity=".1" /><path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3... |
ajax/libs/forerunnerdb/1.3.591/fdb-legacy.min.js | sashberd/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... |
Gryffindor/app/containers/Panel.js | Acheron-VAF/Acheron | import React, { Component } from 'react';
import Radium, { Style } from 'radium';
import {StyleRoot} from 'radium';
class Panel extends Component {
constructor(props) {
super(props);
this.state = {};
}
getStyles() {
const bgcolor = {
default: "#202020"
}
return {
si... |
src/Kunstmaan/MediaBundle/Resources/ui/vendor_bower/plupload/js/moxie.js | krispypen/KunstmaanBundlesCMS | /**
* 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 ... |
fixtures/packaging/systemjs-builder/prod/input.js | krasimir/react | import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
React.createElement('h1', null, 'Hello World!'),
document.getElementById('container')
);
|
admin/includes/javascript/jquery-1.8.3.min.js | shophelfer/shophelfer.com-shop | /*! 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/svg-icons/av/pause.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvPause = (props) => (
<SvgIcon {...props}>
<path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>
</SvgIcon>
);
AvPause = pure(AvPause);
AvPause.displayName = 'AvPause';
AvPause.muiName = 'SvgIcon';
export default AvP... |
local-cli/generator-ios/index.js | shinate/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.
*/
'use strict... |
node_modules/react-icons/fa/pinterest.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const FaPinterest = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m37.3 20q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3q-2.4 0-4.8-0.7 1.3-2 1.7-3.6 0.2-0.8 1.2-4.7 0.5 0.8 1.7 1.5t2.5 0.6q2.7 0 4.8-1.5t3.3-4.2 1.2-6.1q0-2.5-1.4-4.7t-3.8-3.7-5.... |
src/modules/AttachmentWebm/component.js | svmn/ace-fnd | 'use strict';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import IconButton from 'material-ui/IconButton';
import { fullWhite, lightBlack } from 'material-ui/styles/colors';
import { getExtWebmThumbnail } from '../../utils';
export default class AttachmentWebm extends Component {
c... |
src/SafeAnchor.js | sheep902/react-bootstrap | import React from 'react';
import createChainedFunction from './utils/createChainedFunction';
/**
* Note: This is intended as a stop-gap for accessibility concerns that the
* Bootstrap CSS does not address as they have styled anchors and not buttons
* in many cases.
*/
export default class SafeAnchor extends React... |
src/main.js | aibolik/my-todomvc | import React from 'react'
import ReactDOM from 'react-dom'
import createStore from './store/createStore'
import './styles/main.scss'
// Store Initialization
// ------------------------------------
const store = createStore(window.__INITIAL_STATE__)
// Render Setup
// ------------------------------------
const MOUNT_N... |
src/components/ui/FormLabel.js | npdat/Demo_React_Native | /**
* Text Input
*
<FormLabel></FormLabel>
*
* React Native Starter App
* https://github.com/mcnamee/react-native-starter-app
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { FormLabel } from 'react-native-elements';
// Consts and Libs
import { AppColors, AppFonts } ... |
ajax/libs/formsy-react/0.12.0/formsy-react.js | froala/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... |
vendor/jquery/jquery.min.js | vrodrigues18/vrodrigues18.github.io | /*! jQuery v1.12.4 | (c) jQuery Foundation | 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 window?window:this,fu... |
blueocean-material-icons/src/js/components/svg-icons/communication/call-end.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const CommunicationCallEnd = (props) => (
<SvgIcon {...props}>
<path d="M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-.42-.29-.7 0-.28.11-.53.29-.71C3.3... |
assets/jqwidgets/demos/react/app/treegrid/rowdetails/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxTreeGrid from '../../../jqwidgets-react/react_jqxtreegrid.js';
class App extends React.Component {
componentDidMount() {
this.refs.myTreeGrid.expandRow(2);
}
render () {
let employees = [{ 'EmployeeID': 1, 'FirstName': ... |
src/svg-icons/communication/live-help.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationLiveHelp = (props) => (
<SvgIcon {...props}>
<path d="M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 11.9 13 12.5 13... |
pkg/users/accounts-list.js | cockpit-project/cockpit | /*
* This file is part of Cockpit.
*
* Copyright (C) 2020 Red Hat, Inc.
*
* Cockpit is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any l... |
src/components/Signup.js | wdavew/king-pong | import React, { Component } from 'react';
import Form from './Form.js'
function Signup(props) {
return (
<div className='login-form'>
<h4>Signup</h4>
<Form handleSubmit={props.submit} handleUserChange={(e) => props.handleInputTextChange(e, 'newUser')}
handlePasswordChange={(e) => props.handle... |
app/jsx/external_apps/components/ConfigurationFormManual.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... |
admin/client/App/screens/Home/components/ListTile.js | matthewstyers/keystone | import React from 'react';
import { Link } from 'react-router';
/**
* Displays information about a list and lets you create a new one.
*/
var ListTile = React.createClass({
propTypes: {
count: React.PropTypes.string,
hideCreateButton: React.PropTypes.bool,
href: React.PropTypes.string,
label: React.PropType... |
ajax/libs/yasqe/2.2.0/yasqe.bundled.min.js | ankitjamuar/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/index.js | Xoce51/CopyTime-Calculator | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
registerServiceWorker();
|
src/js/components/Dashboard/PostListItemDetail/index.js | grommet/grommet-cms-boilerplate | /* @flow */
import React from 'react';
import Box from 'grommet/components/Box';
import Section from 'grommet/components/Section';
import Footer from 'grommet/components/Footer';
import Menu from 'grommet/components/Menu';
import Button from 'grommet/components/Button';
import AddIcon from 'grommet/components/icons/bas... |
src/server.js | martinrp/reduxgitresume | import Express from 'express';
import React from 'react';
import ReactDOM from 'react-dom/server';
import config from './config';
import favicon from 'serve-favicon';
import compression from 'compression';
import httpProxy from 'http-proxy';
import path from 'path';
import createStore from './redux/create';
import ApiC... |
packages/material-ui-icons/src/FeaturedVideo.js | dsslimshaddy/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let FeaturedVideo = props =>
<SvgIcon {...props}>
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 9H3V5h9v7z" />
</SvgIcon>;
FeaturedVideo = pure(FeaturedVideo);
Fe... |
website/pages/en/help.js | JamesRamm/longclaw | /**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
const Container = CompLibrary.Container;
con... |
ajax/libs/material-ui/5.0.0-alpha.14/legacy/ImageList/ImageListContext.min.js | cdnjs/cdnjs | import*as React from"react";var ImageListContext=React.createContext({});"production"!==process.env.NODE_ENV&&(ImageListContext.displayName="ImageListContext");export default ImageListContext; |
client/scripts/components/content-vertical-timeline.js | rubeniskov/web-palomasafe | import React from 'react';
export default class ContentVerticalTimeline extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<section id="timeline-vertical" className="e-block e-block-skin" data-stellar-background-ratio="0.5">
<div className="container pt-sect... |
app/src/js/index.js | tahnik/devRantron | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import Root from './routes/index';
import store from './store';
const settings = require('electron-settings');
const { ipcRenderer } = require('electron');
window.onerror = (msg) => {
console.log(msg);
const reqLi... |
components/ui/SectionListHeader.js | Jack3113/edtBordeaux | import React from 'react';
import { Text, View } from 'react-native';
import PropTypes from 'prop-types';
import style from '../../Style';
export default class SectionListHeader extends React.PureComponent {
static propTypes = {
color: PropTypes.string,
headerColor: PropTypes.string,
secti... |
src/components/DownloadLink/DownloadLink.js | synchu/schema | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import {FontIcon} from 'react-toolbox'
import {getFile} from '../../utils/utils'
import classes from './DownloadLink.scss'
const isImageByExt = (media:string):boolean => (media ? media.toLowerCase().match(/jpg|png|jpeg|bmp|gif/) : false)
con... |
src/App.js | kkotelczuk/weekendTour | import React, { Component } from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import { Router, Route, Switch } from 'react-router-dom';
import createHistory from 'history/createBrowserHistory';
import LoginForm from './containers... |
ajax/libs/rxjs/2.3.7/rx.js | nesk/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... |
test/unit/src/common/containers/t_terms.js | canonical-ols/javan-rhino | import React from 'react';
import expect from 'expect';
import { shallow } from 'enzyme';
import Terms from '../../../../../src/common/containers/terms.js';
describe('<Terms /> container', () => {
it('should render a div', () => {
const el = shallow(<Terms />);
expect(el.type()).toEqual('div');
});
});... |
src/components/shop/OrderHistory.js | mangal49/HORECA | import React from 'react';
import { connect } from 'react-redux';
import * as actions from '../../actions';
import { Tabs, Tab } from 'material-ui/Tabs';
import ReactCSSTransitionGroup from "react-addons-css-transition-group";
import SaleOrderHistory from './SaleOrderHistory';
import InvoiceHistory from './InvoiceHist... |
ajax/libs/forerunnerdb/1.3.630/fdb-core.min.js | BitsyCode/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... |
packages/arwes/src/Button/Button.js | romelperez/prhone-ui | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import AnimationComponent from '../Animation';
import HighlightComponent from '../Highlight';
import FrameComponent from '../Frame';
export default class Button extends Component {
static propTypes = {
Ani... |
ajax/libs/firebase/8.4.0-202131218423/firebase-auth.js | cdnjs/cdnjs | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("@firebase/app")):"function"==typeof define&&define.amd?define(["@firebase/app"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).firebase)}(this,function(e){"use strict";try{!function(){function t(t){return t&&"object"==typeof t&&"... |
chrome/extension/devpanel/index.js | mkawauchi/react-rpm | import 'babel-polyfill';
import React from 'react';
import { render } from 'react-dom';
import Root from '../../../app/containers/Root';
import configureStore from '../../../app/store/configureStore';
const store = configureStore();
render(
<Root store={store} />,
document.getElementById('root')
);
|
docs/pages/api/tabs.js | kybarg/material-ui | import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './tabs.md';
export default function Page() {
return <MarkdownDocs markdown={markdown} />;
}
|
ajax/libs/rxjs/2.2.17/rx.js | alkutin/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,
'u... |
node_modules/react-icons/io/ribbon-b.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const IoRibbonB = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20 5.6c3.8 0 6.9 3.1 6.9 6.9s-3.1 6.9-6.9 6.9-6.9-3.1-6.9-6.9 3.1-6.9 6.9-6.9z m0-3.1c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10z m0 17.5c4.1 0 7.5-3... |
node_modules/gulp-ng-annotate/node_modules/ng-annotate/node_modules/acorn/test/jquery-string.js | himynameisdave/fct-clean-css | /* Silly noise to be able to load in source code without doing an XMLHttpReq */var jquery164 = "/*!\n\
* jQuery JavaScript Library v1.6.4\n\
* http://jquery.com/\n\
*\n\
* Copyright 2011, John Resig\n\
* Dual licensed under the MIT or GPL Version 2 licenses.\n\
* http://jquery.org/license\n\
*\n\
* Includes Siz... |
step03/App/src/components/Main/index.js | grokbot/intro-to-react-native | import React, { Component } from 'react';
import { Text, View, ScrollView, Image, TouchableHighlight } from 'react-native';
import { Theme } from '../../theme';
import { Loader } from '../Loader';
import Questions from '../Questions';
import Config from "../../config/questions.json";
export default class Main extends ... |
src/components/page.js | xavier-besson/react-playground | import React from 'react';
import ReactDOM from 'react-dom';
import LayoutManager from 'utils/layout-manager';
import RouterManager from 'utils/router-manager';
import LayoutHeader from 'components/layout/header';
import LayoutNav from 'components/layout/nav';
import LayoutFooter from 'components/layout/footer';
import... |
client/ui/StartCard.js | vcarel/load-monitor-meteor | /* eslint-disable indent */
import React from 'react'
const StartCard = ({ period, sysStats }) => {
const stat = sysStats[sysStats.length - 1]
const load = stat['load_avg_' + period + 'm']
const { threshold } = stat
// Calculate progress rate
let progressRate = 0
if (sysStats.length > 1) {
const befor... |
examples/forms-material-ui/src/components/forms/Layout.js | lore/lore-forms | import React from 'react';
import createReactClass from 'create-react-class';
import { Drawer, AppBar } from 'material-ui';
import List from '../_common/List';
import PayloadStates from '../../constants/PayloadStates';
export default createReactClass({
displayName: 'Layout',
componentDidMount: function() {
wi... |
react-ui/src/components/base/Message.js | MaGuangChen/resume-maguangchen | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { graphql } from 'react-apollo';
import { compose } from 'react-apollo';
import SendMessage from './SendMessage';
import headPhoto from '../../images/maguangchen.jpg';
import userDefaultPhoto from '../../images/user-default-photo.p... |
client/scripts/app.js | bitmaker-software/cisco-spark-onboarding-bot | // import React from 'react';
// import ReactDOM from 'react-dom';
// import Router from 'react-router/lib/Router'; // import separately to reduce bundle size
// import browserHistory from 'react-router/lib/browserHistory'; // import separately to reduce bundle size
// import {Provider} from 'react-redux';
// import {c... |
src/svg-icons/action/alarm-off.js | mtsandeep/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionAlarmOff = (props) => (
<SvgIcon {...props}>
<path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6... |
client/node_modules/uu5g03/dist-node/layout/collections/container-collection.js | UnicornCollege/ucl.itkpd.configurator | import React from 'react';
import {BaseMixin, ElementaryMixin, SectionMixin, CcrWriterMixin, ColorSchemaMixin} from '../../common/common.js';
import ContainerCollectionMixin from './container-collection-mixin.js';
import Container from './../container.js';
export const ContainerCollection = React.createClass({
//@@... |
lib/yuilib/3.17.2/datatable-body/datatable-body-debug.js | SWiT/moodle | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
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... |
www/kendo/js/jquery.min.js | mob35/cyber-ttsm-r2-v2 | /*! 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... |
ajax/libs/forerunnerdb/1.3.925/fdb-core+views+persist.min.js | redmunds/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... |
usecase/usecase-wrt-linux-tests/res/testapp/org.packagemanage.localstorageupgrade/js/jquery.js | JianfengXu/crosswalk-test-suite | /*! 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===... |
ajax/libs/forerunnerdb/1.3.601/fdb-core+persist.js | nolsherry/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/common/svg-icons/device/add-alarm.js | abzfarah/Pearson.NAPLAN.GnomeH | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceAddAlarm = (props) => (
<SvgIcon {...props}>
<path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.... |
jenkins-design-language/src/js/components/material-ui/svg-icons/av/mic.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const AvMic = (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 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"... |
ajax/libs/material-ui/5.0.0-alpha.36/modern/ImageListItem/ImageListItem.js | cdnjs/cdnjs | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import { unstable_composeClasses as composeClasses } from '@material-ui/unstyled';
import { integerPropType } from '@material-ui/utils';
import clsx from 'clsx'... |
5.1.0/src/examples/ObjectSelect.js | erikras/redux-form-docs | import React, { Component, PropTypes } from 'react'
/**
* Serializes and deserializes complex values to and from JSON
*
* Disclaimer: For demo purposes only!! Using <select multiple> is very awkward.
*/
class ObjectSelect extends Component {
render() {
const { multiple, onBlur, onChange, options, value, ...r... |
examples/pinterest/app.js | stanleycyang/react-router | import React from 'react';
import { Router, Link } from 'react-router';
import HashHistory from 'react-router/lib/HashHistory';
var history = new HashHistory({ queryKey: 'k' });
var pictures = [
{id: 0, src: 'http://placekitten.com/601/601'},
{id: 1, src: 'http://placekitten.com/610/610'},
{id: 2, src: 'http://p... |
app/javascript/flavours/glitch/features/composer/reply/index.js | vahnj/mastodon | // Package imports.
import PropTypes from 'prop-types';
import React from 'react';
import { defineMessages } from 'react-intl';
// Components.
import AccountContainer from 'flavours/glitch/containers/account_container';
import IconButton from 'flavours/glitch/components/icon_button';
// Utils.
import { assignHandl... |
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-bootstrap/0.31.0/es/ModalBody.js | JamieMason/npm-cache-benchmark | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
examples/example 4 - Balls/jquery-1.8.3.min.js | yeldarby/pixi.js | /*! 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/public/js/components/ThankYou/index.js | Natinux/ironsource-test | import React from 'react';
import { connect } from 'react-redux';
import ThankYou from './presenter';
export default connect(null)(ThankYou); |
docs/src/pages/demos/selects/DialogSelect.js | Kagami/material-ui | import React from 'react';
import PropTypes from 'prop-types';
import Button from '@material-ui/core/Button';
import { withStyles } from '@material-ui/core/styles';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/Di... |
fixtures/unstable-async/suspense/src/components/Spinner.js | nhunzaker/react | import React from 'react';
import './Spinner.css';
const SPINNER_SIZES = {
small: 30,
medium: 50,
large: 70,
};
const STROKE_WIDTHS = {
small: 4,
medium: 5,
large: 6,
};
const PATH_CLASS_NAMES = {
small: 'SmallSpinnerPath',
medium: 'MediumSpinnerPath',
large: 'LargeSpinnerPath',
};
// Heavily insp... |
src/containers/DevTools.js | LBenzahia/arabicstemmer_frontend | import React from 'react';
import { createDevTools } from 'redux-devtools'; // eslint-disable-line import/no-extraneous-dependencies
import LogMonitor from 'redux-devtools-log-monitor'; // eslint-disable-line import/no-extraneous-dependencies
import DockMonitor from 'redux-devtools-log-monitor' // eslint-disable-line i... |
ajax/libs/material-ui/4.9.2/es/Badge/Badge.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize from '.... |
app/containers/Demo/index.js | SakuB/Individual_website | import React, { Component } from 'react';
import Switch from 'components/Switch';
import DropMenu from 'components/DropMenu';
import RadioGroup from 'components/RadioGroup';
import ChcekBox from 'components/CheckBox';
import Slider from 'components/Slider';
import Player from 'components/Player';
import Table from 'co... |
demo/index.android.js | nbonamy/react-native-app-components | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import { AppRegistry } from 'react-native';
import App from './App';
AppRegistry.registerComponent('demo', () => App);
|
client/src/components/student/StudentSave.js | yegor-sytnyk/contoso-express | import React from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {Modal, Button} from 'react-bootstrap';
import _ from 'lodash';
import helper from '../../helpers/uiHelper';
import * as studentActions from '../../actions/studentActions';
import StudentForm from './Student... |
ajax/libs/analytics.js/2.0.1/analytics.min.js | brunoksato/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
ReactFlux/node_modules/reactify/node_modules/react-tools/src/classic/element/__tests__/ReactElementClone-test.js | 3mundi/React-Bible | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails react-co... |
ajax/libs/aui/5.6.5/aui/js/aui-all.js | DaAwesomeP/cdnjs | !function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(.... |
ajax/libs/crafty/0.5.4/crafty.js | KoryNunn/cdnjs | /**
* crafty 0.5.4
* http://craftyjs.com/
*
* Copyright 2013, Louis Stowasser
* Dual licensed under the MIT or GPL licenses.
*/
(function (window, initComponents, undefined) {
/**@
* #Crafty
* @category Core
* Select a set of or single entities by components or an entity's ID.
*
* Crafty ... |
docs/app/Examples/collections/Table/Variations/TableExampleVeryPadded.js | vageeshb/Semantic-UI-React | import React from 'react'
import { Table } from 'semantic-ui-react'
const TableExampleVeryPadded = () => {
return (
<Table padded='very'>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Name</Table.HeaderCell>
<Table.HeaderCell>Status</Table.HeaderCell>
<Table.HeaderCell>... |
src/browser/auth/Social.js | chad099/react-native-boilerplate | // @flow
import type { State } from '../../common/types';
import React from 'react';
import buttonsMessages from '../../common/app/buttonsMessages';
import { Box, Button } from '../../common/components';
import { FormattedMessage } from 'react-intl';
import { connect } from 'react-redux';
import { signIn } from '../../... |
media/js/jquery-1.6.1.min.js | fredd-for/codice.v.1.1 | /*!
* jQuery JavaScript Library v1.6.1
* 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... |
flow-typed/npm/react-addons-test-utils_v15.x.x.js | Fresh-maker/razor-client | // flow-typed signature: 323fcc1a3353d5f7a36c5f1edcd963ef
// flow-typed version: 41f45a7d8c/react-addons-test-utils_v15.x.x/flow_>=v0.23.x
declare type ReactAddonTest$FunctionOrComponentClass = React$Component<any, any, any> | Function;
declare module 'react-addons-test-utils' {
declare var Simulate: {
[eventNam... |
src/List/ListItem.spec.js | ngbrown/material-ui | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import ListItem from './ListItem';
import getMuiTheme from '../styles/getMuiTheme';
describe('<ListItem />', () => {
const muiTheme = getMuiTheme();
const shallowWithContext = (node) => shallow(node, {con... |
src/node_modules/react-router/es6/Lifecycle.js | oferkafry/gps-tracker-ui | 'use strict';
import React from 'react';
import invariant from 'invariant';
var object = React.PropTypes.object;
/**
* The Lifecycle mixin adds the routerWillLeave lifecycle method to a
* component that may be used to cancel a transition or prompt the user
* for confirmation.
*
* On standard transitions, router... |
vendor/xj/yii2-jplayer-widget/assets/js/popcorn.js | kAntique/feedly | (function(global, document) {
// Popcorn.js does not support archaic browsers
if ( !document.addEventListener ) {
global.Popcorn = {
isSupported: false
};
var methods = ( "byId forEach extend effects error guid sizeOf isArray nop position disable enable destroy" +
"addTrackEvent remove... |
src/svg-icons/action/query-builder.js | barakmitz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionQueryBuilder = (props) => (
<SvgIcon {...props}>
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5... |
reflux-app/entry.js | Orientsoft/conalog-front | import 'source-map-support/register'
import React from 'react'
import ReactDom from 'react-dom'
import AppActions from './actions/AppActions'
import AppStore from './stores/AppStore'
import zh_CN from './locale/zh_CN';
import en_US from './locale/en_US';
import intl from 'intl';
import ReactIntl from 'react-intl';
imp... |
Examples/UIExplorer/AnimationExample/AnExSet.js | lwansbrough/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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.