path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
test/integration/client-navigation/pages/head-duplicate-default-keys.js
BlancheXu/test
import React from 'react' import Head from 'next/head' export default () => ( <div> <Head> {/* this will not render */} <meta charSet='utf-8' key='charSet' /> {/* this will override the default (same key as the default) */} <meta charSet='iso-8859-5' key='charSet' /> {/* this will ...
ajax/libs/datatables/1.10.1/js/jquery.js
steve-ng/cdnjs
/*! 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...
src/components/Tabs/demo/wanshi1/index.js
lebra/lebra-components
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { render } from 'react-dom'; import {optionResultData} from './mock'; import {Tabs, DefaultTabBar } from '../../index'; import './index.less'; class GuessMemberList extends Component { constructor(props) { super(props); ...
packages/react-interactions/events/src/dom/Tap.js
TheBlasfem/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type { ReactDOMResponderContext, ReactDOMResponderEvent, PointerType, } from 'shared/ReactDOMTypes'; impo...
src/forms/inputs.js
codeforboston/cliff-effects
// REACT COMPONENTS import React, { Component } from 'react'; import { Form, Button, Radio, } from 'semantic-ui-react'; // @todo Change ...buttonProps to explicit `overrides` obj // @todo Restore jsdoc container when description is more accurate /* A big button with overridable properties. * * @function * @para...
src/router.js
gusdewa/MultiStores
import React from 'react'; /* eslint-disable */ function decodeParam(val) { if (!(typeof val === 'string' || val.length === 0)) { return val; } try { return decodeURIComponent(val); } catch (err) { if (err instanceof URIError) { err.message = `Failed to decode param '${val}'`; err.sta...
course/format/amd/src/local/courseindex/drawer.js
reskit/moodle
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: 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 // (at your option) any later version. // // Moodle is dis...
src/routes/Welcome/Welcome.js
rlesniak/tind3r.com
// @flow import React, { Component } from 'react'; import { Button, Classes } from '@blueprintjs/core'; import DocumentTitle from 'react-document-title'; import Login from 'components/Login'; import './Welcome.scss'; type PropsType = { isInstalled: boolean, isOutdated: boolean, handleConnect: () => void, } e...
ajax/libs/yui/3.6.0pr1/event-focus/event-focus.js
CyrusSUEN/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, arrayIndex = Y.Array.indexOf, useActivate = YLang.isFunction( Y...
src/js/components/icons/base/IceCream.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
src/components/common/svg-icons/navigation/subdirectory-arrow-right.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationSubdirectoryArrowRight = (props) => ( <SvgIcon {...props}> <path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"/> </SvgIcon> ); NavigationSubdirectoryArrowRight = pure(Navigat...
test/renderer/components/cell/editor-spec.js
0u812/nteract
import React from 'react'; import Rx from 'rxjs/Rx'; import { mount } from 'enzyme'; import chai, { expect } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import { createMessage } from '../../../../src/notebook/kernel/messaging'; import WrappedEditor from '../../../../src/notebook/views/...
packages/material-ui-icons/src/GradeSharp.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="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z" /></g></React.Fragment> , 'GradeSharp');
server/sonar-web/src/main/js/components/shared/qualifier-icon.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
src/parser/hunter/marksmanship/modules/talents/Volley.js
fyruna/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS/index'; import SpellLink from "common/SpellLink"; import ItemDamageDone from 'interface/others/ItemDamageDone'; import { formatPercentage } from 'common/format'; import TalentStatisticBox from 'interface/others/T...
scripts/index.js
vaibhavmule/TheDailyReader
'use strict'; var React = require('react'), App = require('./app'); React.render(<App />, document.body);
src/pages/about.js
thundernixon/blog2017
import React from 'react'; import BackIcon from 'react-icons/lib/fa/chevron-left'; import Link from 'gatsby-link'; import '../css/tags.scss'; import '../css/index.scss'; import '../css/basics.scss'; import '../css/about.scss'; import '../css/blog-post.scss'; export default () => ( <div className="fourohfour bold "...
src/packages/@ncigdc/modern_components/ClinicalAnalysis/ClinicalVariableCard/components/ActionsDropdown.js
NCI-GDC/portal-ui
import React from 'react'; import DownCaretIcon from 'react-icons/lib/fa/caret-down'; import { get } from 'lodash'; import Dropdown from '@ncigdc/uikit/Dropdown'; import Button from '@ncigdc/uikit/Button'; import { visualizingButton } from '@ncigdc/theme/mixins'; import DropdownItem from '@ncigdc/uikit/DropdownItem'; ...
DEM_MVC_UI/src/scripts/components/Organisms/Header/tets.js
AndreyShpilevoy/DemProject
/*eslint no-undef: 'off'*/ /* eslint import/no-extraneous-dependencies: 'off' */ import React from 'react'; import {shallow} from 'enzyme'; import Header from './index'; jest.mock('../../services/domScripts/ToggleClass'); jest.mock('../../services/domScripts/ShrinkingHeader'); describe('Header', () => { function...
packages/gluestick-plugin-aphrodite/src/server.js
TrueCar/gluestick
import { StyleSheetServer } from 'aphrodite'; import { renderToString } from 'react-dom/server'; import React from 'react'; const aphroditePlugin = () => ({ renderMethod: (root, styleTags) => { const { css, html } = StyleSheetServer.renderStatic(() => { return renderToString(root); }); const head =...
src/components/Home/index.js
RussHR/github_page_src
import React from 'react'; export default function Home() { return ( <article> <p> HELLO </p> <p> welcome. </p> <p> front end developer, artist, queer, multiracial. </p> <p> ...
src/components/NotFoundPage/NotFoundPage.js
albperezbermejo/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { PropTypes } from 'react'; import withStyles from '../../decorators/withStyles'; import styles from './NotFoundPage.css'; @withStyles(styles) class NotFoundPage { static contextTypes = { onSetTitle: PropTypes.func.isRequire...
client/components/Navigation/index.js
carteb/carte-blanche
/* eslint-disable no-param-reassign, max-len */ /** * The main navigation with a list of all components */ import React from 'react'; import { hashHistory, IndexLink } from 'react-router'; import map from 'lodash/map'; import has from 'lodash/has'; import throttle from 'lodash/throttle'; import find from 'lodash/fin...
docs/src/app/components/pages/components/Drawer/ExampleUndocked.js
pancho111203/material-ui
import React from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import RaisedButton from 'material-ui/RaisedButton'; export default class DrawerUndockedExample extends React.Component { constructor(props) { super(props); this.state = {open: false}; } han...
src/tsomi.js
trebor/tsomi
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { createStore, applyMiddleware } from 'redux' import { logger } from 'redux-logger' import config from './config' import App from './components/App/' import { PRINTABLE_PARAM } from './constants' import { runState ...
packages/browser-dir-arrow-sunset/src/components/Mountains/index.js
maurizzzio/blog
import React from 'react' import { area, curveBasis } from 'd3-shape' import { select } from 'd3-selection' export class Mountains extends React.PureComponent { constructor (props) { super(props) this.tick = null } computeLine () { const { x, y, depth } = this.props const n = 10 const seed =...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/redux-epic/0.3.0/src/contain.js
Akkuma/npm-cache-benchmark
import React from 'react'; import { helpers } from 'rx'; import { createElement } from 'react'; import shallowCompare from 'react-addons-shallow-compare'; import debug from 'debug'; import invariant from 'invariant'; // // Using rtype signatures // interface Action { // type: String, // payload?: Any, // ...meta...
src/app/components/i18n/LanguageSelector.js
backpackcoder/world-in-flames
import React from 'react' import Reflux from 'reflux' import classnames from 'classnames' import LanguageActions from './LanguageActions' import LanguageStore from './LanguageStore' const LanguageSelector = React.createClass({ getInitialState: function(){ return { 'store': LanguageStore.getData...
src/components/pages/SingleAnimePage.js
migueliriano/react-anime-project
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import HeroImage from 'components/modules/HeroImage'; import AnimeMainInfo from 'components/modules/AnimeMainInfo'; import AnimeCard from 'components/modules/AnimeCard'; import YoutubeVideo from 'components/modules/YoutubeVideo'...
ajax/libs/angular-data/0.8.0/angular-data.js
sashberd/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.8.0 - Homepage <http://angular-data.codetrain.io/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angul...
src/svg-icons/av/replay-10.js
manchesergit/material-ui
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....
src/containers/not-found/index.js
Storj/metadisk-gui
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>Doh! 404!</h1> <p>These are <em>not</em> the droids you are looking for!</p> </div> ); }
docs/app/Examples/views/Comment/Content/CommentExampleActions.js
clemensw/stardust
import React from 'react' import { Comment, Icon } from 'semantic-ui-react' const CommentExampleActions = () => ( <Comment.Group> <Comment> <Comment.Avatar as='a' src='http://semantic-ui.com/images/avatar/small/joe.jpg' /> <Comment.Content> <Comment.Author>Tom Lukic</Comment.Author> <...
ajax/libs/jquery/1.4.4/jquery.min.js
emmansun/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/FormGroup.js
westonplatter/react-bootstrap
import React from 'react'; import classNames from 'classnames'; class FormGroup extends React.Component { render() { let classes = { 'form-group': !this.props.standalone, 'form-group-lg': !this.props.standalone && this.props.bsSize === 'large', 'form-group-sm': !this.props.standalone && this.pr...
client/components/Word.js
pufinek/learn-Spanish
import React from 'react'; import ReactPlayer from 'react-player'; import { Link } from 'react-router'; import {convertArrayToString} from '../helpers/dictionary'; class Word extends React.Component{ render(){ const word=this.props.word; const playerUrl = "http://audio1.spanishdict.com/audi...
src/FormControls/Static.js
xiaoking/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import InputBase from '../InputBase'; import childrenValueValidation from '../utils/childrenValueInputValidation'; class Static extends InputBase { getValue() { const {children, value} = this.props; return children ? children : value; } ren...
src/containers/Asians/index.js
westoncolemanl/tabbr-web
import React from 'react' import Route from 'react-router-dom/Route' import TabControls from './TabControls' import Published from './Published' import Registration from './Registration' import BreaksCalculator from './BreaksCalculator' export default () => <div> <Route path={'/asians/tab-controls/:id'} ...
src/svg-icons/image/slideshow.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageSlideshow = (props) => ( <SvgIcon {...props}> <path d="M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"/> </SvgIcon> ); ImageSlideshow = pure(I...
src/components/About/About.js
lizlove/tender-buttons
import React from 'react'; const About = () => { return ( <div> <h1>About</h1> <div> <div className="field"> <p className="about">We help you plan for the long-term preservation of your digital information.</p> <p className="about">Recover data from obsolete fo...
src/components/fun/FunPage.js
Bubblesphere/portfolio-deric
import React from 'react'; const FunPage = () => { return ( <div id="home"> <h1>Hi There, I'm Déric</h1> </div> ); }; export default FunPage;
ajax/libs/x-editable/1.4.6/jqueryui-editable/js/jqueryui-editable.js
suy/cdnjs
/*! X-editable - v1.4.6 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
vendor/jquery/jquery.min.js
MovilCentro/movilcentro.github.io
/*! jQuery v1.12.4 | (c) jQuery Foundation | 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 window?window:this,fu...
app/components/ze.js
paladinze/testSemantic
'use strict'; import React from 'react'; class Ze extends React.Component { render(){ return( <div> <h1 className="Zeclass"> Good day, Ze! </h1> <strong>{this.props.text}</strong> </div> ) } } export default Ze
standalone/header-footer/src/client.js
seekinternational/seek-asia-style-guide
import makeStandalone from './makeStandalone'; import Header from 'seek-asia-style-guide/jobsDB/Header/Header'; import Footer from 'seek-asia-style-guide/jobsDB/Footer/Footer'; export const renderHeader = makeStandalone(Header); export const renderFooter = makeStandalone(Footer); // Allow standalone header consumers ...
src/paper_avatar.js
offenesdresden/annotieren
import React from 'react' import Avatar from 'react-md/lib/Avatars' export default class PaperAvatar extends React.Component { render() { let paper = this.props.paper let shortName = paper.shortName || "" let suffix = shortName ? `paper-${shortName[0]}` : null return ( <Avatar title={shortNa...
ajax/libs/rxjs/2.3.11/rx.lite.extras.js
bspaulding/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, ...
src/svg-icons/image/brightness-4.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrightness4 = (props) => ( <SvgIcon {...props}> <path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13...
app/containers/agentsSearchResults.js
nypl-registry/browse
import React from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { stringify } from 'qs' import WindowTitleMixin from '../lib/windowTitleMixin' import HeaderNav from '../components/shared/headerNav' import Footer from '../components/shared/footer.js' import SearchResul...
ajax/libs/react/0.14.5/react.js
AMoo-Miki/cdnjs
/** * React v0.14.5 */ (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}...
fields/types/embedly/EmbedlyField.js
Yaska/keystone
import React from 'react'; import Field from '../Field'; import { FormField, FormInput } from 'elemental'; import ImageThumbnail from '../../components/ImageThumbnail'; import NestedFormField from '../../components/NestedFormField'; module.exports = Field.create({ displayName: 'EmbedlyField', statics: { type: 'Em...
packages/cf-style-container/src/index.js
jroyal/cf-ui
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { combineRules } from 'fela'; import { ThemeProvider, connect } from 'react-fela'; import { static as Immutable } from 'seamless-immutable'; import { capitalize } from 'underscore.string'; import createFelaComponent from './createCompo...
node_modules/reactify/node_modules/react-tools/src/browser/ui/ReactInputSelection.js
meganchen1996/beat-drop
/** * 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 ...
samples/04.api/e.piping-to-redux/src/App.js
billba/botchat
import { connect } from 'react-redux'; import React from 'react'; import ReactWebChat from './WebChat'; class App extends React.Component { render() { const { props: { backgroundColor, dispatch } } = this; return ( <div id="app" style={{ backgroundColor }}> <ReactWebChat appDispatch...
ajax/libs/jquery-tools/1.2.6/jquery.tools.min.js
Stavrakakis/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 */ ...
packages/mui-icons-material/lib/esm/TenMpSharp.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M13.5 7H15v3h-1.5V7zM21 3H3v18h18V3zm-8.5 15.5H11V14h-1v3H8.5v-3h-1v4.5H6v-6h6.5v6zm2.5 0h-1.5v-6H18V17h-3v1.5zm-5-13v6H8.5V7H7V5.5h3zm6.5 0v6H12v-6h4.5zM15...
RNDemo/RNComment/node_modules/react-navigation/src/routers/__tests__/validateRouteConfigMap-test.js
995996812/Web
/* @flow */ import React from 'react'; import validateRouteConfigMap from '../validateRouteConfigMap'; import StackRouter from '../StackRouter'; const ListScreen = () => <div />; const ProfileNavigator = () => <div />; ProfileNavigator.router = StackRouter({ list: { screen: ListScreen, }, }); describe('va...
node_modules/react-bootstrap/es/Well.js
firdiansyah/crud-req
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/analytics.js/2.2.1/analytics.js
siddii/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...
shared/utils/analytics.js
ueno-llc/starter-kit-universally
import React from 'react'; import ReactGA from 'react-ga'; function scripts({ facebookPixel, twitterPixel }) { const facebook = ` // Facebook Pixel !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; ...
blueocean-material-icons/src/js/components/svg-icons/av/slow-motion-video.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvSlowMotionVideo = (props) => ( <SvgIcon {...props}> <path d="M13.05 9.79L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62zM5.69 7...
packages/mineral-ui-icons/src/IconRestorePage.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 IconRestorePage(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconPr...
pages/components/select_folder.js
GallenHu/Hinote
import React from 'react'; import PropTypes from 'prop-types'; const Sel = props => ( <span> { props.folders.length ? ( <select className="folder-sel"> { props.folders.map(folder => ( <option key={folder.id} val...
src/containers/LookupPage.js
kmcarter/karaoke-song-lister
import React from 'react'; import PropTypes from 'prop-types'; import {withRouter} from 'react-router'; import * as types from '../constants/searchTypes'; import BackButton from '../components/common/BackButton'; import SearchResults from '../components/SearchResults'; export const LookupPage = (props) => { return (...
app/views/About.js
RoadToGlobal/ClientDistro
import React from 'react'; import { FFFContainer } from '../DynamicStyles/common'; import FFFWindow from '../containers/FFFWindow'; const aboutBigText = { marginTop: '4em', }; export default class FAQ extends React.Component { render() { return ( <div style={FFFContainer}> <FFFWindow title={'Ab...
ajax/libs/react-data-grid/0.12.27/react-data-grid-with-addons.js
maruilian11/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["ReactDataGrid"] = f...
canvas/src/component/background/Background.js
google/actions-on-google-pq2-template-sdk
// Copyright 2020, Google, 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 applicable law or agreed to in ...
src/AccordionItem/test.js
daviferreira/react-sanfona
'use strict'; import expect from 'unexpected'; import sd from 'skin-deep'; import React from 'react'; import AccordionItem from './index'; describe('AccordionItem Test Case', () => { let vdom, instance; it('should render', () => { const tree = sd.shallowRender(<AccordionItem />); instance = tree.getMoun...
packages/material-ui-icons/lib/FmdBadSharp.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
static/js/bundles/login.js
darklilium/Factigis_2
import React from 'react'; import ReactDOM from 'react-dom'; import LoginApp from '../components/Login.jsx'; ReactDOM.render(<LoginApp />, document.getElementById('wrapper_login'));
ajax/libs/ember-data.js/1.0.0-beta.17/ember-data.js
taydakov/cdnjs
(function() { "use strict"; var ember$data$lib$system$model$errors$invalid$$create = Ember.create; var ember$data$lib$system$model$errors$invalid$$EmberError = Ember.Error; /** A `DS.InvalidError` is used by an adapter to signal the external API was unable to process a request because the c...
src/svg-icons/action/code.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionCode = (props) => ( <SvgIcon {...props}> <path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/> </SvgIcon> ); ActionCode = pure(ActionCode); ActionCode.di...
src/js/views/Profile/Profile.js
TheoZimm/SaltyDashboard
import React from 'react'; import Box from 'grommet/components/Box'; import Header from '../../components/Header/'; import ProjectManagement from '../../components/ProjectManagement/'; import {RoleAwareComponent} from 'react-router-role-authorization'; import axios from 'axios'; class Profile extends RoleAwareComponen...
src/components/cakephp/plain/CakephpPlain.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './CakephpPlain.svg' /** CakephpPlain */ function CakephpPlain({ width, height, className }) { return ( <SVGDeviconInline className={'CakephpPlain' + ' ' + className...
app/javascript/mastodon/features/compose/components/search_results.js
narabo/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import AccountContainer from '../../../containers/account_container'; import StatusContainer from '../../../containers/status_container'; import Link from 're...
packages/material-ui-icons/src/FormatUnderlinedTwoTone.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="M5 19h14v2H5zM6 3v8c0 3.31 2.69 6 6 6s6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6z" /></g></React.Fragment> , 'FormatUnd...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ClassProperties.js
in2core/create-react-app
/** * Copyright (c) 2015-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; export default class extends Component { static propTyp...
docs/app/Examples/addons/TextArea/index.js
shengnian/shengnian-ui-react
import React from 'react' import Types from './Types' import Usage from './Usage' const TextAreaExamples = () => ( <div> <Types /> <Usage /> </div> ) export default TextAreaExamples
docs/src/layouts/wrapper.js
adrianleb/nuclear-js
import React from 'react' import { BASE_URL } from '../globals' const PRISM_PATH = BASE_URL + 'assets/js/prism.js' const CSS_PATH = BASE_URL + 'assets/css/output.css' const JS_PATH = BASE_URL + 'app.js' const GA_SCRIPT = `(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[])...
client/app/scripts/components/node-details/__tests__/node-details-table-test.js
alban/scope
import React from 'react'; import TestUtils from 'react-dom/test-utils'; import { Provider } from 'react-redux'; import configureStore from '../../../stores/configureStore'; // need ES5 require to keep automocking off const NodeDetailsTable = require('../node-details-table.js').default; describe('NodeDetailsTable', (...
src/core/components/types/UndefinedType.js
remy/jsconsole
import React from 'react'; export default () => <div className="type undefined">undefined</div>;
ajax/libs/yui/3.16.0/event-custom-base/event-custom-base-coverage.js
jdh8/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-custom-base/event-custom-base.js']) { __coverage__['build/event-custom-base/e...
packages/material-ui-icons/src/NetworkCellSharp.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 fillOpacity=".3" d="M2 22h20V2L2 22z" /><path d="M17 7L2 22h15V7z" /></g></React.Fragment> , 'NetworkCellSharp');
webapp/src/widgets/Button.js
cpollet/itinerants
import React from 'react'; import styles from './Button.css'; class Button extends React.Component { render() { const htmlType = (this.props.submit ? 'submit' : 'button'); const enabled = (this.props.enabled === true); return ( <button type={htmlType} classNa...
loc_frontend/node_modules/react-router/es6/RouteUtils.js
marka2g/loc
'use strict'; 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]; } } } return target; }; export { isReactChildren }; export { createRou...
old/js/jquery.min.js
yungtechboy1/GEM-Web-Site
/*! jQuery v1.11.2 | (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...
node_modules/tslint/lib/configs/recommended.js
EgemenErol/angular2
"use strict"; exports.rules = { "align": [true, "parameters", "statements", ], "class-name": true, "comment-format": [true, "check-space", ], "curly": true, "eofline": true, "forin": true, "indent": [true, "spaces"], "interface-name": [true, "always-prefix...
app/addons/activetasks/components/table.js
apache/couchdb-fauxton
// 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 // distributed un...
src/components/component_card.js
paschalidi/shopping-cart-reactjs-redux
import React, { Component } from 'react'; import { connect } from 'react-redux'; import * as actions from '../actions'; class CardComponent extends Component { constructor(props) { super(props); this.state = { id: this.props.id, title: this.props.title, image: this.props.image, price...
fields/types/password/PasswordField.js
benkroeger/keystone
import React from 'react'; import Field from '../Field'; import { Button, FormInput, InlineGroup as Group, InlineGroupSection as Section, } from '../../../admin/client/App/elemental'; module.exports = Field.create({ displayName: 'PasswordField', statics: { type: 'Password', }, getInitialState () { return...
ajax/libs/yui/3.1.0pr1/event-custom/event-custom-base-debug.js
dlueth/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...
src/docs/CodeExample.js
chadacious/ps-react-chadacious
import React from 'react'; import PropTypes from 'prop-types'; import hljs from 'highlight.js/lib/highlight' import javascript from 'highlight.js/lib/languages/javascript' // This way is easy, but adds 170K gzipped to bundle since all langs are included. // import Highlight from 'react-highlight'; class CodeE...
src/components/map/zoom-control.js
boundlessgeo/sdk
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * 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 ...
src/styles/styles.js
mechanizzed/talk-support
import React from 'react'; import {StyleSheet} from 'react-native'; const styles = StyleSheet.create({ container:{ flex: 1, paddingTop: 25, }, buttonYes:{ flex: 1, padding: 40, backgroundColor: 'green', justifyContent: 'center' }, buttonNo:{ f...
pages/demos/badges.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/demos/badges', false, /\.md|\.js$/); const reqSource = require.context('!raw-loader!../../docs/src/page...
node_modules/react-bootstrap/es/Image.js
NathanBWaters/jb_club
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 ...
chrome/browser/resources/pdf/viewport.js
TeslaProject/external_chromium_org
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * Returns the area of the intersection of two rectangles. * @param {Object} rect1 the first rect * @param {Object} rect2 the second rect * @return...
ajax/libs/foundation/4.0.4/js/vendor/jquery.js
aashish24/cdnjs
/*! * 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...
Realization/frontend/czechidm-core/src/components/advanced/Form/AbstractFormAttributeRenderer.js
bcvsolutions/CzechIdMng
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; // import * as Basic from '../../basic'; import * as Utils from '../../../utils'; import { FormAttributeManager } from '../../../redux'; const formAttributeManager = new FormAttributeManager(); /** * Abstract form value component ...
dist/bower_components/angular-scenario/angular-scenario.js
stiucsib86/recyclefun-web
/*! * 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. ...