path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/main/js/views/containers/SidebarView.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 Box from 'grommet/components/Box'; import Button from 'grommet/components/Button'; import Header from 'grommet/components/Header'; import Split from 'grommet/compon...
node_modules/recharts/demo/component/CartesianAxis.js
SerendpityZOEY/Solr-Search-React-UI
import React from 'react'; import { Surface, CartesianAxis } from 'recharts'; export default React.createClass({ render () { let ticks = [ { value: 10, coord: 50 }, { value: 1000, coord: 100 }, { value: 20, coord: 150 }, { value: 40, coord: 200 }, { value: 90, coord: 250 } ]; ...
src/config/ControllerUnit.js
EasonAndLily/ImagesManager
'use strict'; require('normalize.css/normalize.css'); require('styles/App.css'); require('styles/iconfont.css'); import React from 'react'; class ControllerUnit extends React.Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); } handleClick(e) {...
src/utils/prop-types.js
tyfoo/material-ui
import React from 'react'; const horizontal = React.PropTypes.oneOf(['left', 'middle', 'right']); const vertical = React.PropTypes.oneOf(['top', 'center', 'bottom']); export default { corners: React.PropTypes.oneOf([ 'bottom-left', 'bottom-right', 'top-left', 'top-right', ]), horizontal: horiz...
client/app/scripts/components/metric-selector-item.js
paulbellamy/scope
import React from 'react'; import classNames from 'classnames'; import { connect } from 'react-redux'; import { selectMetric, pinMetric, unpinMetric } from '../actions/app-actions'; import { pinnedMetricSelector } from '../selectors/node-metric'; class MetricSelectorItem extends React.Component { constructor(props...
ajax/libs/ngOfficeUiFabric/0.12.11/ngOfficeUiFabric.js
sashberd/cdnjs
/*! * ngOfficeUIFabric * http://ngofficeuifabric.com * Angular 1.x directives for Microsoft's Office UI Fabric * https://angularjs.org & https://dev.office.com/fabric * v0.12.11 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.e...
app/javascript/mastodon/features/compose/containers/sensitive_button_container.js
imas/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { changeComposeSensitivity } from 'mastodon/actions/compose'; import { injectIntl, defineMessages, FormattedMessage } from 'react-intl'; const messages = defineMessages({ ...
js/jquery-1.9.1.min.js
acesoc/acesoc.github.io
/*! 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...
components/frontend/src/metric/MetricParameters.js
ICTU/quality-time
import React, { useContext } from 'react'; import { Grid, Header } from 'semantic-ui-react'; import { Icon, Popup } from '../semantic_ui_react_wrappers'; import { MultipleChoiceInput } from '../fields/MultipleChoiceInput'; import { StringInput } from '../fields/StringInput'; import { SingleChoiceInput } from '../fields...
src/views/SiteState/SiteList.js
GovReady/GovReady-Agent-Client
import React, { Component } from 'react'; import { PropTypes as PT } from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { default as config } from 'config'; import { actions, SITE_LOADED } from 'redux/modules/siteReducer'; import LogoutLink from 'component...
fields/types/password/PasswordField.js
creynders/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput, InputGroup } from 'elemental'; module.exports = Field.create({ displayName: 'PasswordField', statics: { type: 'Password', }, getInitialState () { return { passwordIsSet: this.props.value ? true : false, showChangeUI: t...
client/modules/App/__tests__/App.spec.js
Parinaaz/TempApplication17
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { shallow, mount } from 'enzyme'; import { App } from '../App'; import styles from '../App.css'; import { intlShape } from 'react-intl'; import { intl } from '../../../util/react-intl-test-helper'; import { toggleAddPost } from '../App...
examples/huge-apps/routes/Course/routes/Announcements/components/Announcements.js
tmbtech/react-router
import React from 'react'; class Announcements extends React.Component { render () { return ( <div> <h3>Announcements</h3> {this.props.children || <p>Choose an announcement from the sidebar.</p>} </div> ); } } export default Announcements;
client/app/scripts/components/sparkline.js
paulbellamy/scope
// Forked from: https://github.com/KyleAMathews/react-sparkline at commit a9d7c5203d8f240938b9f2288287aaf0478df013 import React from 'react'; import { min as d3Min, max as d3Max, mean as d3Mean } from 'd3-array'; import { isoParse as parseDate } from 'd3-time-format'; import { line, curveLinear } from 'd3-shape'; impor...
src/parser/shared/modules/spells/bfa/azeritetraits/BloodRite.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import { calculateAzeriteEffects } from 'common/stats'; import Analyzer from 'parser/core/Analyzer'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import StatTrack...
static/src/components/Nav.js
cas-x/cas-server
/** * @Author: BingWu Yang <detailyang> * @Date: 2016-03-14T10:30:11+08:00 * @Email: detailyang@gmail.com * @Last modified by: detailyang * @Last modified time: 2016-04-21T00:42:57+08:00 * @License: The MIT License (MIT) */ import React from 'react'; import { Link } from 'react-router'; import { Menu } from 'ant...
js/zxcvbn.js
WWXD/WorldWeb-XD
(function(){var w,o,r,x,J,K,L,M,N,O,P,Q,y,q,z,R,S,T,U,V,W;P=function(b){var a,d;d=[];for(a in b)d.push(a);return 0===d.length};y=function(b,a){return b.push.apply(b,a)};V=function(b,a){var d,c,e,f,g;f=b.split("");g=[];c=0;for(e=f.length;c<e;c++)d=f[c],g.push(a[d]||d);return g.join("")};R=function(b){var a,d,c,e;d=[];c=...
fields/types/datetime/DatetimeField.js
Pop-Code/keystone
import DateInput from '../../components/DateInput'; import Field from '../Field'; import moment from 'moment'; import React from 'react'; import { Button, FormField, FormInput, FormNote, InlineGroup as Group, InlineGroupSection as Section, } from '../../../admin/client/App/elemental'; module.exports = Field.crea...
test/client/app/components/pages/authorize/test-authorize.js
LINKIWI/apache-auth
/* global window */ import jsdom from 'jsdom'; import {mount} from 'enzyme'; import React from 'react'; import request from 'browser-request'; import sinon from 'sinon'; import test from 'tape'; import authStatus from '../../../../../../src/client/app/util/auth-status'; import browser from '../../../../../../src/clie...
ajax/libs/onsen/1.2.0/js/onsenui.js
itvsai/cdnjs
/*! onsenui - v1.2.0 - 2014-11-10 */ /* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. */ // Inspired by base2 and Prototype (function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; // The base Class implementation (does nothing) thi...
app/react/components/project/ProjectList.js
NikaBuligini/whistleblower-server
// @flow import React from 'react'; import ProjectCard from '../../components/project/ProjectCard'; import type { Project } from '../../actions/types'; type ProjectListProps = { data: Array<Edge<Project>>, }; const ProjectList = ({ data }: ProjectListProps) => ( <div className="list"> {data.map(({ node }) =>...
src/pages/Introduction.js
marktani/react-native-express-1
import React, { Component } from 'react' import { Link } from 'react-router' import markdown from 'markdown-in-js' import markdownOptions from '../utils/MarkdownOptions' import Page from './Page' import styles from '../styles' import { WebPlayer, GithubCorner, PageHeader } from '../components' const code = `/** * Sa...
app/javascript/mastodon/features/lists/index.js
Ryanaka/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import LoadingIndicator from '../../components/loading_indicator'; import Column from '../ui/components/column'; import ColumnBackButtonSlim from '../../compo...
ajax/libs/6to5/3.3.4/browser.js
perfect-pixell/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
Components/Spacing.ios.js
colm2/mizen
import React, { Component } from 'react'; import { View, StatusBar } from 'react-native'; import StatusBarSizeIOS from 'react-native-status-bar-size'; export class Spacing extends Component { // create an element to occupy the space at the top of the screen // where the IOS status bar is located constructor(pr...
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-overlays/0.7.0/lib/Position.js
Akkuma/npm-cache-benchmark
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
src/component/UrlDialog.js
bertrandmartel/caipy-dashboard
/* eslint-disable flowtype/require-valid-file-annotation */ import React, { Component } from 'react'; import Button from 'material-ui/Button'; import Dialog, { DialogActions, DialogContent, DialogContentText, DialogTitle, } from 'material-ui/Dialog'; import PropTypes from 'prop-types'; import { withSty...
src/svg-icons/action/gif.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionGif = (props) => ( <SvgIcon {...props}> <path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"/> </Svg...
src/main.js
Mayanka-Sheoran/fun-ipl-statistics
import React from 'react' import ReactDOM from 'react-dom' import createBrowserHistory from 'history/lib/createHashHistory' import { useRouterHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import createStore from './redux/createStore' import AppContainer from './containers/AppCo...
ajax/libs/forerunnerdb/1.3.462/fdb-core.js
jonobr1/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/rxjs/2.2.10/rx.compat.js
hibrahimsafak/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, 'u...
src/components/EventsWrapper.js
lhew/manguezal-test
import React, {Component} from 'react' export default class EventsWrapper extends Component{ render(){ return ( <iframe src="https://calendar.google.com/calendar/embed?mode=AGENDA&amp;height=250&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=7637pm8icc5fhidvd4gdfhh138%40group.calendar.google.com&amp;...
ajax/libs/angular.js/1.0.0rc8/angular-scenario.js
arasmussen/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
app/javascript/mastodon/features/report/components/status_check_box.js
Chronister/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Toggle from 'react-toggle'; import noop from 'lodash/noop'; import StatusContent from '../../../components/status_content'; import { MediaGallery, Video } from '../../ui/util/async-component...
ajax/libs/rxjs/2.3.5/rx.all.compat.js
rigdern/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...
js/App/Components/Events/EventsContainer.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
app/javascript/mastodon/components/dropdown_menu.js
res-ac/mstdn.res.ac
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import IconButton from './icon_button'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; imp...
packages/react-devtools-shared/src/hooks/__tests__/__source__/__compiled__/inline/fb-sources-extended/ToDoList.js
yungsters/react
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListItem = ListItem; exports.List = List; var React = _interopRequireWildcard(require("react")); var _jsxFileName = ""; function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap...
ajax/libs/react-data-grid/0.14.10/react-data-grid-with-addons.min.js
tonytomov/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.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
src/js/components/picker.js
alexzherdev/foosballtracker
import React from 'react'; import { array, func, string, bool } from 'prop-types'; import _ from 'lodash'; export default class Picker extends React.Component { static propTypes = { items: array.isRequired, onItemSelect: func.isRequired, placeholder: string, className: string, getItemLabel: func...
src/components/ActionButton/ActionButton.js
austinknight/ui-components
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import _ from 'lodash'; import Icons from '../icons'; import { colors, boxShadows, ifThemeInPropsIsPresentUse, renderThemeKeyOrDefaultValue, renderThemeIfPresentOrDefault, } from '../styles'; const Button ...
examples/todomvc/containers/Root.js
eraviart/redux
import React, { Component } from 'react'; import TodoApp from './TodoApp'; import { createStore } from 'redux'; import { Provider } from 'react-redux'; import rootReducer from '../reducers'; const store = createStore(rootReducer); export default class Root extends Component { render() { return ( <Provider...
app/components/layout/Navigation/navigation-button.js
fotinakis/buildkite-frontend
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { Link } from 'react-router'; export default class NavigationButton extends React.PureComponent { static displayName = "Navigation.NavigationButton"; static propTypes = { style: PropTypes.object, cla...
src/main/webapp/js/jquery-1.10.2.min.js
Applus/Gui
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.ini...
src/routes/workTeam/index.js
nambawan/g-old
import React from 'react'; import Layout from '../../components/Layout'; import { loadWorkTeam } from '../../actions/workTeam'; import WorkTeamContainer from './WorkTeamContainer'; import { getSessionUser } from '../../reducers'; import { canAccess } from '../../organization'; const title = 'Workteam'; async function...
src/clincoded/static/components/inputs/file.js
ClinGen/clincoded
'use strict'; import React, { Component } from 'react'; import createReactClass from 'create-react-class'; var FileInput = module.exports.FileInput = createReactClass({ getInitialState: function() { return { value: this.props.value || {}, }; }, componentWillReceiveProps: funct...
shared/tests/components.spec.js
nosu/chosei-kun
import expect from 'expect'; import TestUtils from 'react-addons-test-utils'; import PostListItem from '../components/PostListItem/PostListItem'; import PostCreateView from '../components/PostCreateView/PostCreateView'; import React from 'react'; import expectJSX from 'expect-jsx'; import { Link } from 'react-router'; ...
webpack/scenes/ModuleStreams/ModuleStreamsPage.js
pmoravec/katello
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import qs from 'query-string'; import { translate as __ } from 'foremanReact/common/I18n'; import { orgId } from '../../services/api'; import TableSchema from '../ModuleStreams/ModuleStreamsTableSchema'; import ContentPage from '../../compone...
app/javascript/mastodon/features/hashtag_timeline/index.js
mstdn-jp/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import { expandHashtagTimeline } from '...
node_modules/babel-preset-es2015/node_modules/babel-plugin-check-es2015-constants/node_modules/babel-runtime/node_modules/core-js/client/shim.js
Maqnai2234/alexei-ghost
/** * 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...
ajax/libs/yui/3.4.1/yui/yui.js
pvnr0082t/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 namespac...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
jimmytan/angular2study
import React from 'react'; // 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'; React.render(<HelloWorld />, document.getElementById('react-root'));
src/components/TripSearch/TripSearch.js
veskoy/ridiko
import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './TripSearch.css'; class TripSearch extends React.Component { static propTypes = { dateStarted: PropTypes.string.isRequired, dateDropped: PropTypes.string, desti...
internals/templates/languageProvider/languageProvider.js
adoveil/max
/* * * 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/angular.js/0.9.11/angular-scenario.min.js
masahirotanaka/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. ...
client/src/components/Donation/DonateFormChildViewForHOC.js
jonathanihm/freeCodeCamp
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import isEmail from 'validator/lib/isEmail'; import { Button, ControlLabel, Form, FormControl, FormGroup, Alert } from '@freecodecamp/react-bootstra...
pootle/static/js/admin/components/Project/ProjectForm.js
claudep/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import FormElement from 'compo...
test/jquery/jquery-1.10.1.min.js
mctep/fotorama
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/screens/debt/debtPopup/debtPopup.js
Barylskyigb/simple-debts-react-native
import React, { Component } from 'react'; import { View, TextInput } from 'react-native'; import PropTypes from 'prop-types'; import styles from './debtPopup.styles'; import ButtonDeprecated from '../../../components/Button/ButtonDeprecated'; import Popup from '../../../components/Popup/Popup'; export default class De...
src/components/Navbar/Navbar.js
jrylander/nodetut
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * 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'; // eslint-disable-line no-unused-vars class Navbar { rende...
packages/material-ui-icons/src/FormatUnderlinedOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z" /> , 'FormatUnderlinedOutlined');
src/components/UnitView/UnitView.js
fkn/ndo
import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import * as HtmlToReact from 'html-to-react'; import * as PI from './instructions'; import s from './UnitView.css'; const htmlToReactParser = new HtmlToReact.Parser();...
jep-heroes/wp/wp-content/plugins/simple-job-board/public/js/intlTelInput.js
jep-heroes/wp
/* International Telephone Input v7.0.0 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($...
blueocean-material-icons/src/js/components/svg-icons/device/access-alarms.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceAccessAlarms = (props) => ( <SvgIcon {...props}> <path d="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7...
ajax/libs/reactive-coffee/0.0.6/reactive-coffee.min.js
davidbau/cdnjs
(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,ab,bb,cb,db,eb,fb=[].slice,gb={}.hasOwnProperty,hb=function(a,b){function c(){this.constructor=a}for(var d in b)gb.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b...
src/js/containers/Root.js
JJVvV/launchr
/** * Created by Administrator on 2015/7/10. */ import React, { PropTypes } from 'react'; import { Redirect, Router, Route , Navigation} from 'react-router'; import { Provider } from 'react-redux'; import RouterContainer from '../services/routerContainer.js'; import Application from '../components/Application.js' ...
docs/src/examples/collections/Menu/Content/MenuExampleInputs.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Input, Menu } from 'semantic-ui-react' const MenuExampleInputs = () => ( <Menu> <Menu.Item> <Input className='icon' icon='search' placeholder='Search...' /> </Menu.Item> <Menu.Item position='right'> <Input action={{ type: 'submit', content: 'Go' }} ...
.storybook/config.js
jomivega/ASE4156
import {configure} from '@storybook/react'; import {addDecorator} from '@storybook/react'; import {withKnobs, number, text,} from '@storybook/addon-knobs'; import React from 'react'; import i18nEn from '../web/i18n/en'; import {I18nextProvider} from 'react-i18next'; const i18nDecorator = children => <I18nextProvider i...
actor-apps/app-web/src/app/components/activity/ActivityHeader.react.js
supertanglang/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; @ReactMixin.decorate(PureRenderMixin) class ActivityHeader extends React.Component { static propTypes = { close: React.PropTypes.func, title: React.PropTypes.stri...
app/javascript/mastodon/components/intersection_observer_article.js
pinfort/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import scheduleIdleTask from '../features/ui/util/schedule_idle_task'; import getRectFromEntry from '../features/ui/util/get_rect_from_entry'; // Diff these props in the "unrendered" state const updateOnPropsForUnrendered = ['id', 'index', 'listLength', 'c...
ajax/libs/formsy-react/0.15.0/formsy-react.js
cdnjs/cdnjs
!function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(require("react")):"function"==typeof define&&define.amd?define(["react"],i):"object"==typeof exports?exports.Formsy=i(require("react")):t.Formsy=i(t.react)}(this,function(t){return function(t){function i(r){if(e[r])return e[r].exports;var...
src/frontend/src/components/GMRunAnalysisDialog.js
blengerich/GenAMap
import React from 'react' import Dialog from 'material-ui/Dialog' import FlatButton from 'material-ui/FlatButton' import SelectField from 'material-ui/SelectField' import MenuItem from 'material-ui/MenuItem' import TextField from 'material-ui/TextField' import GMAlgorithmCard from './GMAlgorithmCard' import GMFileInpu...
src/media/js/site/containers/login.js
ngokevin/marketplace-content-tools
import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {fxaLoginBegin, login} from '../actions/login'; import {LoginButton} from '../components/login'; export class Login extends React.Component { static contextTypes = { store: React.PropTypes.object ...
libs/ui-router-master/lib/angular-1.0.8/angular-scenario.js
thiagoaslima/fatoresApp
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
frontend/components/modals/promoteModal.js
mgi166/usi-front
import React, { Component } from 'react'; import Dialog from 'material-ui/lib/dialog'; import FlatButton from 'material-ui/lib/flat-button'; import RaisedButton from 'material-ui/lib/raised-button'; // NOTE: For emit `onTouchTap` event. import injectTapEventPlugin from 'react-tap-event-plugin'; injectTapEventPlugin();...
client/src/index.js
coletiv/fonixchat
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
ajax/libs/react/0.14.0-alpha3/react-with-addons.min.js
iamJoeTaylor/cdnjs
/** * React (with addons) v0.14.0-alpha3 * * 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 t...
ajax/libs/vue/1.0.27-csp/vue.js
extend1994/cdnjs
/*! * Vue.js v1.0.27-csp * (c) 2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function...
js/vender/jquery.js
syoichi/jser.info
/*! * 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 ) { // Can't do t...
index.ios.js
lucianomlima/react-native-fbsdk-android-example
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, TouchableHighlight, View } from 'react-native'; import ImagePicker from 'react-native-image-picker'; import { ShareDialog } from 'rea...
web/src/js/__tests__/components/ContentView/ShowFullContentButtonSpec.js
zlorb/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import { Provider } from 'react-redux' import ConnectedComponent, { ShowFullContentButton } from '../../../components/ContentView/ShowFullContentButton' import { TStore } from '../../ducks/tutils' describe('ShowFullContentButton Component', () => { ...
src/index.js
JoshuaTang/OnlineGobang
import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import {createStore, applyMiddleware} from 'redux'; import createSocketIoMiddleware from 'redux-socket.io'; import io from 'socket.io-client'; import App from './components/App'; import reducers from './reducers'; cons...
src/components/About/About.js
tabulatech/tabula-web
import React, { Component } from 'react'; import styles from './About.scss'; export default class About extends Component { render() { return ( <div className={styles.section}> <div className="container"> About component </div> </div> ); } }
app/routes/home-routes.js
KleeGroup/focus-starter-kit
import React from 'react'; import HomeView from '../views/home'; const routes = [ { path: 'home', component: HomeView }, { path: 'admin', component: (() => <div><h2>{'Administration'}</h2></div>) } ]; export default routes;
__tests__/index.ios.js
amostap/react-native-todo
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/Nav.js
jade-press/jadepress-react-spa
import React from 'react' import CatLink from './CatLink' import { siteName, host, user } from '../common/constants' import { Link, browserHistory } from 'react-router' import { types } from '../reducers' export default class Nav extends React.Component { constructor (props) { super(props) this.state = { titl...
src/test/__tests__/ReactTestUtils-test.js
Teino1978-Corp/Teino1978-Corp-react
/** * 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...
analysis/rogueoutlaw/src/modules/spells/RollTheBonesCounter.js
yajinni/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer from 'parser/core/Analyzer'; import Statistic from 'parser/ui/Statistic'; import DonutChart from 'parser/ui/DonutChart'; import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER'; import RollTheBonesCas...
pages/lab/about.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/lab/about', false, /\.md|\.js$/); const reqSource = require.context('!raw-loader!../../docs/src/pages/l...
src/Parser/Druid/Guardian/Modules/Features/RageWasted.js
enragednuke/WoWAnalyzer
import React from 'react'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import RESOURCE_TYPES from 'common/RESOURCE_TYPES'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import StatisticBox from 'Main/StatisticBox'; import Analyzer from 'Par...
votrfront/js/ZapisPage.js
fmfi-svt/votr
import PropTypes from 'prop-types'; import React from 'react'; import _ from 'lodash'; import { ZapisnyListSelector } from './ZapisnyListSelector'; import { CacheRequester, Loading, RequestCache, sendRpc } from './ajax'; import { coursesStats } from './coursesStats'; import { humanizeTypVyucby, plural } from './humani...
includes/blocks/src/user-earned-points-block/block.js
opencredit/badgeos
/** * BLOCK: blocks * * Registering a basic block with Gutenberg. * Simple block, renders and saves the same content without any interactivity. */ // Import CSS. import './editor.scss'; import './style.scss'; import React from 'react'; import Select from 'react-select'; const { PanelBody, PanelRow, ServerSide...
ajax/libs/analytics.js/2.2.0/analytics.js
Mrkebubun/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
src/svg-icons/av/replay-10.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvReplay10 = (props) => ( <SvgIcon {...props}> <path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-1.1 11H10v-3.3L9 13v-.7l1.8-.6h.1V16zm4.3-1.8c0 .3 0 .6-.1....
ajax/libs/handsontable/0.15.0/handsontable.full.js
mgoldsborough/cdnjs
/*! * Handsontable 0.15.0 * Handsontable is a JavaScript library for editable tables with basic copy-paste compatibility with Excel and Google Docs * * Copyright (c) 2012-2014 Marcin Warpechowski * Copyright 2015 Handsoncode sp. z o.o. <hello@handsontable.com> * Licensed under the MIT license. * http://handsonta...
docs/src/pages/styles/advanced/StringTemplates.js
allanalexandre/material-ui
import React from 'react'; import { jssPreset, StylesProvider, makeStyles } from '@material-ui/styles'; import { create } from 'jss'; import jssTemplate from 'jss-plugin-template'; const jss = create({ plugins: [jssTemplate(), ...jssPreset().plugins], }); const useStyles = makeStyles({ root: ` background: lin...
blueocean-material-icons/src/js/components/svg-icons/image/tag-faces.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ImageTagFaces = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5...
assets/javascripts/kitten/components/form/input/text-input-with-unit/test.js
KissKissBankBank/kitten
import React from 'react' import renderer from 'react-test-renderer' import { TextInputWithUnit } from './index' describe('<TextInputWithUnit />', () => { let component describe('by default', () => { beforeEach(() => { component = renderer.create(<TextInputWithUnit />).toJSON() }) it('matches w...
app-registration/src/Navbar.js
IoanAlexandru/React-Redux-with-Hot-Loading-and-tcomb-forms
import React, { Component } from 'react'; import {Link} from 'react-router'; export default class Navbar extends Component { constructor(){ super(); } render(){ return <div> <ul className="nav navbar-nav"> <li> <a href="/">Home</a> </li> <li> <Link to="/">Registration</Lin...
src/components/InfoBar/InfoBar.js
hirzanalhakim/testKumparan
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { load } from 'redux/modules/info'; @connect( state => ({ info: state.info.data }), { load }) export default class InfoBar extends Component { static propTypes = { info: PropTypes.objec...