path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
lib/ExportCsv/tests/ExportCsv-test.js
folio-org/stripes-components
import React from 'react'; import { beforeEach, it, describe } from 'mocha'; import { expect } from 'chai'; import { mountWithContext } from '../../../tests/helpers'; import ButtonInteractor from '../../Button/tests/interactor'; import ExportCsv from '../ExportCsv'; import testData from './export'; describe('ExportC...
src/containers/tab/Tabs.js
lixiaoyang1992/react-native-starter-kit
import React from 'react'; import { View, StyleSheet } from 'react-native'; import { TabBar } from 'antd-mobile'; import { Actions } from 'react-native-router-flux'; import IndexContainer from '../index/Container'; import SettingContainer from '../setting/Container'; const styles = StyleSheet.create({ container: { ...
src/Parser/DeathKnight/Blood/Modules/Items/T20_2pc.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; class T20_2pc exte...
ajax/libs/zeroclipboard/2.0.1/ZeroClipboard.Core.js
stuartpb/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.1 */ (function(window, undefined) { "use strict";...
ajax/libs/vkui/4.22.0/cjs/components/RangeSlider/RangeSlider.min.js
cdnjs/cdnjs
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault").default,_interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _jsxRuntime=require("../../lib/jsxRuntime"),_...
src/isomorphic/classic/element/__tests__/ReactElement-test.js
gitignorance/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...
components/callout.js
kentcdodds/glamorous-website
import React from 'react' import glamorous from 'glamorous' import mdToHTML from './utils/md-to-html' const Container = glamorous.div(({type, theme}) => ({ borderLeft: '4px solid', borderColor: theme.colors[type], backgroundColor: theme.colors[`${type}Light`], padding: '12px 22px 8px 28px', margin: '18px 0px...
ajax/libs/redux-form/4.0.5/redux-form.min.js
iwdmb/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].expor...
src/TextField/EnhancedTextarea.spec.js
hai-cea/material-ui
/* eslint-env mocha */ import React from 'react'; import PropTypes from 'prop-types'; import {mount} from 'enzyme'; import {assert} from 'chai'; import EnhancedTextarea from './EnhancedTextarea'; import getMuiTheme from '../styles/getMuiTheme'; describe('<EnhancedTextArea />', () => { const muiTheme = getMuiTheme();...
dungeon-maker/src/components/AddPowers.js
sgottreu/dungeoneering
import React from 'react'; import PowersForm from './PowersForm'; function AddPowers( {existingPowers, current_power, power, boundPowerAC, entitiesState, powersState, boundEntityAC} ) { return ( <div className="AddPowers"> <PowersForm entityType='character' existingPowers={existi...
src/svg-icons/device/brightness-auto.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBrightnessAuto = (props) => ( <SvgIcon {...props}> <path d="M10.85 12.65h2.3L12 9l-1.15 3.65zM20 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.69zM14.3 ...
packages/bundle/src/adaptiveCards/createAdaptiveCardsAttachmentMiddleware.js
billba/botchat
import React from 'react'; import AdaptiveCardAttachment from './Attachment/AdaptiveCardAttachment'; import AnimationCardAttachment from './Attachment/AnimationCardAttachment'; import AudioCardAttachment from './Attachment/AudioCardAttachment'; import HeroCardAttachment from './Attachment/HeroCardAttachment'; import O...
src/views/About.js
JoJoChilly/joexp-react
import React, { Component } from 'react'; export default class About extends Component { render() { return ( <div> <div style={{ paddingTop: '30px' }}> <h2>Yes, finally I made it.</h2> <p>做一个网站并不那么简单,尤其是对于拖延症晚期患者来说。</p> ...
ajax/libs/yui/3.10.3/simpleyui/simpleyui-debug.js
mfinelli/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 @main yui @submodule yui-base **/ /*jshint eqeqeq: false*/ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The...
src/components/video_list.js
faraazm/ReactApp2
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = (props) => { const videoItems = props.videos.map((video) => { return ( <VideoListItem onVideoSelect={props.onVideoSelect} key={video.etag} video={video} /> ) }); return ( <ul className="col-md-4 list-group...
ajax/libs/6to5/2.1.0/browser.js
hasantayyar/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...
src/components/list_row.js
Daviepark/m
import React from 'react'; const ListRow = (props) => { return ( <li className="list-group-item" >{`${props.keyName} : ${props.val}`}</li> ); } export default ListRow;
app/routes.js
uvarovserge/tomorrowex-client
/* eslint flowtype-errors/show-errors: 0 */ import React from 'react'; import {Switch, Route} from 'react-router'; import App from './containers/App'; import HomePage from './containers/HomePage'; import WalletsPage from './containers/WalletsPage'; import WalletsReceivePage from './containers/WalletsReceivePage'; impor...
ajax/libs/forerunnerdb/1.3.644/fdb-core+persist.js
Amomo/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...
node_modules/semantic-ui-react/src/elements/Reveal/Reveal.js
mowbell/clickdelivery-fed-test
import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { customPropTypes, getElementType, getUnhandledProps, META, useKeyOnly, } from '../../lib' import RevealContent from './RevealContent' /** * A reveal displays additional content in place of previous content when...
voting_app/frontend/src/containers/PollContainer.js
azaleas/sentio
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import {api} from './../utils/Api'; import NotFound from './../components/NotFound'; import Poll from './../components/Poll'; class PollContainer extends Component { /*Single Poll Container*/ constructor(props) { super(p...
src/App.js
nickstanish/visual-audio-js
import React, { Component } from 'react'; import LegacyCanvas from './LegacyCanvas'; class App extends Component { render() { return ( <div className="App"> <LegacyCanvas /> </div> ); } } export default App;
src/components/Pill/Pill.js
propertybase/react-lds
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { IconButton } from '../Button'; const Pill = (props) => { const { bare, className, icon, label, onClose, portrait, preventCloseFocus, title, url, ...rest } = props; const ...
blueocean-material-icons/src/js/components/svg-icons/av/replay-30.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvReplay30 = (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-2.4 8.5h.4c.2 0 .4-.1.5-.2s.2-.2.2-.4v-.2s-.1-.1-.1-.2-.1-.1-.2-.1h-.5s-.1.1-.2.1-.1.1-.1.2v...
ajax/libs/angular.js/0.10.0/angular.js
pazguille/cdnjs
/** * @license AngularJS v0.10.0 * (c) 2010-2011 AngularJS http://angularjs.org * License: MIT */ 'use strict'; (function(window, document, undefined){ //////////////////////////////////// if (typeof document.getAttribute == $undefined) document.getAttribute = function() {}; /** * @ngdoc function * @name ang...
src/components/NewHouseholdMemberForm.js
cernanb/personal-chef-react-app
import React, { Component } from 'react'; import { Field, reduxForm } from 'redux-form'; import PropTypes from 'prop-types'; import { Form } from 'semantic-ui-react'; class NewHouseholdMemberForm extends Component { render() { const { handleSubmit } = this.props; return ( <Form onSubmit={handleSubmit}>...
blueocean-material-icons/src/js/components/svg-icons/action/assignment-turned-in.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionAssignmentTurnedIn = (props) => ( <SvgIcon {...props}> <path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1...
src/main/webapp/swagger/swagger-ui-standalone-preset.js
systelab/seed-jee
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerUIStandalonePreset=e():t.SwaggerUIStandalonePreset=e()}(this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var...
src/components/common/svg-icons/action/find-in-page.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFindInPage = (props) => ( <SvgIcon {...props}> <path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5...
docs/src/examples/elements/Reveal/States/RevealExampleActive.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Image, Reveal } from 'semantic-ui-react' const RevealExampleActive = () => ( <Reveal active animated='move'> <Reveal.Content visible> <Image src='/images/wireframe/square-image.png' size='small' /> </Reveal.Content> <Reveal.Content hidden> <Image src='/image...
communicator/extension/js/strophe.js
Traderlynk/Etherlynk
/** File: strophe.js * A JavaScript library for writing XMPP clients. * * This library uses either Bidirectional-streams Over Synchronous HTTP (BOSH) * to emulate a persistent, stateful, two-way connection to an XMPP server or * alternatively WebSockets. * * More information on BOSH can be found in XEP 124....
ajax/libs/flocks.js/1.0.2/flocks.js
dryajov/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. Load this module and use either the * flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks...
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.js
Timer/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'; function load({ id, ...rest } = { id: 0, user: { id: 42, ...
maodou/posts/client/components/posts.js
ShannChiang/meteor-react-redux-base
import React from 'react'; import {Link} from 'react-router'; import Tabs from '../containers/tabs'; import Loading from 'client/components/common/loading'; import moment from 'moment'; export default (props) => { const T = props.context.T; return ( <div style={{ paddingTop: '50px' }}> { props.co...
old-portfolio/js/libs/jquery-1.7.2.min.js
kaie-n/kaie-n.github.io
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
client/node_modules/uu5g03/dist-node/bricks/cookie-bar.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, ContentMixin, ColorSchemaMixin, Tools} from '../common/common.js'; import {FloatMixin} from '../layout/layout.js'; import {Div} from './factory.js'; import Span from './span.js'; import Link from './link.js'; import Button from './button.js'; import './coo...
test/specs/collections/Table/TableCell-test.js
Semantic-Org/Semantic-UI-React
import React from 'react' import * as common from 'test/specs/commonTests' import TableCell from 'src/collections/Table/TableCell' import { SUI } from 'src/lib' describe('TableCell', () => { common.isConformant(TableCell) common.rendersChildren(TableCell) common.implementsCreateMethod(TableCell) common.imple...
src/routes.js
hirzanalhakim/testKumparan
import React from 'react'; import { IndexRoute, Route } from 'react-router'; import { routerActions } from 'react-router-redux'; import { UserAuthWrapper } from 'redux-auth-wrapper'; import { App, Coba, Belajar, Home, NotFound } from 'containers'; import getRoutesUtils from 'utils/routes'; // eslint-disab...
app/components/AdHocModal.js
tidepool-org/chrome-uploader
/* * == BSD2 LICENSE == * Copyright (c) 2014-2016, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program is ...
docs/app/Examples/collections/Table/Variations/TableExampleFixedLine.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleFixedLine = () => { return ( <Table celled fixed singleLine> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.He...
client/src/javascript/components/modals/torrent-details-modal/TorrentGeneralInfo.js
stephdewit/flood
import {FormattedMessage, FormattedNumber, injectIntl} from 'react-intl'; import React from 'react'; import Size from '../../general/Size'; class TorrentGeneralInfo extends React.Component { getTags(tags) { return tags.map(tag => ( <span className="tag" key={tag}> {tag} </span> )); } ...
examples/contacts/src/index.js
solkimicreb/react-easy-state
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
packages/material-ui-icons/src/TabUnselectedSharp.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="M1 9h2V7H1v2zm0 4h2v-2H1v2zm8 8h2v-2H9v2zm-8-4h2v-2H1v2zm0 4h2v-2H1v2zM23 3H13v6h10V3zm-2 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5...
src/propTypes/glyphType.js
kmees/react-fabric
import React from 'react' export const GLYPH_TYPES = [ 'alert', 'alert2', 'alertOutline', 'arrowDown', 'arrowDown2', 'arrowDownLeft', 'arrowDownRight', 'arrowLeft', 'arrowRight', 'arrowUp', 'arrowUp2', 'arrowUpLeft', 'arrowUpRight', 'ascending', 'at', 'attachment', 'bag', 'bell', ...
packages/material-ui-icons/src/TrackChanges.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 ...
renderer/components/ErrorBoundary/AppErrorBoundary.js
LN-Zap/zap-desktop
import React, { Component } from 'react' import PropTypes from 'prop-types' import createZapIssueTemplate from '@zap/utils/github' import { mainLog } from '@zap/utils/log' import { DialogAppCrashed } from 'components/Dialog' export default class AppErrorBoundary extends Component { static submitErrorIssue(error) { ...
src/parser/deathknight/frost/modules/features/checklist/Module.js
sMteX/WoWAnalyzer
import React from 'react'; import BaseModule from 'parser/shared/modules/features/Checklist/Module'; import CastEfficiency from 'parser/shared/modules/CastEfficiency'; import Combatants from 'parser/shared/modules/Combatants'; import PreparationRuleAnalyzer from 'parser/shared/modules/features/Checklist/PreparationRul...
app/components/ForecastDay.js
paul-uu/weather
import React from 'react'; const days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'], months = ['January','February','March','April','May','June','July','August','Spetember','October','November', 'December']; const dateStyle = { float: 'left' }; export default class ForecastDay extends...
ajax/libs/forerunnerdb/1.3.652/fdb-core+views.js
viskin/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...
app/components/IssueIcon/index.js
Cherchercher/Wedding-Llama
import React from 'react'; function IssueIcon(props) { return ( <svg height="1em" width="0.875em" className={props.className} > <path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v...
Libraries/react-native/react-native-interface.js
sunblaze/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. * * @flow */...
src/svg-icons/image/hdr-on.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageHdrOn = (props) => ( <SvgIcon {...props}> <path d="M21 11.5v-1c0-.8-.7-1.5-1.5-1.5H16v6h1.5v-2h1.1l.9 2H21l-.9-2.1c.5-.3.9-.8.9-1.4zm-1.5 0h-2v-1h2v1zm-13-.5h-2V9H3v6h1.5v-2.5h2V15H8V9H6.5v2zM13 9H9.5v6H13...
client_apps/canvas_quizzes/apps/common/test/unit/components/dialog_test.js
samuels410/greatlakes-lms
define(function(require) { var React = require('react'); var Subject = require('jsx!components/dialog'); describe('Components.Dialog', function() { var Contents = React.createClass({ render: function() { return React.DOM.p({ children: 'Hello from Dialog!' }); } }); this.reactSuit...
app/react-icons/fa/tripadvisor.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaTripadvisor extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m11.4 21.8q0 0.7-0.5 1.1t-1.1 0.5q-0.7 0-1.2-0.5t-0.5-1.1q0-0.7 0.5-1.2t...
src/svg-icons/device/signal-cellular-null.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularNull = (props) => ( <SvgIcon {...props}> <path d="M20 6.83V20H6.83L20 6.83M22 2L2 22h20V2z"/> </SvgIcon> ); DeviceSignalCellularNull = pure(DeviceSignalCellularNull); DeviceSignalCellularN...
actor-apps/app-web/src/app/components/modals/AppCacheUpdate.react.js
berserkertdl/actor-platform
import React from 'react'; import Modal from 'react-modal'; //import pureRender from 'pure-render-decorator'; import { Styles, FlatButton } from 'material-ui'; import AppCacheStore from 'stores/AppCacheStore'; import AppCacheActionCreators from 'actions/AppCacheActionCreators'; import { KeyCodes } from 'constants/Act...
src/docs/examples/TextInput/ExampleError.js
wsherman67/UBA
import React from 'react'; import TextInput from 'ps-react/TextInput'; /** Required TextBox with error */ export default class ExampleError extends React.Component { render() { return ( <TextInput htmlId="example-optional" label="First Name" name="firstname" onChange={() => ...
ajax/libs/forerunnerdb/1.3.749/fdb-core.js
Piicksarn/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...
node_modules/react/dist/react-with-addons.js
raskolnikova/infomaps
/** * React (with addons) v0.14.9 */ (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!=="undef...
dac/ui/test/commonGlobalVariables.js
dremio/dremio-oss
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
components/ui/customtable/header/TableSorts.js
resource-watch/resource-watch
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import Icon from 'components/ui/icon'; function TableSorts(props) { const { field, sort, onSort } = props; return ( <div> <button className={classnames({ '-active': sort.field === field ...
src/svg-icons/image/rotate-right.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageRotateRight = (props) => ( <SvgIcon {...props}> <path d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.7...
administrator/components/com_remoteimage/includes/bootstrap/js/jquery.js
ForAEdesWeb/AEW22
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function( window, undefined ) { // Use the correct document accordingly with window argument (sandbox) var document = window.document, navigator = window.navigator, location = window.location; var jQuery = (function() { // Define a local copy of jQuery var jQuer...
CMS/redux/components/presentational/structure-listing.js
BJCheng/cs554-assignments
import React from 'react'; import { connect } from 'react-redux'; import Structure from './structure'; import { Table, TableHeader, TableHeaderColumn, TableBody, TableRow, TableRowColumn } from 'material-ui/Table'; import Action from '../../action'; import CircularProgress from 'material-ui/CircularProgress'; class St...
ajax/libs/forerunnerdb/1.2.23/fdb-core+views.min.js
him2him2/cdnjs
!function(z){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=z();else if("function"==typeof define&&define.amd)define([],z);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self);f.ForerunnerDB=z()}}(function(){return function f(m,k,b...
ajax/libs/material-ui/4.10.2/es/internal/svg-icons/KeyboardArrowLeft.js
cdnjs/cdnjs
import * as React from 'react'; import createSvgIcon from '../../utils/createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon( /*#__PURE__*/React.createElement("path", { d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z" }), 'KeyboardArrowLeft');
ajax/libs/yui/3.9.1/event-custom-base/event-custom-base.js
jaggedsoft/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * 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. * @mo...
node_modules/react-icons/io/help-buoy.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoHelpBuoy = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m17.5 2.5c9.7 0 17.5 7.8 17.5 17.5s-7.8 17.5-17.5 17.5-17.5-7.8-17.5-17.5 7.8-17.5 17.5-17.5z m13.9 11.9c-0.8-1.9-1.8-3.5-3.3-5s-3.2-2.5-5.1-3.3l-1.4 4.8c1.1 0.4 2.1...
src/components/pages/PostPage.js
Iktwo/readable
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { withRouter } from "react-router-dom"; import HeaderNav from "../HeaderNav"; import * as Styles from "../../utils/styles"; import * as Actions from "../../actions"; import * as API from "../../ut...
packages/icons/src/md/maps/LocalConvenienceStore.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdLocalConvenienceStore(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M38 14h6v26H28v-8h-8v8H4V14h6V8h28v6zm-16 6v-6h-6v2h4v2h-4v6h6v-2h-4v-2h4zm10 4V14h-2v4h-2v-4h-2v6h4v4h2z" /> </IconBase> ); } e...
react-redux-i18n-starter-kit/src/containers/DevToolsWindow.js
josedab/react-examples
import React from 'react' import { createDevTools } from 'redux-devtools' import LogMonitor from 'redux-devtools-log-monitor' export default createDevTools( <LogMonitor /> )
ajax/libs/yui/3.13.0/scrollview-base/scrollview-base-debug.js
mitsuruog/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
packages/icons/src/services.js
yldio/joyent-portal
import React from 'react'; import Rotate from './rotate'; import calcFill from './fill'; export default ({ fill = null, light = false, disabled = false, direction = 'down', colors = {}, style = {}, ...rest }) => ( <Rotate direction={direction}> {({ style: rotateStyle }) => ( <svg wid...
packages/material-ui-icons/src/CallReceived.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let CallReceived = props => <SvgIcon {...props}> <path d="M20 5.41L18.59 4 7 15.59V9H5v10h10v-2H8.41z" /> </SvgIcon>; CallReceived = pure(CallReceived); CallReceived.muiName = 'SvgIcon'; export default Ca...
packages/material-ui-icons/src/DesktopAccessDisabledRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M.31 2c-.39.39-.39 1.02 0 1.41l.69.68V16c0 1.1.9 2 2 2h7v2H9c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1h-1v-2h.9l5.29 5.29c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L1.72 2A.9959.9959 0...
demo/src/examples/Advanced.js
effektif/react-mentions
import React from 'react' import { compose, withHandlers } from 'recompose' import { MentionsInput, Mention } from '../../../src' import { provideExampleValue } from './higher-order' import defaultStyle from './defaultStyle' import defaultMentionStyle from './defaultMentionStyle' import { merge } from '../../../src...
static/bootstrap-editable.js
nafur/conceptmap
/*! X-editable - v1.5.1 * 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 form tag!...
ajax/libs/jquery-mobile/1.3.1/jquery.mobile.js
thykka/cdnjs
/* * jQuery Mobile 1.3.1 * Git HEAD hash: 74b4bec049fd93e4fe40205e6157de16eb64eb46 <> Date: Wed Apr 10 2013 21:57:23 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory )...
node_modules/babel-types/node_modules/core-js/client/shim.js
bobhami/payrollbot
/** * core-js 2.4.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2016 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
__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/404.js
nsipplswezey/react-static-boilerplate
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React from 'react'; export default class { render() { return ( <div> <h1>Not Found</h1> <p>The page you're looking for was not foun...
ajax/libs/yui/3.10.3/datatable-core/datatable-core-coverage.js
the-destro/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-core/datatable-core.js']) { __coverage__['build/datatable-core/datatable-core.js'] = {"path":"build/datatable-core/datatable-core.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
ajax/libs/react-bootstrap-typeahead/1.0.0-beta3/react-bootstrap-typeahead.js
brix/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...
src/applications/personalization/search-representative/config/chapters/treatment-disclosure-authorization/index.js
department-of-veterans-affairs/vets-website
import React from 'react'; import AuthorizationLimits from '../../../components/AuthorizationLimits'; const description = 'Choose which protected treatment records you authorize your accredited representative to access.'; const AuthorizationsDescription = () => ( <div className="vads-u-margin-y--3"> Select <...
src/svg-icons/action/settings-bluetooth.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsBluetooth = (props) => ( <SvgIcon {...props}> <path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4....
src/svg-icons/social/notifications.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialNotifications = (props) => ( <SvgIcon {...props}> <path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 ...
src/pages/filter/exemploDeFiltroComOpcoes.js
Synchro-TEC/site-apollo-11
import React from 'react'; import { Filter } from 'syntec-apollo-11'; class ExemploDeFiltroComOpcoes extends React.Component { /** * Função que recebe o valor do campo de busca e é disparada quando o usuário aplica o filtro. */ filtrar(valorDoCampoDeBusca) { } /** * Função para executar quando o us...
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/PropsNotDefinedButUsed.js
jamesgpearce/flow
// @flow import React from 'react'; class MyComponent1 extends React.Component { state: State = { initialValue: this.props.value, }; } class MyComponent2 extends React.Component { render() { return this.props.children; } } class MyComponent3 extends React.Component { render() { const props = {...
src/main/webapp/static/baiduMap/static/js/jquery-ui-1.9.2.custom.js
Honding/jfx
/*! jQuery UI - v1.9.2 - 2013-01-02 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomplete....
src/GiftedAvatar.js
atFriendly/react-native-friendly-chat
/* eslint no-use-before-define: ["error", { "variables": false }], padded-blocks: 0 */ import PropTypes from 'prop-types'; import React from 'react'; import { Image, Text, TouchableOpacity, View } from 'react-native'; import Color from './Color'; const { carrot, emerald, peterRiver, wisteria, alizarin, turquoise, mid...
src/components/google_map.js
blueeyess/redux-intermediate
import React, { Component } from 'react'; class GoogleMap extends Component { componentDidMount() { new google.maps.Map(this.refs.map, { zoom: 12, center: { lat: this.props.lat, lng: this.props.lon } }) } render() { return ( <div ref="map" > </div> ...
public/javascripts/Search.js
chenjic215/search-doctor
import React from 'react'; import SearchHeader from './SearchHeader'; import SearchResults from './SearchResults'; var HttpServices = require("./services/HttpServices"); class Search extends React.Component { constructor(props) { super(props); this.state = { searchText : this.props.location.state.sea...
files/rxjs/2.3.11/rx.lite.compat.js
towerz/jsdelivr
// 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 }; v...
src/components/pages/Checkout/Checkout.js
ESTEBANMURUZABAL/bananaStore
/** * Imports */ import React from 'react'; import connectToStores from 'fluxible-addons-react/connectToStores'; import {FormattedMessage} from 'react-intl'; import {Link} from 'react-router'; import config from '../../../config'; // Flux import AccountStore from '../../../stores/Account/AccountStore'; import CartS...
app/components/Home.js
ssmlee04/elite
import React, { Component } from 'react'; import { Link } from 'react-router'; import './Home.css'; import ReactDOM from "react-dom" // const iid = ReactDOM.findDOMNode(this.refs.industry).value export default class Home extends Component { componentDidMount() { setTimeout(() => { console.log("cllicked.......
dist/components/Node.js
mnmtanish/react-storybook-story
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(...
test/EndToEnd/ProjectTemplates/WinJsBlue.zip/default.js
mrward/nuget
// For an introduction to the Blank template, see the following documentation: // http://go.microsoft.com/fwlink/?LinkId=232509 (function () { "use strict"; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; app.onactivated = function (args) { if (args.detail.k...
packages/material-ui-icons/src/LocationOff.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0zm11.75 11.47l-.11-.11z" /><path d="M12 6.5c1.38 0 2.5 1.12 2.5 2.5 0 .74-.33 1.39-.83 1.85l3.63 3.63c.98-1.86 1.7-3.8 1.7-5.48 0-3.87-3.13-7-7-7-1.98 0-3.76.83...
Tornado_Project/static/js/jquery.min.js
Leo-yangshuai/Tornado
/*! 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 win...
src/interface/home/NotFound.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import { Link } from 'react-router-dom'; const NotFound = () => ( <div className="container"> <h1>404: Content not found</h1> <Link to="/">Go back home</Link> </div> ); export default NotFound;