target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
SalesforceReact/SalesforceReactApp/js/react.force.smartstore.js
ebragge/SalesforceReactWindows
/* * Copyright (c) 2015, salesforce.com, inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of conditi...
ajax/libs/angular-google-maps/1.1.7/angular-google-maps.js
ankitjamuar/cdnjs
/*! angular-google-maps 1.1.7 2014-07-09 * 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...
frontend/js/components/admin/component.js
roman901/Overheard
'use strict'; import axios from 'axios'; import React from 'react'; import Pagination from 'react-js-pagination'; import AcceptButton from './AcceptButton'; import DeclineButton from './DeclineButton'; import UITable from 'js/ui/table/component'; export default class AdminComponent extends React.Component { cons...
js/components/pages/Dashboard.react.js
Karaja-Naji/frontEndMusic
/* * HomePage * * The Dashboard is only visible to logged in users * Route: /dashboard * */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import CategoryForm from "./dashboard/CategoryForm.react" class Dashboard extends Component { render() { return ( <article> ...
app/components/AsyncExample/index.js
anorudes/redux-easy-boilerplate
import React from 'react'; import Helmet from 'react-helmet'; /* component styles */ import s from './styles.css'; function AsyncExample() { return ( <section className={s.root}> <Helmet title="async example" /> <h1>Async page</h1> example<br /> example<br /> example<...
src/pages/books.js
breezykermo/lachlankermode.com
import React from 'react' import Helmet from 'react-helmet' import Books from '../components/Books' export default class BooksContainer extends React.Component { render () { return ( <div> <Helmet title="library | lachlankermode"/> <div> <Books /> </div> </div> )...
webpack.config.babel.js
vincent178/scala-china
import webpack from 'webpack'; import path from 'path'; import qs from 'querystring'; import autoprefixer from 'autoprefixer'; import ExtractTextPlugin from 'extract-text-webpack-plugin'; import AssetsPlugin from 'assets-webpack-plugin' const cssLoaderQuery = qs.stringify({ modules: true, importLoaders: 1, local...
js/components/common/email-input/index.js
justarrived/p2p-client
import React, { Component } from 'react'; import { StyleSheet } from 'react-native'; import { Item, Label, Input } from 'native-base'; import styles from './style'; import I18n from '../../../i18n'; export default class EmailInput extends Component { static propTypes = { title: React.PropTypes.string, onChan...
pages/api/fab.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './fab.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
src/components/course/ManageCoursePage.spec.js
m0t0r/course-manager-app
import React from 'react'; import expect from 'expect'; import { mount, shallow } from 'enzyme'; import { ManageCoursePage } from './ManageCoursePage'; describe('Container: ManageCoursePage', () => { it('should be able to set error message when trying to save empty title', () => { const props = { course: ...
src/components/Button/ButtonStartMenu.js
pumpost/pwa-bkk
import React from 'react' export default ({btnName, icName, facebookLogin, imgSrc , btnid}) => { return( <div id={btnid} className="btn-start btn-startmenu" onClick={facebookLogin}> <img src={imgSrc} className={`i-home i-${icName}`} alt={btnName} /> { btnName } </div> ) }
src/_helpers/competitionResult.js
chroz/artsfiske
import {Config} from '../config'; import React from 'react'; import Fontawesome from 'react-fontawesome'; import moment from 'moment'; import 'moment/locale/nb'; class CompetitionResult { constructor(data) { Object.assign(this, data); } hasTotalPoints() { return this.tot_points !== undefined; } ...
web/siteweb/datetimepicker-master/jquery.js
jeromedavid/websymfony
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.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.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
client/components/Guards/GuardsPage.js
rkazakov/guardbook
import React from 'react'; import { Link } from 'react-router'; class GuardsPage extends React.Component { render() { const { guards } = this.props; return ( <div> <h1>Guards</h1> <Link className="btn btn-default" to="/guards/add">Add new guard</Link> <table className="table"> ...
react-example/src/App.js
lijs-meetup/array-methods
import React, { Component } from 'react'; import './App.css'; const peppers = [ { name: 'cayenne', hotness: 3 }, { name: 'habanero', hotness: 5 }, { name: 'bell', hotness: 0 }, { name: 'jalapeno', hotness: 2 }, { name: 'ghost', hotness: 7 }, { name: 'carolina reaper', hotness: 9 }, { name: "dragon's brea...
examples/flux-chat/js/components/ThreadSection.react.js
yejodido/flux
/** * This file is provided by Facebook for testing and evaluation purposes * only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICUL...
ajax/libs/yui/3.4.1/loader/loader.js
ram-nadella/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
ajax/libs/clappr/0.0.27/clappr.js
pzp1997/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
packages/wix-style-react/src/FontUpgrade/FontUpgrade.js
wix/wix-style-react
import React from 'react'; import { st, classes } from './FontUpgrade.st.css'; import PropTypes from 'prop-types'; import { FontUpgradeContext } from './context'; class FontUpgrade extends React.PureComponent { render() { const { dataHook, className, active, as, children } = this.props; // TODO - remove thi...
node_modules/react-bootstrap/es/Grid.js
Crisa221/Lista-Giocatori
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 ...
client-web/client-web/src/components/ShowProfile.js
ppsari/final
import React from 'react' import { connect } from 'react-redux' import { editProfile , getProfile } from '../actions/index.js' import Loader from './Loader.js' import TitleSection from './TitleSection' class ShowProfile extends React.Component { constructor(props){ super(props) this.state ={ user: nul...
modules/__tests__/RouteComponent-test.js
pjuke/react-router
/*eslint-env mocha */ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import Router from '../Router' describe('a Route Component', function () { let node beforeEach(function () { node = document.createElement('div') }) afterEach(function (...
client/src/routes.js
hah-nan/papabear2
import React from 'react'; import { Route, IndexRoute } from 'react-router'; // Import miscellaneous routes and other requirements import App from './components/app'; import GameRoutes from './components/Game/routes'; import NotFoundPage from './components/pages/not-found-page'; // Import static pages import HomePag...
boxroom/archive/js-surface-2018-05-05-important/src/main/__modules__/react/internal/buildSurfaceModuleForReact.js
mcjazzyfunky/js-surface
import React from 'react'; import createElement from 'js-hyperscript/react'; import adaptIsElementFunction from '../../../adaption/adaptIsElementFunction'; import adaptDefineComponentFunction from '../../../adaption/adaptDefineComponentFunction'; import createPropsAdjuster from '../../../helper/createPropsAdjuster'; ...
ajax/libs/video.js/5.0.0-rc.20/video.js
dlueth/cdnjs
/** * @license * Video.js 5.0.0-rc.20 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
web/src/js/__tests__/components/FlowView/DetailsSpec.js
cortesi/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import Details, { TimeStamp, ConnectionInfo, CertificateInfo, Timing } from '../../../components/FlowView/Details' import { TFlow } from '../../ducks/tutils' let tflow = TFlow() describe('TimeStamp Component', () => { it('should render correctly...
src/angularjsReact.js
jeremyhewett/angularjs-react
/** * AngularJSReact * * Easily consume React components in an Angular app. * Three types of attributes are available, input prop attributes, callback prop attributes, and * ref attributes. * * Input Attributes * prefix: re-in- * value: an angular expression that is watched (deeply) and the value is passed to ...
src/imports/ui/admin/components/recommended_products/RecommendedProduct.js
hwillson/meteor-recommendation-builder
import React from 'react'; import { Meteor } from 'meteor/meteor'; import Multiselect from 'react-bootstrap-multiselect'; import RemoveRecommendedProductButton from './RemoveRecommendedProductButton.js'; const imageHost = Meteor.settings.public.admin.products.imageHost; const renderAvailableAnswers = (question) =>...
web/components/shared/effects/Quake.js
skidding/flatris
// @flow import React, { Component } from 'react'; import type { Node } from 'react'; import type { Player } from 'shared/types/state'; type Props = { player1: ?Player, player2: ?Player, children: ?Node, }; class Quake extends Component<Props> { render() { const { children, player1, player2 } = this.pro...
app/routes.js
rensouhou/dockyard-app
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import { pages } from './containers'; export default ( <Route path="/" component={App}> <IndexRoute component={pages.HomePage} /> <Route path="/configure" component={pages.ConfigurePage} /> <R...
node_modules/react-icons/io/social-windows-outline.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoSocialWindowsOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m33.8 22h-16.9v11.6l16.9 2.5v-14.1z m1.2-1.3v16.8l-19.4-2.8v-14h19.4z m-21.9 1.3h-11.8v9.3l11.8 1.7v-11z m1.3-1.3v13.8l-14.4-2.1v-11.7h14.4z m19.4-16.8l-...
ajax/libs/react-data-grid/1.0.1/react-data-grid.ui-plugins.js
redmunds/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
static/src/Comment.js
minicooperj/MegdProject
//Comment.js import React, { Component } from 'react'; import style from './style'; import marked from 'marked'; class Comment extends Component { constructor(props) { super(props); this.state= { toBeUpdated: false, author: '', text: '' }; //binding all our functions to this class this.deleteComment = this.de...
ajax/libs/vega/2.0.3/vega.js
voronianski/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vg = f()}})(fu...
plugins/af.scroller.js
zhwj184/appframework
/** * af.scroller * created by appMobi with modifications by Carlos Ouro @ Badoo and Intel * Supports iOS native touch scrolling * Optimizations and bug improvements by Intel * @copyright Intel */ (function ($) { var HIDE_REFRESH_TIME = 325; // hide animation of pull2ref duration in ms var cache = []; ...
src/components/TodoApp.js
pekkis/dr-kobros-2016
import React from 'react'; export default class TodoApp extends React.Component { render() { return ( <div> <h1> Top Secret </h1> {this.props.children} </div> ); } componentDidMount() { ...
ajax/libs/extjs/4.2.1/src/AbstractComponent.min.js
neveldo/cdnjs
Ext.define("Ext.AbstractComponent",{requires:["Ext.ComponentQuery","Ext.ComponentManager","Ext.util.ProtoElement","Ext.dom.CompositeElement","Ext.PluginManager"],mixins:{positionable:"Ext.util.Positionable",observable:"Ext.util.Observable",animate:"Ext.util.Animate",elementCt:"Ext.util.ElementContainer",renderable:"Ext...
src/svg-icons/av/featured-video.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFeaturedVideo = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 9H3V5h9v7z"/> </SvgIcon> ); AvFeaturedVideo = pure(AvFeaturedVideo)...
app/javascript/mastodon/features/status/components/card.js
SerCom-KC/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import Immutable from 'immutable'; import ImmutablePropTypes from 'react-immutable-proptypes'; import punycode from 'punycode'; import classnames from 'classnames'; const IDNA_PREFIX = 'xn--'; const decodeIDNA = domain => { return domain .split('.')...
ajax/libs/6to5/2.8.2/browser-polyfill.js
terrymun/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...
react/src/base/tables/SprkTable.js
sparkdesignsystem/spark-design-system
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import uniqueId from 'lodash/uniqueId'; const SprkTable = (props) => { const { rows, columns, variant, idString, additionalContainerClasses, additionalTableClasses, children, ...other ...
node_modules/react-dom/lib/ReactDOMNullInputValuePropHook.js
jadlao/jadlao.github.io
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ 'use strict'; var ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook'); var warning = require('fbjs/lib/warning'); ...
client/src/components/utils/ESActions/Container.js
DjLeChuck/recalbox-manager
import React, { Component } from 'react'; import ESActions from './ESActions'; import { get } from '../../../api'; import { promisifyData, cancelPromises } from '../../../utils'; class ESActionsContainer extends Component { constructor(props) { super(props); this.state = { ESStatus: 'OK' }; this.interval...
ajax/libs/react-data-grid/0.14.29/react-data-grid-with-addons.min.js
BenjaminVanRyseghem/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...
examples/with-reason-relay/pages/_app.js
JeromeFitz/next.js
import React from 'react' import App from 'next/app' const isStatusCodeOk = (res) => { try { return `${res.statusCode}`.startsWith('2') } catch (e) { return true } } class MyApp extends App { static async getInitialProps({ Component, ctx }) { let pageProps = {} if (Component.getInitialProps) ...
node_modules/rx/dist/rx.lite.extras.compat.js
dinhoarakaki/marariFE
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
node_modules/redux/dist/redux.js
geng890518/editor-ui
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Redux"] = factory(); else root["Redux"]...
ajax/libs/analytics.js/2.3.0/analytics.js
mrehayden1/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...
ajax/libs/react-autosuggest/9.2.0/autosuggest.js
tholu/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["Autosuggest"] = fac...
frontend/src/components/search/search-result-item.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import { Utils } from '../../utils/utils'; const propTypes = { item: PropTypes.object.isRequired, onItemClickHandler: PropTypes.func.isRequired, }; class SearchResultItem extends React.Component { onClickHandler = () => { var item = this.props....
react-flux-mui/js/material-ui/src/svg-icons/hardware/desktop-windows.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareDesktopWindows = (props) => ( <SvgIcon {...props}> <path d="M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v2H8v2h8v-2h-2v-2h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H3V4h18v12z"/> </SvgIcon> ); HardwareDesk...
mysite/mysiteapp/static/js/slideshow.js
lz1988/django-web2015
(function (a, b) { function cv(a) { return f.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : !1 } function cs(a) { if (!cA[a]) { var b = c.body, d = f("<" + a + ">").appendTo(b), e = d.css("display"); d.remove(); if (e === "none" || ...
teletobit/src/components/Profile/CommentEle.js
edenpark/teletobit
import React, { Component } from 'react'; import { Link } from 'react-router'; import Upvote from 'components/Main/Post/Upvote'; import timeAgo from 'util/timeAgo'; import { Icon } from 'semantic-ui-react'; import decode from 'ent/decode'; class CommentEle extends Component { render() { const { comment, u...
src/components/photoshop/PhotoshopPointer.js
JedWatson/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' export class PhotoshopPointerCircle extends ReactCSS.Component { classes(): any { return { 'default': { triangle: { width: 0, height: 0, borderStyle: 'solid', borderWidth: '4...
client/lib/jquery-1.11.0.js
bobby-brennan/buildabeta
/*! 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...
src/js/main.js
mnm1001/draggable-homepage
import '../styles/bootstrap.min.css' import '../styles/styles.scss' import React from 'react' import ReactDOM from 'react-dom' import { Router, browserHistory } from 'react-router' import routes from './routes' const rootElement = document.getElementById('app') const ComponentEl = <Router history={browserHistory} r...
server/sonar-web/src/main/js/apps/settings/licenses/LicensesList.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
springboot/GReact/node_modules/react-bootstrap/es/Grid.js
ezsimple/java
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 ...
Kapadiaamir/frontend/js/jquery.js
kapadiaamir/kapadia-amir
/*! jQuery v1.11.1 | (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...
classic/src/scenes/mailboxes/src/Scenes/SettingsScene/Accounts/Sections/MailboxSettingsSection/MailboxToolsSettings.js
wavebox/waveboxapp
import PropTypes from 'prop-types' import React from 'react' import { accountActions } from 'stores/account' import { withStyles } from '@material-ui/core/styles' import SettingsListSection from 'wbui/SettingsListSection' import SettingsListItemButton from 'wbui/SettingsListItemButton' import red from '@material-ui/cor...
starjobs/src/main/webapp/lib/flot/jquery.js
wecoderBao/starjobs
/*! * jQuery JavaScript Library v1.5.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
public/vendor/jqplot/jquery.min.js
FuzzyHobbit/explorer
/*! 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...
docs/includes/GettingStarted.js
harjeethans/materialistic
import React from 'react'; class GettingStarted extends React.Component { render() { return ( <div> GettingStarted </div> ); } } export default GettingStarted;
tests/lib/rules/vars-on-top.js
hotoo/eslint
/** * @fileoverview Tests for vars-on-top rule. * @author Danny Fritz * @author Gyandeep Singh * @copyright 2014 Danny Fritz. All rights reserved. * @copyright 2014 Gyandeep Singh. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Requiremen...
src/interface/Portal.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import PortalTarget from './PortalTarget'; class Portal extends React.PureComponent { static propTypes = { children: PropTypes.node.isRequired, }; state = { elem: null, }; componentDidMount() { this....
packages/material-ui-icons/src/Email.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'Email');
node_modules/babel-preset-react/node_modules/babel-plugin-transform-react-jsx/node_modules/babel-helper-builder-react-jsx/lib/index.js
igMartin/Redux-Tinder
"use strict"; exports.__esModule = true; exports.default = function (opts) { var visitor = {}; visitor.JSXNamespacedName = function (path) { throw path.buildCodeFrameError("Namespace tags are not supported. ReactJSX is not XML."); }; visitor.JSXElement = { exit: function exit(path, file) { var...
website/irulez/src/components/admin_menu/fields/ActionTypeField.js
deklungel/iRulez
import React, { Component } from 'react'; import ValueService from './../ValueService'; import SelectionField from './SelectionField'; class ActionTypeField extends Component { valueService = new ValueService(); state = { options: [] }; componentDidMount() { this.getData(); } getData() { ...
client/components/main.js
VaRt-io/V-aRt
import React, { Component } from 'react'; import { Route, Switch } from 'react-router-dom'; import {LandingPage, OurNavbar, AllArtists, SingleArtist, AllGalleries, SingleGallery, CanvasWrapper, GalleryCreate, SinglePainting, GalleryEdit, Signup, Signin, ArtistDashboard, VRNightScene, VRDesert, VRStarry, VRVanGo...
node_modules/enzyme/src/ShallowWrapper.js
ASIX-ALS/asix-final-project-frontend
import React from 'react'; import flatten from 'lodash/flatten'; import unique from 'lodash/uniq'; import compact from 'lodash/compact'; import cheerio from 'cheerio'; import assign from 'object.assign'; import ComplexSelector from './ComplexSelector'; import { nodeEqual, nodeMatches, containsChildrenSubArray, ...
app/containers/game/GamePage.js
BryanIams/foil-client
import React, { Component } from 'react'; import Game from '../../components/game/Game'; class GamePage extends Component { render() { return ( <div> <Game /> </div> ); } } export default GamePage;
client/src/Message.js
coletiv/fonixchat
import React from 'react'; import PropTypes from 'prop-types'; import './Message.css'; const Message = ({message, name, time}) => ( <li className="chat-message"> <div className="chat-message__info"> <div className="chat-message__author"> {name} </div> <div className="chat-message__tim...
packages/demos/forms-demo/src/components/Menu/index.js
garth/cerebral
import React from 'react' import { css } from 'aphrodite' import { connect } from '@cerebral/react' import { state } from 'cerebral/tags' import MenuItem from './MenuItem' import SettingsCheckbox from './SettingsCheckbox' import styles from './styles' const types = [{ name: 'Simple', url: '#/simple' }] export default...
node_modules/material-ui/svg-icons/content/next-week.js
lzm854676408/big-demo
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
node_modules/react-native/packager/blacklist.js
mk007sg/threeSeaShells
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
ajax/libs/yui/3.1.2/event-custom/event-custom-base-debug.js
jimmybyrum/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
Libraries/Components/Touchable/TouchableOpacity.js
misakuo/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
site/components/NavBar.js
jowcy/react-dnd
import React from 'react'; import { DOCS_DEFAULT, EXAMPLES_DEFAULT } from '../Constants'; import './NavBar.less'; const GITHUB_URL = 'https://github.com/gaearon/react-dnd'; const DOCS_LOCATION = DOCS_DEFAULT.location; const EXAMPLES_LOCATION = EXAMPLES_DEFAULT.location; export default class NavBar { render() { ...
code/src/views/toolbarButtons.js
GreatDanton/Thesis
import React from 'react'; import ReactDOM from 'react-dom'; // import globalStorage import GlobalStorage from '../scripts/globalStorage'; import { createMonthlyFlow, getExtremeFlow, createGraphData, getAverageData } from '../scripts/parseCsv'; import { ResultsView } from './resultsView'; // Renders button that is d...
src/components/icons/ChevronUpIcon.js
InsideSalesOfficial/insidesales-components
import React from 'react'; const ChevronUpIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 100 100"> {props.title && <title>{props.title}</title>} <polygon points="28.79 67.68 50 46.46 71.21 67.68 78.28 60.61 50 32.32 21.72 60.61 28.79 67.68" /> </svg> ); ...
src/main.js
alicjakujawa/speedtest
import React from 'react' import ReactDOM from 'react-dom' import { Route, IndexRoute } from 'react-router' import createStore from './store/createStore' import AppContainer from './containers/AppContainer' import CoreLayout from './layouts/CoreLayout' import HomeContainer from './containers/HomeContainer' import Visua...
WorkstationClient/WorkstationSignalR_Dev/Scripts/jquery-1.6.4.js
DaemonToolz/WorkStation
/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
node_modules/karma/node_modules/log4js/.bob/complexity/plato/assets/scripts/vendor/jquery-1.8.3.min.js
kadinho/ngWeatherDemo
/*! 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===...
techCurriculum/ui/solutions/2.7/src/components/Title.js
tadas412/EngineeringEssentials
/** * Copyright 2017 Goldman Sachs. * 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...
src/components/promo/Promo.js
AlanMorel/aria
import React from 'react'; import { Link } from 'react-router-dom'; class Promo extends React.Component { render() { var page = this.props.page; var text = this.props.text; var link = { pathname: page }; return ( <div className="promo"> ...
node_modules/react-icons/go/chevron-up.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const GoChevronUp = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 10l-12.5 12.5 5 5 7.5-7.5 7.5 7.5 5-5-12.5-12.5z"/></g> </Icon> ) export default GoChevronUp
js/jquery.min.js
HimpfenPages/brandcolours.himpfen.io
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.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.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim...
js/components/Header/index.android.js
mrcflorian/classbook
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text, ListItem, List } from 'native-base'; import { Actions } from 'react-native-router-flux'; import { actions } from 'react-native-navigation-redux-helpers'; ...
imports/client/ui/pages/Home/oldhomepage/HowToHelpSection/Item/index.js
focallocal/fl-maps
import React from 'react' import './styles.scss' const Item = ({ item, loginButton }) => <div className="item"> <h3 className='item-text'>{item.text}</h3> {item.link !== undefined ? loginButton : null} <br/> <span className='item-subText'>{item.subText}</span> {item.link !== undefined && <a...
docs/src/app/components/pages/components/SvgIcon/ExampleIcons.js
ichiohta/material-ui
import React from 'react'; import ActionHome from 'material-ui/svg-icons/action/home'; import ActionFlightTakeoff from 'material-ui/svg-icons/action/flight-takeoff'; import FileCloudDownload from 'material-ui/svg-icons/file/cloud-download'; import HardwareVideogameAsset from 'material-ui/svg-icons/hardware/videogame-as...
lms/static/admin/js/jquery.min.js
TangXT/GreatCatMOOC
/*! * 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. ...
lib/svg-icons/av/videocam.js
Cerebri/material-ui
'use strict'; var React = require('react'); var PureRenderMixin = require('react-addons-pure-render-mixin'); var SvgIcon = require('../../svg-icon'); var AvVideocam = React.createClass({ displayName: 'AvVideocam', mixins: [PureRenderMixin], render: function render() { return React.createElement( Svg...
src/addons/__tests__/ReactComponentWithPureRenderMixin-test.js
yjyi/react
/** * Copyright 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-core *...
ajax/libs/video.js/5.2.0/video.js
sympmarc/cdnjs
/** * @license * Video.js 5.2.0 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
packages/material-ui-icons/src/SmsFailed.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z" /></React.Fragment> , 'SmsFailed');
examples/simple-svg/app/boot.js
vigetlabs/microcosm
import DOM from 'react-dom' import React from 'react' import Microcosm from 'microcosm' import Circle from './domains/circle' import Logo from './views/logo' import { animate } from './actions/animate' let repo = new Microcosm() let el = document.getElementById('app') repo.addDomain('circle', Circle) repo.on('change...
packages/mineral-ui-icons/src/IconSettingsOverscan.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconSettingsOverscan(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...i...
src/routes/Home/components/HomeView.js
akossebestyen/getrecd-client-redux
import React from 'react' import DuckImage from '../assets/Duck.jpg' import classes from './HomeView.scss' export const HomeView = () => ( <div> <h4>Welcome!</h4> <img alt='This is a duck, because Redux!' className={classes.duck} src={DuckImage} /> </div> ) export default HomeView
ajax/libs/react-highcharts/8.0.0/ReactHighcharts.js
pvnr0082t/cdnjs
!function(r,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("highcharts")):"function"==typeof define&&define.amd?define(["react","highcharts"],t):"object"==typeof exports?exports.ReactHighcharts=t(require("react"),require("highcharts")):r.ReactHighcharts=t(r.React,r.Highch...
android/rn/src/ui/loading/index.js
skyujilong/native-rn
'use strict'; import React from 'react'; import './reducer'; import {View,Image,Animated,Dimensions,Easing} from 'react-native'; import {connect} from 'react-redux'; import {hideLoading} from './action'; /** * 思路是,定义了几个常量,这个几个常量用于作为动画数字变更的引用值, * loading模块的设置还需要在考虑一下,当下是两个属性,一个属性的更改 * 用于通知loading开始关闭 * 另外一个用于状态,用于...