path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/vue/2.1.2/vue.runtime.common.js
iwdmb/cdnjs
/*! * Vue.js v2.1.1 * (c) 2014-2016 Evan You * Released under the MIT License. */ 'use strict'; /* */ /** * Convert a value to a string that is actually rendered. */ function _toString (val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val) }...
src/routes.js
kriuz/clicker
import React from 'react'; import {Route} from 'react-router'; import { App, Home, About, NotFound, } from 'containers'; export default (store) => { return ( <Route component={App}> <Route path="/" component={Home}/> <Route path="/about" component={About}/> <Route path="*" com...
components/Button/index.js
SFantasy/mirana
import React from 'react'; import classNames from 'classnames'; import './index.scss'; const { Component, PropTypes } = React; export default class Button extends Component { constructor (props) { super(props); } render () { let btnClasses = classNames({ large: this.props.size === 'large', ...
flow-typed/npm/react-addons-test-utils_v15.x.x.js
phyllisstein/react-svg-loader
// flow-typed signature: edc151d4ee06b1d20021425952030a4b // flow-typed version: cdb403dbea/react-addons-test-utils_v15.x.x/flow_>=v0.15.x import React from 'react'; declare module 'react-addons-test-utils' { declare var Simulate: { [eventName: string]: (element: Element, eventData?: Object) => void; }; dec...
app/javascript/mastodon/features/status/index.js
corzntin/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchStatus } from '../../actions/statuses'; import MissingIndicator from '../../components/missing_indicator'; import DetailedStatus from './compone...
data_report_qiime/aumza/qiimesoil/cdotu/bdiv_even3475/binary_lennon_emperor_pcoa_plot/emperor_required_resources/js/jquery-1.7.1.min.js
joesoftheart/Metagenomic
/*! 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.frameBorde...
ajax/libs/angular.js/1.0.0rc10/angular-scenario.js
awreece/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
sites/all/libraries/fontawesome/src/assets/js/jquery-1.7.1.min.js
State-of-Arizona/AESP-AgencyPlatformPublic
/*! 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.frameBorde...
src/js/components/icons.js
VitorHP/TI3
import React from 'react'; export default function Icons(props) { return ( <div className="row"> <div className="col-md-3"> <h1>Units</h1> <ul> <li> <span>Ground Forces</span> <i className="unit ground-forces"/> </li> <li> <s...
tests/react_instance/class.js
popham/flow
// @flow import React from 'react'; declare var any: any; class Foo extends React.Component<{}, void> {yep1: boolean} class Bar extends React.Component<{}, void> {yep2: boolean} (any: React$ElementRef<Class<Foo>>).yep1; // OK (any: React$ElementRef<Class<Foo>>).yep2; // Error (any: React$ElementRef<Class<Foo>>).nop...
packages/material-ui-icons/src/ShoppingBasket.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c...
app/scripts/tests/components/Block.spec.js
igr-santos/bonde-client
import React from 'react' // import TestUtils from 'react-addons-test-utils' // import { shallow, render } from 'enzyme' import { expect } from 'chai' import * as BlockActions from './../../actions/BlockActions' import { Block, Widget, ColorPicker, DropDownMenu, DropDownMenuItem } from './../../components' const widg...
Example/app/components/ChildAddedList.js
cuttingsoup/react-native-firebase-local-cache
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { Text, View, StyleSheet, ListView, TouchableWithoutFeedback, } from 'react-native'; import { NavigationActions } from 'react-navigation'; import * as firebase from 'fire...
x.es6.js
rovolution/react-toggle
import React from 'react' export default React.createClass({ render() { return ( <svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"> <title> switch-x </title> <path d="M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.9...
src/components/checkbox/checkbox.stories.spec.js
teamleadercrm/teamleader-ui
import React from 'react'; import Checkbox from './Checkbox'; export default { component: Checkbox, title: 'Checkbox', }; const Wrapper = ({ children }) => <div style={{ minHeight: '60px', display: 'flex' }}>{children}</div>; export const Main = () => ( <div> {['small', 'medium', 'large'].map((size) => ( ...
packages/mineral-ui-icons/src/IconBattery60.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconBattery60(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProp...
ajax/libs/yui/3.10.2/event-focus/event-focus.js
keicheng/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/components/Explorer.js
jekyll/jekyll-admin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { browserHistory, Link } from 'react-router'; import Breadcrumbs from './Breadcrumbs'; import Button from './Button'; import Icon from './Icon'; import InputSearch from './form/InputSearch'; import { ADMIN_PREFIX } from '../constants';...
ajax/libs/analytics.js/1.5.3/analytics.min.js
mikaelbr/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
src/components/Tos/EditorForm/EditorForm.js
City-of-Helsinki/helerm-ui
import React from 'react'; import PropTypes from 'prop-types'; import update from 'immutability-helper'; import includes from 'lodash/includes'; import capitalize from 'lodash/capitalize'; import sortBy from 'lodash/sortBy'; import DropdownInput from '../DropdownInput/DropdownInput'; import { validateConditionalRules ...
app/javascript/mastodon/components/attachment_list.js
maa123/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import Icon from 'mastodon/components/icon';...
ajax/libs/react-instantsearch/5.4.0-beta.0/Connectors.js
sufuf3/cdnjs
/*! React InstantSearch 5.4.0-beta.0 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['ex...
addons/themes/massively/includes/Footer.js
rendact/rendact
import React from 'react'; class Footer extends React.Component { render(){ return(<div> <footer id="footer"> {this.props.footerWidgets.map((fw,idx) => ( <section key={idx}>{fw}</section> ))} </footer> <div id="copyright"> <ul> <li>M...
src/components/EmittProvider.js
literarymachine/crg-ui
import React from 'react' import PropTypes from 'prop-types' class EmittProvider extends React.Component { getChildContext() { return { emitter: this.props.emitter } } render() { return React.Children.only(this.props.children) } } EmittProvider.childContextTypes = { emitter: PropTypes.objectOf(Pr...
ajax/libs/es6-shim/0.20.1/es6-shim.js
IonicaBizauKitchen/cdnjs
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.20.1 * see https://github.com/paulmillr/es6-shim/blob/master/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
bgrozev/jitsi-meet
// @flow import React from 'react'; import { Dialog } from '../../../../base/dialog'; import { translate } from '../../../../base/i18n'; import { connect } from '../../../../base/redux'; import AbstractStopLiveStreamDialog, { _mapStateToProps } from '../AbstractStopLiveStreamDialog'; /** * A React Component fo...
static/mobile/old/jquery-1.4.3.min.js
havard024/prego
/*! * jQuery JavaScript Library v1.4.3 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
src/components/Header/Header.js
Klaitos/testgit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { Component } from 'react'; import withStyle...
app/js/components/result-display.js
mattiaslundberg/typer
import React from 'react' export default class ResultDisplay extends React.Component { render() { const milliseconds = this.props.time const writtenChars = this.props.textLength const seconds = milliseconds / 1000 const minutes = seconds / 60 const writtenWords = writtenChars / 5 const charsp...
CafeManagementWeb/CafeManagementWeb/scripts/jquery-1.9.0.min.js
MengY33/CafeManagementRepo
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.mat...
src/svg-icons/action/dns.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDns = (props) => ( <SvgIcon {...props}> <path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v...
example/src/App.js
Demi-IO/golden-type
import React, {Component} from 'react'; import {BACKGROUND} from 'golden-type/constants'; import Paper from './Paper'; import goldenType, {createFontClass, Title, SubHeading, Body, Small, Strong, Code} from 'golden-type'; import defaultConfig from 'golden-type/defaultConfig'; import {merge} from 'golden-type/prelude';...
ajax/libs/react-native-web/0.12.0-rc.1/exports/Touchable/index.js
cdnjs/cdnjs
/** * 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. * * * @format */ 'use strict'; function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var targ...
src/Parser/MistweaverMonk/Modules/Items/T20_4pc.js
Yuyz0112/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatNumber } from 'common/format'; import Module from 'Parser/Core/Module'; import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing'; imp...
2-alpha/src/components/Marker.js
saturninoharris/primer-design
import _ from 'lodash' import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' const SequenceContainer = styled.div` position: absolute; top: ${p => p.top}; left: 0; z-index: 10; white-space: pre-wrap; ` const MarkerContainer = styled.span` > span { position...
packages/material-ui-icons/src/DeleteOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" /> , 'DeleteOutlined');
ajax/libs/yui/3.7.2/datatable-body/datatable-body-coverage.js
likang/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
ajax/libs/angular.js/0.9.11/angular-scenario.min.js
thejameskyle/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. ...
src/components/common/svg-icons/editor/format-bold.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatBold = (props) => ( <SvgIcon {...props}> <path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1...
src/components/Main.js
jiangdianen/gellery-by-react
import React from 'react' import ReactDOM from 'react-dom' import ImgFigure from './imgFigure' import imageDatas from '../data/imageDatas.js' import Dots from './dots' import '../styles/App.css' class AppComponent extends React.Component { constructor() { super() this.path = '../images/'; this.state = { ...
ajax/libs/onsen/2.3.0/js/angular-onsenui.min.js
pvnr0082t/cdnjs
/*! angular-onsenui.js for onsenui - v2.3.0 - 2017-05-18 */ "use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initia...
test/index.js
joerter/tape-jsx-notIncludes
import React from 'react'; import {createRenderer} from 'react-addons-test-utils'; import tape from 'tape'; import addAssertions from 'extend-tape'; import jsxNotIncludes from '../src'; const test = addAssertions(tape, {jsxNotIncludes}); const renderer = createRenderer(); const MyComponent = ({color}) => { const cl...
src/icons/BookmarkBorderIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class BookmarkBorderIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M34 6H14c-2.21 0-3.98 1.79-3.98 4L10 42l14-6 14 6V10c0-2.21-1.79-4-4-4zm0 30l-10-4.35L14 36V10h20v2...
app/clients/next/components/page.js
garbin/koapp
import React from 'react' import Head from 'next/head' import LoadingBar from 'react-redux-loading-bar' import { withProps, compose } from 'recompose' import { isFunction } from 'lodash' import { translate } from 'react-i18next' import '../lib/bootstrap' export class Page extends React.Component { renderChildren () ...
ajax/libs/react/18.0.0-rc.0-next-8c4cd65cf-20220224/cjs/react.shared-subset.development.js
cdnjs/cdnjs
/** * @license React * react.shared-subset.development.js * * 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. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (function...
test/regressions/tests/Input/InputSearch.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import Input from 'material-ui/Input'; export default function InputSearch() { return <Input type="search" defaultValue="Hello world" />; }
ajax/libs/jquery.fancytree/2.9.0/jquery.fancytree-all.js
humbletim/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.9.0 * @dat...
src/svg-icons/maps/transfer-within-a-station.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTransferWithinAStation = (props) => ( <SvgIcon {...props}> <path d="M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5zm3.02 4.25H14v1.5h5.51V23L22 20.5 19.51 18zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 ...
docs/app/Examples/modules/Dropdown/Variations/DropdownExampleFluid.js
ben174/Semantic-UI-React
import React from 'react' import { Dropdown, Menu } from 'semantic-ui-react' import { getOptions } from '../common' const DropdownExampleFluid = () => ( <Menu vertical> <Menu.Item as='a'>Link 1</Menu.Item> <Menu.Item as='a'>Link 2</Menu.Item> <Menu.Item header>All Sections</Menu.Item> <Menu.Item> ...
local-cli/generate-android.js
pvinis/react-native-desktop
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
ui/js/chart/index.js
ethernetdan/spigo
'use strict'; import React from 'react'; import $ from 'jquery'; import d3 from 'd3'; import reduce from 'lodash.reduce'; import each from 'lodash.foreach'; import bind from 'lodash.bind'; import tooltip from 'd3-tip'; import dispatcher from 'dispatcher'; import ChartStore from 'stores/chart'; import fisheye from 'lib...
test/DropdownMenuSpec.js
herojobs/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import DropdownMenu from '../src/DropdownMenu'; import MenuItem from '../src/MenuItem'; import keycode from 'keycode'; describe('DropdownMenu', function() { const simpleMenu = ( <DropdownMenu> <MenuItem eventKey='1'>Item 1</M...
client/src/components/Home/NumericSelector.js
patteri/slave-cardgame
import React from 'react'; import PropTypes from 'prop-types'; import { FormControl, InputGroup, Button } from 'react-bootstrap'; const NumericSelector = ({ value, min, max, onValueChanged }) => ( <InputGroup> <InputGroup.Button> <Button onClick={() => onValueChanged(value - 1)}>-</Button> </InputGroup...
ajax/libs/vuetify/1.3.15/vuetify.min.js
joeyparrish/cdnjs
/*! * Vuetify v1.3.15 * Forged by John Leider * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.Vuetify=e(require("vue")):t.Vuetify=e(t.Vue)}("und...
Solutions/Provisioning.Framework.Cloud.Async/Provisioning.Framework.Cloud.AsyncWeb/Scripts/jquery-1.9.1.min.js
perolof/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
app/root.js
miguelespinoza/react-goku
'use strict'; import React, { StyleSheet, StatusBar, View, ToastAndroid } from 'react-native'; import SolvePage from './pages/SolvePage'; import SavedPage from './pages/SavedPage'; var ToolbarAndroid = require('ToolbarAndroid'); var ScrollableTabView = require('react-native-scrollable-tab-view'); va...
app/view/ios/EmailPager/index.js
1598692232/rn-xcf
/** * Created by bll on 2017/7/17. */ import React from 'react'; import { Text, Button, View } from 'react-native'; export default class EmailPager extends React.Component { render() { const { navigate } = this.props.navigation; return ( <View> <Text>Hello, EmailPager!</Text> </View> ); } }
src/app/components/media/Similarity/MediaSimilarityBarAdd.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { graphql, commitMutation } from 'react-relay/compat'; import { Store } from 'react-relay/classic'; import Tooltip from '@material-ui/core/Tooltip'; import { browserHistory } from 'react-router'; import ...
src/components/about/About.js
DarylRodrigo/DarylRodrigo.github.io
import React from 'react'; import me from '../../images/me.jpeg'; const About = () => { return ( <section id="about" className="wrapper style2 spotlights show-case"> <div className="inner"> <div className="parent"> <span>About</span> <div className="under-line ul-projects"></di...
compare/src/components/molecules/ApproveButton.js
garris/BackstopJS
import React from 'react'; import { connect } from 'react-redux'; import styled from 'styled-components'; import { approveTest, filterTests } from '../../actions'; import { colors, fonts } from '../../styles'; const REMOTE_HOST = 'http://127.0.0.1'; const REMOTE_PORT = 3000; const APPROVE_STATUS_TO_LABEL_MAP = Object....
ajax/libs/yui/3.3.0/simpleyui/simpleyui.js
gokuale/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 * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global name...
fixtures/packaging/systemjs-builder/prod/input.js
maxschmeling/react
import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( React.createElement('h1', null, 'Hello World!'), document.getElementById('container') );
src/js/modules/liveUpCheck/UI/DynamicBox.js
zacyu/bilibili-helper
/** * Author: DrowsyFlesh * Create: 2019/05/09 * Description: */ import React from 'react'; import styled from 'styled-components'; import {List} from 'react-virtualized'; import {createTab} from 'Utils'; import 'react-virtualized/styles.css'; import {theme} from 'Styles'; export default () => { const FeedsCo...
src/components/Dashboard/MasterLeftMenu.js
RegOpz/RegOpzWebApp
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Link } from 'react-router'; import custom from '../../../js/custom'; import { connect } from 'react-redux'; class MasterLeftMenu extends Component { constructor(props){ super(props) this.handleLeftMenuClick = this.handleLeft...
ajax/libs/react/0.8.0/JSXTransformer.js
J0N47H4N/cdnjs
/** * JSXTransformer v0.8.0 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSXTransformer=e():"undefined"!=typeof global?global.JSXTransformer=e():"undefined"!=typeof self&&(self.JSXTransformer=e())}(function(){var define,m...
node_modules/material-ui/svg-icons/image/wb-incandescent.js
millerman86/CouponProject
'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...
demos/demo/src/components/Clients/index.js
idream3/cerebral
import React from 'react' import {connect} from 'cerebral/react' import listProps from '../../common/Collection/props/list' import translations from '../../common/computed/translations' import Client from '../Client' export default connect( listProps('clients', {t: translations}), function Clients ({enterPressed,...
ajax/libs/yui/3.7.0/scrollview-base/scrollview-base.js
Flo-Schield-Bobby/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 */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, WINDOW = Y.config.win, I...
src/foot_toolbar/FootToolbar.js
loomismeister/projio
import React from 'react'; import AltContainer from 'alt-container'; import FootToolbarStore from './FootToolbarStore'; import FootToolbarActions from './FootToolbarActions'; class FootToolbar extends React.Component { constructor(props) { super(props); } render() { return ( <div> <div cl...
content/gocms/src/base/components/gForm/GForm.js
menklab/goCMS
'use strict'; import React from 'react'; import {connect} from 'react-redux' import Formsy from 'formsy-react'; import GSubmit from './GSubmit' class GForm extends React.Component { constructor(props) { super(props); this.state = { submitButtonIsDisabled: true, submitBtnCl...
packages/mineral-ui-icons/src/IconPhoneForwarded.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconPhoneForwarded(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...ico...
app/components/Blog.js
Atamas1llya/Flerse
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Grid, Row, Col, Button, ButtonGroup, FormControl, FormGroup, ControlLabel } from 'react-bootstrap'; import { getUser } from '../actions/users'; import { newStory } from '../actions/user/stories'; import { subscribe, unsubscribe }...
lib/svg-icons/maps/local-florist.js
domagojk/material-ui
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var MapsLocalFlorist = React.createClass({ displayName: 'MapsLocalFlorist', mixins: [PureRenderMixin], render: function render() { return React.createElement( ...
ajax/libs/x-editable/1.4.6/jqueryui-editable/js/jqueryui-editable.js
platanus/cdnjs
/*! X-editable - v1.4.6 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
ajax/libs/vue/0.12.1/vue.js
jasonpang/cdnjs
/** * Vue.js v0.12.1 * (c) 2015 Evan You * Released under the MIT License. */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define(factory); else if(typ...
public/vendors/font-awesome/src/assets/js/jquery-1.7.1.min.js
aysbg/membership_app
/*! 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.frameBorde...
src/components/AppHeader.js
JacksonBates/pair-frontend
import React from 'react'; import FccIcon from './FccIcon'; import Header from './Header'; const AppHeader = props => { return ( <div className="App-header"> <Header >{props.headerText}<FccIcon /> {props.appName}</Header> </div> ) }; export default AppHeader;
ajax/libs/video.js/5.0.0-rc.64/alt/video.novtt.js
sufuf3/cdnjs
/** * @license * Video.js 5.0.0-rc.64 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports...
frontend/src/index.js
lcanal/demspirals
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
scripts/BackgroundCanvas.js
nrobin24/react-sidescroller
import React from 'react'; import {branch} from 'baobab-react/mixins'; import backgroundPainter from './backgroundPainter'; var canvasStyle = { position: 'absolute', left: 0, top:0, zIndex: 1 }; export default React.createClass({ mixins: [branch], cursors: { cameraX: ['camera','gameX'] }, componen...
editor/components/FloatPaper.js
conundrumer/sim-seq
import React from 'react' import { Paper } from 'material-ui' import classNames from 'classnames' export default class FloatPaper extends React.Component { render() { return ( <Paper className={classNames('float-paper', this.props.className)} circle={this.props.circle} style={{boxSh...
app/profile/Profile.js
ccfcheng/recommendation-app
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { setPath } from '../appReducer'; import Database from '../database/Database'; import { FIREBASE_URL } from '../appConstants'; import Avatar from 'material-ui/Avatar'; import { setUserProfile } from '../login/LoginReducer'; const D...
src/test/reactComponentExpect.js
chrismoulton/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 ...
packages/website/builder/pages/docs/search.js
yusufsafak/cerebral
import React from 'react' function Search(props) { return ( <div className="docs-search"> <input id="search-docs" autoFocus type="text" placeholder="search..." /> <div id="search-result" className="docs-search-result" /> </div> ) } export default Search
ajax/libs/material-ui/4.9.2/esm/Tab/Tab.js
cdnjs/cdnjs
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _extends from "@babel/runtime/helpers/esm/extends"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import wi...
src/Parser/DemonHunter/Vengeance/Modules/Statistics/SpiritBomb/SpiritBomb.js
enragednuke/WoWAnalyzer
import React from 'react'; import AbilityTracker from 'Parser/Core/Modules/AbilityTracker'; import Combatants from 'Parser/Core/Modules/Combatants'; import Enemies from 'Parser/Core/Modules/Enemies'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'...
ajax/libs/forerunnerdb/1.3.579/fdb-all.min.js
hare1039/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
source/class/cv/Application.js
ChristianMayer/CometVisu
/* Application.js * * copyright (c) 2010-2022, Christian Mayer and the CometVisu contributers. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 3 of the License, or (at ...
src/icons/MicA.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class MicA extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M112.1,238.1l-0.1,13.6c0.1,65.6,46,120.6,108.1,136.2c1.3,0.1,2.6,0.5,3.8,0.9c5.9,2,10.1,6.9,12.1,12.8v58.7 c0,10.9,8....
ajax/libs/forerunnerdb/1.3.490/fdb-core.min.js
ahocevar/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/svg-icons/maps/local-library.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalLibrary = (props) => ( <SvgIcon {...props}> <path d="M12 11.55C9.64 9.35 6.48 8 3 8v11c3.48 0 6.64 1.35 9 3.55 2.36-2.19 5.52-3.55 9-3.55V8c-3.48 0-6.64 1.35-9 3.55zM12 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-...
ajax/libs/yui/3.10.3/event-custom-base/event-custom-base-debug.js
dhenson02/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...
src/search/facet-box/index.js
sebez/focus-components
import React from 'react'; import builder from 'focus-core/component/builder'; import type from 'focus-core/component/types'; import {translate} from 'focus-core/translation'; let assign = require('object-assign'); let omit = require('lodash/object/omit'); // Components let Facet = require('./facet').component; let I...
packages/material-ui-icons/src/CompassCalibrationOutlined.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="M12 12c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z" /><path d="M12 3C8.1 3 4.5...
examples/todomvc/src/app.js
Lucifier129/process
import Process from 'process-table' import store from './store' import View from './component/view' import React from 'react' export default class App { constructor() { this.process = new Process() this.container = 'todoapp' this.combo() this.listen() } render(data) { React.render(<View {...data} process=...
ajax/libs/yui/3.13.0/scrollview-base/scrollview-base.js
steve-ng/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...
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.min.js
BuBliC/easySolution
/*! jQuery v1.8.2 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==...
Verify.js
momirror/HelloWorld
import React from 'react'; import {Text, View, Image, StyleSheet, FlatList} from 'react-native'; export default class Verify extends React.Component { constructor(props){ super(props); this.state = {test:true}; // setInterval(()=>{ // this.setState(previousState=>{ // // console.log("this...
site/src/components/NavLink/index.js
anathik/quest-apparel
import React from 'react' import { Link } from 'react-router-dom' import './index.css' const NavLink = props => { return ( <Link to={props.path} className="NavLink"> <div className="navigation-link-textbox"> {props.text} </div> </Link> ) } export default NavLink
lib/components/tab.js
chabou/hyper
import React from 'react'; export default class Tab extends React.PureComponent { constructor() { super(); this.handleHover = this.handleHover.bind(this); this.handleBlur = this.handleBlur.bind(this); this.handleClick = this.handleClick.bind(this); this.state = { hovered: false }; }...