path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/parser/deathknight/frost/modules/features/HardHowlingBlastCasts.js | FaideWW/WoWAnalyzer | import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import Enemies from 'parser/shared/modules/Enemies';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import AbilityTracker from 'parser/shared/modules/AbilityTracker';
import StatisticBox, { STATISTIC_ORDER } from 'int... |
ajax/libs/jquery-tools/1.2.6/jquery.tools.min.js | lookfirst/cdnjs | /*!
* jQuery Tools v1.2.6 - The missing UI library for the Web
*
* overlay/overlay.js
* scrollable/scrollable.js
* tabs/tabs.js
* tooltip/tooltip.js
*
* NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
*
* http://flowplayer.org/tools/
*
*/
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
... |
website/core/Prism.js | akkhil7/relay | /**
* @providesModule Prism
*/
var React = require('React');
var unindent = require('unindent');
/* http://prismjs.com/download.html?themes=prism&languages=markup+clike+javascript+jsx */
/**
* Prism: Lightweight, robust, elegant syntax highlighting
* MIT license http://www.opensource.org/licenses/mit-license.php/
... |
src/app/utils/routes.js | kresimircoko/empathy | import React from 'react';
import { BrowserRouter, Route } from 'react-router-dom';
import Home from '../components/Home/Home';
import About from '../components/About/About';
import Apply from '../components/Apply/Apply';
import Raiding from '../components/Raiding/Raiding';
import Resources from '../components/Resourc... |
src/render/react-rnd/react-resizable-box.js | kura52/sushi-browser | import React, { Component } from 'react';
import isEqual from 'lodash.isequal';
import Resizer from './resizer';
const userSelectNone = {
userSelect: 'none',
MozUserSelect: 'none',
WebkitUserSelect: 'none',
MsUserSelect: 'none'
};
const userSelectAuto = {
userSelect: 'auto',
MozUserSelect: 'auto',
Webki... |
ajax/libs/yui/3.0.0/loader/loader.js | cbas/cdnjs | YUI.add('loader', function(Y) {
(function() {
/**
* Loader dynamically loads script and css files. It includes the dependency
* info for the version of the library in use, and will automatically pull in
* dependencies for the modules requested. It supports rollup files and will
* automatically use these when app... |
ajax/libs/thorax/2.2.1/thorax-combined.min.js | pzp1997/cdnjs | (function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ... |
ajax/libs/F2/1.2.1/f2.no-bootstrap.min.js | luanlmd/cdnjs | /*! F2 - v1.2.2 - 08-22-2013 - See below for copyright and license */
(function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*!
JSON.org requires the following notice to accompany json2:
Copyright (c) 2002 JSON.org
http://json.org
Permission is hereby granted, free of charge, to any person obta... |
src/px-branding-bar/px-predix-svg-logo.js | jonniespratley/px-components-react | import React from 'react';
export default ({height = 10}) =>(
<svg height={height} viewBox="0 0 82.13 13.24" className='px-predix-svg-logo'>
<polygon className="cls-1" points="31.08 0 31.08 13.24 42.44 13.24 42.44 10.88 33.92 10.88 33.92 7.79 41.02 7.79 41.02 5.43 33.92 5.43 33.92 2.37 42.44 2.37 42.44 0 31.08 0"><... |
ajax/libs/react/0.9.0/react.min.js | iros/cdnjs | /**
* React v0.9.0
*
* Copyright 2013-2014 Facebook, 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 appl... |
src/svg-icons/social/location-city.js | tan-jerene/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialLocationCity = (props) => (
<SvgIcon {...props}>
<path d="M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h... |
examples/tree-view/containers/Node.js | okmttdhr/redux-with-comment | import React from 'react'
import { Component } from 'react'
import { connect } from 'react-redux'
import * as actions from '../actions'
class Node extends Component {
constructor(props) {
super(props)
this.handleIncrementClick = this.handleIncrementClick.bind(this)
this.handleAddChildClick = this.handleA... |
files/react/0.12.0/JSXTransformer.js | siscia/jsdelivr | /**
* JSXTransformer v0.12.0
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}... |
definitions/npm/react-redux_v5.x.x/flow_v0.30.x-v0.52.x/test_Provider.js | mkscrg/flow-typed | // @flow
import React from 'react'
import { Provider } from 'react-redux'
// $ExpectError
<Provider />; // missing store
|
cf_spec/fixtures/cake_with_local_dependencies/Plugin/DebugKit/webroot/js/jquery.js | skeeso/php-buildpack | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
webapp/src/components/d3chart/renderers/choropleth-map.js | unicef/rhizome | import React from 'react'
import _ from 'lodash'
import d3 from 'd3'
import Layer from 'react-layer'
import Tooltip from 'components/Tooltip'
import legend from 'components/d3chart/renderers/legend'
class ChoroplethMapRenderer {
constructor (data, options, container) {
this.setMapParams(data, options, container)... |
app/javascript/mastodon/containers/mastodon.js | Ryanaka/mastodon | import React from 'react';
import { Provider } from 'react-redux';
import PropTypes from 'prop-types';
import configureStore from '../store/configureStore';
import { BrowserRouter, Route } from 'react-router-dom';
import { ScrollContext } from 'react-router-scroll-4';
import UI from '../features/ui';
import { fetchCust... |
node_modules/react-bootstrap/es/Grid.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 ... |
ajax/libs/swagger-ui/3.0.16/swagger-ui.js | BenjaminVanRyseghem/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-polyfill"),require("deep-extend"),require("redux"),require("immutable"),require("redux-immutable"),require("serialize-error"),require("base64-js"),require("ieee754"),require("isarray"),require("shallowequal"),require("xml")... |
src/svg-icons/image/timer-3.js | rscnt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageTimer3 = (props) => (
<SvgIcon {...props}>
<path d="M11.61 12.97c-.16-.24-.36-.46-.62-.65-.25-.19-.56-.35-.93-.48.3-.14.57-.3.8-.5.23-.2.42-.41.57-.64.15-.23.27-.46.34-.71.08-.24.11-.49.11-.73 0-.55-.09-1.... |
js/jquery.min.js | javon27/rsi_hackaton_2014 | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
ajax/libs/victory/0.5.1/victory.js | sufuf3/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Victory"] = factory... |
src/navigation/Navigator.js | sussol/mobile | /**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2020
*/
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { HeaderRight, FinaliseButton, BackButton, MsupplyMan } from '../widgets';
import { navigationStyles } from '../globalStyles/navigationStyles';
import { RO... |
src/app/components/Loading.js | moimikey/react-boilerplate | import React from 'react'
import '!style!css!react-loading-bar/dist/index.css'
export default function Loading() {
return (
<div>
<span className="fa fa-cog fa-spin fa-3x fa-fw" />
<span className="sr-only" aria-hidden="true">Loading...</span>
</div>
)
}
|
docs/app/Examples/modules/Dropdown/Usage/DropdownExampleTriggerImage.js | clemensw/stardust | import faker from 'faker'
import React from 'react'
import { Dropdown, Image } from 'semantic-ui-react'
const trigger = (
<span>
<Image avatar src={faker.internet.avatar()} />
{faker.name.findName()}
</span>
)
const DropdownImageTriggerExample = () => (
<Dropdown trigger={trigger} pointing='top left' ic... |
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | brunolimadevelopment/brunolimadevelopment.github.io | 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'));
|
modules/dreamview/frontend/src/components/AudioCapture/index.js | msbeta/apollo | import React from 'react';
import { inject, observer } from "mobx-react";
import Recorder from "recorder-js";
import WS from "store/websocket";
// This component will record and send audio to backend in pieces of every
// 100ms, which could be used as voice command or oral log.
//
// Please note that Chrome has stric... |
src/screens/authorized/home/chat/ViewChat.js | anhtuank7c/simple-chat | import React, { Component } from 'react';
import { View, Text } from 'react-native';
class ViewContact extends Component {
render() {
return (
<View style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
}}>
... |
node_modules/rc-calendar/es/calendar/CalendarHeader.js | prodigalyijun/demo-by-antd | import React from 'react';
import createReactClass from 'create-react-class';
import PropTypes from 'prop-types';
import MonthPanel from '../month/MonthPanel';
import YearPanel from '../year/YearPanel';
import toFragment from 'rc-util/es/Children/mapSelf';
function goMonth(direction) {
var next = this.props.value.cl... |
ajax/libs/ember-data.js/0.0.14/ember-data.js | ColinEberhardt/cdnjs | // Version: v0.14
// Last commit: d9cd270 (2013-08-31 17:12:14 -0700)
(function() {
var define, requireModule;
(function() {
var registry = {}, seen = {};
define = function(name, deps, callback) {
registry[name] = { deps: deps, callback: callback };
};
requireModule = function(name) {
if (seen[name... |
src/components/slider/slides/slide/section/Section.js | yajiex/douban-Annual | import React from 'react';
import Candidates from './candidates/Candidates';
import Content from './content/Content';
import People from './people/People';
import './Section.css';
export default class Section extends React.Component {
shouldComponentUpdate() {
return false;
}
render() {
const innerConte... |
ajax/libs/rxjs/2.3.22/rx.js | akiran/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 | FuYaoDe/30-days-of-react-native | import React from 'react';
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import Router from './containers/Router';
import configureStore from './configureStore';
const store = configureStore();
const RNBoilerplate = () => (
<Provider store={store}>
<Router />
</Provider>
... |
app/scripts/components/node-details/node-details-property-list.js | hustbill/autorender-js | import React from 'react';
import { Map as makeMap } from 'immutable';
import sortBy from 'lodash/sortBy';
import { NODE_DETAILS_DATA_ROWS_DEFAULT_LIMIT } from '../../constants/limits';
import NodeDetailsControlButton from './node-details-control-button';
import MatchedText from '../matched-text';
import ShowMore from... |
ajax/libs/analytics.js/2.8.20/analytics.js | hanbyul-here/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){
/**
* Global
... |
client/src/components/student/StudentSearch.js | yegor-sytnyk/contoso-express | import React from 'react';
const StudentSearch = ({search, onChange, onKeyPress, onClick}) => {
let searchStyle = {marginTop: 10 + 'px'};
let inputStyle = {marginRight: 10 + 'px', marginLeft: 10 + 'px'};
return (
<div style={searchStyle}>
Find by name:
<input type="text"
... |
src/client/js/components/Pages.js | larbreapages/bookbuilder | import React from 'react';
import InputNumber from 'antd/lib/input-number';
import Row from 'antd/lib/row';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { choosePagesNumber } from '../actions/index';
const Pages = (props) => {
return (<Row>
<p className="title">... |
demo/src/demo-components/fetch-button.js | Strikersoft/striker-store | import React from 'react';
import { func, shape } from 'prop-types';
import { observer } from 'mobx-react';
const FetchButton = ({ onClick, isEmpty }) => (
<button onClick={onClick}>
{isEmpty.get() ? 'Fetch initially' : 'Refetch all'}
</button>
);
FetchButton.propTypes = {
onClick: func.isRequired,
isEmpt... |
src/svg-icons/maps/ev-station.js | barakmitz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsEvStation = (props) => (
<SvgIcon {...props}>
<path d="M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V... |
src/pure/MonthSelector.react.js | vlad-doru/react-native-calendar-datepicker | /**
* MonthSelector pure component.
* @flow
*/
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import {
LayoutAnimation,
TouchableHighlight,
View,
Text,
StyleSheet,
} from 'react-native';
import ViewPropTypes from '../util/ViewPropTypes';
// Component specific libraries.
import... |
test/components/button/index.spec.js | tanem/react-redux-playground | import { expect } from 'chai';
import React from 'react';
import ReactTestUtils from 'react-addons-test-utils';
import Button from '../../../src/components/button';
describe('button component', () => {
it('should render correctly', () => {
const shallowRenderer = ReactTestUtils.createRenderer();
const click... |
packages/material-ui-icons/src/DateRangeRounded.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="M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.... |
docs/src/app/components/pages/components/Table/ExampleSimple.js | IsenrichO/mui-with-arrows | import React from 'react';
import {
Table,
TableBody,
TableHeader,
TableHeaderColumn,
TableRow,
TableRowColumn,
} from 'material-ui/Table';
/**
* A simple table demonstrating the hierarchy of the `Table` component and its sub-components.
*/
const TableExampleSimple = () => (
<Table>
<TableHeader>
... |
src/components/Homepage.js | greena13/react-starter-kit | import React from 'react';
import ButtonContainer from '../containers/ButtonContainer';
const Homepage = () => {
return (
<div>
<ButtonContainer />
</div>
);
};
module.exports = Homepage;
|
src/modules/widget/Grid.js | lenxeon/react | 'use strict'
import React from 'react'
import classnames from 'classnames'
import getGrid from './higherorder/grid'
@getGrid
export default class Grid extends React.Component {
static displayName = 'Grid'
static propTypes = {
children: React.PropTypes.any,
className: React.PropTypes.string,
style: Re... |
ajax/libs/yasgui/1.2.1/yasgui.bundled.min.js | tonytomov/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
src/svg-icons/image/broken-image.js | mtsandeep/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageBrokenImage = (props) => (
<SvgIcon {...props}>
<path d="M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 ... |
app/components/result/ResultOpening.js | wp-wilsonperez/votos | import React from 'react';
import TableApp from './../common/TableApp';
class ResultOpening extends React.Component {
constructor(props) {
super(props);
let params= {
title: "RESULTADO OPENING VALOR MÁXIMO 10 Y 10%",
fields: [
{"title": "Candidata", "field": "_id", "field2":... |
Inspector/node_modules/react/lib/ReactClass.js | mtxs007/WebDriverAgent | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... |
ajax/libs/material-ui/5.0.0-alpha.24/GlobalStyles/GlobalStyles.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import{GlobalStyles as StyledEngineGlobalStyles}from"@material-ui/styled-engine";import defaultTheme from"../styles/defaultTheme";export default function GlobalStyles(e){return React.createElement(Styl... |
tests/client/admin/containers/TestApp.js | squarewave/addons-frontend | import config from 'config';
import React from 'react';
import cookie from 'react-cookie';
import { AppBase, mapDispatchToProps, mapStateToProps } from 'admin/containers/App';
import { shallowRender } from 'tests/client/helpers';
describe('App', () => {
it('renders its children', () => {
class MyComponent exten... |
src/main/js/codex/containers/PlayersScrollPanel.js | Bernardo-MG/dreadball-toolkit-webpage | import React from 'react';
import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { moveNextPage } from 'players/actions/players';
import { selectPlayers } from 'players/selectors';
import { selectCanLoadPlayer as selectCanLoad } from 'players/se... |
ajax/libs/yui/3.3.0pr2/simpleyui/simpleyui-debug.js | victorjonsson/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... |
lib/ButtonGroup/stories/ButtonGroup.stories.js | folio-org/stripes-components | import React from 'react';
import { storiesOf } from '@storybook/react';
import withReadme from 'storybook-readme/with-readme';
import Readme from '../readme.md';
import BasicUsage from './BasicUsage';
storiesOf('ButtonGroup', module)
.addDecorator(withReadme(Readme))
.add('Basic Usage', () => <BasicUsage />);
|
ajax/libs/yui/3.3.0/event/event-focus.js | contolini/cdnjs | YUI.add('event-focus', function(Y) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Event = Y.Event,
YLang = Y.Lang,
isString = YLang.isString,
useActivate = YLang.isFunction(
Y.DOM.create('<p onbeforeactivate="... |
ajax/libs/shariff/1.16.0/shariff.complete.js | ahocevar/cdnjs |
/*!
* shariff - v1.16.0 - 13.07.2015
* https://github.com/heiseonline/shariff
* Copyright (c) 2015 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
* Licensed under the MIT license
*/
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)... |
node_modules/history/DOMUtils.js | charmainetham/charmainetham.github.io | 'use strict';
exports.__esModule = true;
var canUseDOM = exports.canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
var addEventListener = exports.addEventListener = function addEventListener(node, event, listener) {
return node.addEventListener ? node.addEventListene... |
src/svg-icons/communication/portable-wifi-off.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationPortableWifiOff = (props) => (
<SvgIcon {...props}>
<path d="M17.56 14.24c.28-.69.44-1.45.44-2.24 0-3.31-2.69-6-6-6-.79 0-1.55.16-2.24.44l1.62 1.62c.2-.03.41-.06.62-.06 2.21 0 4 1.79 4 4 0 .21-.02.... |
src/svg-icons/action/done-all.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionDoneAll = (props) => (
<SvgIcon {...props}>
<path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.4... |
src/components/Forms/Signup.js | txwkx/book-room | import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { withRouter } from 'react-router';
import axios from 'axios';
import FormInput from './FormInput';
import Success from './Success';
class Signup extends Component {
state = {
success: false
}
handleSignup = (e) => {
... |
src/index.js | naulacambra/ReactBoilerplate | import React from 'react';
import { render } from 'react-dom';
import configureStore from './store/configureStore';
import { Root } from 'containers';
((window) => {
const store = configureStore();
let app = document.getElementById('react-view');
if (!app) {
app = document.createElement('div');
app.id =... |
src/index.js | Jguardado/ComponentBase | import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './app';
console.log('ok though, but still running though');
ReactDOM.render(
<App />,
document.getElementById('app')
);
|
src/AppBundle/Resources/public/backend/assets/plugins/jquery-datatable/media/js/jquery.js | luismiguens/parcelaja | /*! 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... |
src/components/BackgroundTimeline/index.js | puckey/dance-tonite | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
src/v0/demo/animation/index.js | huanganqi/wsapp |
import React, { Component } from 'react'
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated,
Image
} from 'react-native'
class wsapp extends Component {
constructor () {
super()
this.springValue = new Animated.Value(0.3)
}
spring () {
this.springValue.setValue(0.3)
Animated.sprin... |
docs/pineapple-modules/pineapple-core/js/apache-maven-fluido-1.3.0.min.js | athrane/pineapple | /*!
* jQuery JavaScript Library v1.8.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time)
*/
(function(... |
ajax/libs/material-ui/5.0.0-alpha.10/esm/DialogTitle/DialogTitle.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Typography from '../Typ... |
app/components/ErrorBoundary/__tests__/index-test.js | ModusCreateOrg/budgeting-sample-app-webpack2 | import React from 'react';
import renderer from 'react-test-renderer';
import ErrorBoundary from '..';
const FailingComponent = () => {
throw new Error('I crashed');
};
const WorkingComponent = () => <div>working</div>;
const FallbackComponent = () => <div>fallback</div>;
beforeAll(() => {
// A console.error is... |
sites/all/themes/zen/heifertheme/js/lb_plugins.min.js | mitrobkat/drupal | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function (e, t) {
function n(e) {
return H.isWindow(e) ? e : e.nodeType === 9 ? e.defaultView || e.parentWindow : !1
}
function r(e) {
if (!vn[e]) {
var t = _.body,
n = H("<" + e + ">").appendTo(t),
... |
docs/app/Examples/elements/Loader/Variations/LoaderInlineExample.js | jamiehill/stardust | import React from 'react'
import { Loader } from 'stardust'
const LoaderInlineExample = () => <Loader active inline />
export default LoaderInlineExample
|
ajax/libs/facebook-nodejs-business-sdk/6.0.4/es.min.js | cdnjs/cdnjs | import fs from"fs";import path from"path";var HTTP_STATUS={OK:"200",NOT_MODIFIED:"304"},_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},classCallCheck=functio... |
node_modules/react-bootstrap/es/Label.js | nikhil-ahuja/Express-React | 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-... |
app/containers/Root.js | ARMataTeam/ARMata | // @flow
import React from 'react';
import { Provider } from 'react-redux';
import { ConnectedRouter } from 'react-router-redux';
import Routes from '../routes'; // eslint-disable-line flowtype-errors/show-errors
type RootType = {
store: {},
history: {}
};
export default function Root({ store, history }: RootType... |
src/components/askBoard.js | melissa-c/Comms | 'use strict'
import React from 'react'
import ReactDOM from 'react-dom'
import ImgGallery from './imgGallery'
module.exports = class AskBoard extends React.Component {
constructor(props){
super(props)
}
render (){
return (
<div className="askBoard">
<div>I would like</div>
<div>
... |
webpack-test/src/index.js | jvdanker/react-test | import React from 'react';
import ReactDOM from 'react-dom';
import App from './app.js';
ReactDOM.render(<App/>, document.querySelector("#container"));
|
app/containers/FeaturePage/index.js | fenderface66/spotify-smart-playlists | /*
* FeaturePage
*
* List all the features
*/
import React from 'react';
import Helmet from 'react-helmet';
import { FormattedMessage } from 'react-intl';
import H1 from 'components/H1';
import messages from './messages';
import List from './List';
import ListItem from './ListItem';
import ListItemTitle from './Li... |
ajax/libs/highcharts/4.1.5/highcharts.src.js | WilliamRen/cdnjs | // ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.1.5 (2015-04-13)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear... |
examples/toggle-monitoring/index.js | zalmoxisus/remote-redux-devtools | import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';
const store = configureStore();
render(
<div id="container">
<Provider store={store}>
<App />
</Provider>
</... |
docs/app/Examples/modules/Popup/Variations/PopupExampleHideOnScroll.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Button, Popup } from 'semantic-ui-react'
const PopupExampleHideOnScroll = () => (
<div>
<Popup
trigger={<Button icon>Click me</Button>}
content='Hide the popup on any scroll event'
on='click'
hideOnScroll
/>
<Popup
trigger={<Button icon>Hov... |
example/index.android.js | jackuhan/react-native-viewpager-indicator | /**
* Created by hanjiahu on 2017/8/29.
* QQ:1196681436
* Weibo:http://www.weibo.com/u/1693069642
* email:jackuhan@gmail.com
* Welcome to pull request
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import appDemo from './appDemo'... |
src/svg-icons/editor/text-fields.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorTextFields = (props) => (
<SvgIcon {...props}>
<path d="M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z"/>
</SvgIcon>
);
EditorTextFields = pure(EditorTextFields);
EditorTextFields.displayName = 'Edi... |
src/index.js | ronstarcool/pf | /* eslint-disable import/default */
import React from 'react';
import {render} from 'react-dom';
import { Provider } from 'react-redux';
import { Router, browserHistory } from 'react-router';
import routes from './routes';
import configureStore from './store/configureStore';
require('./favicon.ico'); // Tell webpack t... |
client/src/containers/Layout.js | jeffersonsteelflex69/mytv | import React, { Component } from 'react';
import { connect } from 'react-redux';
import Layout from '../components/Layout';
import AWS from 'aws-sdk';
import { setAuthenticated, storeCognitoUser, storeCognitoUserAttribute, storeCognitoUserCredentials } from '../actions/app';
const mapDispatchToProps = (dispatch) => {
... |
app/js/components/SimpleButton.js | blockstack/blockstack-portal | import React from 'react'
import PropTypes from 'prop-types'
import { Link } from 'react-router'
import { Spinner } from '@components/ui/components/spinner'
export default class OldButton extends React.PureComponent {
static propTypes = {
type: PropTypes.oneOf([
'primary',
'secondary',
'tertiar... |
dist/vue-material.min.js | marcosmoura/vue-material | /*!
* vue-material v1.0.0-beta-10.2
* Made with <3 by marcosmoura 2018
* Released under the MIT License.
*/
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.VueMaterial=t(requir... |
node_modules/react-router/es6/IndexRedirect.js | tacrow/tacrow | import React from 'react';
import warning from './routerWarning';
import invariant from 'invariant';
import Redirect from './Redirect';
import { falsy } from './InternalPropTypes';
var _React$PropTypes = React.PropTypes;
var string = _React$PropTypes.string;
var object = _React$PropTypes.object;
/**
* An <IndexRedir... |
actor-apps/app-web/src/app/components/common/Favicon.react.js | Jaeandroid/actor-platform | import React from 'react';
export default class Fav extends React.Component {
static propTypes = {
path: React.PropTypes.string
}
constructor(props) {
super(props);
//// Create link element and it's attributes
//let favicon = document.createElement('link');
//let rel = document.createAttrib... |
packages/material-ui-icons/src/SimCardOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M18 2h-8L4 8v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 2v16H6V8.83L10.83 4H18z" /><path d="M7 17h2v2H7zM15 17h2v2h-2zM7 11h2v4H7... |
ajax/libs/react-slick/0.13.3/react-slick.min.js | cdnjs/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.Slider=t(require("react"),require("react-dom")):e.Slider=t(e.React,e.ReactDOM)}(this,function(e,... |
frontend/app/components/TagsList.js | orels1/Red-Portal | /**
* Created by antonorlov on 10/02/2017.
*/
import React from 'react';
import {Link} from 'react-router';
import Tags from './items/Tags';
class TagsList extends React.Component {
constructor(props) {
super(props);
// We are getting state from our store
// And listen to any changes to ... |
ajax/libs/react-toolbox/2.0.0-beta.10/list/ListItemLayout.min.js | cdnjs/cdnjs | "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ListItemLayout=exports.listItemLayoutFactory=void 0;var _react=require("react"),_react2=_interopRequireDefault(_react),_propTypes=require("prop-types"),_propTypes2=_interopRequireDefault(_propTypes),_classnames2=require("classnames"),_classname... |
renderer/components/Onboarding/Steps/Name.js | LN-Zap/zap-desktop | import React from 'react'
import PropTypes from 'prop-types'
import { FormattedMessage, injectIntl } from 'react-intl'
import { Box } from 'rebass/styled-components'
import { intlShape } from '@zap/i18n'
import { Bar, Header } from 'components/UI'
import { Form, Input } from 'components/Form'
import messages from './me... |
src/svg-icons/content/reply.js | hai-cea/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentReply = (props) => (
<SvgIcon {...props}>
<path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/>
</SvgIcon>
);
ContentReply = pure(ContentReply);
ContentReply.displayName = 'ContentReply'... |
ajax/libs/jquery-ui-bootstrap/0.5pre/assets/js/jquery-1.8.3.min.js | sufuf3/cdnjs | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===... |
lib/Supra/Package/Cms/Resources/public/yui.3.5.0/build/event-focus/event-focus-min.js | sitesupra/sitesupra | /*
YUI 3.5.0 (build 5089)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("event-focus",function(f){var d=f.Event,c=f.Lang,a=c.isString,e=f.Array.indexOf,b=c.isFunction(f.DOM.create('<p onbeforeactivate=";"/>').onbeforeactivate);function g(i,h,k)... |
js/controls/LayersControl.js | mekto/brouter-online | import Leaflet from 'leaflet';
import React from 'react';
import cs from 'classnames';
import Control from './Control';
import Google from '../utils/Google.js';
import config from '../../config.js';
var copyrights = {
OSM: '© <a href="http://openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributor... |
time-on-task/App.js | ajaymore/time-on-task | import 'rxjs';
import React, { Component } from 'react';
import { Platform, StyleSheet, Text, View } from 'react-native';
import {
ApolloClient,
createNetworkInterface,
ApolloProvider
} from 'react-apollo';
import moment from 'moment';
import extend from 'lodash/extend';
import configureStore from './app/configur... |
src/modules/utils/Info_Icon.ios.js | AcademyPgh/Y1S2-ReplayFX-Schedule | import React from 'react';
import Ionicons from 'react-native-vector-icons/Ionicons';
import styles, {stylechoice} from '../helloworld/StyleSheet';
const Info_Icon = () => {
return (<Ionicons style={styles.infoIcon} name= 'ios-information' size={36}
color= {stylechoice.accentcolor} paddingTop= {3} paddingBottom=... |
.config/chromium/Default/Extensions/ffhkkpnppgnfaobgihpdblnhmmbodake/1.8.6_0/js/jquery.min.js | JFonS/tmp | /*! jQuery v1.7.1 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBord... |
examples/immutable/src/index.js | supasate/connected-react-router | import { AppContainer } from 'react-hot-loader'
import { Provider } from 'react-redux'
import Immutable from 'immutable'
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
import configureStore, { history } from './configureStore'
const initialState = Immutable.Map()
const store = confi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.