path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
wrappers/json.js
karolklp/slonecznikowe2
import React from 'react' import Helmet from 'react-helmet' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { route: React.PropTypes.object, } }, render () { const data = this.props.route.page.data return ( <div> <Helmet tit...
TGMeituan/Components/Home/HotChannel.js
targetcloud/Meituan
/** * Created by targetcloud on 2016/12/22. * http://blog.csdn.net/callzjy/article/details/53856163 */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image } from 'react-native'; var CommonCell = require('../Common/CommonCell'); var hotChannelData = requi...
src/nav/StreamTabs.js
kunall17/zulip-mobile
/* @TODO flow */ import React from 'react'; import { Text } from 'react-native'; import { TabNavigator, TabBarTop } from 'react-navigation'; import { FormattedMessage } from 'react-intl'; import tabsOptions from '../styles/tabs'; import UnreadStreamsContainer from '../unread/UnreadStreamsContainer'; import Subscriptio...
ajax/libs/react/16.1.0-beta.1/umd/react.development.js
sufuf3/cdnjs
/** @license React v16.1.0-beta.1 * react.development.js * * 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. */ (function (global, factory) { typeof exports === 'object' && typeof module !==...
kitsune/sumo/static/sumo/js/tests/showfortests.js
mythmon/kitsune
import React from 'react'; import {default as mochaJsdom, rerequire} from 'mocha-jsdom'; import {default as chai, expect} from 'chai'; import chaiLint from 'chai-lint'; import sinon from 'sinon'; import mochaJquery from './fixtures/mochaJquery.js'; import mochaBrowserDetect from './fixtures/mochaBrowserDetect.js'; ch...
03a-todo-list-from-scratch/src/AllTodos.js
dtanzer/react-basic-examples
import React from 'react'; export class AllTodos extends React.Component { render() { return ( <ul> <li>FIXME render all todos</li> </ul> ); } }
src/client.js
hunt-genes/gwasc
/* global window document */ /* eslint "import/no-extraneous-dependencies": 0 */ import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import Relay from 'react-relay'; import IsomorphicRelay from 'isomorphic-relay'; import IsomorphicRouter from 'isomorphic-relay-router'; import { match,...
assets/plugins/skrollr/test/jquery.js
spectrumheritage/website
/*! 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...
src/components/pages/SelectPage/Mobile/SelectEcommerceMobile.js
ESTEBANMURUZABAL/bananaStore
import React from 'react'; import {FormattedMessage} from 'react-intl'; import intlData from './SelectPage.intl';// Flux import IntlStore from '../../../../stores/Application/IntlStore'; import {Link} from 'react-router'; export default class SelectEcommerceMobile extends React.Component { // eslint-disable-line react...
ajax/libs/core-js/2.1.4/library.js
Piicksarn/cdnjs
/** * core-js 2.1.4 * 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...
components/Chunk.js
macocha/react-words
import React from 'react'; import classnames from 'classnames'; export default class Chunk extends React.Component { render() { return ( <div className='chunk-board-chunk' onClick={this.props.onClick} style={(this.props.used||this.props.selected)?{visibility: 'hidden'}:{}}>{this.props...
ajax/libs/react/0.13.0-rc2/react-with-addons.min.js
thisispiers/cdnjs
/** * React (with addons) v0.13.0-rc2 * * 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 ...
misc/tabledrag.js
foodcoop/ort
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
ajax/libs/material-ui/4.9.6/esm/StepButton/StepButton.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import ButtonBase from"../ButtonBase";import...
index.ios.js
xixijay1988/ZhihuDailyRN
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import AppNav from './src/AppNav'; class ZhihuDailyRN extends Component { render() { return ( <AppN...
modules/core/client/components/NavigationMenuItem.js
Trustroots/trustroots
// External dependencies import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; export default function NavigationMenuItem({ children, className, currentPath, path, ...rest }) { return ( <li className={classnames(className, { active: path === c...
node_modules/react-error-overlay/lib/components/CodeBlock.js
oiricaud/horizon-education
/** * 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. */ import Rea...
ajax/libs/x-editable/1.4.5/jquery-editable/js/jquery-editable-poshytip.js
legomushroom/cdnjs
/*! X-editable - v1.4.5 * 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...
ajax/libs/react-bootstrap/0.23.5/react-bootstrap.min.js
melvinsembrano/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return ...
pages/index.js
InnoD-WebTier/bsjas
import React from 'react'; import Helmet from 'react-helmet'; import { config } from 'config'; import { Link } from 'react-router'; import { prefixLink } from 'gatsby-helpers'; class Index extends React.Component { render () { const backgroundLink = prefixLink(`/assets/bg.jpeg`); const style = { 'back...
presto-main/src/main/resources/webapp/vendor/react/JSXTransformer.js
hulu/presto
/** * JSXTransformer v0.13.1 */ (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...
node_modules/react-select/examples/src/app.js
rblin081/drafting-client
/* eslint react/prop-types: 0 */ import React from 'react'; import ReactDOM from 'react-dom'; import Select from 'react-select'; import Creatable from './components/Creatable'; import Contributors from './components/Contributors'; import GithubUsers from './components/GithubUsers'; import CustomComponents from './com...
src/parser/shared/modules/features/CharacterTab/Component/Talents.js
FaideWW/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import SPELLS from 'common/SPELLS/index'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; class Talents extends React.PureComponent { static propTypes = { talents: PropTypes.array.isRequired, }; render() { ...
packages/with-log/test/index.js
deepsweet/hocs
/* eslint-disable no-console */ import React from 'react' import { mount } from 'enzyme' import withLog from '../src/' const Target = () => null describe('withLog', () => { beforeAll(() => { jest.spyOn(console, 'log').mockImplementation(() => {}) }) afterEach(() => { console.log.mockClear() }) af...
ajax/libs/js-data/1.5.0/js-data-debug.js
dmsanchez86/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data-debug.js * @version 1.5.0 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefine...
ajax/libs/zeroclipboard/2.1.2/ZeroClipboard.js
hare1039/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.1.2 */ (function(window, undefined) { "use strict";...
test/unit/componentsTest.js
xxsanekxx/react-githubSearch
import React from 'react'; import sinon, { spy } from 'sinon'; import { shallow, render, mount } from 'enzyme'; import { expect } from 'chai'; import nock from 'nock'; require('../helper'); import Layout from '../../components/Layout'; import Html from '../../components/Html'; import Navigation from '../../components/...
ajax/libs/cyclejs-dom/3.1.1/cycle-dom.js
extend1994/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.CycleDOM = f()...
docs/src/sections/ButtonGroupSection.js
jesenko/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function ButtonGroupSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> ...
node_modules/react-icons/go/no-newline.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const GoNoNewline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35 12.5v5h-5v-5l-7.5 7.5 7.5 7.5v-5h7.5s2.5 0 2.5-2.5v-7.5h-5z m-26.2-1.2c-4.9 0-8.8 3.9-8.8 8.7 0 4.8 3.9 8.8 8.8 8.8s8.7-4 8.7-8.8c0-4.8-3.9-8.7-8.7-8.7z m-5 8.7...
wp-includes/js/jquery/jquery.js
dqc/accelerate-proj
/*! 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...
tinblog/admin/editor/examples/jquery-ui/js/jquery-ui-1.9.2.custom.js
dualdng/lab
/*! jQuery UI - v1.9.2 - 2012-11-23 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js,...
client/src/components/TextField/tests/TextField-story.js
silverstripe/silverstripe-admin
import React from 'react'; // eslint-disable-next-line import/no-extraneous-dependencies import { setAddon, storiesOf } from '@storybook/react'; import { withKnobs, number, text } from '@storybook/addon-knobs'; import JSXAddon from 'storybook-addon-jsx'; setAddon(JSXAddon); import TextField from 'components/TextField...
packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-2/actual.js
kedromelon/babel
// Don't elide React if a JSX element appears somewhere. import * as React from "react"; <div/>;
app/components/Atoms/RemainingCharacters/RemainingCharacters.js
shibe97/worc
import React from 'react'; import styles from './remainingCharacters.css'; export default ({ remainingCharacters }) => ( <span className={remainingCharacters < 0 ? `${styles.overLength} mr15px` : 'mr15px'}>{remainingCharacters}</span> );
components/illustrations/shared/emoji-block.js
skidding/illustrated-algorithms
import PropTypes from 'prop-types'; import React from 'react'; import PureLayoutComponent from '../../../utils/pure-layout-component'; import EmojiIcon from './emoji-icon'; const { round } = Math; class EmojiBlock extends PureLayoutComponent { render() { const { name, glow, } = this.props; c...
components/StaticImage.js
fridl8/cold-bacon-client
import React, { Component } from 'react'; import { TouchableWithoutFeedback, Image, View } from 'react-native'; import PropTypes from 'prop-types'; import { StackNagivator } from 'react-navigation'; import FadeInView from '../animations/FadeInView'; export default class ClickableImage extends Component { static prop...
fields/types/cloudinaryimage/CloudinaryImageColumn.js
pr1ntr/keystone
import React from 'react'; import CloudinaryImageSummary from '../../components/columns/CloudinaryImageSummary'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var CloudinaryImageColumn = React.createClass({ displayName: 'CloudinaryImageCo...
client/index.js
TylerKirby/pliny-app-react
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App.jsx'; ReactDOM.render( <App />, document.getElementById('root') );
webapp/src/components/disease/diseasePageAssociationsTable.js
alliance-genome/agr
/* eslint-disable react/no-set-state */ import React, { Component } from 'react'; import { RemoteDataTable } from '../../components/dataTable'; class DiseasePageAssociationsTable extends Component { constructor(props) { super(props); this.state = { hideExtra: true }; this.handleToggleExtra = th...
demo/icons/notification.js
jahglow/MDIcon
import React from 'react'; export const ic_adb = <path d="M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63zM9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 0c-....
ajax/libs/inferno-mobx/1.1.0/inferno-mobx.js
joeyparrish/cdnjs
/*! * inferno-mobx v1.1.0 * (c) 2017 Ryan Megidov * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('inferno-component'), require('mobx'), require('inferno-create-class'), require('inferno-create-elemen...
ajax/libs/flocks.js/1.1.0/flocks.js
prosenjit-itobuz/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 plumbing<...
app/packs/src/components/chemscanner/containers/HeaderMenuContainer.js
ComPlat/chemotion_ELN
import { pascalize } from 'humps'; import React from 'react'; import { connect } from 'react-redux'; import { scanFile } from '../actions/fileActions'; import * as types from '../actions/ActionTypes'; import HeaderMenu from '../components/HeaderMenu'; import { CALL_API } from '../middleware/api'; import { extractReac...
fields/types/datearray/DateArrayFilter.js
dvdcastro/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import moment from 'moment'; import DayPicker from 'react-day-picker'; import { FormField, FormInput, FormRow, FormSelect } from 'elemental'; const PRESENCE_OPTIONS = [ { label: 'At least one element', value: 'some' }, { label: 'No element', value:...
app/javascript/mastodon/components/status_action_bar.js
h3zjp/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenuContainer from '../containers/dropdown_menu_container'; import { defineMessages, injectIntl } from ...
modules/__tests__/pushState-test.js
jamiehill/react-router
/*eslint-env mocha */ import expect from 'expect' import React from 'react' import resetHash from './resetHash' import execSteps from './execSteps' import Router from '../Router' import Route from '../Route' describe('pushState', function () { beforeEach(resetHash) let node beforeEach(function () { node = d...
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开始关闭 * 另外一个用于状态,用于...
src/index.js
lnrd256/twitter_client
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import promise from 'redux-promise' import App from './components/app'; import reducers from './reducers'; import {Router,browserHistory} from 'react-router'; import...
src/routes/Logs/components/Logs.js
TheTorProject/ooni-wui
import React from 'react' import { FormattedMessage } from 'react-intl' import fetch from 'isomorphic-fetch' import './Logs.scss' class LogViewer extends React.Component { static propTypes = { logData: React.PropTypes.string } constructor (props) { super(props) this.state = { logData: props.l...
src/components/Nav/Nav.js
isaacrowntree/hyde
import React, { Component } from 'react'; import { LOGOUT, Store } from './../../Redux'; class Nav extends Component { constructor(props) { super(props); this.logout = this.logout.bind(this); } logout(e) { Store.dispatch({type: LOGOUT}); e.preventDefault(); } render() { return ( ...
sites/all/modules/contrib/context/plugins/context_reaction_block.js
samphp2012/researchhere
(function($){ Drupal.behaviors.contextReactionBlock = {attach: function(context) { $('form.context-editor:not(.context-block-processed)') .addClass('context-block-processed') .each(function() { var id = $(this).attr('id'); Drupal.contextBlockEditor = Drupal.contextBlockEditor || {}; $(this)....
fields/types/name/NameColumn.js
matthewstyers/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; import displayName from 'display-name'; var NameColumn = React.createClass({ displayName: 'NameColumn', propTypes: { col: React.PropTypes.object, data: React.Pr...
ajax/libs/booking-js/2.8.2/booking.min.js
cdnjs/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?exports.TimekitBooking=t(require("jquery")):e.TimekitBooking=t(e.jQuery)}(window,(function(e){return function(e){var t={};function n(i)...
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...
addons/comments/src/manager/components/CommentList/index.js
jribeiro/storybook
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import style from './style'; import CommentItem from '../CommentItem'; export default class CommentList extends Component { componentDidMount() { this.wrapper.scrollTop = this.wrapper.scrollHeight; } componentDidUpdate(prev) { ...
pages/postcss.js
RossAD/MyWebsite
import React from 'react' import './example.css' import DocumentTitle from 'react-document-title' import { config } from 'config' export default class PostCSS extends React.Component { render () { return ( <DocumentTitle title={`${config.siteTitle} | Hi PostCSSy friends`}> <div> <h1 class...
src/parser/priest/holy/modules/spells/azeritetraits/PrayerfulLitany.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; import { calculateAzeriteEffects } from 'common/stats'; import { formatPercentage, formatThousands } from 'common/format';...
ajax/libs/mobx/2.6.5/mobx.min.js
menuka94/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ "use strict";function e(e,n,r,o){return 1===arguments.length&&"function"==typeof e?V(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof n?V(e,n):1===arguments.length&&"string"==typeof e?t(e):t(n).apply(null,arguments)}function t(e){return...
src/svg-icons/device/wifi-tethering.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceWifiTethering = (props) => ( <SvgIcon {...props}> <path d="M12 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 2c0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19l1-1.74c-1.19-.7-2-1.97-2-3.45 0-2.21...
src/svg-icons/notification/do-not-disturb-on.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationDoNotDisturbOn = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/> </SvgIcon> ); NotificationDoNotDisturbOn = pure(No...
fields/types/location/LocationFilter.js
everisARQ/keystone
import React from 'react'; import { FormField, FormInput, FormRow, SegmentedControl } from 'elemental'; const INVERTED_OPTIONS = [ { label: 'Matches', value: false }, { label: 'Does NOT Match', value: true }, ]; function getDefaultValue () { return { inverted: INVERTED_OPTIONS[0].value, street: undefined, c...
src/svg-icons/device/screen-lock-rotation.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceScreenLockRotation = (props) => ( <SvgIcon {...props}> <path d="M23.25 12.77l-2.57-2.57-1.41 1.41 2.22 2.22-5.66 5.66L4.51 8.17l5.66-5.66 2.1 2.1 1.41-1.41L11.23.75c-.59-.59-1.54-.59-2.12 0L2.75 7.11c-.59...
ajax/libs/jquery/1.8.3/jquery.js
cgvarela/cdnjs
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
eventkit_cloud/ui/static/ui/app/components/MapTools/DropZoneError.js
venicegeo/eventkit-cloud
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import BaseDialog from '../Dialog/BaseDialog'; export class DropZoneError extends Component { constructor(props) { super(props); this.handleErrorClear = this.handleErrorClear.bind(this); this.state = { ...
src/js/components/table/table_action_button.js
working-minds/realizejs
import React, { Component } from 'react'; import _ from 'lodash'; import PropTypes from '../../prop_types'; import URL from '../../utils/url'; import { autobind, mixin } from '../../utils/decorators'; import { CssClassMixin, RequestHandlerMixin } from '../../mixins'; import Button from '../button/button'; import { Li...
src/svg-icons/places/smoking-rooms.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesSmokingRooms = (props) => ( <SvgIcon {...props}> <path d="M2 16h15v3H2zm18.5 0H22v3h-1.5zM18 16h1.5v3H18zm.85-8.27c.62-.61 1-1.45 1-2.38C19.85 3.5 18.35 2 16.5 2v1.5c1.02 0 1.85.83 1.85 1.85S17.52 7.2 16....
docs/app/Examples/elements/Image/Variations/ImageExampleFloated.js
clemensw/stardust
import React from 'react' import { Segment, Image } from 'semantic-ui-react' const src = '/assets/images/wireframe/image-text.png' const ImageExampleFloated = () => ( <Segment> <Image src={src} size='small' floated='left' /> <p> Te eum doming eirmod, nominati pertinacia argumentum ad his. Ex eam alia ...
src/components/Home/SurahsList/index.js
hasibsahibzada/quran.com-frontend
import React from 'react'; import styled from 'styled-components'; import * as customPropTypes from 'customPropTypes'; import Link from 'react-router/lib/Link'; import { CHAPTERS_LIST_EVENTS } from '../../../events'; const Item = styled.li` color: ${props => props.theme.brandPrimary}; &:hover { background: #...
code/day05/01vuex/js/jquery-1.10.1.js
weizhengda/Vue.js
/*! * jQuery JavaScript Library v1.10.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-30T21:49Z */ (function( window, undefined ) { // ...
src/views/DisplayView.js
andrewSRahn/pickban
import React from 'react' export default function DisplayView(props){ return ( <div id='display'> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scramb...
Bindaries/CalgarySensorMap/js/jquery.min.js
lkcozy/calgarysensor
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBord...
examples/counter/src/index.js
tjdavies/RDX
import React from 'react'; import ReactDOM from 'react-dom'; import copal from 'copal'; export const TodoApp = copal( (state, actions) => <div> <button onClick={actions.decrement}>-</button> <div>{state.value}</div> <button onClick={actions.increment}>+</button> ...
client/js/app.2.js
training4developers/react_06262017
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import { createStore, bindActionCreators, applyMiddleware } from 'redux'; import { connect, Provider } from 'react-redux'; import keyMirror from 'key-mirror'; import thunk from 'redux-thunk'; const actionTypes = keyMirror(...
src/pages/waiter/new-order.js
batusai513/client-side-restaurant-app
import React, {createClass, PropTypes} from 'react'; import {WaiterNewOrder} from 'containers/waiter'; const WaiterNewOrderPage = createClass({ displayName: 'new-order-page', propTypes: { params: PropTypes.object.isRequired }, render(){ return( <WaiterNewOrder restaurantId={this.props.params.id} ...
src/components/HeaderImage/index.js
5minreact/5minreact.audio
import React from 'react'; import Link, { withPrefix } from 'gatsby-link'; import Wrapper from './Wrapper'; import imgSrc from '../../5minreactpodcast_1400.png'; function HeaderImage() { return ( <Wrapper> <Link to="/"> <img src={imgSrc} /> </Link> </Wrapper> ); } export default Heade...
prototypes/tiuDocuments/vdmTestDocuments.js
vistadataproject/VDM
/* * (c) VISTA Data Project 2016 */ 'use strict'; const testUtils = require('../testUtils'); module.exports = function (db, userId, facilityId) { const allergyProgressOne = { description: 'Allergy-generated Progress Note: Observed Allergy (to Chocolate) with a commment. The text says "signed off" thou...
spec/javascripts/jsx/external_apps/components/DeleteExternalToolButtonSpec.js
djbender/canvas-lms
/* * Copyright (C) 2014 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
ajax/libs/react-redux/4.0.2/react-redux.js
extend1994/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("redux")); else if(typeof define === 'function' && define.amd) define(["react", "redux"], factory); else if(typeof exports === 'object') e...
Presentation/Nop.Web/Content/Roxy_Fileman/js/jquery-1.11.1.min.js
andri0331/cetaku
/*! 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...
jenkins-design-language/src/js/components/material-ui/svg-icons/social/cake.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const SocialCake = (props) => ( <SvgIcon {...props}> <path d="M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5...
app/tests/components/MainSection-test.js
scotteggs/question_flow
// import React from 'react'; // import ReactTestUtils from 'react-addons-test-utils'; // import expect from 'expect'; // import { wrap } from 'react-stateless-wrapper'; // import MainSection from 'components/MainSection'; // import TopicItem from 'components/TopicItem'; // const WrappedMainSection = wrap(MainSection)...
packages/material-ui-icons/src/LocalDiningRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8.1 13.34l2.83-2.83-6.19-6.18c-.48-.48-1.31-.35-1.61.27-.71 1.49-.45 3.32.78 4.56l4.19 4.18zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28...
src/redux/utils/createDevToolsWindow.js
rekyyang/ArtificalLiverCloud
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import DevTools from '../../containers/DevToolsWindow'; export default function createDevToolsWindow(store) { const win = window.open( null, 'redux-devtools', // give it a name so it reuses the same window ...
src/DatePicker/DatePickerInline.js
pradel/material-ui
import React from 'react'; import Popover from '../Popover/Popover'; import PopoverAnimationFromTop from '../Popover/PopoverAnimationVertical'; const styles = { actions: { marginRight: 8, paddingBottom: 12, textAlign: 'right', }, }; class DatePickerInline extends React.Component { static propTypes =...
ajax/libs/core-js/0.8.1/library.js
iwdmb/cdnjs
/** * Core.js 0.8.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ var __e = null, __g = null; (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...
src/parser/paladin/holy/modules/talents/AuraOfSacrificeDamageReduction.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import { Trans } from '@lingui/macro'; import SPELLS from 'common/SPELLS'; import fetchWcl from 'common/fetchWclApi'; import SpellIcon from 'common/SpellIcon'; import { formatThousands, formatNumber, formatPercentage } from 'common/format'; import Analyzer, { SELECTED_PLAYER } from 'parser/c...
app/components/CleanComponent/CleanSidebar.js
openexp/OpenEXP
import React, { Component } from 'react'; import { Segment, Header, Menu, Icon, Button, Grid } from 'semantic-ui-react'; import styles from '../styles/collect.css'; const HELP_STEP = { MENU: 0, SIGNAL_EXPLANATION: 1, SIGNAL_SALINE: 2, SIGNAL_CONTACT: 3, SIGNAL_MOVEMENT: 4, LEARN_BRAIN: 5, LEARN_BLINK: 6,...
packages/react-error-overlay/src/containers/StackFrameCodeBlock.js
viankakrisna/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. */ /* @flow */ import React from 'react'; import CodeBlock from '../components/CodeBlock'; import { applyStyles } from '../utils/dom/css'; ...
src/scripts/app.js
IronNation/NCI-trial-search
import React from 'react' import ReactDOM from 'react-dom' import Backbone from 'backbone' import HomeView from './views/HomeView' import LoginView from './views/LoginView' import SearchView from './views/SearchView' import SearchResultsView from './views/SearchResultsView' import TrialDetailsView from './views/TrialDe...
src/routes/Login/components/Login.js
piu130/react-redux-gpa-app
import React from 'react' import { browserHistory } from 'react-router' import { Form, Field, reduxForm } from 'redux-form' import { FormGroup, ControlLabel, Button } from 'react-bootstrap' import { loginSucceed, loginFailed } from '../modules/login' export const Login = (props) => ( <div> <Form onSubmit={props....
addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js
feroda/odoo
/*! jQuery UI - v1.9.1 - 2012-10-29 * 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....
client/app/scripts/components/search-item.js
dilgerma/scope
import React from 'react'; import { connect } from 'react-redux'; import { unpinSearch } from '../actions/app-actions'; class SearchItem extends React.Component { constructor(props, context) { super(props, context); this.handleClick = this.handleClick.bind(this); } handleClick(ev) { ev.preventDefa...
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...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/src/__tests__/NavItem.spec.js
GoogleCloudPlatform/prometheus-engine
import React from 'react'; import { shallow } from 'enzyme'; import { NavItem } from '../'; describe('NavItem', () => { it('should render .nav-item markup', () => { const wrapper = shallow(<NavItem />); expect(wrapper.html()).toBe('<li class="nav-item"></li>'); }); it('should render custom tag', () => ...
packages/react-devtools-shell/src/app/InspectableElements/NestedProps.js
chenglou/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 React from 'react'; const object = { string: 'abc', longString: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKJLMN...
ajax/libs/react-bootstrap/0.6.2/react-bootstrap.js
WebReflection/cdnjs
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['react'], factory); } else { // Browser globals root.ReactBootstrap = factory(root.React); } }(this, function (React) { /** * almond 0.1.2 Copyright (c) 2011, The Dojo Foundation...
examples/express-nunjucks-postcss-unstyled-react-webpack-mocha-sqlite-twitter/app/routes.js
sahat/megaboilerplate
import React from 'react'; import { IndexRoute, Route } from 'react-router'; import App from './components/App'; import Home from './components/Home'; import Contact from './components/Contact'; import NotFound from './components/NotFound'; import Login from './components/Account/Login'; import Signup from './component...
examples/query-params/app.js
kenwheeler/react-router
import React from 'react'; import { history } from 'react-router/lib/HashHistory'; import { Router, Route, Link } from 'react-router'; var User = React.createClass({ render() { var { query } = this.props.location; var age = query && query.showAge ? '33' : ''; var { userID } = this.props.params; retur...
src/components/Toggle/Toggle-test.js
jzhang300/carbon-components-react
import React from 'react'; import Toggle from '../Toggle'; import { mount } from 'enzyme'; describe('Toggle', () => { describe('Renders as expected', () => { const wrapper = mount(<Toggle id="toggle-1" />); const input = wrapper.find('input'); it('Switch and label Ids should match', () => { const...