path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/preact/5.1.0-beta.24/preact.dev.js
rlugojr/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.preact = global.preact || {}))); }(this, function (exports) { function VNode(nodeName, attributes, childr...
ajax/libs/highmaps/1.1.0/highcharts.src.js
NMastracchio/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.0 (2015-02-16) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
ajax/libs/yui/3.1.0/loader/loader-base.js
JohnKim/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ (function() { var VERSION = Y.version, CONFIG = Y.config, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSION = ...
web/src/js/components/Search/SearchMenuComponent.js
gladly-team/tab
import React from 'react' import PropTypes from 'prop-types' import { get } from 'lodash/object' import { createMuiTheme, MuiThemeProvider, withStyles, } from '@material-ui/core/styles' import Button from '@material-ui/core/Button' import CircleIcon from '@material-ui/icons/Lens' import Typography from '@material...
src/Posts.js
comerc/redux-tests
import React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { setLoading } from './ducks/app' import { load } from './ducks/posts' const mapStateToProps = state => ({ isLoading: state.app.isLoading, posts: state.posts, }) const WrappedPosts = connect(mapStateToPr...
stories/DateRangePicker_day.js
airbnb/react-dates
import React from 'react'; import moment from 'moment'; import { storiesOf } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; import isSameDay from '../src/utils/isSameDay'; import isInclusivelyAfterDay from '../src/utils/isInclusivelyAfterDay'; import CustomizableCalendarDay from '../src/co...
node_modules/react-bootstrap/es/Label.js
hsavit1/gosofi_webpage
import _Object$values from 'babel-runtime/core-js/object/values'; 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-...
src/NavItem.js
sheep902/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import SafeAnchor from './SafeAnchor'; const NavItem = React.createClass({ mixins: [BootstrapMixin], propTypes: { linkId: React.PropTypes.string, onSelect: React.PropTypes.func, active: React...
email-contacts/test/test_helper.js
WendySanarwanto/udemy-modern-react-with-redux
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-dom/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 re...
docs/src/app/components/pages/components/FontIcon/ExampleSimple.js
owencm/material-ui
import React from 'react'; import FontIcon from 'material-ui/FontIcon'; import {blue500, red500, greenA200} from 'material-ui/styles/colors'; const iconStyles = { marginRight: 24, }; const FontIconExampleSimple = () => ( <div> <FontIcon className="muidocs-icon-action-home" style={iconStyles} /...
node_modules/fbjs/node_modules/core-js/client/shim.js
senolakkas/react-native-minesweeper
/** * core-js 1.2.7 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
docs/src/pages/components/tabs/VerticalTabs.js
kybarg/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/core/styles'; import Tabs from '@material-ui/core/Tabs'; import Tab from '@material-ui/core/Tab'; import Typography from '@material-ui/core/Typography'; import Box from '@material-ui/core/Box'; function TabPanel(pro...
app/app.js
Zurico/t7
/** * 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'; /* eslint-disable import/no-unresolved */ // Load the favicon, the manifest.json file and the .htaccess file import 'file?name=[name].[ext]!./...
src/svg-icons/image/transform.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTransform = (props) => ( <SvgIcon {...props}> <path d="M22 18v-2H8V4h2L7 1 4 4h2v2H2v2h4v8c0 1.1.9 2 2 2h8v2h-2l3 3 3-3h-2v-2h4zM10 8h6v6h2V8c0-1.1-.9-2-2-2h-6v2z"/> </SvgIcon> ); ImageTransform = pure(I...
node_modules/react-scripts/template/src/index.js
millerman86/CouponProject
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
pages/post.js
victorkane/blog-simple-next
import React from 'react' import 'isomorphic-fetch' import Header from '../components/header' import { apiHost } from '../appconfig.js' export default class Post extends React.Component { static async getInitialProps ({pathname, query}) { // eslint-disable-next-line no-undef //console.log(query.id) con...
JavaScript/React/React+Flux+Auth/src/components/Index.js
batazor/MyExampleAndExperiments
import React, { Component } from 'react'; import AuthStore from '../stores/AuthStore'; class IndexComponent extends Component { constructor() { super(); this.state = { authenticated: AuthStore.isAuthenticated() } } render() { return ( <div> { !this.state.authenticated ? ( ...
src/backward/Widgets/InputGroup.js
chaitanya0bhagvan/NativeBase
/* @flow */ import React from 'react'; import { View, Platform, ViewPropTypes } from 'react-native'; import { connectStyle } from 'native-base-shoutem-theme'; import _ from 'lodash'; import NativeBaseComponent from '../Base/NativeBaseComponent'; class InputGroup extends NativeBaseComponent { propTypes: { b...
src/parser/druid/feral/modules/features/EnergyCapTracker.js
fyruna/WoWAnalyzer
import React from 'react'; import Icon from 'common/Icon'; import SPELLS from 'common/SPELLS'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; import { formatDuration, formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import Tooltip from 'common/To...
app/components/containers/Overlay.js
JobCompare/jc-ui
import React from 'react'; import PropTypes from 'prop-types'; import TypeChecker from '../../../utils/TypeChecker'; import OverlayController from '../../../utils/OverlayController'; // TODO: tutorial on how to get out of Overlay class Overlay extends React.Component { constructor() { super(); this.hide = t...
Samples/Workflow.CallServiceUpdateSPViaProxy/Workflow.CallServiceUpdateSPViaProxyWeb/Scripts/jquery-1.10.2.min.js
ivanvagunin/PnP
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
frontend/src/components/organizationProfile/edit/tabsContainer.js
unicef/un-partner-portal
import R from 'ramda'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Paper from 'material-ui/Paper'; import { connect } from 'react-redux'; import { withStyles } from 'material-ui/styles'; import { browserHistory as history } from 'react-router'; import PartnerProfileIdentificatio...
ajax/libs/mobx-react/4.3.4/custom.min.js
ahocevar/cdnjs
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("mobx"),require("react")):"function"==typeof define&&define.amd?define(["exports","mobx","react"],t):t(e.mobxReact={},e.mobx,e.React)}(this,function(e,t,n){"use strict";function r(e){function n(n,r,o,i,a,s){for(var c=arguments.length,...
src/modules/editor/components/popovers/formattingTooltip/FormattingTooltipGloss/FormattingTooltipGloss.js
CtrHellenicStudies/Commentary
import React from 'react' import autoBind from 'react-autobind'; import { connect } from 'react-redux'; import FormattingTooltipItemButton from '../FormattingTooltipItemButton'; class FormattingTooltipGloss extends React.Component { constructor(props) { super(props); autoBind(this); } promptForLink(ev) { ...
src/chat/ui/room/SupportGroup.js
elarasu/roverz-chat
import React from 'react'; import { View, Text, } from 'react-native'; // import { Actions } from 'react-native-router-flux'; import RoomView from './RoomView'; import { AppStyles, AppSizes } from '../../../theme/'; import Network from '../../../network'; import t from '../../../i18n'; export default class Suppor...
client/src/components/shared/CompanyDetails.js
verejnedigital/verejne.digital
// @flow import React from 'react' import CompanyDetailWrapper from '../../dataWrappers/CompanyDetailWrapper' import type {CompanyDetailProps} from '../../dataWrappers/CompanyDetailWrapper' import Info from '../shared/Info/Info' const CompanyDetails = ({company, onClose}: CompanyDetailProps) => <Info data={company} ...
ajax/libs/react-highcharts/8.0.2/index.src.js
tonytomov/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts"], factory); else if(typeof exports === 'ob...
components/faq/faq.js
akashnautiyal013/ImpactRun01
'use strict'; import React, { Component } from 'react'; import{ StyleSheet, View, Image, ScrollView, Dimensions, TouchableOpacity, Text, } from 'react-native'; import FaqData from './faqData'; import commonStyles from '../../components/styles'; import Icon from 'react-native-vector-icons...
src/components/settings/index.js
scholtzm/arnold
import React, { Component } from 'react'; import { Grid, Button } from 'semantic-ui-react'; import BasicHeader from '../misc/basic-header.js'; import BasicContainer from '../misc/basic-container.js'; import SettingsForm from './settings-form.js'; import { checkUpdate } from '../../util/updater.js'; import { addNotifica...
community-modules/react/gulpfile.js
ceolter/ag-grid
const fs = require('fs'); const gulp = require('gulp'); const sourcemaps = require('gulp-sourcemaps'); const {series} = require('gulp'); const gulpTypescript = require('gulp-typescript'); const header = require('gulp-header'); const merge = require('gulp-merge'); const pkg = require('./package.json'); const tsConfig = ...
src/components/Wallet/accountsList.js
ChronoBank/ChronoWAVES
import React from 'react'; import {Card, CardText, CardHeader} from 'material-ui/Card'; import {Link} from 'react-router'; import Balances from '../Balances'; import Container from '../container'; import './accountsList.css'; import IdentityIcon from '../IdentityIcon'; import CopyToClipboard from '../CopyToClipboard';...
ajax/libs/angular.js/2.0.0-alpha.44/http.min.js
iwdmb/cdnjs
"use strict";var Reflect;!function(e){function t(e,t,r,s){if(g(s)){if(g(r)){if(!w(e))throw new TypeError;if(!S(t))throw new TypeError;return f(e,t)}if(!w(e))throw new TypeError;if(!O(t))throw new TypeError;return r=M(r),p(e,t,r)}if(!w(e))throw new TypeError;if(!O(t))throw new TypeError;if(g(r))throw new TypeError;if(!O...
files/react/0.8.0/JSXTransformer.js
cake654326/jsdelivr
/** * JSXTransformer v0.8.0 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSXTransformer=e():"undefined"!=typeof global?global.JSXTransformer=e():"undefined"!=typeof self&&(self.JSXTransformer=e())}(function(){var define,m...
ajax/libs/zeroclipboard/2.1.1/ZeroClipboard.js
mariorez/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.1 */ (function(window, undefined) { "use strict";...
src/js/components/test-editor/words-selector.js
daniel-madera/pijs
import React from 'react' import { inject, observer } from 'mobx-react' import WordsSelectorModuleFilter from './words-selector-module-filter' import WordsSelectorList from './words-selector-list' @inject('testEditorStore') @observer export default class TestEditor extends React.Component { render() { const { ...
src/components/result.js
ShaneFairweather/React-iTunes
import React, { Component } from 'react'; const Result = (props) => { function parseTime(milliseconds) { var minutes = Math.floor(milliseconds / 60000); var seconds = ((milliseconds % 60000) / 1000).toFixed(0); return minutes + ":" + (seconds < 10 ? '0' : '') + seconds; } return (...
ajax/libs/jssip/0.6.28/jssip.js
tjbp/cdnjs
/* * JsSIP v0.6.28 * the Javascript SIP library * Copyright: 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License: MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&de...
src/containers/RaceLogs/LogItem.js
matapang/virtualraceph2
import React from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import { ListGroupItem } from 'react-bootstrap'; const Text = styled.label` font-size:24px; font-weight:bold; `; const LogItem = ({ log, index, onClick, children }) => { return ( <ListGroupItem s...
wwwroot/app/src/components/base/form/Textarea.js
AlinCiocan/PlanEatSave
import React from 'react'; import TextareaResize from 'react-textarea-autosize'; import { applicationSettings } from '../../../constants/settings'; const Textarea = (props) => { return ( <TextareaResize useCacheForDOMMeasurements className="pes-form-textarea" maxLength={...
test/kitchensink/src/features/webpack/JsonInclusion.js
egoist/vbuild
import React from 'react' import { abstract } from './assets/abstract.json' export default () => <summary id="feature-json-inclusion">{abstract}</summary>
ajax/libs/clappr/0.0.46/clappr.js
vetruvet/cdnjs
require=(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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
ajax/libs/glamorous/3.23.3/glamorous.umd.js
holtkamp/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('glamor')) : typeof define === 'function' && define.amd ? define(['react', 'glamor'], factory) : (global.glamorous = factory(global.React,global.Glamor)); }(this, (function ...
actor-apps/app-web/src/app/components/DialogSection.react.js
lzpfmh/actor-platform
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ import _ from 'lodash'; import React from 'react'; import { PeerTypes } from 'constants/ActorAppConstants'; import PeerUtils from 'utils/PeerUtils'; import MessagesSection from 'components/dialog/MessagesSection.react'; import TypingSection from 'component...
web/src/js/__tests__/components/Modal/OptionModalSpec.js
mhils/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import { PureOptionDefault } from '../../../components/Modal/OptionModal' describe('PureOptionDefault Component', () => { it('should return null when the value is default', () => { let pureOptionDefault = renderer.create( <Pu...
files/react/0.10.0/react-with-addons.js
tomByrer/jsdelivr
/** * React (with addons) v0.10.0 */ !function(e){if("object"==typeof exports)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.React=e()}}(function(){var define,module,expo...
docs/src/examples/collections/Menu/Content/index.js
Semantic-Org/Semantic-UI-React
import React from 'react' import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample' // TODO: Add example with <Popup> after it will be added // TODO: Add example with <Search> after it will be added const Content = ()...
app/components/Menu/index.js
code4romania/monitorizare-vot-votanti-client
import React from 'react'; import User from './User'; import Admin from './Admin'; import { isLoggedIn } from '../../utils/authUtils'; const MENU_ITEMS = { ACASA: { title: 'Adaugă o sesizare', path: 'acasa', }, SESIZARI: { title: 'Sesizări', path: 'sesizari', }, STATISTICI: { title: 'Stat...
vertex_ui/src/components/ColorPicker/Sketch/SketchFields.js
zapcoop/vertex
/* eslint-disable no-param-reassign */ import React from 'react'; import reactCSS from 'reactcss'; import color from 'react-color/lib/helpers/color'; import { EditableInput } from 'react-color/lib/components/common'; export const ShetchFields = ({ onChange, rgb, hsl, hex, disableAlpha }) => { const styles = reactC...
ajax/libs/mobx/3.1.2/mobx.js
Piicksarn/cdnjs
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
examples/e-commerce/widgets/Ratings.js
algolia/react-instantsearch
import React from 'react'; import { connectRange } from 'react-instantsearch-dom'; import cx from 'classnames'; const Ratings = ({ currentRefinement, refine, createURL, count }) => { const ratings = new Array(4).fill(null).map((_, ratingIndex) => { const value = 4 - ratingIndex; const itemsCount = count ...
cerberus-dashboard/src/components/SDBMetadataList/SDBMetadataList.js
Nike-Inc/cerberus-management-service
/* * Copyright (c) 2020 Nike, 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 ...
test/NavDropdownSpec.js
nickuraltsev/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import NavDropdown from '../src/NavDropdown'; import MenuItem from '../src/MenuItem'; describe('NavDropdown', () => { it('Should render li when in nav', () => { const instance = ReactTestUtils.renderIntoDocument( <NavDropdow...
ajax/libs/yui/3.7.1/datatable-body/datatable-body-coverage.js
aeharding/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
files/babel/5.5.3/browser-polyfill.js
MichaelSL/jsdelivr
(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/react-devtools-shared/src/devtools/views/Components/ExpandCollapseToggle.js
mjackson/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import React from 'react'; import Button from '../Button'; import ButtonIcon from '../ButtonIcon'; import styles from...
node_modules/react-router/lib/IndexRoute.js
Right-Men/Ironman
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _routerWarning = require('./routerWarning'); var _routerWarning2 = _interopRequireDefault(_routerWarning); var _invariant = require('invariant'); var _invariant2 = _interopRequireDefault(_inv...
app/javascript/mastodon/features/ui/components/bundle_column_error.js
h3zjp/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import Column from './column'; import ColumnHeader from './column_header'; import ColumnBackButtonSlim from '../../../components/column_back_button_slim'; import IconButton from '../../../components/...
site/pages/HomePage.js
tylercollier/react-dnd-demo
import React, { Component } from 'react'; import Header from '../components/Header'; import PageBody from '../components/PageBody'; import StaticHTMLBlock from '../components/StaticHTMLBlock'; import IndexHTML from '../../docs/index.md'; export default class HomePage extends Component { render() { return ( ...
ui/src/components/MobileMenu.js
lucifurtun/myquotes
import React from 'react' import { logout } from "../redux/auth"; import { connect } from "react-redux"; import { Link } from "react-router-dom"; import { Collapse } from "react-bootstrap"; import { FaHome, FaTools, FaSignOutAlt } from "react-icons/fa"; import Search from "./Search"; const MobileMenu = ({toggled, disp...
src/components/posts_show.js
hirodashi/ReduxSimpleStarter-blog
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { fetchPost, deletePost } from '../actions/index.js' class PostsShow extends Component { componentDidMount() { const { id } = this.props.match.params; this.props.fetchPost(id); }...
src/app/keyring/Key.js
mailvelope/mailvelope
/** * Copyright (C) 2019 Mailvelope GmbH * Licensed under the GNU Affero General Public License version 3 */ import React from 'react'; import {Redirect, Link} from 'react-router-dom'; import PropTypes from 'prop-types'; import moment from 'moment'; import * as l10n from '../../lib/l10n'; import {port} from '../app...
src/client/components/Error.js
RossCasey/SecureDrop
import React, { Component } from 'react'; import {SERVER_ERROR, INVALID_DATA, INVALID_PASSWORD, DROP_DOES_NOT_EXIST, BROWSER_NOT_SUPPORTED} from '../constants/errors'; class Error extends Component { constructor(props) { super(props); } static getErrorMessage(error) { switch(error) { ...
docs/src/pages/demos/chips/Chips.js
Kagami/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Avatar from '@material-ui/core/Avatar'; import Chip from '@material-ui/core/Chip'; import FaceIcon from '@material-ui/icons/Face'; import DoneIcon from '@material-ui/icons/Done'; const styles = ...
ajax/libs/oojs-ui/0.16.2/oojs-ui-windows.js
froala/cdnjs
/*! * OOjs UI v0.16.2 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2016-03-08T21:46:49Z */ ( function ( OO ) { 'use strict'; /** * An ActionWidget is a {@link OO.ui.ButtonWidget ...
files/videojs/4.12.1/video.dev.js
dlueth/jsdelivr
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
src/AutoProgressBar.js
peterbe/whatsdeployed
import React from 'react'; import PropTypes from 'prop-types'; import { Progress } from 'reactstrap'; export default class AutoProgressBar extends React.Component { static propTypes = { done: PropTypes.number, total: PropTypes.number, targetTime: PropTypes.number, auto: PropTypes.bool, autoTickRa...
client/admin/components/Aside/Aside.js
bigwisu/josspoll
import React, { Component } from 'react'; class Aside extends Component { render() { return ( <aside className="aside-menu"> Aside Menu </aside> ) } } export default Aside;
public/app/main.js
rankida/cluck
import React from 'react'; import ReactDOM from 'react-dom'; import CluckApp from 'app/components/cluck-app'; import store from 'app/store'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import injectTapEventPlugin from 'react-tap-event-plugin'; // Needed for onTouchTap, which is needed by Materi...
packages/react-ui-core/src/Gmap/__tests__/GmapSpinner-test.js
rentpath/react-ui
import React from 'react' import { shallow } from 'enzyme' import ThemedGmapSpinner from '../GmapSpinner' const GmapSpinner = ThemedGmapSpinner.WrappedComponent const theme = { Gmap_Spinner: 'spinnerClass', } describe('GmapSpinner', () => { it('applies `className` prop to the root', () => { const wrapper = s...
src/components/video_list.js
fab1o/YouTube-Viewer
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = (props) => { const videoItems = props.videos.map((video) => { return <VideoListItem onVideoSelect={props.onVideoSelect} key={video.etag} video={video} /> }); return ( ...
packages/material-ui-icons/src/ShoppingCartOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15.55 13c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.66-.11-1.48-.87-1.48H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7l1.1-2h7.45zM6.16 6h12.15l-2.76 5H8.53L6.16 6zM7 18c-1.1 0-1....
ajax/libs/yui/3.10.0pr1/event-focus/event-focus-coverage.js
LeaYeh/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"...
server/sonar-web/src/main/js/components/shared/quality-profile-link.js
joansmith/sonarqube
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program 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 3 of the License...
examples/draft-0-9-1/tex/js/components/TeXBlock.js
TripleDip/draft-js
/** * Copyright (c) 2013-present, Facebook, Inc. All rights reserved. * * This file provided by Facebook is 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, INCL...
src/components/PageHeader.js
branch-bookkeeper/pina
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/styles'; import PageInnerContent from './PageInnerContent'; const styles = theme => ({ root: { padding: '84px 20px 20px 20px', marginBottom: 24, backgroundColor: 'white', }, topCo...
app/redux/root.js
andreipreda/coconut
import React from 'react'; import { Provider } from 'react-redux'; import store from './store'; import { AppRouter } from './router'; export const Root = () => ( <Provider store={store}> <AppRouter /> </Provider> );
ajax/libs/yui/3.7.1/event-focus/event-focus-debug.js
froala/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = YLang.isFunction( ...
Libraries/Image/ImageBackground.js
jasonnoahchoi/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...
node_modules/react-bootstrap/es/Table.js
mohammed52/door-quote-automator
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 ...
website/modules/ReactRouterDOMShim.js
DelvarWorld/react-router
import React from 'react' export { HashRouter, Link, MemoryRouter, NavLink, Prompt, Redirect, Route, Router, StaticRouter, Switch, matchPath, withRouter } from '../../packages/react-router-dom' // Need to shim <BrowserRouter> so people can copy/paste // examples into create-react-app but our d...
packages/react/src/components/TooltipDefinition/TooltipDefinition-test.js
carbon-design-system/carbon-components
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { mount } from 'enzyme'; import TooltipDefinition from '../TooltipDefinition'; describe('TooltipDefinition...
src/svg-icons/social/person-add.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPersonAdd = (props) => ( <SvgIcon {...props}> <path d="M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/> </...
RNTester/js/examples/XHR/XHRExampleOnTimeOut.js
exponent/react-native
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const {StyleSheet, Text, TouchableHighlight, View} = requir...
js/jqwidgets/demos/react/app/bulletchart/verticalbulletchart/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxBulletChart from '../../../jqwidgets-react/react_jqxbulletchart.js'; class App extends React.Component { render() { let ranges = [ { startValue: 0, endValue: 200, color: '#000000', opacity: 0.5 }, ...
js/App/Components/Device/AddDevice/Include433.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
src/routes.js
kairatz/resource-frontend-server
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/app'; import Resource from './components/resource'; import ResourcesList from './components/resource/ResourcesList'; import Login from './components/login'; import NotFoundPage from './components/notfound'; expor...
packages/code/react/browser/swimlane/react_swimlane.js
zakaihamilton/screens
screens.react.Swimlane = function Swimlane({ label, children }) { const { Element, List } = screens.react; return ( <Element className="react-swimlane-container"> <Element className="react-swimlane-label"> {label} </Element> <Element className="react-...
nod_modules/@angular/forms/src/directives/reactive_errors.js
silvandco/angular2-tests
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { FormErrorExamples as Examples } from './error_examples'; export var ReactiveErrors = (function () { func...
tests/message.spec.js
setState/form
/* eslint react/no-multi-comp:0 */ import expect from 'expect.js'; import React from 'react'; import ReactDOM from 'react-dom'; import { createForm } from '../'; import { Simulate } from 'react-addons-test-utils'; describe('message usage', () => { let container; let component; let form; beforeEach(() => { ...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ComputedProperties.js
cr101/create-react-app
/** * 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. */ import Rea...
src/svg-icons/av/games.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvGames = (props) => ( <SvgIcon {...props}> <path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"/> </SvgIcon> ); AvGames = pure(AvGames); AvGames.dis...
grunt/config/browserify.js
JoshKaufman/react
/*eslint-disable no-multi-str */ 'use strict'; var envify = require('envify/custom'); var grunt = require('grunt'); var UglifyJS = require('uglify-js'); var uglifyify = require('uglifyify'); var derequire = require('derequire'); var collapser = require('bundle-collapser/plugin'); var envifyDev = envify({NODE_ENV: pr...
actor-apps/app-web/src/app/components/activity/UserProfileContactInfo.react.js
treejames/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class UserProfileContactInfo extends React.Component { static propTypes = { phones: React.PropTypes.arr...
src/components/controls.js
isehrob/synapses-text
// block styles import React from 'react'; import { StyleButton } from './buttons'; import { BLOCK_TYPES, HEADER_TYPES, INLINE_STYLES } from '../utils/types'; export const BlockStyleControls = (props) => { const {editorState} = props; const selection = editorState.getSelection(); const blockT...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/RestAndDefault.js
GreenGremlin/create-react-app
/** * 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({ id, ...rest } = { id: 0, user: { id: 42, ...
src/core/components/TopBar/Clock.js
devteamreims/4me.react
import React, { Component } from 'react'; import moment from 'moment'; class Clock extends Component { constructor(props) { super(props); this.refreshHandler = null; this.refreshInterval = 100; } componentDidMount() { this.refreshHandler = setInterval(this.forceUpdate.bind(this), this.refreshI...
src/pages/Job.js
dunika/job-admin
import React, { Component } from 'react'; import { actions as jobActions, Job as JobComponent, } from 'client/modules/jobs'; import { withReduxSaga } from 'client/store'; import { Main } from './layout'; class Job extends Component { static async getInitialProps({ store: { dispatch, getState }, query: { id } })...
src/Thumbnail.js
gianpaj/react-bootstrap
import React from 'react'; import classSet from 'classnames'; import BootstrapMixin from './BootstrapMixin'; import SafeAnchor from './SafeAnchor'; const Thumbnail = React.createClass({ mixins: [BootstrapMixin], propTypes: { alt: React.PropTypes.string, href: React.PropTypes.string, src: React.PropTyp...
ajax/libs/material-ui/4.12.3/esm/ButtonBase/TouchRipple.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import { TransitionGrou...
ajax/libs/jquery-mobile/1.3.0/jquery.mobile.js
keicheng/cdnjs
/* * jQuery Mobile Git Build: SHA1: caa77b258660731d663844fe7867aa2c3a107ab1 <> Date: Wed Feb 20 15:03:27 2013 -0500 * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ) { ...