path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/jquery-footable/2.0.3/js/footable.js
seogi1004/cdnjs
/*! * FooTable - Awesome Responsive Tables * Version : 2.0.3 * http://fooplugins.com/plugins/footable-jquery/ * * Requires jQuery - http://jquery.com/ * * Copyright 2014 Steven Usher & Brad Vincent * Released under the MIT license * You are free to use FooTable in commercial projects as long as this copyright...
packages/material-ui-icons/src/FormatClearTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 8V5H6.39l3 3h1.83l-.55 1.28 2.09 2.1L14.21 8zM3.41 4.86L2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21l1.41-1.41z" /></g></React.Fragment> ...
index.js
rtc-io/rtc-quickconnect
/* jshint node: true */ /* global location */ 'use strict'; var rtc = require('rtc-tools'); var mbus = require('mbus'); var detectPlugin = require('rtc-core/plugin'); var debug = rtc.logger('rtc-quickconnect'); var extend = require('cog/extend'); var sdpSupport = require('./lib/sdpsupport'); /** # rtc-quickconnect ...
ajax/libs/react-native-web/0.0.0-aa93652b6/cjs/exports/StyleSheet/constants.min.js
cdnjs/cdnjs
"use strict";exports.__esModule=!0,exports.SYSTEM_FONT_STACK=exports.MONOSPACE_FONT_STACK=exports.STYLE_SHORT_FORM_EXPANSIONS=exports.STYLE_GROUPS=exports.STYLE_ELEMENT_ID=void 0;var STYLE_ELEMENT_ID="react-native-stylesheet";exports.STYLE_ELEMENT_ID=STYLE_ELEMENT_ID;var STYLE_GROUPS={reset:0,modality:.1,classicReset:....
wp-content/plugins/jquery-updater/js/jquery-1.5.2.min.js
nhikieuvn2012/officeBuildings
/*! * jQuery JavaScript Library v1.5.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. ...
packages/mineral-ui-icons/src/IconRadioButtonCheck.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconRadioButtonCheck(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...i...
Users/application/views/layouts/onix-business-portfolio-template/12-skins-v2/onix-html-color-rorange/assets/build/jquery.js
alvarotarela/php_users
/*! * jQuery JavaScript Library v1.7 * 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/index.js
ElliotSanchez/YoutubeViewer
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import YTSearch from 'youtube-api-search'; import SearchBar from './components/search_bar'; import VideoList from './components/video_list'; import VideoDetail from './components/video_detail'; import ConfigSecrets from './config/config_secrets...
app/components/newDefinitionWindow/OnlineDictionariesTabView.js
sedooe/cevirgec
import React, { Component } from 'react'; import {Button, Menu, Message, Segment } from 'semantic-ui-react'; import tr from '../../utils/Translation'; import WordBrowser from './WordBrowser'; const NoDictWarning = ({onAddOnlineSource}) => ( <Segment style={{display:'flex', flexDirection: 'column', flexGrow: 1}} clas...
components/card/card-footer.js
Centroida/CentroUI
import React from 'react'; import { asset, Pano, Text, View, Plane, } from 'react-vr'; export default class CnCardFooter extends React.Component { constructor(props) { super(props) } render() { //TODO make direction settable return ( <View sty...
client2/src/components/react-burger-menu/test/stack.spec.js
frolicking-ampersand/CodeOut
'use strict'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import createShallowComponent from './utils/createShallowComponent'; import BurgerMenu from '../lib/BurgerMenu'; const Menu = BurgerMenu.stack; describe('stack', () => { let component, menuWrap,...
app/src/components/UserSearch.js
alpcanaydin/github-stats-for-turkey
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import './UserSearch.css'; class UserSearch extends Component { constructor(props) { super(props); this.ha...
twitter-example/components/icons/SearchAndCompose.js
joshbedo/react-native-router
'use strict'; var React = require('react-native'); var SearchIcon = require('./Search'); var ComposeIcon = require('./Compose'); var SearchPage = require('../../pages/SearchPage'); var { StyleSheet, View, TextInput } = React; var styles = StyleSheet.create({ iconContainer: { flexDirection: 'row', },...
app/src/Frontend/libs/weui/components/button/button_area.js
ptphp/ptphp
/** * Created by jf on 15/12/4. */ import React from 'react'; import classNames from 'classnames'; export default class ButtonArea extends React.Component { static propTypes = { direction: React.PropTypes.string }; static defaultProps = { direction: 'vertical' }; render() { ...
components/Step/Dialog.js
DavidBonnemaison/Cyoa
import React from 'react'; import { SimpleSelect } from 'react-selectize'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import Editable from './Editable'; import { editCharacter } from './../Story/actions'; class Dialog extends React.Component { _editCharacter = ({ value...
public/assets/application-79cade465e7eba315a19c5faba8ea871.js
manduks/SifacaGit
/*! * jQuery JavaScript Library v1.7.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 Licenses. ...
src/components/Dialog/index.js
jjingK/react-example
import React from 'react'; class Dialog extends React.Component { constructor(props) { super(props); } render() { return ( <div className="dialog"> <header className="dialog-header"> <i className="fa fa-times" onClick={this.props.onClose}></i> <h4 className="title">Title...
ajax/libs/forerunnerdb/1.3.603/fdb-all.js
viskin/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
packages/ringcentral-widgets/components/SearchInput/index.js
u9520107/ringcentral-js-widget
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import styles from './styles.scss'; import SearchIcon from '../../assets/images/Search.svg'; function SearchInput(props) { return ( <div className={classnames( styles.root, props.className, ...
src/js/index.js
soundchain/soundchain-frontend
import 'react-hot-loader/patch'; import React from 'react'; import ReactDOM from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import { Provider } from 'react-redux'; import '~/../css/index.scss'; //import './helpers/offlinePlugin'; import Root from './containers/Root'; const root = document.getElem...
test/regressions/fixtures/Button/FontSvgIcons.js
mbrookes/material-ui
import * as React from 'react'; import Fab from '@material-ui/core/Fab'; import IconButton from '@material-ui/core/IconButton'; import DeleteIcon from '@material-ui/icons/Delete'; import Icon from '@material-ui/core/Icon'; export default function FontSvgIcons() { return ( <div> <Fab color="primary"> ...
modules/dreamview/frontend/src/components/TeleopMonitor/MonitorSection.js
ycool/apollo
import React from 'react'; export default class MonitorSection extends React.PureComponent { render() { const { title, icon, children } = this.props; return ( <div className="section"> <div className="section-title"> <img height="20px" width="20px" src={icon} ...
fields/types/name/NameColumn.js
lojack/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var NameColumn = React.createClass({ displayName: 'NameColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object...
webpack/components/response_sets/ResponseSetEdit.js
CDCgov/SDP-Vocabulary-Service
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import { Row, Col, Button} from 'react-bootstrap'; import TagsInput from 'react-tagsinput'; import { responseSetProps } from '../../prop-types/response_set_props'; import Errors from '../Errors'; import M...
js/jquery.js
forrestgtran/TeamX
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/containers/MenubarContainer.js
drakang4/creative-project-manager
import React from 'react'; import { withRouter } from 'react-router-dom'; import Menubar from '../components/Menubar'; const MenubarContainer = withRouter(Menubar); export default MenubarContainer;
react-native/Auth/src/components/common/Card.js
vanyaland/react-demos
import React from 'react'; import { View } from 'react-native'; const Card = (props) => { return ( <View style={styles.container}> {props.children} </View> ); }; const styles = { container: { borderWidth: 1, borderRadius: 2, borderColor: '#ddd', borderBottomWidth:...
fields/explorer/components/FieldSpec.js
brianjd/keystone
import Domify from 'react-domify'; import React from 'react'; import { Form } from '../../../admin/client/App/elemental'; import Col from './Col'; import Row from './Row'; const ExplorerFieldType = React.createClass({ getInitialState () { return { filter: this.props.FilterComponent.getDefaultValue(), value: ...
local-cli/core/default.config.js
tszajna0/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. * * @flow */...
lambda/handlers/update.js
rcdexta/react-scrabble
'use strict' const AWS = require('aws-sdk') const S3 = new AWS.S3(require('../s3config.js')()) module.exports = (event, callback) => { S3.upload({ Bucket: 'react-scrabble', Key: event.pathParameters.id, Body: event.body }, (err, res) => { console.log(err, res) callback(err, res) }) }
src/components/NotFoundPage.js
n1207n/react-like-or-not
import React from 'react'; import { Link } from 'react-router'; const NotFoundPage = () => { return ( <div> <h4> 404 Page Not Found </h4> <Link to="/"> Go back to homepage </Link> </div> ); }; export default NotFoundPage;
vskeddemos/htmljavascriptcss/react/lesson1/src/index.js
brucevsked/vskeddemolist
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); // If you want to start measuring performance in yo...
floodwatch/src/js/components/Navigation.js
O-C-R/floodwatch
// @flow import React, { Component } from 'react'; import { Nav, Navbar, NavItem } from 'react-bootstrap'; import history from '../common/history'; type NavigationProps = { navs: Array<{ to?: string, name: string, action?: Function }>, }; type NavigationState = {}; export default class Navigation extends Compone...
ajax/libs/6to5/1.14.8/browser.js
Download/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...
test/components/unit/map_unit_test.js
jstoebel/nightlife
// /* global describe it beforeEach */ // import MapComponent from '../../../src/components/ui/Map'; // import {expect} from 'chai'; // import React from 'react'; // import {shallow, mount} from 'enzyme'; // import sinon from 'sinon'; // import reducers from '../../../src/reducers/index'; // import {createStore} from ...
src/Row.js
yuche/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import CustomPropTypes from './utils/CustomPropTypes'; const Row = React.createClass({ propTypes: { /** * You can use a custom element for this component */ componentClass: CustomPropTypes.elementType }, getDefaultProps() { re...
extensions/dicom-rt/src/index.js
OHIF/Viewers
import React from 'react'; import { utils } from '@ohif/core'; import init from './init.js'; import sopClassHandlerModule from './OHIFDicomRTStructSopClassHandler'; import id from './id.js'; import RTPanel from './components/RTPanel/RTPanel'; import { version } from '../package.json'; const { studyMetadataManager } =...
ajax/libs/algoliasearch/3.24.1/algoliasearchLite.js
joeyparrish/cdnjs
/*! algoliasearch 3.24.1 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof g...
src/svg-icons/communication/textsms.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationTextsms = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/> </SvgIcon> ); Communica...
src/main/webapp/static/js/club/view/back/blog/editArtical.js
weijiafen/antBlog
import React from 'react'; import { Icon, message , Button, Input , Modal ,Spin ,Select , Checkbox } from 'antd' import articalDetailService from '../../../service/back/articalDetailService'; import _ from 'underscore'; import UEditor from '../component/ueditor'; import moment from 'moment'; import Markdown from '../...
packages/fela-integration/src/jest-react-fela_react-fela/__tests__/fe-test.js
risetechnologies/fela
import 'raf/polyfill' import React from 'react' import { createSnapshot } from 'jest-react-fela' import { fe } from 'react-fela' describe('Using fe', () => { it('should render inline style as CSS', () => { const Comp = () => fe( 'div', { css: { color: 'red', ...
src/components/BoggleCube.js
jlfwong/boggle
import React, { Component } from 'react'; import { StyleSheet, css } from 'aphrodite'; import PureComponent from 'react-pure-render/component'; const RP = React.PropTypes; const BoggleCube = (name, CUBE_WIDTH, CUBE_SPACING) => { /** * Render a single boggle cube. */ class _Cube extends PureComponent { s...
client/components/Flass/Upload/QuestionInsertion/Quiz/QuizMultipleChoice/QuizSingleChoice/QuizSingleChoiceComponent.js
Nexters/flass
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import autobind from 'autobind-decorator'; import classNames from 'classnames'; import './QuizSingleChoiceComponentStyles.scss'; import DeleteIcon from '../icons/x-copy-2@2x.png'; const { string, bool, func, number } = PropTypes; const p...
app/containers/LocaleToggle/index.js
samanshahmohamadi/react-boilerplate-ballyhoo
/* * * LanguageToggle * */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import Toggle from 'components/Toggle'; import Wrapper from './Wrapper'; import messages from './messages'; import { appLocales } from '../../i18n'; import { changeLocale } from ...
tests/layouts/CoreLayout.spec.js
levsero/planning-app-ui
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
src/svg-icons/notification/live-tv.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationLiveTv = (props) => ( <SvgIcon {...props}> <path d="M21 6h-7.59l3.29-3.29L16 2l-4 4-4-4-.71.71L10.59 6H3c-1.1 0-2 .89-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.11-.9-2-2-2zm0 14H3V8h18v12zM9 10v8...
ajax/libs/forerunnerdb/1.3.432/fdb-all.js
pombredanne/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...
frontend/src/picturedisplay/components/PictureDisplayOld.js
mangosmoothie/picappa
import React from 'react'; import axios from 'axios'; import {withRouter} from "react-router-dom"; import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap/dist/css/bootstrap-theme.css'; import Picture from './Picture'; export default React.createClass({ getInitialState: function () { var startAt = 0; va...
public/javascript/components/titlebar.js
fireaxil/anglican-wny
import React from 'react' import AppBar from 'material-ui/AppBar' import ToolBar from 'material-ui/Toolbar' import Typography from 'material-ui/Typography' import { withStyles } from 'material-ui/styles' import Button from 'material-ui/Button' import Tabs, { Tab } from 'material-ui/Tabs' const styles = theme => ({ r...
ajax/libs/react-leaflet/1.0.0-beta.2/react-leaflet.min.js
him2him2/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("leaflet"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["leaflet","react","react-dom"],t):"object"==typeof exports?exports.ReactLeaflet=t(require("leaflet"),require("react"),require("react-d...
Libraries/Modal/Modal.js
ptomasroos/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...
ajax/libs/yui/3.6.0/event-focus/event-focus-debug.js
sitic/cdnjs
YUI.add('event-focus', function(Y) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = YLang.isFunction( Y...
support/jquery-1.4.1.js
mayormcmatt/js_koans
/*! * jQuery JavaScript Library v1.4.1 * http://jquery.com/ * * Copyright 2010, John Resig * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files...
local-cli/templates/HelloNavigation/views/MainNavigator.js
formatlos/react-native
'use strict'; /** * This is an example React Native app demonstrates ListViews, text input and * navigation between a few screens. * https://github.com/facebook/react-native */ import React, { Component } from 'react'; import { StackNavigator } from 'react-navigation'; import HomeScreenTabNavigator from './HomeS...
src/components/FilterBar/FilterBar.js
austinknight/ui-components
import React from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import _ from 'lodash'; import SelectInput from '../SelectInput'; import Icons from '../icons'; import InteractiveElement from '../InteractiveElement'; import { InputItem } from '../TextInput/TextInput'; import { ...
fixtures/kitchensink/src/features/syntax/ArraySpread.js
altiore/webpack-react
/** * Copyright (c) 2015-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(users) { return [ { id: 1, name: '1' ...
app/javascript/mastodon/components/status_list.js
haleyashleypraesent/ProjectPrionosuchus
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { ScrollContainer } from 'react-router-scroll'; import PropTypes from 'prop-types'; import StatusContainer from '../containers/status_container'; import LoadMore from './load_more'; import ImmutablePureComponent from 'react-im...
src/native/intl/IntlPage.js
chad099/react-native-boilerplate
// @flow import type { State } from '../../common/types'; import React from 'react'; import { Box, Button, Text } from '../../common/components'; import { FormattedDate, FormattedRelative } from 'react-intl'; import { ScrollView } from 'react-native'; import { connect } from 'react-redux'; import { setCurrentLocale } f...
src/server.js
john1jan/react_biolerplate
'use strict'; import path from 'path'; import { Server } from 'http'; import Express from 'express'; import React from 'react'; import { renderToString } from 'react-dom/server'; import { match, RouterContext } from 'react-router'; const httpProxy = require('http-proxy'); import * as ROUTES from "./routes"; import { r...
ajax/libs/yui/3.13.0/event-custom-base/event-custom-base.js
jaywcjlove/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mo...
assets/jqwidgets/demos/react/app/dockinglayout/righttoleftlayout/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDockingLayout from '../../../jqwidgets-react/react_jqxdockinglayout.js'; import JqxTree from '../../../jqwidgets-react/react_jqxtree.js'; class App extends React.Component { render() { let layout = [{ type: 'layoutGroup', ...
app/javascript/mastodon/components/icon_button.js
SerCom-KC/mastodon
import React from 'react'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class IconButton extends React.PureComponent { static propTypes = { className: PropTypes.stri...
src/routes/page/Page.js
chunkiat82/rarebeauty-ui
/* eslint-disable jsx-a11y/iframe-has-title */ /* eslint-disable css-modules/no-unused-class */ /* eslint-disable jsx-a11y/alt-text */ import React from 'react'; // import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import Paper from 'material-ui/Paper'; import Avatar f...
common/components/ide/TabBar.js
ebertmi/webbox
import React from 'react'; import screenfull from 'screenfull'; import Icon from '../Icon'; import {Nav, NavItem} from '../bootstrap'; import Menu from './Menu'; import SendToTeacherModal from './SendToTeacherModal'; import Tab from './tabs/Tab'; import FileTab from './tabs/FileTab'; import ProcessTab from './tabs/P...
packages/material-ui-icons/src/MovieFilterOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M10 11l-.94 2.06L7 14l2.06.94L10 17l.94-2.06L13 14l-2.06-.94z" /><path d="M18.01 4l2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-1.99.9...
fixtures/art/VectorWidget.js
joecritch/react
/** * Copyright 2013 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"; var React...
fields/components/Checkbox.js
ONode/keystone
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; import { darken, fade } from '../../admin/client/utils/color'; import E from '../../admin/client/constants'; var Checkbox = React.createClass({ displayName: 'Checkbox', propTypes: { checked: React.PropTypes.bool, c...
src/client/story_list.js
unclebean/hacker-menu
import React from 'react' import Story from './story.js' import _ from 'lodash' export default class StoryList extends React.Component { render () { var onUrlClick = this.props.onUrlClick var onMarkAsRead = this.props.onMarkAsRead var storyNodes = _.map(this.props.stories, function (story, index) { ...
src/poll.js
jyasskin/cxxpoll.bak
// Copyright 2015 Google 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 to in...
src/routes/academia/academiaVideo/index.js
ykx456654/hr_admin
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'dva' import cookies from 'cookiesjs' import { message } from 'antd' import { getQiniuToken } from '../../../services/common' import { Link,routerRedux } from 'dva/router' import LzEditor from 'react-lz-editor' import MyUpload from '....
src/svg-icons/image/switch-camera.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageSwitchCamera = (props) => ( <SvgIcon {...props}> <path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5...
src/svg-icons/device/signal-wifi-2-bar-lock.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalWifi2BarLock = (props) => ( <SvgIcon {...props}> <path d="M23 16v-1.5c0-1.4-1.1-2.5-2.5-2.5S18 13.1 18 14.5V16c-.5 0-1 .5-1 1v4c0 .5.5 1 1 1h5c.5 0 1-.5 1-1v-4c0-.5-.5-1-1-1zm-1 0h-3v-1.5c0-.8.7-1.5...
js/components/tabs.js
darkdh/browser-laptop
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ const React = require('react') const ReactDOM = require('react-dom') const ImmutableComponent = require('./immuta...
client/components/Notify/Notify.js
YMFE/yapi
import React, { Component } from 'react'; import axios from 'axios'; import { Alert, message } from 'antd'; export default class Notify extends Component { constructor(props) { super(props); this.state = { newVersion: process.env.version, version: process.env.version }; } componentDidMou...
ajax/libs/react-data-grid/0.12.14/react-data-grid.min.js
dakshshah96/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.ReactDataGrid=t(require("react")):e.ReactDataGrid=t(e.React)}(this,function(e){return function(e){function t(s){if(r[s])return r[...
app/containers/MainContainer.js
jiangchunyu/ReactNativeGank
/** * Created by jiangcy on 17-1-7. */ import React from 'react'; import {connect} from 'react-redux'; import MainView from '../components/pages/MainView'; import * as MainActions from '../actions/MainActions'; import { bindActionCreators } from 'redux' class MainContainer extends React.Component { render() { ...
examples/node_modules/react-native/node_modules/react-tools/src/core/ReactInstanceMap.js
adarshmuthappa/react-native-swiper
/** * 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. * * @providesModule ...
ajax/libs/video.js/5.8.5/video.js
BitsyCode/cdnjs
/** * @license * Video.js 5.8.5 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
src/styles/theme-decorator.js
tomrosier/material-ui
import React from 'react'; import warning from 'warning'; export default (customTheme) => { warning(false, 'ThemeDecorator is deprecated, please use MuiThemeProvider instead.'); return function(Component) { return React.createClass({ childContextTypes: { muiTheme: React.PropTypes.object, ...
src/molecules/LockUps/CurrencyAmount/index.js
policygenius/athenaeum
import React from 'react'; import PropTypes from 'prop-types'; import Text from 'atoms/Text'; const CurrencyAmount = (props) => { // eslint-disable-next-line const { tag, spacer, curr, amount, unit, highlight, unitClassName, ...rest } = props; return ( <Text tag='span' {...rest}> <sup>{curr}</sup> ...
packages/editor/src/components/Controls/FontSize/FontSizeLayout.js
boldr/boldr
/* eslint-disable react/no-array-index-key, react/no-unused-prop-types, no-inline-comments */ /* @flow */ import React, { Component } from 'react'; import cn from 'classnames'; import { Dropdown, DropdownOption } from '../../Dropdown'; type CurrentFontState = { fontSize: number, }; export type Props = { expanded...
src/AnimatedCircularProgress.js
soledaddiez/react-native-circular-progress
import React from 'react'; import PropTypes from 'prop-types'; import { View, Animated } from 'react-native'; import CircularProgress from './CircularProgress'; const AnimatedProgress = Animated.createAnimatedComponent(CircularProgress); export default class AnimatedCircularProgress extends React.Component { constr...
q-a11y-training-demo/src/components/person/achievements/Achievements.js
AlmeroSteyn/Q-A11y-Training
import React from 'react'; const Achievements = () => <div>Achievements page</div>; export default Achievements;
ajax/libs/ember-data.js/2.1.0-beta.4/ember-data.js
samthor/cdnjs
(function() { "use strict"; var ember$lib$main$$default = Ember; var ember$data$lib$adapters$build$url$mixin$$get = Ember.get; var ember$data$lib$adapters$build$url$mixin$$default = Ember.Mixin.create({ /** Builds a URL for a given type and optional ID. By default, it pluralizes ...
packages/bonde-admin-canary/src/components/Form/FormGraphQL.js
ourcities/rebu-client
import React from 'react' import { Mutation } from 'react-apollo' import { Form, SubmissionError } from './' const FormGraphQL = ({ children, mutation, update, onSubmit, ...props }) => ( <Mutation mutation={mutation} update={update}> {(mutationFunc) => ( <Form onSubmit={(values) => { ...
pages/index.js
alonsogodinez/AlamedaWebPageGatsby
import React from 'react' import { prefixLink } from 'gatsby-helpers' import {PanelIntroHome, PanelWe , PanelClients, Footer} from '../components' export default class Index extends React.Component { render(){ return( <div> <PanelIntroHome/> <PanelWe/> <PanelClients/> <Footer/> ...
techCurriculum/ui/solutions/2.5/src/components/Message.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * 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 to...
examples/src/components/Contributors.js
mobile5dev/react-select
import React from 'react'; import createClass from 'create-react-class'; import PropTypes from 'prop-types'; import Select from 'react-select'; const CONTRIBUTORS = require('../data/contributors'); const MAX_CONTRIBUTORS = 6; const ASYNC_DELAY = 500; const Contributors = createClass({ displayName: 'Contributors', p...
stories/HierarchicalMenu.stories.js
algolia/react-instantsearch
import React from 'react'; import { storiesOf } from '@storybook/react'; import { text, boolean, number } from '@storybook/addon-knobs'; import { HierarchicalMenu, SearchBox, Panel } from 'react-instantsearch-dom'; import { WrapWithHits } from './util'; const stories = storiesOf('HierarchicalMenu', module); stories ...
src/components/Header/Header.js
yurikrupnik/meaner
/** * 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 withStyles from 'isomorp...
assets/js/jquery.js
RomGatchalian/EnrollmentFinal
/*! 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...
packages/material-ui-icons/src/NoteOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M16 4H4c-1.1 0-2 .9-2 2v12.01c0 1.1.9 1.99 2 1.99h16c1.1 0 2-.9 2-2v-8l-6-6zM4 18.01V6h11v5h5v7.01H4z" /></React.Fragment> , 'NoteOutlined');
ajax/libs/material-ui/4.9.2/es/withWidth/withWidth.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 { getDisplayName } from '@material-ui/utils'; import { getThemeProps } from '@material-ui/...
addons/themes/editorial/includes/Post.js
rendact/rendact
import React from 'react'; const Post = ({ title, date, image, content, isHome }) => ( <section> {!isHome && <header className="main"> <h1>{title}</h1> <small>{date}</small> </header> } <span className="image main"><img src={image} alt=""/></span> <p dangerouslySetInnerH...
ajax/libs/material-ui/5.0.0-alpha.11/esm/Typography/Typography.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { useThemeVariants } from '@material-ui/styles'; import withStyles fro...
ajax/libs/forerunnerdb/1.3.377/fdb-legacy.min.js
dada0423/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...
test/test_helper.js
nfcortega89/airtime
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
ajax/libs/backbone-react-component/0.6.3/backbone-react-component.js
szimek/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.6.2 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a React.Component wrapper that serve...
src/client.js
worb/launchpad
import React from 'react'; import { render } from 'react-dom'; import { browserHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import { AppContainer } from 'react-hot-loader'; import configureStore from './store'; import Root from './containers/Root'; import './styles/app.css'...
app/containers/EnergiesPage/ReactionStructures.js
mhoffman/CatAppBrowser
import React from 'react'; import PropTypes from 'prop-types'; import ReactGA from 'react-ga'; import _ from 'lodash'; import { connect } from 'react-redux'; import Tabs, { Tab } from 'material-ui/Tabs'; import Typography from 'material-ui/Typography'; import { withStyles } from 'material-ui/styles'; import Grid from '...