path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/yui/3.6.0pr1/event-custom-base/event-custom-base.js
2947721120/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
client/src/routes.js
instant-coffee/retro-gamer
import React from 'react'; import { Router, Route, hashHistory, IndexRoute } from 'react-router'; import { AddGameContainer, GamesContainer } from './containers'; import { Home, Welcome, About, Contact, Archive } from './components'; // Using hashHistory for easier development const routes = ( <Router history={hashH...
app/src/components/Users/views/form.js
jeremyhon/sia-challenge
import React from 'react'; import { Form, Control } from 'react-redux-form'; export default ({ error, handleChange, handleUpdate, handleSubmit }) => ( <Form model="user" onUpdate={form => handleUpdate(form)} onChange={values => handleChange(values)} onSubmit={values => handleSubmit(values)}> {error && <di...
ajax/libs/react-data-grid/0.14.42/react-data-grid-with-addons.min.js
froala/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
src/scenes/home/branding/colors/colors.js
tskuse/operationcode_frontend
import React from 'react'; import Section from 'shared/components/section/section'; import blueColorPalette from 'images/colors/blue-color-palette.png'; import redColorPalette from 'images/colors/red-color-palette.png'; import slateColorPalette from 'images/colors/slate-color-palette.png'; import greyColorPalette from ...
vendor/jquery/jquery.js
Wintersina/wintersina.github.io
/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function( global, factory ) { if ( typeof module =...
src/containers/DevToolsWindow.js
Grobim/eggheadReduxTutorial
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; export default createDevTools( <LogMonitor /> );
docs/src/components/Components/Tables.js
abouthiroppy/scuba
import React from 'react'; import styles from './style'; import Container, { Table, TableHeader, TableRow, TableBody, TableRowColumn, TableHeaderColumn } from '../../../../src'; import generateCodeTemplate from './generateCodeTemplate'; import generateTableTemplate from './generateTableTemplate'; const sampleCode = ...
js/jqwidgets/demos/react/app/treegrid/contextmenu/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTreeGrid from '../../../jqwidgets-react/react_jqxtreegrid.js'; import JqxMenu from '../../../jqwidgets-react/react_jqxmenu.js'; class App extends React.Component { componentDidMount() { this.refs.myTreeGrid.expandRow(32); this...
src/svg-icons/device/airplanemode-active.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAirplanemodeActive = (props) => ( <SvgIcon {...props}> <path d="M10.18 9"/><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/...
front/src/components/body/auth/loginRegister/Register.js
litleleprikon/ds_chat
/** * Created by litleleprikon on 14/11/2016. * ___ __ ___ ___ __ * /\_ \ __/\ \__/\_ \ /\_ \ __/\ \ * \//\ \ /\_\ \ ,_\//\ \ __\//\ \ __ _____ _ __ /\_\ \ \/'\ ___ ___ * \ \ \ \/\ \ \ \/ \ \ \ /'__`\\ ...
app/components/orders/orders.js
zetapath/trckr
import React from 'react'; import CardOrder from './components/CardOrder'; import style from './orders.css'; import model from '../../modules/model' const fields = [ 'id', 'provider', 'trackingNumber', 'title', 'status', 'description', 'origin.value', 'destination.value', 'updatedAt', ]; export defa...
src/components/Workout/Form/__tests__/Exercise.spec.js
diegocasmo/workouter
import React from 'react' import sinon from 'sinon' import {expect} from 'chai' import {shallow} from 'enzyme' import {WorkoutExerciseForm} from '../Exercise' import {SearchableSelect} from '../../../UI/SearchableSelect' import {UNITS, getUnits} from '../../../../api/unit' describe('<WorkoutExerciseForm/>', () => { ...
app/containers/PostRegPage/index.js
elainewlin/Executive
/* * * The PostRegPage component displays whether a user * is registered to vote or not after using the root * page interface to check. */ import React from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import PostRegForm from 'containers/PostRegForm'; import...
src/Send.js
Chatnbook/react-native-gifted-chat
import PropTypes from 'prop-types'; import React from 'react'; import { StyleSheet, Text, TouchableOpacity, View, ViewPropTypes, } from 'react-native'; export default class Send extends React.Component { // shouldComponentUpdate(nextProps, nextState) { // if (this.props.text.trim().length === 0 && next...
Samples/BusinessApps.RemoteCalendarAccess/BusinessApps.RemoteCalendarAccessWeb/Scripts/jquery-1.10.2.min.js
OneBitSoftware/PnP
/* NUGET: BEGIN LICENSE TEXT * * 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 or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
fixtures/fiber-debugger/src/Fibers.js
VioletLife/react
import React from 'react'; import {Motion, spring} from 'react-motion'; import dagre from 'dagre'; // import prettyFormat from 'pretty-format'; // import reactElement from 'pretty-format/plugins/ReactElement'; function getFiberColor(fibers, id) { if (fibers.currentIDs.indexOf(id) > -1) { return 'lightgreen'; }...
src/index.js
bernardop/observable-expenses
import React from 'react'; import { render } from 'react-dom'; import { createStore, applyMiddleware } from "redux"; import { composeWithDevTools } from "remote-redux-devtools"; import { createEpicMiddleware } from "redux-observable"; import { Provider } from "react-redux"; import { rootReducer, rootEpic } from "./duc...
client/extensions/woocommerce/app/settings/taxes/save-button.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { localize } from 'i18n-calypso'; import page from 'page'; /** * Internal dependencies */ import Button from 'components/button'; import { are...
src/components/App.js
shaunanoordin/zooniverse-mapexplorer
import React from 'react'; import { Link } from 'react-router'; import packageJSON from '../../package.json'; export default class App extends React.Component { returnSomething(something) { // this is only for testing purposes. Check /test/components/App-test.js return something; } render() { const v...
node_modules/rc-calendar/es/mixin/CalendarMixin.js
prodigalyijun/demo-by-antd
import _defineProperty from 'babel-runtime/helpers/defineProperty'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import moment from 'moment'; import { isAllowedDate as _isAllowedDate, getTodayTime } from '../util/index'; function noop() {} function getNow() { r...
ajax/libs/analytics.js/2.3.5/analytics.js
sujonvidia/cdnjs
(function outer(modules, cache, entries){ /** * Global */ var global = (function(){ return this; })(); /** * Require `name`. * * @param {String} name * @param {Boolean} jumped * @api public */ function require(name, jumped){ if (cache[name]) return cache[name].exports; if (mo...
benchmark/fixtures/huge.js
devoncarew/atom
/*! * jQuery JavaScript Library v1.7.1 * 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. ...
src/containers/app/settings/account_set/index.js
w280561543/financial
import React from 'react'; import Button from 'antd/lib/button'; import Message from 'antd/lib/message'; import Pagination from 'antd/lib/pagination'; import Popconfirm from 'antd/lib/popconfirm'; import FIELDS from './fields'; import service from './service'; import AccountSetCreate from './create'; import Acc...
src/svg-icons/maps/local-printshop.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPrintshop = (props) => ( <SvgIcon {...props}> <path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"...
app/components/GooglePlusIcon.js
ideal-life-generator/react-full-stack-starter
import React from 'react' ; import SvgIcon from 'material-ui/SvgIcon'; export default function MainIcon(props) { return ( <SvgIcon {...props} viewBox="0 0 100 63.97"> <path d="M35.1,38.6h15.6C48,46.3,40.5,51.9,31.8,51.8c-10.5-0.1-19.3-8.5-19.7-19.1C11.7,21.5,20.8,12.1,32,12.1 c5.1,0,9.8,2,1...
src/pages/chart/highCharts/HighMoreComponent.js
zuiidea/antd-admin
import React from 'react' import ReactHighcharts from 'react-highcharts' import HighchartsExporting from 'highcharts-exporting' import HighchartsMore from 'highcharts-more' HighchartsMore(ReactHighcharts.Highcharts) HighchartsExporting(ReactHighcharts.Highcharts) const config = { chart: { polar: true, }, xA...
node_modules/babel-plugin-react-transform/test/fixtures/code-ignore/expected.js
Technaesthetic/ua-tools
import React from 'react'; const First = React.createNotClass({ displayName: 'First' }); class Second extends React.NotComponent {}
src/server.js
keenethics/estimateit
import Raven from 'raven'; import path from 'path'; import express from 'express'; import cookieParser from 'cookie-parser'; import bodyParser from 'body-parser'; import expressGraphQL from 'express-graphql'; import React from 'react'; import ReactDOM from 'react-dom/server'; import mongoose from 'mongoose'; import Pr...
packages/neos-ui-editors/src/SelectBox/index.spec.js
dimaip/neos-ui
import React from 'react'; import {mount} from 'enzyme'; import {Provider} from 'react-redux'; import {createStore} from 'redux'; import Immutable from 'immutable'; import SelectBoxEditor from './index.js'; import {WrapWithMockGlobalRegistry, MockDataSourceDataLoader} from '../_lib/testUtils'; const optionValues = { ...
docs/client/components/pages/Sticker/CustomStickerEditor/index.js
koaninc/draft-js-plugins
import React, { Component } from 'react'; import { EditorState } from 'draft-js'; import Editor from 'draft-js-plugins-editor'; // eslint-disable-line import/no-unresolved import createStickerPlugin from 'draft-js-sticker-plugin'; // eslint-disable-line import/no-unresolved import editorStyles from './editorStyles.css'...
ajax/libs/forerunnerdb/1.3.61/fdb-all.min.js
dlueth/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...
app/components/AppRoutes.js
pbillerot/reacteur
'use strict'; import React from 'react'; import { Router, browserHistory } from 'react-router'; import routes from '../routes'; export default class AppRoutes extends React.Component { render() { return ( <Router history={browserHistory} routes={routes} onUpdate={() => window.scrollTo(0, 0)}/> ); } ...
src/components/helpers/field-body.js
zapier/formatic
'use strict'; import React from 'react'; const FieldBody = props => { return ( <React.Fragment> {props.label} {props.help} {props.children} </React.Fragment> ); }; export default FieldBody;
ajax/libs/react-intl/1.1.0-rc-1/react-intl-with-locales.min.js
ColinEberhardt/cdnjs
(function(){"use strict";function a(a){var b,c,d,e,f=Array.prototype.slice.call(arguments,1);for(b=0,c=f.length;c>b;b+=1)if(d=f[b])for(e in d)q.call(d,e)&&(a[e]=d[e]);return a}function b(a,b,c){this.locales=a,this.formats=b,this.pluralFn=c}function c(a){this.id=a}function d(a,b,c,d){this.id=a,this.offset=b,this.options...
src/layouts/CoreLayout.js
dapplab/babel-client
import React from 'react'; import 'styles/core.scss'; export default class CoreLayout extends React.Component { static propTypes = { children : React.PropTypes.element } render () { return ( <div className='page-container'> <div className='view-container'> {this.props.children} ...
src/SetList.js
a-tarr/Fleetr
import React, { Component } from 'react'; import logo from './logo.svg'; import { Sets } from './data/sets'; import { List } from 'semantic-ui-react'; class SetList extends Component { constructor(props) { super(props); } listShipNames(fleet) { return Object.keys(fleet).map((ship) => <List.Item> ...
fields/types/boolean/BooleanColumn.js
nickhsine/keystone
import React from 'react'; import Checkbox from '../../../admin/client/components/Checkbox'; import ItemsTableCell from '../../../admin/client/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/client/components/ItemsTableValue'; var BooleanColumn = React.createClass({ displayName: 'BooleanColumn...
src/components/class-notation/classNotation.js
SebaRev1989/react-examples
import React from 'react'; import './classNotation.scss' class ClassNotation extends React.Component { render(){ return( <div className='classNotation'> Soy un componente en notacion de clase </div> ); } } export default ClassNotation;
plugins/masonry/bower_components/jquery/jquery.js
brickaa/js-animal-gallery
/*! * 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 ) { // ...
client/trello/src/app/routes/signUp/modules/signUp/signUp.js
Madmous/madClones
import fetch from 'isomorphic-fetch'; import { change } from 'redux-form'; import { loginActionCreators } from '../../../login/modules/index'; import { push } from 'react-router-redux'; import { usersUrl } from '../../../../../utils/url'; const SIGN_UP_REQUEST = 'SIGN_UP_REQUEST' const SIGN_UP_SUCCESS = 'SIGN_UP_SUC...
internals/templates/app.js
andyzeli/Bil
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; impor...
ajax/libs/react-redux/3.1.1/react-redux.min.js
kennynaoh/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("redux")):"function"==typeof define&&define.amd?define(["react","redux"],e):"object"==typeof exports?exports.ReactRedux=e(require("react"),require("redux")):t.ReactRedux=e(t.React,t.Redux)}(this,function(t,e){retu...
biz/webui/htdocs/src/js/components/react-json-tree/createStylingFromTheme.js
avwo/whistle
'use strict'; exports.__esModule = true; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _reactBase16Styling = require('react-base16-styling'); var _solarized = require('./themes/solarized'); var _solarized2 = _interopRequireDefault(_solarized); fu...
client/src/components/Game/components/GameCard/index.js
hah-nan/papabear2
import React, { Component } from 'react'; import CharacterSummary from '../CharacterSummary' import LocationSummary from '../LocationSummary' import WorldSummary from '../WorldSummary' import AbilityListItem from '../ListItems/ability' import CharacterListItem from '../ListItems/character' import ItemListItem from '....
ajax/libs/reactive-coffee/0.0.6/reactive-coffee.js
likang/cdnjs
(function() { var DepArray, DepCell, DepMap, DepMgr, Ev, FakeObsCell, FakeSrcCell, IndexedArray, IndexedDepArray, IndexedMappedDepArray, MappedDepArray, ObsArray, ObsCell, ObsMap, ObsMapEntryCell, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, SrcMapEntryCell, asyncBind, bind, depMgr, ev, events, firstWhere, flatten, ...
ajax/libs/angular.js/0.10.0/angular-scenario.js
linagee/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. ...
web/src/components/NavigationComponent.js
undemaduc/undemaduc
import React from 'react'; import { Link } from 'react-router'; import autoBind from 'react-autobind'; class Navigation extends React.Component { constructor(props) { super(props); autoBind(this); } isLoggedin() { const { user, luser } = this.props.user; return ...
source/examples/Icon.js
thomaswright/bayst
/** Square: octicon material entypo Not Square: zocial ionicon foundation evilicon font-awesome */ import React from 'react' import { View } from 'react-native' import { Icon, IconButton, SocialIcon, SocialIconButton, Box } from '../collator' /**_____________________________________________________________...
05 - Security/05aHostAuthentication/Scripts/jquery-1.10.2.js
brianbrawe/MVA-WebAPIDesign
/* NUGET: BEGIN LICENSE TEXT * * 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 or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
ajax/libs/forerunnerdb/1.4.23/fdb-core+views.min.js
dlueth/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...
admin/client/App/shared/Kbd.js
dryna/keystone-twoje-urodziny
import React from 'react'; import { css, StyleSheet } from 'aphrodite/no-important'; import theme from '../../theme'; import { darken, lighten } from '../../utils/color'; function Kbd ({ className, ...props }) { props.className = css(classes.kbd); return <kbd {...props} />; }; const classes = StyleSheet.create({ ...
pyxis/views/institute/home.js
gtkatakura/furb-desenvolvimento-plataformas-moveis
import React from 'react'; import { Text, View, Button, StyleSheet, ScrollView } from 'react-native'; import Components from './../../components'; const styles = StyleSheet.create({ base: { padding: 24, flex: 1 }, name: { fontSize: 24 }, header: { flexWrap: 'wrap', flexDirection: 'row' ...
src/components/HOC/Tooltipped.js
dkadrios/zendrum-stompblock-client
import React from 'react' import PropTypes from 'prop-types' import { Tooltip } from '@material-ui/core' const MuiTooltip = (props) => { const { title, tooltip, tooltipDelay, ...rest } = props return ( <Tooltip title={props.tooltip}> <div {...rest} /> </Tooltip> ) } MuiTooltip.propTypes = { title...
app/static/src/diagnostic/NewTestForm_modules/TestTypeSelectField.js
SnowBeaver/Vision
import React from 'react'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootstrap/lib/FormGroup'; import HelpBlock from 'react-bootstrap/lib/HelpBlock'; var items = []; var TestTypeSelectField = React.createClass({ handleChange: function (event, index, value) { this.se...
src/svg-icons/social/poll.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPoll = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/> </SvgIcon> ); SocialPoll = ...
src/svg-icons/av/mic-none.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMicNone = (props) => ( <SvgIcon {...props}> <path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 ...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/react-router/4.1.1/es/StaticRouter.js
Akkuma/npm-cache-benchmark
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 = {...
ajax/libs/mini-meteor/1.0.0/mini-meteor.min.js
ruslanas/cdnjs
(function(){var a=this,b=a._,d=Array.prototype,f=Object.prototype,l=d.push,k=d.slice,n=d.concat,p=f.toString,C=f.hasOwnProperty,f=Array.isArray,D=Object.keys,w=Function.prototype.bind,c=function(e){return e instanceof c?e:this instanceof c?void(this._wrapped=e):new c(e)};"undefined"!=typeof exports?("undefined"!=typeof...
src/index.js
ManYang/react-spa-gallery
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
src/routes/watcher/show.js
balmbees/overwatch
import React from 'react'; import { connect } from 'react-redux'; import WatcherModal from './WatcherModal'; import $ from 'jquery'; import { goBack } from '../../actions/route'; const WatcherPage = connect(null, { close: goBack })(WatcherModal); export default { path: '/:componentId/watchers/:watcherId', async...
client/scripts/components/config/check-box/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. This program 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, either version 3 of the License, or (at your ...
code/L8-staging/Composing Components/components/common/navbar.js
santhoshthepro/reactjs
import React, { Component } from 'react'; import {Link} from 'react-router'; export default class NavBar extends Component{ render(){ return( <div> <nav className="navbar navbar-default navbar-fixed-top"> <div className="container-fluid"> <div className="navbar-header"> <a ...
src/components/__tests__/general/loading-test.js
GlenHughes/thegymbuddy
/** * Test to check if the component renders correctly */ /* global it expect */ import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import Loading from '@components/general/Loading'; it('Loading renders correctly', () => { const tree = renderer.create( <Loading />, ...
Libraries/TabBar/TabBarContents.web.js
brainpoint/citong-react-web
/** * Copyright (c) 2015-present, Alibaba Group Holding Limited. * All rights reserved. * */ 'use strict'; import React from 'react'; import View from 'ReactView'; import StyleSheet from 'ReactStyleSheet'; let TabBarContents = React.createClass({ getInitialState() { return { hasBeenSelected: false ...
packages/material-ui-icons/src/Brightness2Rounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12.43 2.3c-2.38-.59-4.68-.27-6.63.64-.35.16-.41.64-.1.86C8.3 5.6 10 8.6 10 12c0 3.4-1.7 6.4-4.3 8.2-.32.22-.26.7.09.86 1.28.6 2.71.94 4.21.9...
examples/knockback/node_modules/knockback/node_modules/backbone/backbone.js
cornerbodega/todomvc
// Backbone.js 1.1.2 // (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(root, factory) { // Set up Backbone appropriately for ...
ajax/libs/material-ui/4.9.4/esm/Button/Button.js
cdnjs/cdnjs
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _extends from "@babel/runtime/helpers/esm/extends"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import { fade } from '../styles/col...
examples/profile/src/index.js
pure-ui/styleguide
import React from 'react'; import ReactDOM from 'react-dom'; import Profile from './components/Profile'; import styles from './styles'; ReactDOM.render( <div style={styles.wrapper}> <style>{` html, body, #root { width: 100%; height: 100%; background-color: #f4f7f9; ...
node_modules/react-icons/io/android-subway.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoAndroidSubway = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m19.8 3.8c7.3 0 13.7 0.7 13.7 6.6v16.7c0 3.3-2.6 5.8-5.9 5.8l2.2 2.1v1.3h-20v-1.3l2.1-2.1c-3.3 0-5.9-2.5-5.9-5.8v-16.7c0-5.9 6.4-6.6 13.8-6.6z m-7.5 26.2c1.4 0 ...
test/checkbox-spec.js
Zadielerick/material-ui
import React from 'react'; import Checkbox from 'checkbox'; import injectTheme from './fixtures/inject-theme'; import TestUtils from 'react-addons-test-utils'; describe('Checkbox', () => { /* eslint-disable max-len */ const CHECKMARK_PATH = 'M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89...
DEM_MVC_UI/src/scripts/components/Atoms/TextWrapper/test.js
AndreyShpilevoy/DemProject
/*eslint no-undef: 'off'*/ /* eslint import/no-extraneous-dependencies: 'off' */ import React from 'react'; import {shallow} from 'enzyme'; import TextWrapper from './index'; describe('TextWrapper', () => { it('should render top level span with className "test-class-name" and "minute ago"',() => { const props =...
src/components/HomeGoals.js
Montana-Code-School/LifeCoach
import React from 'react'; import {Col} from 'react-bootstrap'; import { inject, observer } from 'mobx-react'; class HomeGoals extends React.Component{ render(){ let priorityGoals = this.props.goalStore.goalsArr.filter(goal => goal.status == 'trash'); let displayTrashColumnGoals = priorityGoals.map((goal, in...
src/svg-icons/action/assessment.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAssessment = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/> </SvgIcon> ); ActionA...
dashboard-ui/app/components/queue/addMessageModal.js
CloudBoost/cloudboost
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Modal, Button, FormControl, FormGroup, ControlLabel, HelpBlock } from 'react-bootstrap'; import AceEditor from 'react-ace'; import 'brace/mode/json'; import 'brace/theme/github'; import Datetime from 'react-da...
packages/material-ui-icons/src/BluetoothConnected.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M7 12l-2-2-2 2 2 2 2-2zm10.71-4.29L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.8...
vim/bundle/node_modules/eslint/lib/config/config-initializer.js
eLobato/dotfiles
/** * @fileoverview Config initialization wizard. * @author Ilya Volodin * @copyright 2015 Ilya Volodin. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------...
src/svg-icons/action/highlight-off.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHighlightOff = (props) => ( <SvgIcon {...props}> <path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 1...
packages/mcs-lite-landing-web/src/components/SVG/SVGGitHub.js
MCS-Lite/mcs-lite
/** * svgtoreact * * @author Michael Hsu */ import React from 'react'; export default function SVGGitHub(props) { return ( <svg width={32} height={32} viewBox="0 0 32 32" {...props}> <path d="M4.004 0c-2.211 0-4.004 1.789-4.004 4.004v23.991c0 2.211 1.793 4.004 3.995 4.004h6.672c.889 0 1.368-1....
node_modules/react-icons/go/sign-in.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const GoSignIn = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m27.5 22.5v-5h10v-5h-10v-5l-7.5 5.6v-5.6l-10-5h20v7.5h2.5v-10h-27.5v32.5l15 7.5v-7.5h12.5v-12.5h-2.5v10h-10v-13.1z"/></g> </Icon> ) export default GoSignIn
src/svg-icons/image/flare.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlare = (props) => ( <SvgIcon {...props}> <path d="M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-...
src/js/components/processes/ProcessesProgress.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; var Line = require('rc-progress').Line; import AuthenticatedComponent from '../../components/AuthenticatedComponent'; import translate from '../../i18n/Translate'; import connectToStores from '../../utils/connectToStores'; import WorkersStore...
examples/huge-apps/routes/Course/components/Nav.js
zipongo/react-router
import React from 'react' import { Link } from 'react-router' const styles = {} styles.nav = { borderBottom: '1px solid #aaa' } styles.link = { display: 'inline-block', padding: 10, textDecoration: 'none' } styles.activeLink = { ...styles.link, color: 'red' } class Nav extends React.Component { rende...
www/components/Navigation.js
benkroeger/keystone
import React from 'react'; import Link from 'gatsby-link'; import { rhythm, scale } from 'utils/typography'; import MenuIcon from 'react-icons/lib/md/menu'; import gray from 'gray-percentage'; import Headroom from 'react-headroom'; import theme from '../theme'; import invertedLogo from '../images/logo-inverted.svg'; i...
packages/shared/forks/SchedulerTracing.umd.js
yiminghe/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 ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; const { ...
components/Home/Carousel.js
slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import { NavLink } from 'fluxible-router'; import { FormattedMessage, defineMessages} from 'react-intl'; class Carousel extends React.Component { constructor(props) { super(props); this.slider = null; this.state = {paused: 0}; ...
js/libs/jquery-1.11.0.js
acidsound/NodeMCUWebIDE
/*! * jQuery JavaScript Library v1.11.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-01-23T21:02Z */ (function( global, factory ) { if ...
egghead.io/react_fundamentals/lessons/13-dynamic/main.js
andrisazens/learning_react
// https://jsbin.com/qubonu/edit?js,output import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('app'));
ajax/libs/video.js/5.0.0-12/video.js
dhenson02/cdnjs
/** * @license * Video.js 5.0.0-12 <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> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Ve...
server/sonar-web/src/main/js/apps/overview/components/domain-bubble-chart.js
joansmith/sonarqube
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
ajax/libs/yui/3.11.0pr1/event-custom-base/event-custom-base-debug.js
KOLANICH/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/routes/Events/EventList.js
athenekilta/ilmomasiina
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import moment from 'moment'; import _ from 'lodash'; import { connect } from 'react-redux'; import './EventList.scss'; import * as EventsActions from '../../modules/events/actions'; import Separator from '../../compone...
docs/src/app/components/pages/components/Slider/ExampleStep.js
igorbt/material-ui
import React from 'react'; import Slider from 'material-ui/Slider'; /** * By default, the slider is continuous. * The `step` property causes the slider to move in discrete increments. */ const SliderExampleStep = () => ( <Slider step={0.10} value={0.5} /> ); export default SliderExampleStep;
ajax/libs/react-slick/0.19.0/react-slick.js
sufuf3/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
ajax/libs/react-ace/5.4.0/react-ace.min.js
him2him2/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReactAce=t():e.ReactAce=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].c...
src/svg-icons/action/settings-input-hdmi.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSettingsInputHdmi = (props) => ( <SvgIcon {...props}> <path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"/> </SvgIcon> ); ActionSettingsInputHd...
ajax/libs/yui/3.18.1/datatable-body/datatable-body.js
iros/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 = ...
ajax/libs/iCheck/1.0.1/demo/js/jquery.js
watsoncj/cdnjs
/*! * jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:...
node_modules/jquery-validation-1.17.0/lib/jquery-1.7.2.js
ronifreu/LightVet2Web
/*! * 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. ...
src/routes.js
denysovkos/testtask
import React from 'react' import { Route, IndexRoute } from 'react-router' import { AppContainer, HomePageContainer, OrdersContainer, AddNewOrderContainer } from './containers' import { AboutPage, NotFoundPage } from './components' export default function createRoutes() { return( <Route path='/' component={AppC...