path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/Post/Tags/Tags.js
saegeullee/saegeullee.github.io
// @flow strict import React from 'react'; import { Link } from 'gatsby'; import cx from 'classnames'; import styles from './Tags.module.scss'; type Props = { tags: string[], tagSlugs: string[], inSidebar?: boolean }; const Tags = ({ tags, tagSlugs, inSidebar }: Props) => ( <div className={styles['tags']}> ...
ajax/libs/raven.js/3.12.0/raven.js
BenjaminVanRyseghem/cdnjs
/*! Raven.js 3.11.0 (cb87941) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2017 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function(f){if(typeof expor...
src/RadarAxis.js
shauns/react-d3-radar
// @flow import React from 'react'; import type {TickScale} from './types'; type RadarAxisProps = { scale: TickScale, offsetAngle: number, domainMax: number, label: string, color: string, style?: {}, }; const defaultRadarAxisStyle = { axisOverreach: 1.1, labelOverreach: 1.2, fontSize: 10, fontFami...
src/FadeMixin.js
HorizonXP/react-bootstrap
import React from 'react'; import domUtils from './utils/domUtils'; import deprecationWarning from './utils/deprecationWarning'; // TODO: listen for onTransitionEnd to remove el function getElementsAndSelf(root, classes) { let els = root.querySelectorAll('.' + classes.join('.')); els = [].map.call(els, function(e...
app/components/FlowSourceCode/index.js
bruceli1986/react-qdp
/** * * FlowSourceCode:流程图示 * */ import React from 'react'; import { Modal, Spin } from 'antd'; import styles from './styles.css'; class FlowSourceCode extends React.Component { constructor(props, context) { super(props, context); this.state = { width: 'auto', loading: true, }; } compo...
ajax/libs/react-slick/0.3.0/react-slick.min.js
iamJoeTaylor/cdnjs
var Slider=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){var r=n(2),i=n(3),o=n(7),s=n(5),a=(n(4),n(6)),u=r.createClass(...
src/screens/types/Drawer.js
nanomish/a9
import React from 'react'; import {StyleSheet, View, Text} from 'react-native'; class MyClass extends React.Component { render() { return ( <View style={styles.container}> </View> ); } } const styles = StyleSheet.create({ container: { flex: 1, width: 300, alignItems: 'center', ...
gbe/resources/assets/js/components/ChangesChart.js
DemocracyApps/GBE
import React from 'react'; import VerticalBarChart from './VerticalBarChart'; var datasetStore = require('../stores/DatasetStore'); var stateStore = require('../stores/StateStore'); var dataModelStore = require('../stores/DataModelStore'); var apiActions = require('../common/ApiActions'); var AccountTypes = require('....
ajax/libs/angular.js/1.2.0rc3/angular-scenario.js
SeanPlusPlus/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * 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-07-03T13:48Z */ (function( window, undefined ) {'use ...
src/components/play/d3/graphs/three_circles/ThreeCircles.js
AndrewZures/ixora
import React, { Component } from 'react'; import d3 from 'd3'; export default class ThreeCircles extends Component { componentDidMount() { this.renderChart(); } renderChart() { let svg = d3.select('svg') svg.selectAll('circle') .data([32,57,112,144]) .style('fill', 'steelblue') .ente...
assets/jqwidgets/demos/react/app/treegrid/localdata/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTreeGrid from '../../../jqwidgets-react/react_jqxtreegrid.js'; class App extends React.Component { componentDidMount() { this.refs.myTreeGrid.expandRow(2); } render () { // prepare the data let source = ...
docs/app/Examples/views/Feed/Content/FeedExampleContentDateShorthand.js
shengnian/shengnian-ui-react
import React from 'react' import { Feed } from 'shengnian-ui-react' const image = '/assets/images/avatar/small/jenny.jpg' const date = '3 days ago' const summary = 'You added Jenny Hess to your coworker group.' const FeedExampleContentDateShorthand = () => ( <Feed> <Feed.Event image={image} date={date} summary=...
ajax/libs/rxjs/2.3.23/rx.lite.compat.js
iwdmb/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.js
mgoldsborough/cdnjs
/*! X-editable - v1.5.0 * 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 ...
server/routes/react-router-render.js
tech-dojo/react-showcase
import React from 'react'; import {renderToString} from 'react-dom/server'; import {match, RouterContext} from 'react-router'; import createLocation from 'history/lib/createLocation'; import ShowCase from './../../app/components/ShowCase'; import DataWrapper from './../../app/components/DataWrapper'; import ShowPiece f...
src/interface/others/Feeding.js
fyruna/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import Icon from 'common/Icon'; import { TooltipElement } from 'common/Tooltip'; // import Toggle from 'react-toggle'; function formatThousands(number) { return (`${Math.round...
grunt/config/browserify.js
dfosco/react
/*eslint-disable no-multi-str */ 'use strict'; var envify = require('envify/custom'); var grunt = require('grunt'); var UglifyJS = require('uglify-js'); var uglifyify = require('uglifyify'); var derequire = require('derequire'); var collapser = require('bundle-collapser/plugin'); var envifyDev = envify({NODE_ENV: pr...
production/js/moris/jquery.min.js
vinay20045/gentelella
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/components/common/icons/Plus.js
WendellLiu/GoodJobShare
import React from 'react'; /* eslint-disable */ const Plus = (props) => ( <svg {...props} width="148" height="148" viewBox="0 0 148 148"> <polygon points="65.778 65.778 0 65.778 0 82.222 65.778 82.222 65.778 148 82.222 148 82.222 82.222 148 82.222 148 65.778 82.222 65.778 82.222 0 65.778 0"/> </svg> ); /* esli...
docs/demos/react-hello-world/src/ReactObserver.js
reTHINK-project/dev-hyperty
import React, { Component } from 'react'; import { Subject } from 'rxjs/Subject'; import 'rxjs/add/operator/map'; import './App.css'; // load scripts import Script from 'react-load-script' import $ from 'jquery'; var rethink; /* * This is the Hello World App demo that uses the Hello World Reporter and Observer Hype...
.joplin-bin/lib/node_modules/joplin/lib/components/screens/note.js
Haini/dotfiles
const React = require('react'); const Component = React.Component; const { Platform, Clipboard, Keyboard, BackHandler, View, Button, TextInput, WebView, Text, StyleSheet, Linking, Image, Share } = require('react-native'); const { connect } = require('react-redux'); const { uuid } = require('lib/uuid.js'); const RNFS = ...
src/svg-icons/device/usb.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceUsb = (props) => ( <SvgIcon {...props}> <path d="M15 7v4h1v2h-3V5h2l-3-4-3 4h2v8H8v-2.07c.7-.37 1.2-1.08 1.2-1.93 0-1.21-.99-2.2-2.2-2.2-1.21 0-2.2.99-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3....
ajax/libs/yui/3.4.0/loader/loader-debug.js
jaslernl/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSI...
index.js
occitech/conference-react-lyra-network
import React from 'react' import { render } from 'react-dom' import Presentation from './presentation' render(<Presentation />, document.getElementById('root'))
src/routes.js
xaevir/brasiliausa
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import { App, Home, Widgets, Survey, NotFound, Support, Technology, Team, History, Products } from 'containers'; export default () => { /** * Please keep routes in alphabetical order */ retur...
ajax/libs/forerunnerdb/1.3.821/fdb-legacy.js
tonytomov/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...
blueocean-material-icons/src/js/components/svg-icons/content/undo.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ContentUndo = (props) => ( <SvgIcon {...props}> <path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/> </SvgIcon> ); ContentUndo.displayName ...
modules/gui/src/app/home/map/visParams/palettePreSets.js
openforis/sepal
import {Button} from 'widget/button' import {Combo} from 'widget/combo' import {msg} from 'translate' import Color from 'color' import Label from 'widget/label' import React from 'react' import _ from 'lodash' import styles from './palettePreSets.module.css' export const pickColors = (count, colors) => { if (count...
src/components/Dashboard/YearlyBarGraph.js
GovWizely/steel-search
import React from 'react'; import PropTypes from 'prop-types'; import { compact, values, pickBy, has, omit, map, startCase, range } from '../../utils/lodash'; import moment from 'moment'; import { Bar } from 'react-chartjs-2'; import config from '../../config'; function chartTitle(query) { let units = query.flow_typ...
src/routes/Girlip/components/TripFooter.js
markkong318/Girlip
import React from 'react'; import { connect } from 'react-redux' import TripItem from './TripItem' class TripFooter extends React.Component { render() { return ( <div className="bottom"> <div></div> </div> ); } } const mapStateToProps = (state, props) ...
ajax/libs/core-js/0.7.2/core.js
calebmer/cdnjs
/** * Core.js 0.7.2 * 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...
ajax/libs/material-ui/5.0.0-alpha.9/es/Menu/Menu.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import*as React from"react";import{isFragment}from"react-is";import PropTypes from"prop-types";import clsx from"clsx";import{HTMLElementType}from"@material-ui/utils...
src/components/ui/ChooseSchoolModal.js
notion-app/web
import React from 'react'; import { Button, Nav, Navbar, NavItem, Jumbotron, Grid, Row, Modal, Popover, Tooltip, OverlayTrigger, Thumbnail} from 'react-bootstrap'; import SchoolActions from 'actions/SchoolActions'; import SchoolStore from 'stores/SchoolStore'; import LoginManager from 'util/LoginManager'; import LoginA...
src/components/blocks/Hero/index.js
allyrippley/7ds
import React from 'react' import { Link } from 'react-router' // import {connect} from 'react-redux' // import {bindActionCreators} from 'redux' // import * as actions from '../../actions/heroActions' let styles = {} styles.image = { width: '100%', position: 'absolute' } styles.mainText = { zIndex: 1 } styles.co...
src/svg-icons/editor/format-size.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatSize = (props) => ( <SvgIcon {...props}> <path d="M9 4v3h5v12h3V7h5V4H9zm-6 8h3v7h3v-7h3V9H3v3z"/> </SvgIcon> ); EditorFormatSize = pure(EditorFormatSize); EditorFormatSize.displayName = 'EditorFo...
packages/web/examples/ssr/pages/categorysearch.js
appbaseio/reactivesearch
/* eslint-disable */ import React, { Component } from 'react'; import { ReactiveBase, CategorySearch, SelectedFilters, ReactiveList, } from '@appbaseio/reactivesearch'; import initReactivesearch from '@appbaseio/reactivesearch/lib/server'; import Layout from '../components/Layout'; import BookCard from '../compon...
transforms/__testfixtures__/React-PropTypes-to-prop-types/default-and-named-import.output.js
reactjs/react-codemod
import PropTypes from 'prop-types'; import React, { Component } from 'react'; class ClassComponent extends Component { static propTypes = { text: PropTypes.string.isRequired, }; render() { return <div>{this.props.text}</div>; } } function FunctionalComponent (props) { return <div>{props.text}</div>;...
ajax/libs/js-data/2.2.0/js-data-debug.min.js
LeaYeh/cdnjs
/*! * js-data * @version 2.2.0 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
app/js/views/Pages/Page404/Page404.js
jagatjeevan/dakiya
import React, { Component } from 'react'; class Page404 extends Component { render() { return ( <div className="app flex-row align-items-center"> <div className="container"> <div className="row justify-content-center"> <div className="col-md-6"> <div className="c...
test/integration/image-component/base-path/pages/rotated.js
flybayer/next.js
import Image from 'next/image' import React from 'react' const Page = () => { return ( <div> <p>Hello World</p> <Image id="exif-rotation-image" src="/docs/exif-rotation.jpg" unsized /> <p id="stubtext">This is the rotated page</p> </div> ) } export default Page
src/svg-icons/action/hourglass-empty.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHourglassEmpty = (props) => ( <SvgIcon {...props}> <path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"/> ...
src/TimeColumn.js
manishksmd/react-scheduler-smartdata
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import cn from 'classnames'; import dates from './utils/dates'; import { elementType, dateFormat } from './utils/propTypes'; import BackgroundWrapper from './BackgroundWrapper'; import TimeSlotGroup from './TimeSlotGroup' export default cla...
ajax/libs/jquery/1.8.0/jquery-1.8.0.min.js
yahyaKacem/cdnjs
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d=...
TestDemos/examples/LessonExamples/IIF-LoopPageDemo.js
AzenXu/ReactNativeTest
/** * Created by Azen on 16/8/30. * 1. 解析JSON的时候要看好JSON数据的格式 * 2. 定时器的用法 * 3. App运行中加载到工程中的图片,要重启App下才能看到 * 4. scrollView.scrollResponderScrollTo * 5. this.clearInterval 定时器清除时间 * 6. scrollView onMomentumScrollEnd 当一帧滚动结束 e-> 滚动事件 * 7. scrollView onScrollBeginDrag 开始拖拽 -> 清除定时器 * * 这个联系没做完,定时器没生效. 还需要再看看 ...
src/Icons/Cancel.js
hasseboulen/WoWAnalyzer
import React from 'react'; // https://thenounproject.com/search/?q=circled%20cross&i=1144421 // Created by johartcamp from the Noun Project const Icon = ({ ...other }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" {...other}> <path d="M 50 5 C 25.18272 5 5 25.1827 5 50 C 5 74.8173 25.18272 9...
packages/material-ui-icons/src/HomeRounded.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="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5...
docs/pages/guides/interoperability.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/guides/interoperability', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../../src/pages/guides/interoperability', false, /\.(js|tsx)$/, ); const ...
src/index.js
makxks/ReactBlog
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import { Router, browserHistory } from 'react-router'; import reducers from './reducers'; import routes from './routes'; import promise from 'redux-promise'; const...
src/index.js
alexkuz/markdown-react-js
'use strict'; import markdown from 'markdown-it'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import isPlainObject from 'lodash/isPlainObject'; import assign from 'lodash/assign'; import reduce from 'lodash/reduce'; import zipObject from 'lodash/zipObject'; import fromPairs from 'loda...
components/Heading.js
turntwogg/esports-aggregator
import React from 'react'; import classNames from 'classnames'; import { useTheme } from '@turntwo/react-ui'; const Heading = ({ border, caps, center, children, className, element: Element, font, size, spaceBetween, ...rest }) => { const theme = useTheme(); return ( <Element classNam...
ajax/libs/angular.js/0.9.15/angular-scenario.min.js
marxo/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/thorax/2.0.0rc1/thorax.js
jmusicc/cdnjs
/*! * jQuery JavaScript Library v1.9.0 * 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-1-14 */ (function( window, undefined ) { "use strict";...
static/js/activity_list.js
zzz14/LOST-FOUND
/** * Created with PyCharm. * User: Epsirom * Date: 13-12-3 * Time: 下午11:12 */ var timeOffset = 0; function getSmartStatus(act) { if (act.status == 0) { return '未发布'; } else if (act.status == 1) { var now = act.currentTime; if (now < act.bookStart) { return '等待订票'; ...
lib/features/keyboard/Keyboard.js
pedesen/diagram-js
import { event as domEvent, matches as domMatches } from 'min-dom'; /** * A keyboard abstraction that may be activated and * deactivated by users at will, consuming key events * and triggering diagram actions. * * The implementation fires the following key events that allow * other components to hook into k...
ajax/libs/yui/3.9.1/event-focus/event-focus.js
robinskumar73/cdnjs
YUI.add('event-focus', function (Y, NAME) { /** * 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 = (function() { ...
src/index.js
WaSa42/whatcolorisit
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux' import thunkMiddleware from 'redux-thunk' import { createStore, applyMiddleware } from 'redux' import App from './App'; import { reducer } from './Clock'; const store = createStore( reducer, applyMiddleware( ...
test/fixtures/block/input.js
mistadikay/babel-plugin-transform-rebem-jsx
import React from 'react'; function Test() { return <div block="test"></div>; }
source/Grid/defaultCellRangeRenderer.js
nicholasrq/react-virtualized
/** @flow */ import React from 'react' import cn from 'classnames' /** * Default implementation of cellRangeRenderer used by Grid. * This renderer supports cell-caching while the user is scrolling. */ export default function defaultCellRangeRenderer ({ cellCache, cellClassName, cellRenderer, cellStyle, co...
src/layouts/CoreLayout/CoreLayout.js
michaeltomasik/easyPaginationList
import React from 'react' import Header from '../../components/Header' import './CoreLayout.scss' import '../../styles/core.scss' export const CoreLayout = ({ children }) => ( <div className='container text-center'> <Header /> <div className='core-layout__viewport'> {children} </div> </div> ) Co...
components/ProductListItem.js
DCKT/e-next
// @flow import React from 'react' import Link from 'next/link' import type { TMoltinProduct } from '../utils/js/types' type Props = { data: TMoltinProduct } export default (props: Props) => { const { data } = props const { images, title, description, brand, slug, id } = data return ( <div className='ca...
src/widgets/codes-lists/components/codes-lists.spec.js
Zenika/Pogues
import React from 'react'; import { shallow } from 'enzyme'; import CodesLists from './codes-lists'; import CodesListsCodes from './codes-lists-codes'; import { WIDGET_CODES_LISTS } from 'constants/dom-constants'; import { CODES_LIST_INPUT_ENUM } from 'constants/pogues-constants'; const { PANEL_CLASS } = WIDGET_CODE...
src/svg-icons/action/settings-input-component.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsInputComponent = (props) => ( <SvgIcon {...props}> <path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2....
src/svg-icons/av/stop.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvStop = (props) => ( <SvgIcon {...props}> <path d="M6 6h12v12H6z"/> </SvgIcon> ); AvStop = pure(AvStop); AvStop.displayName = 'AvStop'; AvStop.muiName = 'SvgIcon'; export default AvStop;
ajax/libs/zeroclipboard/2.0.0-beta.7/ZeroClipboard.js
luhad/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.0-beta.7 */ (function(window, undefined) { "use s...
src/svg-icons/device/battery-charging-full.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryChargingFull = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zM11 20v-5.5H...
src/date-time-picker/app.js
SodhanaLibrary/react-examples
import React from 'react'; import {FormGroup, ControlLabel, HelpBlock} from 'react-bootstrap'; import DateTimePicker from 'react-bootstrap-date-time-picker'; import '../../node_modules/bootstrap/dist/css/bootstrap.css' import '../../node_modules/react-bootstrap-date-time-picker/lib/react-bootstrap-date-time-picker.css'...
react/CriticalIcon/CriticalIcon.js
seekinternational/seek-asia-style-guide
import svgMarkup from './CriticalIcon.svg'; import React from 'react'; import Icon from '../private/Icon/Icon'; export default function CriticalIcon(props) { return <Icon markup={svgMarkup} {...props} />; } CriticalIcon.displayName = 'CriticalIcon';
tests/baselines/reference/tsxGenericAttributesType6.js
Microsoft/TypeScript
//// [file.tsx] import React = require('react'); class B1<T extends { x: string } = { x:string } > extends React.Component<T, {}> { render() { return <div>hi</div>; } } class B<U> extends React.Component<U, {}> { props: U; render() { return <B1 {...this.props} x="hi" />; } } //...
node_modules/material-ui/svg-icons/notification/more.js
Jacob-Elder/react-socket.io-messaging-v2
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
src/views/404/index.js
STMU1320/dedao-demo
import React from 'react' import { TipPage } from 'components' function NotFound () { return <TipPage /> } export default NotFound
src/components/web/Input.js
Manuelandro/Universal-Commerce
import React from 'react' import styled from 'styled-components' const { View, Text, TextInput } = { View: styled.div` display: flex; flex: 1; flex-direction: row; align-items: center; border-width: 1px; border-color: #ccc; margin-left: 5px; margin-ri...
fields/types/color/ColorColumn.js
Redmart/keystone
import React from 'react'; import ItemsTableCell from '../../../admin/client/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/client/components/ItemsTableValue'; var ColorColumn = React.createClass({ displayName: 'ColorColumn', propTypes: { col: React.PropTypes.object, data: React.PropType...
app/react-icons/fa/audio-description.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaAudioDescription extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m8.8 21.7h3l0-4.6z m18-1.7q0-1.5-0.9-2.5t-2.6-0.9h-0.9v6.8h0.9q1.6 ...
src/index.js
huhulab/demo-cond-select
import React from 'react'; import { render } from 'react-dom'; import { App } from './App'; const records = [ /* Red */ {color: 'red', size: 'S', style: 'thin', quantity: 1}, {color: 'red', size: 'S', style: 'fat', quantity: 1}, {color: 'red', size: 'M', style: 'thin', quantity: 1}, {color: 'red', size: 'L',...
examples/with-url-object-routing/pages/index.js
nahue/next.js
import React from 'react' import Link from 'next/link' const href = { pathname: '/about', query: { name: 'next' } } const as = { pathname: '/about/next', hash: 'title-1' } export default () => ( <div> <h1>Home page</h1> <Link href={href} as={as}> <a>Go to /about/next</a> </Link> </div> ...
frontend/src/components/controls/InfoWidgetUI/index.js
webrecorder/webrecorder
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import OutsideClick from 'components/OutsideClick'; import { InfoIcon, XIcon } from 'components/icons'; import './style.scss'; class InfoWidgetUI extends Component { static propTypes = { collecti...
build/hadoop-0.20/webapps/static/jquery/js/jquery-1.7.2.min.js
rhli/hadoop-EAR
/*! 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/renderers/dom/client/ReactInputSelection.js
mohitbhatia1994/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. * * @providesModule ...
ajax/libs/mediaelement/2.9.1/jquery.js
tholu/cdnjs
/*! * jQuery JavaScript Library v1.7 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. *...
node_modules/native-base/Components/Widgets/ListItem.js
paulunits/tiptap
/* @flow */ 'use strict'; import React from 'react'; import {Image, TouchableOpacity, Platform } from 'react-native'; import NativeBaseComponent from '../Base/NativeBaseComponent'; import computeProps from '../../Utils/computeProps'; import Icon from './Icon'; import Text from './Text'; import View from './Vi...
src/SparklinesReferenceLine.js
konsumer/react-sparklines
import React from 'react'; import DataProcessor from './DataProcessor'; export default class SparklinesReferenceLine extends React.Component { static propTypes = { type: React.PropTypes.oneOf(['max', 'min', 'mean', 'avg', 'median']), style: React.PropTypes.object }; static defaultProps = ...
docs/src/app/components/pages/components/Drawer/Page.js
hwo411/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import drawerReadmeText from './README'; import DrawerSimpleExample from './Exam...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/react-dom/15.5.4/lib/ReactMount.js
JamieMason/npm-cache-benchmark
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ 'use strict...
app/components/Character.js
sahat/newedenfaces-react
import React from 'react'; import CharacterStore from '../stores/CharacterStore'; import CharacterActions from '../actions/CharacterActions' class Character extends React.Component { constructor(props) { super(props); this.state = CharacterStore.getState(); this.onChange = this.onChange.bind(this); } ...
src/components/Sidebar/Sidebar.js
eunvanz/handpokemon2
import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router' import { connect } from 'react-redux' import numeral from 'numeral' import { firebaseConnect } from 'react-redux-firebase' import $ from 'jquery' import shallowCompare from 'react-addons-shallow-compare' import Visibility f...
ajax/libs/yui/3.6.0/datatable-body/datatable-body.js
aeharding/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isArray, ...
test/integration/jsconfig-baseurl/pages/hello.js
JeromeFitz/next.js
import React from 'react' import { World } from 'components/world' export default function HelloPage() { return ( <div> <World /> </div> ) }
src/svg-icons/action/important-devices.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionImportantDevices = (props) => ( <SvgIcon {...props}> <path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1....
src/Paper/Paper.spec.js
barakmitz/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Paper from './Paper'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Paper />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallow(node, {context: {mu...
node_modules/react-router/es6/Link.js
akh000/YoutubeApp
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; }; function _objectWithoutProperties(obj, keys) { var target = {...
src/app/components/golos-ui/Tab/Tab.stories.js
GolosChain/tolstoy
import React from 'react'; import { storiesOf } from '@storybook/react'; import Tab from './Tab'; storiesOf('Tab', module) .add('default', () => <Tab>Кошелек</Tab>) .add('active', () => <Tab active>Кошелек</Tab>);
test/regressions/tests/Input/InputLabels.js
kybarg/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import InputLabel from '@material-ui/core/InputLabel'; const styles = { container: { display: 'flex', flexDirection: 'column', alignItems: 'flex-start', padding: 20, // so transform d...
src/components/app.js
endreujhelyi/React-Router-Redux-Form
import React, { Component } from 'react'; export default class App extends Component { render() { return ( <div> {this.props.children} </div> ); } }
ajax/libs/yui/3.7.0/datatable-body/datatable-body-debug.js
shobhitmittal/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
docs/0.61b5b6aaf2662b893229.js
heifade/quark-ui
webpackJsonp([0],{"0P4F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return r});var a=n("Jmof"),l=(n.n(a),n("lkey")),s=n("UJDU"),i=n("Pp2j"),o=n("WB2H"),r=class extends a.Component{constructor(e){super(e),this.state={}}render(){var e=()=>{s.a.config({placemen...
lib/cli/generators/REACT_NATIVE/template/storybook/stories/Welcome/index.js
rhalff/storybook
import React from 'react'; import PropTypes from 'prop-types'; import { View, Text } from 'react-native'; export default class Welcome extends React.Component { styles = { wrapper: { flex: 1, padding: 24, justifyContent: 'center', }, header: { fontSize: 18, marginBottom: 18,...
app/containers/SalesData/index.js
RichAbrahams/electron-project
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import * as actions from './actions'; import * as selectors from './selectors'; import SectionHeader from '../../components/SectionHeader'; class SalesData extends Component { render...
ajax/libs/yui/3.16.0/datatable-core/datatable-core-debug.js
kirbyfan64/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @sinc...
node_modules/react-images/node_modules/aphrodite/examples/src/examples-ssr.js
ed1d1a8d/macweb
import ReactDOMServer from 'react-dom/server'; import React from 'react'; import { StyleSheetServer } from '../../src/index.js'; import StyleTester from './StyleTester.js'; export default function() { const data = StyleSheetServer.renderStatic( () => ReactDOMServer.renderToString(<StyleTester/>)); re...
src/components/Look/MeetingsList.js
txwkx/book-room
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import OneMeeting from './OneMeeting'; export default class MeetingsList extends Component { render(){ return( <div class='timeline-body'> <div class='container'> { t...