path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/javascript/mastodon/features/ui/components/actions_modal.js
danhunsaker/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContent from '../../../components/status_content'; import Avatar from '../../../components/avatar'; import Relative...
ajax/libs/flocks.js/0.16.3/flocks.min.js
abbychau/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function f(a){return"[object Array]"===Object.prototype.toString.call(a)}function k(a){return"undefined"===typeof a}function u(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function c(a,b){if("string"===type...
ajax/libs/react-data-grid/0.14.37/react-data-grid-with-addons.min.js
honestree/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...
app/containers/ToolWhyItFailed/index.js
BeautifulTrouble/beautifulrising-client
/** * * ToolTextSection * */ import React from 'react'; import styled from 'styled-components'; import Markdown from 'react-markdown'; import { injectIntl} from 'react-intl'; import {RouterLink} from 'utils/markdown'; import TranslatableStaticText from 'containers/TranslatableStaticText'; import CommonLeftHeader fr...
examples/FlatButton.js
15lyfromsaturn/react-materialize
import React from 'react'; import Button from '../src/Button'; export default <Button flat waves='light'>Button</Button>;
docs/src/app/components/pages/components/Snackbar/ExampleAction.js
ichiohta/material-ui
import React from 'react'; import Snackbar from 'material-ui/Snackbar'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; export default class SnackbarExampleSimple extends React.Component { constructor(props) { super(props); this.state = { autoHideDur...
WebApplication2/WebApplication2/Scripts/jquery-1.10.2.js
SGThessaloniki/ASP-Intro
/* 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...
src/components/KeystoreUploader/PrivateKeyForm.js
PhyrexTsai/ens-bid-dapp
import React from 'react'; import {FormControl} from 'material-ui/Form'; import Button from 'material-ui/Button'; import Input, {InputLabel} from 'material-ui/Input'; export const PrivateKeyForm = (props) => { const disabled = (props.privateKey.length === 64 || (props.privateKey.startsWith('0x') && props.privat...
ajax/libs/vue/2.5.7/vue.common.js
holtkamp/cdnjs
/*! * Vue.js v2.5.7 * (c) 2014-2017 Evan You * Released under the MIT License. */ 'use strict'; /* */ var emptyObject = Object.freeze({}); // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } fu...
src/assets/images/icons.js
barrierandco/barrierandco
import React from 'react' const Icons = () => <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"> <defs> <path d="M17.016,12.984 L14.016,12.984 L14.016,9 L9.985,9 L9.985,12.984 L6.985,12.984 L12.001,18 L17.016,12.984 Z M19.359,10.031 C21.937,10.219 24,12.37...
ReactApollo/src/BookSearch.js
jpollard-cs/graphql-hackathon
import React from 'react'; import { withState } from 'recompose'; import BookSearchResults from './BookSearchResults'; // Use recompose to keep the state of the input so that we // can use functional component syntax const enhance = withState('keyword', 'setKeyword', ''); const BookSearch = ({ keyword, setKeyword }) ...
wrappers/md.js
orleans-tech/orleans-tech.github.io
import React from 'react' // import 'css/markdown-styles.css' import DocumentTitle from 'react-document-title' import { config } from 'config' module.exports = React.createClass({ propTypes () { return { router: React.PropTypes.object, } }, render () { const post = this.props.route.page.data ...
components/auth/js/auth.js
foo-io/ls-habr-template
/** * Авторизация * * @module ls/auth * * @license GNU General Public License, version 2 * @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com} * @author Denis Shakhov <denis.shakhov@gmail.com> */ var ls = ls || {}; ls.auth = (function ($) { "use strict"; /** * Инициализация ...
src/RootCloseWrapper.js
aparticka/react-overlays
import React from 'react'; import ownerDocument from './utils/ownerDocument'; import addEventListener from './utils/addEventListener'; // TODO: Merge this logic with dropdown logic once #526 is done. // TODO: Consider using an ES6 symbol here, once we use babel-runtime. const CLICK_WAS_INSIDE = '__click_was_inside';...
test/day_test.js
BrunoAlcides/react-datepicker
import React from 'react' import moment from 'moment' import Day from '../src/day' import { shallow } from 'enzyme' function renderDay (day, props = {}) { return shallow( <Day day={day} {...props} /> ) } describe('Day', () => { describe('rendering', () => { it('should render the specified day', () => { ...
ajax/libs/react-bootstrap-typeahead/1.1.0/react-bootstrap-typeahead.js
tonytomov/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...
__tests__/dialog/dialog-footer.js
ricsv/react-leonardo-ui
import React from 'react'; import renderer from 'react-test-renderer'; import Dialog from '../../src/dialog'; test('Dialog footer renders correctly', () => { const tree = renderer.create( <Dialog.Footer>Footer content</Dialog.Footer> ).toJSON(); expect(tree).toMatchSnapshot(); }); test('Dialog footer passe...
packages/material-ui-icons/src/Battery80TwoTone.js
lgollut/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V9h10V5.33z" /><path d="M7 9v11.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V9H7z" /></React.F...
ajax/libs/react/0.5.0/react-with-addons.js
ErikSchierboom/cdnjs
/** * React (with addons) v0.5.0 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports; return ...
docs/pages/components/cards.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/components/cards', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../../src/pages/components/cards', false, /\.(js|tsx)$/, ); const reqPrefix = 'p...
ajax/libs/extjs/4.2.1/src/grid/header/Container.js
Jonybang/cdnjs
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
src/routes.js
thingswesaid/seed
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import { App, NotFound, Bean, } from 'containers'; export default () => { return ( <Route path="/" component={App}> <IndexRoute component={Bean}/> <Route path="*" component={NotFound} status={404} /> </Route>...
ajax/libs/babel-core/4.6.4/browser.js
sreym/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.babel=f()}})(f...
source/constants.js
RahavLussato/redux-react-firebase
const prefix = '@@reactReduxFirebase/' module.exports = { SET: `${prefix}SET`, SET_PROFILE: `${prefix}SET_PROFILE`, LOGIN: `${prefix}LOGIN`, LOGOUT: `${prefix}LOGOUT`, LOGIN_ERROR: `${prefix}LOGIN_ERROR`, PERMISSION_DENIED_ERROR: `${prefix}PERMISSION_DENIED_ERROR`, // NO_VALUE: `${prefix}NO_VALUE`, STA...
src/components/main.js
thebigbrain/recorder
import React from 'react'; import {RouteHandler, Link} from 'react-router'; class Main extends React.Component { render() { return ( <div> <h1>Example</h1> {this.props.children} </div> ); } } export default Main;
fields/types/datetime/DatetimeField.js
vokal/keystone
import DateInput from '../../components/DateInput'; import Field from '../Field'; import moment from 'moment'; import React from 'react'; import { Button, FormField, FormInput, FormNote, InlineGroup as Group, InlineGroupSection as Section, } from '../../../admin/client/App/elemental'; module.exports = Field.crea...
ceephax/containers/root.dev.js
mrceephax/ceephax.com.frontend
import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; import { Router, Route } from 'react-router-dom'; import App from 'ceephax/components/app'; import 'ceephax/assets/scss/index.scss'; export default function Root({ store, history }) { return ( <Provider...
RNDemo/index.android.js
liuboshuo/react-native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import HelloDemo from './src/Demo/hello world' import Bananas from './src/Demo/props' import LotsOfGreeting from './src/Demo/propsthis' import B...
examples/ImageRecognitionExample/__tests__/App.js
reneweb/react-native-tensorflow
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
src/AutoComplete/AutoComplete.js
skarnecki/material-ui
import React from 'react'; import ReactDOM from 'react-dom'; import keycode from 'keycode'; import TextField from '../TextField'; import Menu from '../Menu'; import MenuItem from '../MenuItem'; import Divider from '../Divider'; import Popover from '../Popover/Popover'; import propTypes from '../utils/propTypes'; import...
ajax/libs/ngOfficeUiFabric/0.12.0/ngOfficeUiFabric.js
jonobr1/cdnjs
/*! * ngOfficeUIFabric * http://ngofficeuifabric.com * Angular 1.x directives for Microsoft's Office UI Fabric * https://angularjs.org & https://dev.office.com/fabric * v0.12.0 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.ex...
src/Therapists/ui/TherapistListCard.js
techmsi/mental-health-app
import React from 'react'; import { TherapistCardGrid } from 'Therapists/ui/styles-Therapist'; import { TherapistMenu, TherapistCardImage, TherapistCardSummary } from 'Therapists/ui/dynamicRoutes'; export const TherapistListCard = (therapist, index) => ( <TherapistCardGrid key={therapist.id} className='thera...
src/components/Report/Controls/Chips.spec.js
chrisvogt/teacher-salaries
import React from 'react' import { shallow } from 'enzyme' import Chips from './Chips' import Chip from 'material-ui/Chip' describe('<Chips />', () => { function setup(chips = []) { const props = { chipData: chips, onDeleteState: jest.fn() } return shallow(<Chips {...props} />) } it('re...
src/Divider/Divider.spec.js
spiermar/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Divider from './Divider'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Divider />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallow(node, {contex...
src/components/SwitchToggle/SwitchToggle.js
anhtuanssp/react-switch-toggle-component
'use strict'; import React from 'react'; let injectTapEventPlugin = require('react-tap-event-plugin'); injectTapEventPlugin(); require('./style.scss'); class SwitchToggle extends React.Component { static propTypes = { onChange: React.PropTypes.func, size: React.PropTypes.string, id: R...
ajax/libs/aui/5.4.3/aui/js/aui-dependencies.js
mojio/cdnjs
(function(t,e){function i(t){var e=fe[t]={};return G.each(t.split(ee),function(t,i){e[i]=!0}),e}function n(t,i,n){if(n===e&&1===t.nodeType){var r="data-"+i.replace(me,"-$1").toLowerCase();if(n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ge.test(n)?G.parseJSON(n)...
Scenarios/Core.XMLBasedFieldsAndContentTypes/Core.XMLBasedFieldsAndContentTypesWeb/Scripts/jquery-1.9.1.min.js
NexploreDev/PnP-PowerShell
/* 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...
node_modules/muicss/lib/react/panel.js
save-password/save-password.github.io
var babelHelpers = require('./babel-helpers.js'); /** * MUI React layout module * @module react/layout */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = babelHelpers.interopRequireDefault(_react); /** * Panel constructor * @class */...
examples/huge-apps/routes/Course/routes/Assignments/components/Assignments.js
Jastrzebowski/react-router
import React from 'react'; class Assignments extends React.Component { render () { return ( <div> <h3>Assignments</h3> {this.props.children || <p>Choose an assignment from the sidebar.</p>} </div> ); } } export default Assignments;
examples/flux-chat/js/components/MessageComposer.react.js
dingdingvsjj/flux
/** * This file is provided by Facebook for testing and evaluation purposes * only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICUL...
client/scripts/components/user/entities/relationship-date-field/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 Lic...
code-samples/testing.js
vimto/wdcnz-2015-react-tips-and-tricks
import {addons as ReactAddons} from 'react/addons'; import AddCollaboratorComponent from '../scripts/components/add-collaborator-component.jsx'; import React from 'react'; import flux from '../scripts/flux'; describe('AddCollaboratorOverlayComponent', function() { // Render the component const projectId = 1; con...
src/components/DeveloperMenu.js
Kortelainen/Softala3SuperAda
import React from 'react'; import {View} from 'react-native'; // For tests const DeveloperMenu = () => <View/>; export default DeveloperMenu;
src/svg-icons/places/all-inclusive.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesAllInclusive = (props) => ( <SvgIcon {...props}> <path d="M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.7...
internals/templates/containers/App/index.js
Demonslyr/Donut.WFE.Customer
/** * * 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 ...
src/interface/Home.js
yajinni/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Trans } from '@lingui/macro'; import { Link, Route, Switch } from 'react-router-dom'; import lazyLoadComponent from 'common/lazyLoadComponent'; import retryingPromise from 'common/retryingPromise'; import New...
examples/default-size.js
mhink/react-ionize
import React from 'react'; import Ionize from 'react-ionize'; import path from 'path'; import 'index.html'; Ionize.start( <window show file={path.resolve(__dirname, "index.html")} defaultSize={[800, 800]} /> );
src/svg-icons/content/block.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentBlock = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8...
react/features/invite/components/InviteDialog.js
parisjulien/arkadin-jitsimeet
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getInviteURL } from '../../base/connection'; import { Dialog } from '../../base/dialog'; import { translate } from '../../base/i18n'; import JitsiMeetJS from '../../base/lib-jitsi-meet'; import { getLocalParticipant, PARTICIPANT_...
packages/material-ui-icons/src/SkipNextTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 9.86v4.28L11.03 12z" opacity=".3" /><path d="M14.5 12L6 6v12l8.5-6zM8 9.86L11.03 12 8 14.14V9.86zM16 6h2v12h-2z" /></React.Fragment> , 'SkipN...
ajax/libs/analytics.js/1.5.8/analytics.min.js
paleozogt/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...
assets/grocery_crud/js/jquery-1.11.1.js
yasinfaurk/grocery-crud
/*! * jQuery JavaScript Library v1.11.1 * 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-05-01T17:42Z */ (function( global, factory ) { if ...
public/styles/lightfrog/_jquery.js
frogsystem/frogsystem
/*! 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...
modules/gui/src/app/home/body/process/recipe/recipeImageLayerSource.js
openforis/sepal
import {compose} from 'compose' import {connect} from 'store' import {createAoiFeatureLayerSource} from 'app/home/map/aoiFeatureLayerSource' import {createGoogleSatelliteImageLayerSource} from 'app/home/map/imageLayerSource/googleSatelliteImageLayerSource' import {createLabelsFeatureLayerSource} from 'app/home/map/labe...
src/components/javascript/plain/JavascriptPlain.js
fpoumian/react-devicon
import React from 'react' import PropTypes from 'prop-types' import SVGDeviconInline from '../../_base/SVGDeviconInline' import iconSVG from './JavascriptPlain.svg' /** JavascriptPlain */ function JavascriptPlain({ width, height, className }) { return ( <SVGDeviconInline className={'JavascriptPlain' + ' '...
app/components/Header/HeaderLink.js
douglasguerrero/Test
import { Link } from 'react-router'; import styled from 'styled-components'; export default styled(Link)` display: inline-flex; padding: 0.25em 2em; margin: 1em; text-decoration: none; border-radius: 4px; -webkit-font-smoothing: antialiased; -webkit-touch-callout: none; user-select: none; cursor: poi...
src/svg-icons/image/picture-as-pdf.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePictureAsPdf = (props) => ( <SvgIcon {...props}> <path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 ...
website/modules/animated/createAnimatedComponent.js
d-oliveros/react-router
/** * 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. * * @flow */...
ajax/libs/material-ui/4.11.0/internal/svg-icons/KeyboardArrowLeft.min.js
cdnjs/cdnjs
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var React=_interopRequireWildcard(require("react")),_createSvgIco...
src/components/Button.js
carpedeum-fr/geomesse
import React, { PropTypes } from 'react'; import { TouchableOpacity, Text, StyleSheet, View } from 'react-native'; import appStyle from 'geomesse/src/appStyle'; const styles = StyleSheet.create({ container: { justifyContent: 'center', alignItems: 'center', minHeight: appStyle.dimensions.touchableHeight,...
7.1.1/examples/syncValidation/dist/bundle.js
erikras/redux-form-docs
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e...
src/svg-icons/places/beach-access.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesBeachAccess = (props) => ( <SvgIcon {...props}> <path d="M13.127 14.56l1.43-1.43 6.44 6.443L19.57 21zm4.293-5.73l2.86-2.86c-3.95-3.95-10.35-3.96-14.3-.02 3.93-1.3 8.31-.25 11.44 2.88zM5.95 5.98c-3.94 3.95...
src/scripts/pages/Stacks.page.js
kodokojo/kodokojo-ui
/** * Kodo Kojo - Software factory done right * Copyright © 2017 Kodo Kojo (infos@kodokojo.io) * * 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/svg-icons/av/volume-up.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVolumeUp = (props) => ( <SvgIcon {...props}> <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91...
src/components/icons/icons.stories.js
austinknight/ui-components
import React from "react"; import { storiesOf, action } from "@storybook/react"; import styled, { css } from "styled-components"; import _ from "lodash"; import { renderThemeIfPresentOrDefault, wrapComponentWithContainerAndTheme, colors } from "../styles"; import Icons from "./"; const media = { large: (...a...
test/JumbotronSpec.js
simonliubo/react-ui
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Jumbotron from '../src/Jumbotron'; describe('Jumbotron', function () { it('Should output a div with content', function () { let instance = ReactTestUtils.renderIntoDocument( <Jumbotron> <strong>Content</strong>...
src/components/SubmitButton/SubmitButton.spec.js
eliaslopezgt/ps-react-eli
import React from 'react'; import SubmitButton from './SubmitButton'; import {shallow} from 'enzyme'; test('Display button with class, label and icon class', () => { const wrapper = shallow(<SubmitButton className="testbuttonclass" label="testlabel" iconClassName="testiconclass" /> ); // Should ha...
ajax/libs/asynquence-contrib/0.2.2-a/contrib.src.js
dlueth/cdnjs
/*! asynquence-contrib v0.2.2-a (c) Kyle Simpson MIT License: http://getify.mit-license.org */ (function UMD(dependency,definition){ if (typeof module !== "undefined" && module.exports) { // make dependency injection wrapper first module.exports = function $InjectDependency$(dep) { try { dep = require(...
src/components/AddAlarm.js
iovar/sleep_cycle_alarm
import React, { Component } from 'react'; import { ScrollView } from 'react-native'; import { Actions } from 'react-native-router-flux'; import { connect } from 'react-redux'; import { appBgColor } from '../Colors'; import AlarmProperties from './AlarmProperties'; import Button from './reusable/Button'; import { change...
ajax/libs/rxjs/2.3.9/rx.compat.js
hasantayyar/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
app/components/Shapes/Circle.js
stutrek/data-viz
import React from 'react'; import { Record, Maybe, Any } from 'typed-immutable'; import { StringOrNumber } from './types'; import { ShapeEditor } from './Editor'; import { getPoints } from './util'; const pixelRatio = window.devicePixelRatio || 1; export const type = 'Circle'; export class Icon extends React.Compo...
app/containers/BootStrap/UGLogo/index.js
perry-ugroop/ugroop-react-dup2
/** * Created by Ber on 24/11/16. */ import React from 'react'; const UGLogo = (props) => <img {...props}alt="" />; UGLogo.propTypes = { className: React.PropTypes.any, children: React.PropTypes.any, }; export default UGLogo;
app/components/input/switch.js
danieloliveira079/healthy-life-app-v1
import React from 'react'; import { Strings } from '../../constants'; export default React.createClass({ propTypes: { field: React.PropTypes.string, onClick: React.PropTypes.func, valueOn: React.PropTypes.string, valueOff: React.PropTypes.string, checked: React.PropTypes.bool, onChange: Re...
back-end/node_modules/rx/dist/rx.compat.js
avielman/IU-SCRUM
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExpor...
packages/cf-component-modal/src/ModalHeader.js
jroyal/cf-ui
import React from 'react'; import PropTypes from 'prop-types'; class ModalHeader extends React.Component { render() { return ( <header className="cf-modal__header"> {this.props.children} </header> ); } } ModalHeader.propTypes = { children: PropTypes.node }; export default ModalHead...
src/icons/AndroidCart.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class AndroidCart extends React.Component { render() { if(this.props.bare) { return <g> <g> <path fill="#010101" d="M169.6,377.6c-22.882,0-41.6,18.718-41.6,41.601c0,22.882,18.718,41.6,41.6,41.6s41.601-18.718,41.60...
app/components/LoadingIndicator/Circle.js
mxstbr/react-boilerplate
import React from 'react'; import PropTypes from 'prop-types'; import styled, { keyframes } from 'styled-components'; const circleFadeDelay = keyframes` 0%, 39%, 100% { opacity: 0; } 40% { opacity: 1; } `; const Circle = props => { const CirclePrimitive = styled.div` width: 100%; height...
app/javascript/mastodon/features/list_editor/components/search.js
dwango/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, injectIntl } from 'react-intl'; import { fetchListSuggestions, clearListSuggestions, changeListSuggestions } from '../../../actions/lists'; import classNames from 'classnames'; const messages ...
ajax/libs/webshim/1.15.3/dev/shims/es6.js
viskin/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
BaiSi/app/pages/home/detail/satinDetail.js
MisterZhouZhou/ReactNativeLearing
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, InteractionManager, Image, Dimensions } from 'react-native'; let {width, height} = Dimensions.get('window'); impor...
img/portfolio/Dispatch Victimes_files/jquery.js
DispatchVictimes/DispatchVictimes.github.io
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/routes/home/index.js
24v/player-sankey
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present 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 from 'react'; import Home from './Home'; i...
clients/packages/admin-client/src/pages/admin/mobilizations/templates/list/page.js
nossas/bonde-client
import PropTypes from 'prop-types'; import React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import classnames from 'classnames'; import * as paths from '../../../../../paths'; import EmptyList from '../../../../../components/empty-list'; import { SettingsPag...
src/app/js/icons/Repeat.js
AppSaloon/socket.io-tester
import React from 'react' import TemplateIcon from './TemplateIcon' const Repeat = ({size, color, customStyle}) => <TemplateIcon size={size} color={color} customStyle={customStyle} viewBox="6 6 12 12" > <path d="M17.771,12c0,3.188-2.584,5.771-5.771,5.771S6.22...
ajax/libs/mini-meteor/1.0.0/mini-meteor.js
IonicaBizauKitchen/cdnjs
/* This file contains underscore, and exports * 5 core meteor packages, and their globals * * Base64 * EJSON * Meteor (a rename of Tracker/Deps, with autorun renamed to 'run') * ReactiveMap (formerly ReactiveDict) * ReactiveVar * mrt:reactive-object ReactiveObject */ /** begin underscore 1.7.0 **/ // Unders...
src/server.js
codyromano/destiny
import 'babel-polyfill'; import path from 'path'; import express from 'express'; import cookieParser from 'cookie-parser'; import bodyParser from 'body-parser'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Html from './components/Html'; import { ErrorPage } from './routes/error/ErrorPage';...
src/svg-icons/av/games.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvGames = (props) => ( <SvgIcon {...props}> <path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"/> </SvgIcon> ); AvGames = pure(AvGames); AvGames.dis...
ajax/libs/6to5/1.12.9/browser-polyfill.js
taydakov/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...
ide/static/js/topBar.js
Cloud-CV/IDE
import React from 'react'; import ReactTooltip from 'react-tooltip'; class TopBar extends React.Component { constructor(props) { super(props); this.checkURL = this.checkURL.bind(this); } checkURL() { let url = window.location.href; let urlParams = url.indexOf("load"); if(urlParams != -1) { ...
src/js/app.js
gperreymond/surveys
// react import React from 'react'; import { browserHistory, Router, Route } from 'react-router'; import { render } from 'react-dom'; // packages import logger from 'debug'; // css import reset from './../css/reset.css'; // local import Application from './containers/Application'; import ApplicationActions from './cont...
client/translations/collectTranslations.js
ciex/mietlimbo
// MIT License // Copyright (c) 2016 Yury Dymov // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merg...
ajax/libs/rxjs/2.5.1/rx.lite.js
danut007ro/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
app/javascript/mastodon/features/ui/components/boost_modal.js
glitch-soc/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import Button from '../../../components/button'; import StatusContent from '../../....
modules/IndexRoute.js
barretts/react-router
import React from 'react' import invariant from 'invariant' import warning from 'warning' import { createRouteFromReactElement } from './RouteUtils' import { component, components, falsy } from './PropTypes' const { bool, func } = React.PropTypes /** * An <IndexRoute> is used to specify its parent's <Route indexRout...
react/IconCompany/IconCompany.js
seekinternational/seek-asia-style-guide
import svgMarkup from './IconCompany.svg'; import React from 'react'; import Icon from '../private/Icon/Icon'; export default function IconCompany(props) { return <Icon markup={svgMarkup} {...props} />; } IconCompany.displayName = 'Company icon';
docs/app/Examples/modules/Rating/Variations/RatingExampleSize.js
mohammed88/Semantic-UI-React
import React from 'react' import { Rating } from 'semantic-ui-react' const RatingExampleSize = () => ( <div> <Rating maxRating={5} defaultRating={3} icon='star' size='mini' /> <br /> <br /> <Rating maxRating={5} defaultRating={3} icon='star' size='tiny' /> <br /> <br /> <Rating maxRatin...
src/Loader.js
ship-components/ship-components-tag-input
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import css from './Loader.css'; export default class Loader extends React.Component { /** * Optimizes the app performance * * @param {array of object} nextProps * @returns {bool} * @memberof Loader *...
files/yui/3.17.2/event-focus/event-focus-coverage.js
Metrakit/jsdelivr
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/event-focus/event-focus.js']) { __coverage__['build/event-focus/event-focus.js'] = ...
pewview/index.js
matthewcodes/PewView
window.$ = window.jQuery = require("jquery"); window.Tether = require('tether'); require('bootstrap'); require('./scss/index.scss'); import React from 'react'; import ReactDOM from 'react-dom'; import PewView from './components/PewView.jsx'; ReactDOM.render(<PewView />, document.getElementById('root'));
src/Flags/Austria.js
runjak/css-flags
// @flow import React from 'react'; import LinearFlag from './LinearFlag'; import gradient from '../utils/gradient'; const red = '#EE2537'; const white = '#FFFFFF'; export default function Armenia() { return ( <LinearFlag gradient={gradient([red, white, red])} /> ); }