path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/parser/warrior/fury/CONFIG.js
sMteX/WoWAnalyzer
import React from 'react'; import { Eylwen } from 'CONTRIBUTORS'; import retryingPromise from 'common/retryingPromise'; import SPECS from 'game/SPECS'; import CHANGELOG from './CHANGELOG'; export default { // The people that have contributed to this spec recently. People don't have to sign up to be long-time maint...
modules/IndexRoute.js
okcoker/react-router
import React from 'react' import invariant from 'invariant' import warning from 'warning' import { createRouteFromReactElement } from './RouteUtils' import { component, components, falsy } from './PropTypes' const { bool, func } = React.PropTypes /** * An <IndexRoute> is used to specify its parent's <Route indexRout...
test/test_helper.js
JoaoMoreira93/ReactReduxYT
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...
server.js
jhen0409/isomorphic-react-flux-boilerplate
'use strict'; import koa from 'koa'; import serve from 'koa-static'; import serialize from 'serialize-javascript'; import React from 'react'; import Router from 'react-router'; import app from './scripts/app' import HtmlComponent from './scripts/components/Html.jsx'; import navigateAction from './scripts/actions/navi...
ajax/libs/core-js/2.0.2/library.js
humbletim/cdnjs
/** * core-js 2.0.2 * 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...
ajax/libs/jquery/1.9.1/jquery.min.js
hnakamur/cdnjs
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
client/components/PurchaseConfirmation.js
carlbernardo/jimini
import React from 'react'; import $ from 'jquery'; import { Modal, Button } from 'react-bootstrap'; class PurchaseConfirmation extends React.Component { constructor(){ super(); this.handleClick = this.handleClick.bind(this); } handleClick(){ this.props.handleBought(); this.props.close(); } ...
src/components/Suggestion.component.js
callmeaatrey/cleopatra
/* * Suggestion user presentation component * @props - email, picture, name, nickname */ import React, { Component } from 'react'; import { Card } from 'antd'; import { Link } from 'react-router'; class Suggestion extends Component { render() { return ( <Link to={`/profile/${this.props.email}`} style={{ color: ...
local-cli/templates/HelloWorld/index.android.js
gitim/react-native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class HelloWorld extends Component { render() { return ( <View style={styles.containe...
modules/components/Index.js
Scarysize/browserify-code-split
import React from 'react'; const Index = () => { return ( <div> <h2>Index</h2> </div> ); }; export default Index;
app/javascript/mastodon/features/ui/components/column_subheading.js
esetomo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const ColumnSubheading = ({ text }) => { return ( <div className='column-subheading'> {text} </div> ); }; ColumnSubheading.propTypes = { text: PropTypes.string.isRequired, }; export default ColumnSubheading;
src/forms/widgets/RadioWidget.js
austinsc/react-gooey
import React from 'react'; import PropTypes from 'prop-types'; function RadioWidget(props) { const { options, value, required, disabled, readonly, autofocus, onChange } = props; // Generating a unique field name to identify this set of radio buttons const name = Math.random().toStri...
ajax/libs/rxjs/2.2.21/rx.all.compat.js
maxklenk/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/index.js
dpastoor/fork-explorer
import React from 'react'; import { render } from 'react-dom' import { createHistory, useBasename } from 'history' import { Router, Route, Link } from 'react-router' import Login from './components/Login' import Branches from './components/Branches' import Authentication from './components/Authentication' import App fr...
node_modules/react-icons/fa/question.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaQuestion = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m23.2 28v5.4q0 0.4-0.3 0.6t-0.6 0.3h-5.3q-0.4 0-0.7-0.3t-0.2-0.6v-5.4q0-0.3 0.2-0.6t0.7-0.3h5.3q0.4 0 0.6 0.3t0.3 0.6z m7.1-13.4q0 1.2-0.4 2.3t-0.8 1.7-1.2 1.3-1.3 1...
frontend/src/components/home/Home.js
VladimirAnaniev/LoggIt
import React, { Component } from 'react' import { CardPanel } from 'react-materialize' import { connect } from 'react-redux' import { getAllUsersCount } from '../../actions/userActions' import { getAllWorkoutsCount } from '../../actions/workoutsActions' import { Link } from 'react-router-dom' class Home extends Compon...
server/game/cards/09-HoT/TheKnightOfFlowers.js
ystros/throneteki
const DrawCard = require('../../drawcard.js'); class TheKnightOfFlowers extends DrawCard { setupCardAbilities() { this.reaction({ when: { onCardPlayed: event => event.player === this.controller }, handler: () => { this.game.addMessage('{0}...
src/svg-icons/maps/local-pharmacy.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPharmacy = (props) => ( <SvgIcon {...props}> <path d="M21 5h-2.64l1.14-3.14L17.15 1l-1.46 4H3v2l2 6-2 6v2h18v-2l-2-6 2-6V5zm-5 9h-3v3h-2v-3H8v-2h3V9h2v3h3v2z"/> </SvgIcon> ); MapsLocalPharmacy = pure...
ui/src/main/js/components/UpdateDiff.js
apache/aurora
import React from 'react'; import Diff from 'components/Diff'; import PanelGroup, { Container, StandardPanelTitle } from 'components/Layout'; import { instanceRangeToString } from 'utils/Task'; export default class UpdateDiff extends React.Component { constructor(props) { super(props); this.state = {groupI...
src/screens/App/components/Header/index.js
yanglinz/reddio
import React from 'react'; import InlineSVG from 'svg-inline-react'; import { Link } from 'react-router'; import logo from './logo.svg'; import './index.scss'; function Header(props) { const { isIndex } = props; const callToAction = isIndex ? ( <div className="Header-callToAction"> <h2> Reddio ...
node_modules/react-bootstrap/es/Table.js
saltypaul/SnipTodo
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 ...
packages/ringcentral-widgets/components/RecentActivityMessages/index.js
ringcentral/ringcentral-js-widget
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames/bind'; import Spinner from '../Spinner'; import styles from './styles.scss'; import i18n from './i18n'; const cx = classNames.bind(styles); function MessageItem({ message, navigateTo, dateTimeFormatter }) {...
modules/RoutingContext.js
pheadra/react-router
import React from 'react' import invariant from 'invariant' import getRouteParams from './getRouteParams' const { array, func, object } = React.PropTypes /** * A <RoutingContext> renders the component tree for a given router state * and sets the history object and the current location in context. */ const RoutingC...
src/views/components/formatted-time/index.spec.js
zerubeus/sawt
import React from 'react'; import { render } from 'enzyme'; import FormattedTime from './index'; describe('views', () => { describe('FormattedTime', () => { it('should format hours from seconds', () => { expect(render(<FormattedTime value={3600} />).text()).toBe('1:00:00'); }); it('should format ...
src/svg-icons/navigation/arrow-upward.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationArrowUpward = (props) => ( <SvgIcon {...props}> <path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/> </SvgIcon> ); NavigationArrowUpward = pure(NavigationArrowUpward); NavigationA...
wrappers/json.js
rorz/a27-site
import React from 'react' import Helmet from 'react-helmet' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { route: React.PropTypes.object, } }, render () { const data = this.props.route.page.data return ( <div> <Helmet tit...
src/svg-icons/social/cake.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialCake = (props) => ( <SvgIcon {...props}> <path d="M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l...
docs/src/app/components/pages/components/Divider/ExampleList.js
frnk94/material-ui
import React from 'react'; import Divider from 'material-ui/Divider'; import {List, ListItem} from 'material-ui/List'; import MobileTearSheet from '../../../MobileTearSheet'; const DividerExampleList = () => ( <MobileTearSheet height={250}> <List> <ListItem insetChildren={true} primaryText="Janet Perkins B...
src/containers/Main.js
samihda/pizza
import React from 'react'; import { connect } from 'react-redux'; import { next, previous, reset } from '../actions/step'; import { update } from '../actions/form'; import { Splash, OrderForm, ContactForm, Review, Confirmation } from '../components/main/'; const Main = (props) => { switch (props.step) { case 0: ...
u/test20/js/uncompressed/jquery-1.9.1.js
Owchzzz/Militiatoday
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { ...
step07j_redux_using_object_for_state_management/src/index.js
panacloud/learn-react
import React from 'react'; import ReactDOM from 'react-dom'; import App from './containers/app/App'; import './index.css'; import store from './store' import { Provider } from 'react-redux' //Update in counter 8 -- import counter action -- // in normal case we will not import actions here in main indexjs but we will...
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...
src/components/atoms/Tooltip/index.stories.js
SIB-Colombia/dataportal_v2_frontend
import React from 'react' import { storiesOf } from '@kadira/storybook' import Tooltip from '.' storiesOf('Tooltip', module) .add('default', () => ( <div style={{ margin: 100 }}> <Tooltip data-title="Hello"> <a href="#foo">Hover me</a> </Tooltip> </div> )) .add('reverse', () => ( ...
src/components/Alert.js
Kryten0807/cacofonix
// npm dependencies // import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; /** * The Alert component * @param {String} style The style of the alert * @param {Boolean} dismissible If true, then the alert is * ...
ajax/libs/analytics.js/2.8.14/analytics.min.js
RoryStolzenberg/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
webapp/src/routes.js
alliance-genome/agr_prototype
import React from 'react'; import { Route, IndexRedirect } from 'react-router'; import Wordpress from './containers/wordpress'; import Layout from './containers/layout'; import Search from './containers/search'; import GenePage from './containers/genePage'; export default ( <Route component={Layout} path='/'> <...
pkg/interface/chat/tile/tile.js
ngzax/urbit
import React, { Component } from 'react'; import classnames from 'classnames'; import _ from 'lodash'; export default class ChatTile extends Component { render() { const { props } = this; let data = _.get(props.data, 'chat-configs', false); let inviteNum = 0; let msgNum = 0; if (data) { ...
app/components/FileList.js
kenwilcox/fil
import _ from 'underscore'; import React from 'react'; import {connect} from 'react-redux'; import classNames from 'classnames'; import {createFile, deleteFile, renameFile, openFile} from 'actions/files'; class FileRenameForm extends React.Component { constructor(props) { super(props); this.state =...
packages/material-ui-icons/src/VideogameAsset.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4-3c-.83 0-...
addons/web/static/lib/zeroclipboard/ZeroClipboard.js
nurmd2/nurmd
/*! * 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.6 */ (function(window, undefined) { "use strict";...
Samples/ContinuousDeploymentWebsite/src/app/Fake_WebSite/Scripts/jquery-1.4.1-vsdoc.js
hitesh97/FAKE
/* * This file has been commented to support Visual Studio Intellisense. * You should not use this file at runtime inside the browser--it is only * intended to be used only for design-time IntelliSense. Please use the * standard jQuery library for all production use. * * Comment version: 1.4.1a */ /*! * jQuer...
react/d3ia/src/App.js
saramic/learning
import React, { Component } from 'react'; import './App.css'; import BarChart from './BarChart'; import WorldMap from './WorldMap'; import worlddata from './world'; import StreamGraph from './StreamGraph'; import { range } from 'd3-array'; import { scaleThreshold } from 'd3-scale'; import { geoCentroid } from 'd3-geo';...
demos/chips/demos/deletableContact.js
isogon/styled-mdl-website
import React from 'react' import { Chip } from 'styled-mdl' const avatarImg = 'https://getmdl.io/templates/dashboard/images/user.jpg' /* eslint-disable no-alert */ const demo = () => ( <Chip deletable contact={{ src: avatarImg }}> Deletable Contact Chip </Chip> ) const caption = 'Deletable Contact Chip' cons...
src/js/components/navigation/buttons/ChangeSeat.js
csepreghy/VR-Cinema-Website-with-React.js
import {Entity, Animation} from 'aframe-react'; import React from 'react'; export default class ChangeSeat extends React.Component { opacity = { x: 0 }; navTextOpacity = { x: 0 }; constructor(props) { super(props); this.state = { opacity: { x: 0 }, navTextVisible: false }; this.fa...
client/components/toggle/index.js
Automattic/woocommerce-connect-client
/* eslint-disable react/no-danger */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import './style.scss'; import FormFieldset from 'components/forms/form-fieldset'; import FormLabel from 'components/forms/form-label'; imp...
server/server.js
kuguarpwnz/musix
import axios from 'axios'; import express from 'express'; import helmet from 'helmet'; import bodyParser from 'body-parser'; import morgan from 'morgan'; import compression from 'compression'; import hpp from 'hpp'; import passport from 'passport'; import { Strategy } from 'passport-vkontakte'; import session from 'exp...
src/client/main.js
sljuka/portfolio-este
import React from 'react'; import Router from 'react-router'; import routes from './routes'; const app = document.getElementById('app'); const appState = window._appState; Router.run(routes, Router.HistoryLocation, (Handler) => { React.render(<Handler initialState={appState} />, app); });
src/svg-icons/device/battery-charging-30.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging30 = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v9.17h2L13 7v5.5h2l-1.07 2H17V5.33C17 4.6 16.4 4 15.67 4z"/><path d="M11 20v-5.5H7...
consoles/my-joy-instances/src/components/instances/__tests__/snapshots.spec.js
yldio/joyent-portal
import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import { Table, TableTbody } from 'joyent-ui-toolkit'; import SnapshotList, { Item } from '../snapshots'; import Theme from '@mocks/theme'; it('renders <Item /> without throwing', () => { expect( renderer ...
ajax/libs/react-redux-form/1.0.2/ReactReduxForm.js
kennynaoh/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("redux"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","redux","react-dom"],t):"object"==typeof exports?exports.ReactReduxForm=t(require("react"),require("redux"),require("react-dom")...
src/MorningScreen.js
bjohn465/republia-times
import React from 'react' export default function MorningScreen({ onStartWork }) { const startWorkClickHandler = () => { onStartWork() } return ( <div> <header> <h1>The Republia Times</h1> <h2>Day 1</h2> </header> <main> <p>Welcome to The Republia Times. You are...
app/javascript/mastodon/components/admin/Counter.js
Ryanaka/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import api from 'mastodon/api'; import { FormattedNumber } from 'react-intl'; import { Sparklines, SparklinesCurve } from 'react-sparklines'; import classNames from 'classnames'; import Skeleton from 'mastodon/components/skeleton'; const percIncrease = (a,...
ajax/libs/angular-google-maps/1.1.3/angular-google-maps.js
gaearon/cdnjs
/*! angular-google-maps 1.1.3 2014-06-16 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
src/svg-icons/file/attachment.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileAttachment = (props) => ( <SvgIcon {...props}> <path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-....
blueprints/dumb/files/__test__/components/__name__.spec.js
griffsauce/SportsStats
import React from 'react' import <%= pascalEntityName %> from 'components/<%= pascalEntityName %>/<%= pascalEntityName %>' describe('(Component) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
ajax/libs/onsen/2.0.0-rc.14/js/onsenui.min.js
joeyparrish/cdnjs
"undefined"==typeof WeakMap&&!function(){var defineProperty=Object.defineProperty,counter=Date.now()%1e9,WeakMap=function(){this.name="__st"+(1e9*Math.random()>>>0)+(counter++ +"__")};WeakMap.prototype={set:function(key,value){var entry=key[this.name];return entry&&entry[0]===key?entry[1]=value:defineProperty(key,this....
react/IconSearch/IconSearch.iconSketch.js
seekinternational/seek-asia-style-guide
import React from 'react'; import IconSearch from './IconSearch'; export const symbols = { 'IconSearch': <IconSearch /> };
src/app/components/tracks-stats.js
pashist/soundcloud-like-player
import React from 'react'; import numscale from 'numscale'; export default class TrackStats extends React.Component { render() { if (!this.props.track) return null; let playback_count = this.props.track && this.props.track.playback_count || 0; let value = numscale.scale({value: playback_cou...
ajax/libs/forerunnerdb/1.3.33/fdb-legacy.min.js
extend1994/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/svg-icons/device/brightness-high.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBrightnessHigh = (props) => ( <SvgIcon {...props}> <path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 ...
src/scenes/begin-landing.js
jdpigeon/neurodoro
import React, { Component } from 'react'; import { Animated, StyleSheet, Text, View, Image, StatusBar } from 'react-native'; import{ Actions, }from 'react-native-router-flux'; import { MediaQueryStyleSheet } from 'react-native-responsive'; import * as colors from '../styles/colors'; // Components. For J...
views/main.js
williara/black-screen
import React from 'react'; import _ from 'lodash'; import Rx from 'rx'; import ApplicationView from './compiled/src/views/ApplicationView.js'; var keys = { goUp: event => (event.ctrlKey && event.keyCode === 80) || event.keyCode === 38, goDown: event => (event.ctrlKey && event.keyCode === 78) || event.keyCode ...
client/containers/Profile/index.js
abinavseelan/restobook
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import cn from 'classnames'; import styles from './index.scss'; import PostItem from '../../components/PostItem'; import { fetchPosts, refreshTimeStamps } from '../../actions/feedActions'; class P...
packages/mcs-lite-mobile-web/src/containers/Password/Password.js
MCS-Lite/mcs-lite
import PropTypes from 'prop-types'; import React from 'react'; import Input from 'mcs-lite-ui/lib/Input'; import Button from 'mcs-lite-ui/lib/Button'; import MobileFixedFooter from 'mcs-lite-ui/lib/MobileFixedFooter'; import MobileHeader from 'mcs-lite-ui/lib/MobileHeader'; import validators from 'mcs-lite-ui/lib/utils...
ajax/libs/jssip/0.6.21/jssip.js
aashish24/cdnjs
/* * JsSIP v0.6.21 * 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...
files/core-js/0.9.14/shim.js
dnbard/jsdelivr
/** * core-js 0.9.14 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js
treejames/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import AvatarItem from 'components/common/AvatarItem.react'; var ContactItem = React.createClass({ displayName: 'ContactItem', propTypes: { contact: React.PropTypes.object, onSelect: React.PropTypes.func }, mixins: [PureRende...
src/components/TextInputStyledComponents/TextInputStyledComponents.js
noumanberlas/prime-react
import React from 'react'; import PropTypes from 'prop-types'; import Label from '../Label'; import styled from 'styled-components'; /** Text input with integrated label to enforce consistency in layout, error display, label placement, and required field marker. */ function TextInput({htmlId, name, label, type = "text...
App/db/entities/content/Events/EventCategory.js
nthbr/mamasound.fr
/* * Copyright (c) 2017. Caipi Labs. All rights reserved. * * This File is part of Caipi. You can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. ...
src/server.js
dabrowski-adam/react-isomorphic
/** * 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 'babel-polyfill'; import path from 'path'; import e...
src/resources/jquery-1.11.3.min.js
dabeloper/crearp
/*! jQuery v1.11.3 | (c) 2005, 2015 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...
ajax/libs/react-dnd/10.0.0/cjs/hooks/internal/drop.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDropTargetMonitor=useDropTargetMonitor,exports.useDropHandler=useDropHandler;var _react=require("react"),_registration=require("../../common/registration"),_useDragDropManager=require("./useDragDropManager"),_TargetConnector=require("../../c...
tests/lib/rules/indent.js
dominicbarnes/eslint
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @copyright 2014 Dmitriy Shekhovtsov. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Requirements //-------------------------------------...
packages/material-ui-icons/src/KeyboardArrowLeftRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M14.71 15.88L10.83 12l3.88-3.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42z" /> , 'KeyboardArrowLeftRounded'...
src/components/pages/Admin/Orders/AdminOrdersSendEmail.js
ESTEBANMURUZABAL/my-ecommerce-template
/** * Imports */ import React from 'react'; import {FormattedMessage} from 'react-intl'; // Flux import IntlStore from '../../../../stores/Application/IntlStore'; // Required components import Button from '../../../common/buttons/Button'; import InputField from '../../../common/forms/InputField'; import Select from...
app/infra/route-manager.js
friend0/react_sensor_app
import FS from 'fs'; import express from 'express'; import React from 'react' import {renderToString} from 'react-dom/server'; import {match, RoutingContext} from 'react-router'; import baseManager from './base-manager'; import routes from '../routes/routes'; import mongoose from 'mongoose'; const bodyParser = requir...
src/decorators/withViewport.js
bbonny/movie-matching
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; // eslint-disable-line no-unused-vars import EventEmitter from 'eventemitter3'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; let EE; let viewport = {width: 1366, height: 768}; // Default si...
node_modules/native-base/src/smart/STabs/index.js
tausifmuzaffar/bisApp
import React, { Component } from 'react'; import { View, Animated, Dimensions, ScrollView, Platform, ViewPagerAndroid } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../../Utils/mapPropsToStyleNames'; import { TabBar } from './TabBar'; class STabs extends Compone...
test/PositionSpec.js
johanneshilden/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Position from '../src/Position'; describe('Position', function () { it('Should output a child', function () { let instance = ReactTestUtils.renderIntoDocument( <Position> <span>Text</span> </Position> ...
examples/ToolTip.js
rma-consulting/react-easy-chart
import React from 'react'; import PropTypes from 'prop-types'; import { Style } from 'radium'; const toolTipStyles = { '.tooltip': { border: 'solid silver 1px', position: 'fixed', backgroundColor: 'white', borderRadius: '4px', padding: '10px' } }; const ToolTip = (props) => ( <div className=...
showcase/plot/clustered-stacked-bar-chart.js
Apercu/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...
src/Col.js
thealjey/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import styleMaps from './styleMaps'; import CustomPropTypes from './utils/CustomPropTypes'; const Col = React.createClass({ propTypes: { /** * The number of columns you wish to span * * for Extra small devices Phones (<768px) * ...
packages/material-ui-icons/src/ExpandLessOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" /></React.Fragment> , 'ExpandLessOutlined');
jssource/src_files/include/javascript/yui3/build/simpleyui/simpleyui.js
leonardobarrientosc/SuiteCRM
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.3.0 build: 3167 */ /** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, a...
resources/assets/js/common/components/Alert.js
vestd/ProcessMonitor
import React from 'react'; import {FormattedDate, injectIntl} from 'react-intl'; const Alert = ({message, type}) => { if (!message) { return (<span />) } return ( <div className={ 'alert alert-' + type }>{ message }</div> ) } //Inject the internationalisation data into the componen...
ajax/libs/forerunnerdb/1.2.13/fdb-legacy.min.js
seogi1004/cdnjs
!function(C){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=C();else if("function"==typeof define&&define.amd)define([],C);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self);f.ForerunnerDB=C()}}(function(){return function f(m,h,c...
examples-react/app/components/dashboard/Button.js
zcoding/dashboard
import React from 'react' import ClassNames from 'classnames' export default class Button extends React.Component { constructor(props) { super(props) } render() { let classnames = ClassNames('btn', `btn-${this.props.color}`, {'radius': this.props.radius}, {'round': this.props.round}, {'float': this.pro...
libs/ext-4.2.2/docs/guides/testing_controllers/README.js
CCAFS/CCAFS-Climate
Ext.data.JsonP.testing_controllers({"title":"Unit testing MVC Controllers","guide":"<h1>Unit testing MVC Controllers</h1>\n<div class='toc'>\n<p><strong>Contents</strong></p>\n<ol>\n<li><a href='#!/guide/testing_controllers-section-1'>Overview</a></li>\n<li><a href='#!/guide/testing_controllers-section-2'>Testing refs<...
src/svg-icons/av/shuffle.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvShuffle = (props) => ( <SvgIcon {...props}> <path d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2....
packages/material-ui-icons/src/ThreeSixty.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 7C6.48 7 2 9.24 2 12c0 2.24 2.94 4.13 7 4.77V20l4-4-4-4v2.73c-3.15-.56-5-1.9-5-2.73 0-1.06 3.04-3 8-3s8 1.94 8 3c0 .73-1.46 1.89-4 2.53v2.05c3.53-.77 6-2.53 6-4.58 0-2.76-4.48-5-10...
src/components/Header/HeaderHome/BigMenu/BigMenu.js
pustovitDmytro/maysternya
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './BigMenu.css'; import cx from 'classnames'; import logoUrl from './logo.png'; import Link from './../../../Link'; import Phone from './../../../Phone'; class BigMenu extends React.Component { render() { ...
modules/Router.js
djkirby/react-router
import invariant from 'invariant' import React from 'react' import createTransitionManager from './createTransitionManager' import { routes } from './InternalPropTypes' import RouterContext from './RouterContext' import { createRoutes } from './RouteUtils' import { createRouterObject, assignRouterState } from './Route...
node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-regenerator/node_modules/babel-runtime/node_modules/core-js/client/library.js
jnui/json-ld-generator
/** * core-js 1.2.6 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
src/components/GameOverview/GameOverview.js
daviddelusenet/reactjs-stat-tracker
import React from 'react'; import './GameOverview.scss'; class GameOverview extends React.Component { render() { return( <div styleName="GameOverview"> <table styleName="GameOverview__table"> <thead styleName="GameOverview__thead"> <tr styleName="GameOverview__table-row"> ...
src/components/Home/PopularPlaylistContainer.js
neyko5/BalistosNative
import React from 'react'; import PropTypes from 'prop-types'; import {ScrollView, StyleSheet } from 'react-native'; import { connect } from 'react-redux'; import PopularPlaylist from './PopularPlaylist'; import { fetchPopularPlaylists } from '../../actions'; function mapStateToProps(state) { return { playlists:...
dispatch/static/manager/src/js/actions/EventsActions.js
ubyssey/dispatch
import { push } from 'react-router-redux' import * as types from '../constants/ActionTypes' import { eventSchema } from '../constants/Schemas' import DispatchAPI from '../api/dispatch' import { ResourceActions } from '../util/redux' class EventsActions extends ResourceActions { search(query) { let queryObj =...
docs/src/pages/premium-themes/instapaper/components/atoms/Typography.js
Kagami/material-ui
import React from 'react'; import cx from 'classnames'; import MuiTypography from '@material-ui/core/Typography'; import { TEXT } from '../../theme/core'; const Typography = ({ className, bold, link, linkInverted, icon, inverted, indented, light, lightWeight, ...props }) => ( <MuiTypography c...
src/svg-icons/action/record-voice-over.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRecordVoiceOver = (props) => ( <SvgIcon {...props}> <circle cx="9" cy="9" r="4"/><path d="M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2....
app/containers/LanguageProvider/index.js
IntAlert/chatplayer
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
ajax/libs/rita/2.0.16/rita-web-nolex.js
cdnjs/cdnjs
var RiTa=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStri...