path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
assets/js/vendor/jquery-1.9.1.min.js
brianfitzgerald/brianfitzgerald.github.io
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
src/svg-icons/device/airplanemode-inactive.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAirplanemodeInactive = (props) => ( <SvgIcon {...props}> <path d="M13 9V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v3.68l7.83 7.83L21 16v-2l-8-5zM3 5.27l4.99 4.99L2 14v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L1...
src/svg-icons/action/bug-report.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionBugReport = (props) => ( <SvgIcon {...props}> <path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7...
ajax/libs/analytics.js/1.3.5/analytics.js
cgvarela/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
ajax/libs/mediaelement/2.1.8/jquery.js
Ryuno-Ki/cdnjs
/*! * jQuery JavaScript Library v1.6.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. ...
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-bricks-button.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, ColorSchemaMixin, ContentMixin} from '../common/common.js'; import './button.less'; export const Button = React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin, ElementaryMixin, ColorSchemaMixin, ContentMixin ], //@@viewOff:mi...
src/components/Taf/TafTable.spec.js
maartenplieger/GeoWeb-FrontEnd
import React from 'react'; import TafTable from './TafTable'; import { mount } from 'enzyme'; import { TestTafJSON } from './TestTafJSON.js'; import { TAF_TEMPLATES } from './TafTemplates'; const taf = TAF_TEMPLATES.TAF; describe('(Container) Taf/TafTable.jsx', () => { it('Renders a TafTable', () => { const _co...
tests/lib/rules/jsx-no-invalid-props/valid-1.js
craigbilner/eslint-plugin-react-props
/* eslint-disable import/no-unresolved, import/extensions */ import React from 'react'; const MyComponent = {}; const Message = {}; /* The content below this comment is a copy of one of the examples from the below url, with whitespace changes only: https://github.com/facebook/react/blob/bc86ac4380/docs/docs/typec...
src/svg-icons/editor/show-chart.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorShowChart = (props) => ( <SvgIcon {...props}> <path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"/> </SvgIcon> ); EditorShowChart = pure(EditorShowChart); EditorShowChart.displayNa...
app/containers/App/index.js
andresol/homepage
/** * * App.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot ...
ajax/libs/6to5/1.12.18/browser.js
calebmer/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
ajax/libs/js-data/1.4.0/js-data.js
jasonpang/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data.js * @version 1.4.0 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=ty...
wagtail/wagtailadmin/static_src/wagtailadmin/app/wagtailadmin.entry.js
nilnvoid/wagtail
import React from 'react'; import ReactDOM from 'react-dom'; import Explorer from 'components/explorer'; document.addEventListener('DOMContentLoaded', e => { const top = document.querySelector('.wrapper'); const div = document.createElement('div'); const trigger = document.querySelector('[data-explorer-menu-url...
imports/meteor/startup/client.js
leocavalcante/mars
import { Meteor } from 'meteor/meteor' import React from 'react' import { render } from 'react-dom' import provider from '/imports/redux/provider' import client from '/imports/apollo/client' import messagesQuery from '/imports/apollo/queries/messages' import { Tracker } from 'meteor/tracker' import store from '/imports...
src-client/index.js
11igors11/rooms
import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import {createStore, applyMiddleware} from 'redux'; import {Router, Route, browserHistory, IndexRoute} from 'react-router'; import App from './components/app'; import Home from './components/home'; import Create from './...
client/components/Nav/MobileFooterNav/MobileFooterNav.js
ncrmro/reango
import React from 'react' import IconToggle from 'react-mdc-web/lib/IconToggle/IconToggle' import styles from './MobileFooterNav.scss' import { HomeLink } from '../Nav' import withRouter from 'react-router-dom/es/withRouter' class MobileFooterNav extends React.Component { constructor(props: Object) { super(prop...
actor-apps/app-web/src/app/components/activity/UserProfile.react.js
amezcua/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import classnames from 'classnames'; import ContactActionCreators from 'actions/ContactActionCreators'; import DialogActionCreators from 'actions/DialogActionCreators'; im...
src/index.js
LucasCaixeta/ReduxSimpleStarter_2
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware()(createStore); ReactDOM.render( <Provi...
spec/components/progress.js
VACO-GitHub/vaco-components-library
import React from 'react'; import ProgressBar from '../../components/progress_bar'; import style from '../style'; const initialState = { progress: 0, buffer: 10 }; class ProgressBarTest extends React.Component { state = initialState; componentWillMount () { this.simulateProgress(); } simulateProgres...
ajax/libs/forerunnerdb/1.3.824/fdb-core+persist.js
sufuf3/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...
admin/client/App/screens/Home/components/ListTile.js
trentmillar/keystone
import React from 'react'; import { Link } from 'react-router'; /** * Displays information about a list and lets you create a new one. */ var ListTile = React.createClass({ propTypes: { count: React.PropTypes.string, hideCreateButton: React.PropTypes.bool, href: React.PropTypes.string, label: React.PropType...
src/svg-icons/communication/stay-current-portrait.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationStayCurrentPortrait = (props) => ( <SvgIcon {...props}> <path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/> </SvgIcon> );...
1m_Redux_Lynda/Ex_Files_Learning_Redux/Exercise Files/Ch05/05_06/start/src/index.js
yevheniyc/Autodidact
import C from './constants' import React from 'react' import { render } from 'react-dom' import routes from './routes' import sampleData from './initialState' import storeFactory from './store' import { Provider } from 'react-redux' import { addError } from './actions' const initialState = (localStorage["redux-store"]...
ajax/libs/jquery/1.7.2/jquery.min.js
Piicksarn/cdnjs
/*! 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...
ajax/libs/rxjs-dom/2.0.3/rx.dom.js
emijrp/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (root, factory) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports && modu...
src/routes/workTeamList/WorkTeamListContainer.js
nambawan/g-old
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, FormattedMessage } from 'react-intl'; import { loadWorkTeams } from '../../actions/workTeam'; import { getWorkTeams, getWorkTeamsIsFetching, getWorkTeamsErrorMessage, } from '../../reduce...
sites/intro.drupal-8.dd/files/js/js_5yc2O5VuKQgc42LgQhquNGRdWxFgAa25UVtcsjmBVLE.js
raviindorey/intro_drupal_8_2_6
/*! jQuery v2.2.3 | (c) jQuery Foundation | 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 window?window:this,fun...
src/components/CheckboxWithLabel.js
diivanand/DataBrowser
// CheckboxWithLabel.js import React from 'react'; export default class CheckboxWithLabel extends React.Component { constructor(props) { super(props); this.state = {isChecked: false}; // bind manually because React class components don't auto-bind // http://facebook.github.io/rea...
app/components/venue/FileUploadForm.js
BenGoldstein88/hitch-frontend
import React from 'react'; export default class FileUploadForm extends React.Component { handleFormSubmit(e) { // e.preventDefault(); } render() { return ( <div> <form encType='multipart/form-data' action='https://gateway.watsonplatform.net/document-conversion/api' method='POST' onSubmit={this...
react/features/filmstrip/components/web/StageFilmstrip.js
jitsi/jitsi-meet
// @flow import React from 'react'; import { getToolbarButtons } from '../../../base/config'; import { isMobileBrowser } from '../../../base/environment/utils'; import { connect } from '../../../base/redux'; import { LAYOUT_CLASSNAMES } from '../../../conference/components/web/Conference'; import { getCurrentLayout, L...
node_modules/react-error-overlay/lib/containers/RuntimeErrorContainer.js
oiricaud/horizon-education
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
ajax/libs/F2/1.3.2/f2.min.js
hanbyul-here/cdnjs
/*! F2 - v1.3.2 - 11-18-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
docs/app/Examples/views/Item/index.js
clemensw/stardust
import React from 'react' import Content from './Content' import Types from './Types' import Variations from './Variations' const ItemExamples = () => ( <div> <Types /> <Content /> <Variations /> </div> ) export default ItemExamples
Mr.Mining/MikeTheMiner/Santas_helpers/Sia_wallet/resources/app/plugins/Files/js/components/setallowancebutton.js
patel344/Mr.Miner
import React from 'react' const SetAllowanceButton = ({actions}) => { const handleClick = () => actions.showAllowanceDialog() return ( <div onClick={handleClick} className="set-allowance-button"> <i className="fa fa-credit-card fa-2x" /> <span>Create Allowance</span> </div> ) } export default SetAllowanc...
components/playback-controls.js
skidding/illustrated-algorithms
import PropTypes from 'prop-types'; /* global window */ import React from 'react'; import PureLayoutComponent from '../utils/pure-layout-component'; const { round, min, max } = Math; const SvgButton = ({ svgPath, onClick, }, { layout }) => { const { footerHeight, footerButtonIconSize, } = layout; ...
lib/cli/generators/REACT_NATIVE/template-csf/storybook/stories/index.js
storybooks/react-storybook
import React from 'react'; import { Text } from 'react-native'; import { storiesOf } from '@storybook/react-native'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import Button from './Button'; import CenterView from './CenterView'; import Welcome from './Welcome'...
client/src/index.js
hunttis/alkomaholi
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();
2016-04-declarative-charts/components/IframeExample.js
rosko/slides
import React, { Component } from 'react'; import { findDOMNode } from 'react-dom'; import { Fit } from 'spectacle'; class IframeExample extends Component { constructor() { super(); this.state = { width: '100%', height: '100%' }; this.setSizes = (width, heigh...
index.js
skytteren/slick-crud
window.React = require('react/addons'); window.mui = require("material-ui"); var injectTapEventPlugin = require('react-tap-event-plugin'); injectTapEventPlugin();
src/main.js
Arinono/uReflect_POC_Electron01
// jQuery var $ = require("jquery"); import React from 'react'; import ReactDOM from 'react-dom'; import { Router, browserHistory } from 'react-router'; import injectTapEventPlugin from 'react-tap-event-plugin'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import routes from './router'; inject...
views/Business/home/nwdHomeDetail.js
leechuanjun/TLRNProjectTemplate
/** * Created by TridonLee on Mon July 22 2016 23:28:33 GMT+0800 (CST). */ 'use strict'; import React, { Component } from 'react'; import { StyleSheet, Text, View, ScrollView, TouchableOpacity, } from 'react-native'; export default class NWDHomeDetail extends Component { render(){ return ( <V...
public/js/jquery.min.js
hmukaida/TestProject
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
client/ingest/csv-column-options.js
jaketrent/gratigoose
import React from 'react' import CsvColumnOption from './csv-column-option' const { arrayOf, string } = React.PropTypes function CsvColumnOptions(props) { return ( <div> {props.columns.map((c, i) => <CsvColumnOption key={i} name={c} />)} </div> ) } CsvColumnOptions.propTypes = { columns: arrayOf...
frontend/app/site/pages/Styles/Tables.js
briancappello/flask-react-spa
import React from 'react' import { DocComponent } from 'components' export default class Tables extends DocComponent { title = 'Tables' html = `\ <table> <thead> <tr> <th>Ticker <th>Company <th>CEO <th>Website <tbody> <tr> <td>INTC <td>Intel <td>Brian Krzanich...
app/components/SignalQualityIndicatorComponent.js
openexp/OpenEXP
// @flow import React, { Component } from 'react'; import { isNil } from 'lodash'; import { Segment } from 'semantic-ui-react'; import * as d3 from 'd3'; import { Observable, Subscription } from 'rxjs'; import SignalQualityIndicatorSVG from './svgs/SignalQualityIndicatorSVG'; interface Props { signalQualityObservabl...
packages/material-ui-icons/src/VolumeOffTwoTone.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="M7.83 11H5v2h2.83L10 15.17v-3.76l-1.29-1.29z" opacity=".3" /><path d="M4.34 2.93L2.93 4.34 7.29 8.7 7 9H3v6h4l5 5v-6.59l4.18 4.18c-.65.49-1.38.8...
docs/src/app/components/pages/components/List/ExampleSimple.js
pancho111203/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import ContentInbox from 'material-ui/svg-icons/content/inbox'; import ActionGrade from 'material-ui/svg-icons/action/grade'; import ContentSend from 'material-ui/svg-icons/content/send'; ...
BarcodeClient/__tests__/index.android.js
ggauravr/BarcodeProject
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
examples/src/components/StatesField.js
mr-wildcard/react-select
import React from 'react'; import Select from 'react-select'; const STATES = require('../data/states'); var id = 0; function logChange() { console.log.apply(console, [].concat(['Select value changed:'], Array.prototype.slice.apply(arguments))); } var StatesField = React.createClass({ displayName: 'StatesField', p...
ajax/libs/react-bootstrap/0.19.0/react-bootstrap.min.js
emmy41124/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return ...
src/app/components/Dashboard.js
pswai/forex-time
import React, { Component } from 'react'; import moment from 'moment-timezone'; import MarketTable from './MarketTable'; const markets = [ { name: 'Sydney', open: '0800', close: '1700', timezone: 'Australia/Sydney', }, { name: 'Tokyo', open: '0800', close: '1700', timezone: 'Asia/...
src/components/TodoForm.js
bofa/react-education
import React from 'react'; import uuid from 'node-uuid'; export default class TodoForm extends React.Component { render() { return ( <form onSubmit={this.onSubmit.bind(this)}> <input ref="text" type="text" placeholder="Hold on!" /> <button type="submit">Add</but...
src/js/components/icons/base/Notification.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
blog/Shadowsocks_files/jquery.min.js
Adsun/adsun.github.io
/*! 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...
examples/huge-apps/routes/Grades/components/Grades.js
frankleng/react-router
import React from 'react'; class Grades extends React.Component { render () { return ( <div> <h2>Grades</h2> </div> ); } } export default Grades;
MARVELous/client/src/js/components/characterDetails/commentBox.js
nicksenger/StackAttack2017
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { postCharacterComment } from '../../actions/index'; export class CommentBox extends Component { constructor(props) { super(props); this.state = { body: '' }; thi...
ajax/libs/yui/3.17.1-rc-1/event-focus/event-focus.js
hanbyul-here/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() { ...
components/Header.js
discreteMathTool/discretemathtool.github.io
import React from 'react' import { Link } from 'react-router' function getCookie (name) { var matches = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return matches ? decodeURIComponent(matches[1]) : undefined; } export default function ...
ajax/libs/legojs/0.0.1/lego.min.js
mikaelbr/cdnjs
/* * __ _ * / /__ ____ ____ (_)____ * / / _ \/ __ `/ __ \ / / ___/ * / / __/ /_/ / /_/ / / (__ ) * /_/\___/\__, /\____(_)_/ /____/ * /____/ /___/ * * * https://github.com/tybenz/legojs * * made in 2013 * by * Tyler Benziger * -...
src/svg-icons/maps/local-grocery-store.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalGroceryStore = (props) => ( <SvgIcon {...props}> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-...
app/containers/LocaleToggle/index.js
juanda99/arasaac-frontend
/* * * LanguageToggle * */ import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { createSelector } from 'reselect' import LanguageSelector from 'components/LanguageSelector' import Wrapper from './Wrapper' import { changeLocale } from '../LanguageProvider/actio...
test/regressions/tests/Chip/DeletableAvatarChip.js
cherniavskii/material-ui
// @flow import React from 'react'; import Avatar from 'material-ui/Avatar'; import Chip from 'material-ui/Chip'; export default function DeletableAvatarChip() { return <Chip avatar={<Avatar>MB</Avatar>} label="SvgIcon Chip" onDelete={() => {}} />; }
ajax/libs/primeui/4.1.8/primeui-ng-all.min.js
viskin/cdnjs
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){var i=[],n=e.document,s=i.slice,o=i.concat,a=i.push,r=i...
Rosa_Madeira/Revendedor/src/components/common/ButtonLoginPage.js
victorditadi/IQApp
import React from 'react'; import { Text, TouchableOpacity, Dimensions } from 'react-native'; import { Button } from 'native-base'; var width = Dimensions.get('window').width; var height = Dimensions.get('window').height; const ButtonHome = ({ onPress, children, color}) => { const styles = { buttonStyle: { ...
packages/material-ui-icons/src/Crop54.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="M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z" /></React.Fragment> , 'Crop54');
src/views/routes.js
szwork2013/router-experiments
import React from 'react'; import { Route } from 'react-router'; import App from 'views/App'; import Home from 'views/Home'; import SignUp from 'views/SignUp'; import Login from 'views/Login'; export default ( <Route component={App}> <Route path="/" component={Home}/> <Route path="/sign-up" component={SignUp...
eventkit_cloud/ui/static/ui/app/components/icons/AdminShareIcon.js
venicegeo/eventkit-cloud
import React from 'react'; import createSvgIcon from '@material-ui/icons/utils/createSvgIcon'; export default createSvgIcon(( <> <path d="m 4.2922912,7.053913 c 0.9357595,0 1.7237685,-0.7880072 1.7237685,-1.723767 0,-0.93576 -0.788009, -1.7237686 -1.7237685,-1.7237686 -0.9357601,0 -...
src/Slide.js
mattBlackDesign/react-materialize
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import constants from './constants'; class Slide extends Component { constructor (props) { super(props); this.renderCaption = this.renderCaption.bind(this); } render () { return ( <li> ...
docs/examples/Form/Example6.js
romagny13/react-form-validation
import React from 'react'; import { Label } from 'romagny13-react-form-validation'; /** Customization with a CSS Framework */ const Example6 = () => { return <iframe width="100%" height="800" frameBorder={false} src="./custom/demo.html" />; }; export default Example6;
app/components/addPopover/index.js
RizzleCi/Library-manager
import React from 'react' import { Popover, Button, Select, Input } from 'antd' const Option = Select.Option class AddPopover extends React.Component { constructor(props){ super(props) this.state = { visible: false, father: '', value: '' } } showPop() { if (this.state.visible) ...
ajax/libs/vuex/2.1.3/vuex.js
extend1994/cdnjs
/** * vuex v2.1.2 * (c) 2017 Evan You * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vuex = factory()); }(this, (function () { 'use strict'; var dev...
Examples/UIExplorer/js/SwitchExample.js
DannyvanderJagt/react-native
/** * Copyright (c) 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. * * The examp...
docs/src/CodeExample.js
blue68/react-bootstrap
import React from 'react'; export default class CodeExample extends React.Component { render() { return ( <pre className="cm-s-solarized cm-s-light"> <code> {this.props.codeText} </code> </pre> ); } componentDidMount() { if (CodeMirror === undefined) { ret...
web/assets/a7c0319e/yii.gridView.js
vanzerv/woka
/** * Yii GridView widget. * * This is the JavaScript widget used by the yii\grid\GridView widget. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ (function ($) { ...
spec/components/MixinSpec.js
jurassix/react-validation-mixin
import {expect} from 'chai'; import React from 'react'; import {findDOMNode} from 'react-dom'; import SignupComponent from './Signup'; import TestUtils from 'react-addons-test-utils'; import strategy from 'joi-validation-strategy'; import validation from '../../src/components/validationMixin'; const Signup = validatio...
src/frontend/modules/core/components/application-root.js
pr0fedt/react-basic-template
'use strict'; import React from 'react'; import {RouteHandler} from 'react-router'; import {IconButton, Paper, Tabs, Tab} from 'material-ui'; import ApplicationData from './application-data'; import ApplicationHeader from './application-header'; import {mainMenuActions} from '../actions'; import {MaterialMixin} from...
ajax/libs/jquery/1.4.3/jquery.min.js
urish/cdnjs
/*! * 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. ...
web-ui/src/account_recovery/user_recovery_code_form/user_recovery_code_form.spec.js
pixelated-project/pixelated-user-agent
import { shallow } from 'enzyme'; import expect from 'expect'; import React from 'react'; import { UserRecoveryCodeForm } from './user_recovery_code_form'; describe('UserRecoveryCodeForm', () => { let userRecoveryCodeForm; let mockNext; let mockPrevious; let mockSaveCode; beforeEach(() => { const mockTr...
static/programming-tutorials-backup/src/languages/language-components/NextLessonButton.js
EdwardRees/EdwardRees.github.io
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { Button } from 'reactstrap'; class NextLessonButton extends Component { render(){ const { Location, block } = this.props; return( <div> <Button color="success" block={block}> ...
spec/pivotal-ui-react/panels/panels_spec.js
CanopyCloud/pivotal-ui
require('../spec_helper'); describe('Panel', function() { var Panel; beforeEach(function() { Panel = require('../../../src/pivotal-ui-react/panels/panels').Panel; }); afterEach(function() { React.unmountComponentAtNode(root); }); describe('with no props given', function() { beforeEach(function...
ajax/libs/yui/3.6.0pr1/event-custom-base/event-custom-base-debug.js
raszi/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...
ajax/libs/reactive-coffee/1.2.1/reactive-coffee.js
hanssens/cdnjs
(function() { var rxFactory, __slice = [].slice, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = ne...
src/Loader/Loader.stories.js
boldr/boldr-ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import Loader from './Loader'; storiesOf('Loader', module).add('default', () => <Loader />);
generators/organism/templates/organism.js
cassioscabral/generator-atomic-reactor
'use strict'; import React from 'react'; require('./stylesheets/<%= filename %>.scss'); class <%= component %> extends React.Component { render() { return ( <div className="<%= componentClass %>"> Please edit <%= filepath %> to update this component! </div> ); } } <%= component %>.di...
modules/field_ui/field_ui.js
djredhand/Douglas_Specialties
/** * @file * Attaches the behaviors for the Field UI module. */ (function($) { Drupal.behaviors.fieldUIFieldOverview = { attach: function (context, settings) { $('table#field-overview', context).once('field-overview', function () { Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings); ...
webpack/move_to_pf/TypeAhead/TypeAhead.js
stbenjam/katello
import React, { Component } from 'react'; import Downshift from 'downshift'; import PropTypes from 'prop-types'; import { InputGroup, Button } from 'patternfly-react'; import TypeAheadInput from './TypeAheadInput'; import TypeAheadItems from './TypeAheadItems'; import { getActiveItems } from './helpers'; import './Ty...
component/reactsfc-latest/src/index.js
FFF-team/generator-earth
/** * Created by <%= author %><<%= email %>>. * ComponentName <%= upperCaseName %> * Desc <%= desc %> * GroupName <%= groupName %> */ import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames'; import './index.scss'; const propTypes = { content: PropTypes.string.isRequi...
ajax/libs/shariff/1.17.1/shariff.complete.js
magoni/cdnjs
/*! * shariff - v1.17.1 - 11.09.2015 * https://github.com/heiseonline/shariff * Copyright (c) 2015 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)...
ajax/libs/forerunnerdb/1.3.589/fdb-core+persist.js
x112358/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...
Libraries/Touchable/TouchableOpacity.web.js
brainpoint/citong-react-web
/** * Copyright (c) 2015-present, Alibaba Group Holding Limited. * All rights reserved. * * Copyright (c) 2015, Facebook, Inc. All rights reserved. * * @providesModule ReactTouchableOpacity */ 'use strict'; import Animated from 'ReactAnimated'; import React from 'react'; import TimerMixin from 'react-timer-mix...
test/containers/CounterPage.spec.js
zedtux/grrn
import { expect } from 'chai'; import React from 'react'; import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithClass, Simulate } from 'react-addons-test-utils'; import { Provider } from 'react-redux'; import CounterPage from '../../app/containers/CounterPage'; import config...
actor-apps/app-web/src/app/index.js
hzy87email/actor-platform
import polyfills from 'utils/polyfills'; // eslint-disable-line import RouterContainer from 'utils/RouterContainer'; import crosstab from 'crosstab'; import React from 'react'; import Router from 'react-router'; import Raven from 'utils/Raven'; // eslint-disable-line import isMobile from 'utils/IsMobile'; import Reac...
chartpy_examples/static/js/slider/jQRangeSlider.js
cuemacro/chartpy
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function ($, undefined) { "use strict"; $.widget("ui.rangeSlider", { options: { bounds: {min:0, max:100}, defaultValues: {min...
docs/src/pages/components/lists/FolderList.js
kybarg/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import List from '@material-ui/core/List'; import ListItem from '@material-ui/core/ListItem'; import ListItemText from '@material-ui/core/ListItemText'; import ListItemAvatar from '@material-ui/core/ListItemAvatar'; import Avatar from '@m...
src/js/containers/GalleryContainer.js
sdeleon28/react-fullscreen-gallery
import React from 'react'; import Gallery from '../components/Gallery'; const pt = React.PropTypes; class GalleryContainer extends React.Component { constructor() { super(); this.onImageSelected = this.onImageSelected.bind(this); this.state = { selectedImageIndex: 0, }; } onImageSelected...
src/Components/video_list.js
JoshHarris85/React-Video-Player
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = (props) => { // mapping every video to its own li const videoItems = props.videos.map((video) => { return ( <VideoListItem onVideoSelect={props.onVideoSelect} key={video.etag} video={video} /> ...
examples/with-react-intl/components/Nav.js
kevmannn/next.js
import React from 'react' import {FormattedMessage} from 'react-intl' import Link from 'next/link' export default () => ( <nav> <li> <Link href='/'> <a><FormattedMessage id='nav.home' defaultMessage='Home' /></a> </Link> </li> <li> <Link href='/about'> <a><FormattedMessa...
BetterDiscord/plugins/ExtendedContextMenu.plugin.js
Brettm12345/dotfiles
//META{"name":"ExtendedContextMenu"}*// // !!! Hey there! If you didn't come here from the BetterDiscord Discord server ( https://discord.gg/2HScm8j ) !!! // // !!! then please do not use whatever you were using that led you here, getting plugins from places other than !!! // // !!! the #plugin repo channel in the BD...
packages/material-ui-icons/src/Mouse.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="M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z" /></React.Fragment> , 'Mouse...
book_list/src/containers/book-list.js
titusjin/reduxExp
<<<<<<< HEAD import React, { Component } from 'react'; import { connect } from 'react-redux'; import selectBook from '../actions/index'; import { bindActionCreators } from 'redux'; class BookList extends Component { renderList() { return this.props.books.map((book) => { return ( <li ...