path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
node_modules/axios/lib/helpers/cookies.js
sanj44/icicibot
'use strict'; var utils = require('./../utils'); module.exports = ( utils.isStandardBrowserEnv() ? // Standard browser envs support document.cookie (function standardBrowserEnv() { return { write: function write(name, value, expires, path, domain, secure) { var cookie = []; cookie.pus...
docs/pages/Button/index.js
collegepulse/material-react-components
import Add from 'material-design-icons/content/svg/production/ic_add_24px.svg'; import Button from '../../../src/Button'; import Edit from 'material-design-icons/editor/svg/production/ic_mode_edit_24px.svg'; import Page from '../Page'; import React from 'react'; import Styles from './Button.css'; import Switch from '.....
ajax/libs/yui/3.3.0pr1/event-custom/event-custom-debug.js
x112358/cdnjs
YUI.add('event-custom-base', function(Y) { /** * 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. * @module ev...
tests/layouts/PageLayout.spec.js
davezuko/wirk-starter
import React from 'react' import PageLayout from 'layouts/PageLayout/PageLayout' import { shallow } from 'enzyme' describe('(Layout) PageLayout', () => { it('renders as a <div>', () => { shallow(<PageLayout />).should.have.tagName('div') }) it('renders a project title', () => { shallow(<PageLayout />).f...
src/scenes/home/codeSchools/codeSchools.js
alexspence/operationcode_frontend
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import LinkButton from 'shared/components/linkButton/linkButton'; import Section from 'shared/components/section/section'; import ApprovedSchools from './approvedSchools/approvedSchools'; import PartnerSchools from './partnerSchools/part...
app/components/Payments.js
nosplashurinal/order-management
import React from 'react'; import PropTypes from 'prop-types'; import styles from '../styles/payments.scss'; const Payments = ({ payments, onToggleLinkPayment }) => <div id={styles.payments}> <div id={styles.body}> {payments.map((payment, x) => <div className={styles.row...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
Gss615/Swiemianshi
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
src/ModalFooter.js
aparticka/react-bootstrap
import React from 'react'; import classNames from 'classnames'; class ModalFooter extends React.Component { render() { return ( <div {...this.props} className={classNames(this.props.className, this.props.modalClassName)}> {this.props.children} </div> ); } } ModalFooter....
src/js/components/ErrorsList.js
appdev-academy/appdev.academy-react
import PropTypes from 'prop-types' import React from 'react' export default class ErrorsList extends React.Component { render() { let errorsList = null; if (this.props.errors.length) { errorsList = ( <ul className='errors'> { this.props.errors.map((error, index) => { retur...
ajax/libs/vue/1.0.0-beta.1/vue.js
jdh8/cdnjs
/*! * Vue.js v1.0.0-beta.1 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); el...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.lite.extras.compat.js
rawrsome/angularfire_template
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'und...
docs/app/Examples/elements/Header/Content/HeaderExampleSettingsIcon.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Header, Icon } from 'semantic-ui-react' const HeaderExampleSettingsIcon = () => ( <Header as='h2'> <Icon name='settings' /> <Header.Content> Account Settings <Header.Subheader> Manage your preferences </Header.Subheader> </Header.Content> </H...
ajax/libs/angular.js/0.10.4/angular-scenario.js
simudream/cdnjs
/*! * jQuery JavaScript Library v1.6.4 * 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. ...
frontend-react/src/index.js
router8008/whatodo
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App/>, document.getElementById('react-app'));
src/svg-icons/image/filter-drama.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterDrama = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.61 5.64 5.36 8.04 2.35 8.36 0 10.9 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4...
libs/fancybox/lib/jquery-1.9.0.min.js
DmitriyRF/brus
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc...
packages/material-ui-icons/src/ReorderOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z" /> , 'ReorderOutlined');
node_modules/material-ui/lib/svg-icons/image/timer-10.js
Sporks/Doc-tor
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
ajax/libs/angular.js/2.0.0-alpha.39/web_worker/ui.dev.js
jonobr1/cdnjs
/** @license Copyright 2014-2015 Google, Inc. http://angularjs.org 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 ...
docs/app/Examples/collections/Grid/Variations/GridPaddedExample.js
jcarbo/stardust
import React from 'react' import { Image, Grid } from 'stardust' const { Column } = Grid const image = <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' /> const GridPaddedExample = () => ( <div> <p>The following grid has vertical and horizontal gutters</p> <Grid columns={2} padded> ...
grunt/config/compress.js
manl1100/react
'use strict'; var grunt = require('grunt'); var version = grunt.config.data.pkg.version; module.exports = { starter: { options: { archive: './build/react-' + version + '.zip', }, files: [ {cwd: './build/starter', src: ['**'], dest: 'react-' + version + '/'}, ], }, };
src/components/language-card/index.js
hechoendrupal/drupalconsole.com
import React from "react" import './style.css'; import {Link} from "gatsby"; import _capitalize from "lodash/capitalize" import Image from "../../layout/image" const LanguageCard = ({ data }) => { return ( <div className="container"> <div className="row justify-content-center"> {data.map(item => { ...
packages/mui-icons-material/lib/TextFieldsOutlined.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
node_modules/react/lib/ReactErrorUtils.js
Kgiberson/welp
/** * Copyright 2013-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. * * @providesModu...
ajax/libs/angular.js/0.9.0/angular-scenario.js
SpencerCDixon/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
UI/Charts/CheckList.js
Datasilk/Dedicate
import React from 'react'; import {View, ScrollView, StyleSheet, Dimensions, TouchableHighlight} from 'react-native'; import Text from 'text/Text'; import CheckBox from 'fields/CheckBox'; import AppStyles from 'dedicate/AppStyles'; import DbRecords from 'db/DbRecords'; import DayInYear from 'utility/DayInYear'; import ...
modules/gui/src/widget/toolbar/panelButton.js
openforis/sepal
import {Context} from './context' import {PanelButtonContext} from './panelButtonContext' import {ToolbarButton} from './toolbarButton' import Portal from 'widget/portal' import PropTypes from 'prop-types' import React from 'react' import styles from './toolbar.module.css' export class PanelButton extends React.Compon...
src/components/collection/types/helpers.js
chaoticbackup/chaoticbackup.github.io
import React from 'react'; import API from '../../SpreadsheetData'; export function Thumbnail ({ card, setImage }) { // If imgur image exists, crop from it instead if (card.gsx$ic && card.gsx$ic !== '') { const innerStyle = (() => { switch (card.gsx$type) { case 'Attacks': return { ...
src/SwipeViews.js
damusnet/react-swipe-views
import React from 'react'; Number.isInteger = Number.isInteger || function(value) { return typeof value === "number" && isFinite(value) && Math.floor(value) === value; }; export default class SwipeViews extends React.Component { constructor(props) { super(props); const selectedIndex = this.prop...
src/redux/utils/createDevToolsWindow.js
bruceli1986/contract-react
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import DevTools from '../../containers/DevToolsWindow' export default function createDevToolsWindow (store) { const win = window.open( null, 'redux-devtools', // give it a name so it reuses the same window `...
src/routes.js
DanFlavius/React-boilerplate-workshop
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/app'; import Home from './containers/home/index'; export default ( <Route path="/" component={App}> <IndexRoute component={Home} /> </Route> );
examples/universal/client.js
batmanimal/redux
import 'babel-core/polyfill'; import React from 'react'; import configureStore from './store/configureStore'; import { Provider } from 'react-redux'; import App from './containers/App'; const initialState = window.__INITIAL_STATE__; const store = configureStore(initialState); const rootElement = document.getElementB...
src/components/List/ListItem.js
Bandwidth/shared-components
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; const ListItem = styled.li.withConfig({ displayName: 'ListItem' })` margin: 0 0 0.5em 2em; padding: 0; & p { margin: 0 0 0.5em; } `; ListItem.propTypes = { /** * Adds a class name to the element. ...
classic/src/scenes/mailboxes/src/Scenes/SettingsScene/GeneralSettings/UpdateSettingsSection.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import { settingsActions } from 'stores/settings' import { updaterActions } from 'stores/updater' import AppSettings from 'shared/Models/Settings/AppSettings' import modelCompare from 'wbui/react-addons-model-compare' import partialShallowCompare from 'wbui/r...
src/components/add-files-button.js
coding-lemur/nodefilestore
import React from 'react'; import classnames from 'classnames'; import FileViewModel from '../viewmodels/file.viewmodel'; export default class AddFilesButton extends React.Component { constructor(props) { super(props); } render() { const btnClasses = classnames('btn-floating', 'btn-large'...
imports/client/ui/pages/Home/oldhomepage/HowToHelpSection/Item/index.js
focallocal/fl-maps
import React from 'react' import './styles.scss' const Item = ({ item, loginButton }) => <div className="item"> <h3 className='item-text'>{item.text}</h3> {item.link !== undefined ? loginButton : null} <br/> <span className='item-subText'>{item.subText}</span> {item.link !== undefined && <a...
client/components/operations/index.js
ZeHiro/kresus
import React from 'react'; import { connect } from 'react-redux'; import { translate as $t, formatDate } from '../../helpers'; import { get, actions } from '../../store'; import InfiniteList from '../ui/infinite-list'; import SearchComponent from './search'; import { OperationItem, PressableOperationItem } from '....
src/docs/exampleComponents/ScatterChart/ScatterChartWithLabels.js
recharts/recharts.org
import React, { PureComponent } from 'react'; import { ScatterChart, Scatter, XAxis, YAxis, CartesianGrid, Tooltip, LabelList, ResponsiveContainer } from 'recharts'; const data = [ { x: 100, y: 200, z: 200 }, { x: 120, y: 100, z: 260 }, { x: 170, y: 300, z: 400 }, { x: 140, y: 250, z: 280 }, { x: 150, y: 400...
src/index.js
nevtum/packet-buddy
import React from 'react'; import { render } from 'react-dom'; import MainLayout from './Components/MainLayout'; render(<MainLayout />, document.getElementById('app'));
react-flux-mui/js/material-ui/docs/src/app/components/pages/components/AutoComplete/Page.js
pbogdan/react-flux-mui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import autoCompleteReadmeText from './README'; import autoCompleteCode from '!ra...
es6/app/client/App.js
daynedavis/React
import React from 'react'; import styles from './App.css'; export default class App extends React.Component { constructor(props) { super(props); this.state = {test: 'form'}; var request = new Request('/data', { headers: new Headers({ 'Content-Type': 'text/plain' }) }); var tex...
src/templates/post-template.js
amoseui/blog
// @flow strict import React from 'react'; import { graphql } from 'gatsby'; import Layout from '../components/Layout'; import Post from '../components/Post'; import { useSiteMetadata } from '../hooks'; import type { MarkdownRemark } from '../types'; type Props = { data: { markdownRemark: MarkdownRemark } }; ...
actor-sdk/sdk-web/src/components/common/Stateful/Processing.react.js
y0ke/actor-platform
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ import { Component, PropTypes } from 'react'; export default class Processing extends Component { constructor(props) { super(props); } static propTypes = { children: PropTypes.node }; render() { return this.props.children; } }
fontend/src/routes/IndexPage.js
bingweichen/GOKU
import React from 'react'; import { connect } from 'dva'; import styles from './IndexPage.css'; import auth from '../utils/Auth'; import Footer from '../components/MainLayout/Footer.jsx'; function IndexPage({ location }) { const tab = location.query.tab ? location.query.tab : 'shop'; auth(); return ( <div >...
src/index.js
camsjams/node-react-mongo-hangperson
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import {Router, browserHistory} from 'react-router'; import makeRoutes from './routes'; const appEntry = <Router history={browserHistory}>{makeRoutes()}</Router>; ReactDOM.render( appEntry, document.getElementById('root') );
test/Async-test.js
Paveltarno/react-select
'use strict'; /* eslint react/jsx-boolean-value: 0 */ // Emulating the DOM here, only so that if this test file gets // included first, then React thinks there's a DOM, so the other tests // (e.g. Select-test.js) that do require a DOM work correctly var jsdomHelper = require('../testHelpers/jsdomHelper'); jsdomHelper...
test/app-client-custom-path.spec.js
gmarziou/generator-jhipster
const expect = require('expect'); const path = require('path'); const assert = require('yeoman-assert'); const helpers = require('yeoman-test'); const getFilesForOptions = require('./utils/utils').getFilesForOptions; const expectedFiles = require('./utils/expected-files'); const reactFiles = require('../generators/clie...
react/features/filmstrip/components/web/StatusIndicators.js
jitsi/jitsi-meet
/* @flow */ import React, { Component } from 'react'; import { MEDIA_TYPE } from '../../../base/media'; import { getParticipantByIdOrUndefined, PARTICIPANT_ROLE } from '../../../base/participants'; import { connect } from '../../../base/redux'; import { getTrackByMediaTypeAndParticipant, isLocalTrackMuted, isRemoteTr...
src/explorer/Loo/Map.js
neontribe/gbptm
import React from 'react'; import { Map as LeafletMap, Marker, TileLayer } from 'react-leaflet'; import 'leaflet/dist/leaflet.css'; import L from 'leaflet'; import icon from 'leaflet/dist/images/marker-icon.png'; import iconShadow from 'leaflet/dist/images/marker-shadow.png'; let DefaultIcon = L.icon({ iconUrl: icon...
frontend/App/index.js
shoumma/ReForum
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, browserHistory, IndexRoute } from 'react-router'; import { Provider } from 'react-redux'; import styles from './styles'; // app store import appStore from './store'; // app views import AppContainer from './App'; import AdminContaine...
src/js/components/LoadingDots.js
Patrolavia/oscar
import React, { Component } from 'react'; import Loader from 'halogen/ScaleLoader'; export default class LoadingDot extends Component { render() { return ( <div className="LoadingDot"> <Loader color="#757575" size="10px" /> </div> ); } }
examples/huge-apps/app.js
bmathews/react-router
import React from 'react'; import { history } from 'react-router/lib/HashHistory'; import { Router } from 'react-router'; import AsyncProps from 'react-router/lib/experimental/AsyncProps'; import stubbedCourses from './stubs/COURSES'; var rootRoute = { component: AsyncProps, // iunno? renderInitialLoad() { ...
redux-collection/ageteller/src/index.js
arante/jsloc
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render( <App />, document.getElementById('root') );
packages/material-ui-icons/src/NavigateNext.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let NavigateNext = props => <SvgIcon {...props}> <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /> </SvgIcon>; NavigateNext = pure(NavigateNext); NavigateNext.muiName = 'SvgIcon'; export default...
src/docs/examples/Table/ExampleSimpleTable.js
rajeshpillai/zs-react-pattern-lib
import React from 'react'; import Table from 'zs-react/Table'; /** SimpleTable */ export default class ExampleSimpleTable extends React.Component { constructor () { super(); this.headers = [ "Book", "Author", "Language", "Published", "Sales" ]; this.data = [ ["The Lord ...
src/components/StatusBar.js
henrytao-me/react-native-mdcore
import React from 'react' import { Platform, StatusBar as RNStatusBar, View } from 'react-native' import NativeModules from './NativeModules' import PropTypes from './PropTypes' import PureComponent from './PureComponent' export default class StatusBar extends PureComponent { static contextTypes = { them...
src/browser/components/Main/TopBar.js
2rajpx/gitux
import React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router' // Material UI import AppBar from 'material-ui/AppBar' // components import LoggedUserMenu from './LoggedUserMenu' import LoginButton from './LoginButton' import ToggleDrawerButton from './ToggleDrawerButton' const To...
Examples/Movies/MovieScreen.js
bestwpw/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
src/svg-icons/device/access-alarm.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAccessAlarm = (props) => ( <SvgIcon {...props}> <path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-...
ajax/libs/yui/3.3.0pr3/simpleyui/simpleyui-debug.js
LeaYeh/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global name...
docs/app/Examples/elements/Segment/Groups/SegmentExampleSegments.js
aabustamante/Semantic-UI-React
import React from 'react' import { Segment } from 'semantic-ui-react' const SegmentExampleSegments = () => ( <Segment.Group> <Segment>Top</Segment> <Segment>Middle</Segment> <Segment>Middle</Segment> <Segment>Middle</Segment> <Segment>Bottom</Segment> </Segment.Group> ) export default SegmentE...
ajax/libs/ember-data.js/1.0.0-beta.17/ember-data.prod.js
iamJoeTaylor/cdnjs
(function() { "use strict"; var ember$data$lib$system$model$errors$invalid$$create = Ember.create; var ember$data$lib$system$model$errors$invalid$$EmberError = Ember.Error; /** A `DS.InvalidError` is used by an adapter to signal the external API was unable to process a request because the c...
public/components/tehtPage/tabsComponents/reusables/Kokoontumispaikka.js
City-of-Vantaa-SmartLab/kupela
import React from 'react'; import Showcase from './templates/Showcase'; import { Carousel } from 'react-bootstrap'; /*const Kokoontumispaikka = (props) => { if(props.carousel.carousel === true) { return ( <div className="kokoontumispaikka"> <p><b>Kokoontumispaikka:</b></p> ...
ajax/libs/forerunnerdb/1.3.535/fdb-all.min.js
ahocevar/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/components/App.js
leanix/leanix-app-launchpad
import React from 'react' // eslint-disable-line no-unused-vars import { Switch, Route, Redirect } from 'react-router-dom' // eslint-disable-line no-unused-vars import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' // eslint-disable-line no-unused-vars import AppLaunchpad from './AppLaunchpad' // eslint-di...
app/components/ToggleOption/index.js
adoveil/max
/** * * ToggleOption * */ import React from 'react'; import { injectIntl, intlShape } from 'react-intl'; const ToggleOption = ({ value, message, intl }) => ( <option value={value}> {intl.formatMessage(message)} </option> ); ToggleOption.propTypes = { value: React.PropTypes.string.isRequired, message: Rea...
lib/pkp/js/lib/jquery/jquery.min.js
ubiquitypress/OJS-Draft-Editorial
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/parser/priest/discipline/modules/spells/Contrition.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import StatTracker from 'parser/shared/modules/StatTracker'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import { formatPercentage, formatNumber } from 'common/format'; import An...
sites/all/modules/contrib/jquery_update/replace/jquery/1.5/jquery.min.js
devudo/devudo.com
/*! * jQuery JavaScript Library v1.5.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. ...
app/js/containers/account-list.js
ue/electra
import React from 'react'; import ReactDOM from 'react-dom'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import { addAccount, accountItemUpdate, deleteAccount, addToFavorites, accountPasswordUpdate, accountTagUpdate } from '../actions/index'; // Id import uuid from 'node...
docs/src/PageHeader.js
thealjey/react-bootstrap
import React from 'react'; const PageHeader = React.createClass({ render() { return ( <div className="bs-docs-header" id="content"> <div className="container"> <h1>{this.props.title}</h1> <p>{this.props.subTitle}</p> </div> </div> ); } }); export default Pag...
react/features/deep-linking/components/NoMobileApp.web.js
bgrozev/jitsi-meet
/* @flow */ import React, { Component } from 'react'; import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics'; declare var interfaceConfig: Object; /** * React component representing no mobile app page. * * @class NoMobileApp */ export default class NoMobileApp extends Component<*> { /**...
www/js/Controllers/specs/tabs.spec.js
git-phaser/git-phaser
describe('TabsCtrl', function () { var $controller var $scope var $reactive var user var MeteorMock; beforeEach(module('gitphaser')); // Application beforeEach(module('mocks')); // Mocked Meteor services // Disable Ionic templating & routing beforeEach(module(function ($provide, $urlRouterProvid...
app/i18n.js
karinamzalez/redux-ideabox
/** * i18n.js * * This will setup the i18n language files and locale data for your app. * */ import { addLocaleData } from 'react-intl'; import enLocaleData from 'react-intl/locale-data/en'; import { DEFAULT_LOCALE } from './containers/App/constants'; // eslint-disable-line import enTranslationMessages from './tr...
packages/material-ui-icons/src/FilterSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M15.96 10.29l-2.75 3.54-1.96-2.36L8.5 15h11l-3.54-4.71zM3 5H1v18h18v-2H3V5zm20-4H5v18h18V1zm-2 16H7V3h14v14z" /></g></React.Fragment> , 'Filt...
packages/wix-style-react/src/WixStyleReactProvider/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, code, api, testkit, } from 'wix-storybook-utils/Sections'; import * as examples from './examples'; import { storySettings } from '../test/storySettings'; import WixStyleReactProvider from '...
ajax/libs/core-js/0.4.5/core.js
vfonic/cdnjs
/** * Core.js 0.4.5 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(global, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
src/svg-icons/content/next-week.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentNextWeek = (props) => ( <SvgIcon {...props}> <path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2...
ajax/libs/raven.js/3.23.3/angular,require/raven.js
extend1994/cdnjs
/*! Raven.js 3.22.2 (1b6187b) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2018 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function (global, factory) ...
app/javascript/mastodon/containers/compose_container.js
maa123/mastodon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { hydrateStore } from '../actions/store'; import { IntlProvider, addLocaleData } from 'react-intl'; import { getLocale } from '../locales'; import Compose f...
client/components/ui/validated-text-input.js
ZeHiro/kresus
import React from 'react'; import PropTypes from 'prop-types'; import TextInput from './text-input'; // A ValidatedTextInput is a form group for a text input with a hint that it // must not be empty. const ValidatedTextInput = React.forwardRef((props, ref) => { return <TextInput {...props} ref={ref} required={tr...
lib/routers/auth.js
codeclimate-testing/relax
import React from 'react'; import {Route} from 'react-router'; import gaSend from '../client/helpers/ga-send'; import Init from '../containers/admin/init'; import Login from '../containers/admin/login'; export default [ <Route> <Route path='/admin/init' component={Init} onEnter={gaSend} /> <Route path='/adm...
old-example-redux/src/components/ExampleComponent.js
iotize/react-native-navigation
import React, {Component} from 'react'; import { Text } from 'react-native'; export default class ExampleComponent extends Component { constructor(props) { super(props); } render() { return ( <Text>I am a regular non-redux aware component</Text> ); } }
src/Screens/About.js
saurabhj/helpline-app
'use strict'; import React, { Component } from 'react'; import { StyleSheet, Text, View, Image, TextInput, Button, TouchableHighlight, TouchableOpacity, AsyncStorage, Alert, Platform, ScrollView, } from 'react-native'; import { StackNavigator } from 'react-navigation';...
cheesecakes/plugins/content-manager/admin/src/components/Wysiwyg/previewWysiwyg.js
strapi/strapi-examples
/** * * PreviewWysiwyg * */ import React from 'react'; import PropTypes from 'prop-types'; import { CompositeDecorator, ContentState, convertFromHTML, EditorState, ContentBlock, genKey, Entity, CharacterMetadata, } from 'draft-js'; import { List, OrderedSet, Repeat, fromJS } from 'immutable'; impor...
client/src/components/TranscriptEditor/index.js
stanographer/aloft
import React from 'react'; import { compose } from 'recompose'; import { withRouter } from 'react-router-dom'; import { withFirebase } from '../Firebase'; import withAuthorization from '../Session/withAuthorization'; import Navigation from '../Navigation'; import queryString from 'query-string'; import connection from ...
assets/javascripts/kitten/components/graphics/icons-next/home-icon-next/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' export const HomeIconNext = ({ color, title, ...props }) => ( <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props} > {title && <title>{title}</title>} <path d="M21.977 6.186 13.30...
public/scripts/containers/Root.js
nicrocs/react-form-builder
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import configureStore from '../configureStore'; import FormBuilder from './FormBuilder'; const store = configureStore(); export default class Root extends Component { render() { return ( <Provider store={store}> <For...
src/components/video_list_item.js
Vedant-Koditkar/ReduxSimpleStarter
import React from 'react'; const VideoListItem = ({video, onVideoSelected}) => { const imageUrl = video.snippet.thumbnails.default.url; const title = video.snippet.title; return ( <li onClick={() => onVideoSelected(video)} className="list-group-item cursor"> <div className="video-list media"> <...
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) { ...
node_modules/react-tools/src/core/__tests__/refs-destruction-test.js
zlyi/react-components
/** * 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...
app/src/js/components/columns/columns.js
tahnik/devRantron
/** * Used for custom column * Custom column contains multiples columns. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import CSSTransitionGroup from 'react-transition-group/CSSTransitionGroup'; import Column from './column'; import AddColumn from './column_add'; class Columns e...
modules/dreamview/frontend/src/components/CameraParam/index.js
jinghaomiao/apollo
import React, { Component } from 'react'; import ReactTooltip from 'react-tooltip'; import { inject, observer } from 'mobx-react'; import positionIcon from 'assets/images/icons/position.png'; import rotationIcon from 'assets/images/icons/rotation.png'; const ResetSvg = () => ( <svg viewBox="0 0 1024 1024" width="...
packages/core/src/icons/components/RadioEmpty.js
iCHEF/gypcrete
import React from 'react'; export default function SvgRadioEmpty(props) { return ( <svg width="1em" height="1em" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" {...props} > <rect x={7} y={7} width={18} height={18} rx={9} ...
examples/real-world/index.js
radnor/redux
import 'babel-core/polyfill'; import React from 'react'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import { Provider } from 'react-redux'; import { Router, Route } from 'react-router'; import configureStore from './store/configureStore'; import App from './containers/App'; import UserPage fro...
public/js/cat_source/es6/components/segments/SegmentCommentsContainer.js
matecat/MateCat
/** * React Component for the warnings. */ import React from 'react' import _ from 'lodash' import CommentsStore from '../../stores/CommentsStore' import CommentsActions from '../../actions/CommentsActions' import CommentsConstants from '../../constants/CommentsConstants' import SegmentActions from '../../actions/S...
src/routes/feed/index.js
i3ringit/mdelc
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present 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 Projects from './Proj...
extensions/chrome/source/scripts/modules/server.js
justincharles/core-modules
'use strict'; define(['modules/config', '../../bower_components/ddp.js/src/ddp', '../../bower_components/q/q', 'Asteroid'], function (config, DDP, Q, Asteroid) { window.DDP = DDP; window.Q = Q; var ddp = new Asteroid(config.appRootUrl); var bits = ddp.getCollection('bits'); return { /** * Save a bi...
fields/components/columns/ArrayColumn.js
udp/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var ArrayColumn = React.createClass({ displayName: 'ArrayColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.obje...
src/svg-icons/maps/local-airport.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalAirport = (props) => ( <SvgIcon {...props}> <path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/> </SvgIcon> ); MapsLocalA...