path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
popcorn.js
kaltura/popcorn-js
(function(global, document) { // Popcorn.js does not support archaic browsers if ( !document.addEventListener ) { global.Popcorn = { isSupported: false }; var methods = ( "byId forEach extend effects error guid sizeOf isArray nop position disable enable destroy" + "addTrackEvent remove...
docs/src/sections/JumbotronSection.js
jesenko/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function JumbotronSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> ...
src/components/detailsComponents/CompanyInfo.js
markgreenburg/acquisitiontracker
// @flow import React from 'react'; import PropTypes from 'prop-types'; import Nav from './Nav'; import CompanyName from './CompanyName'; import CompanyBody from './CompanyBody'; const CompanyInfo = props => ( <div className="row company-info-row"> <div className="col-xs-12 company-info-content"> <div clas...
public/js/components/chat/tabs1.react.js
IsuruDilhan/Coupley
import React from 'react'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import TextField from 'material-ui/lib/text-field'; import Divider from 'material-ui/lib/divider'; import IconButton from 'material-ui/lib/icon-button'; import Tabs from 'material-ui/lib/tab...
src/routes/user/UserList.js
hhj679/mybition-web
import React from 'react' import PropTypes from 'prop-types' import { Table, Modal } from 'antd' import styles from './UserList.less' import classnames from 'classnames' import AnimTableBody from '../../components/DataTable/AnimTableBody' import { DropOption } from '../../components' import { Link } from 'dva/router' ...
src/svg-icons/image/camera-alt.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCameraAlt = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5...
ajax/libs/yui/3.17.1-rc-1/datatable-body/datatable-body.js
iamJoeTaylor/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 = ...
frontend/app_v2/src/common/icons/Checkmark.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' /** * @summary Checkmark * @component * * @param {object} props * * @returns {node} jsx markup */ function Checkmark({ styling }) { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className={styling}> <path d="M16.707 5...
ajax/libs/react-cookie/0.3.4/react-cookie.min.js
yinghunglai/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...
ajax/libs/cellx/1.6.73/cellx.js
honestree/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.cellx = factory()); }(this, (function () { 'use strict'; var ErrorLogger = { _handler: null, /** * @typesign (handler:...
packages/material-ui-icons/src/LocalHospitalOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-8.5-2h3v-3.5H17v-3h-3.5V7h-3v3.5H7v3h3.5z" /> , 'LocalHospitalOutlined');
src/svg-icons/content/sort.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentSort = (props) => ( <SvgIcon {...props}> <path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/> </SvgIcon> ); ContentSort = pure(ContentSort); ContentSort.displayName = 'ContentSort'; ContentSort.mui...
packages/material-ui-icons/src/PhonelinkErase.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let PhonelinkErase = props => <SvgIcon {...props}> <path d="M13 8.2l-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4 4-4zM19 1H9c-1.1 0-2 .9-2 2v3h2V4h10v16H9v-2H7v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2...
src/TextField/TextFieldLabel.spec.js
ruifortes/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {expect} from 'chai'; import TextFieldLabel from './TextFieldLabel'; import getMuiTheme from '../styles/getMuiTheme'; describe('<TextFieldLabel>', () => { it('uses focus styles', () => { const wrapper = shallow( <TextF...
ajax/libs/zxcvbn/1.0.3/zxcvbn.min.js
jackdoyle/cdnjs
(function(){var aC,aM,aK,aB,ah,ag,af,ae,ad,ac,ab,t,ap,aL,ao,r,o,m,l,k,i;ab=function(n){var p,q;q=[];for(p in n){q.push(p)}return 0===q.length};ap=function(n,p){return n.push.apply(n,p)};k=function(n,p){var w,u,s,v,q;v=n.split("");q=[];u=0;for(s=v.length;u<s;u++){w=v[u],q.push(p[w]||w)}return q.join("")};r=function(n,p)...
example/examples/MapStyle.js
phantomlds/react-native-maps
import React from 'react'; import { StyleSheet, View, Dimensions, } from 'react-native'; import MapView from 'react-native-maps'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.78825; const LONGITUDE = -122.4324; const LATITUDE_DELTA = 0.0922; const...
src/components/Header/Header.js
ihnat/work-hard
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { Component } from 'react'; import styles from './Header.css'; import withStyles from '../../decorators/withStyles'; import Link from '../Link'; import Navigation from '../Navigation'; @withStyles(styles) class Header extends Compo...
examples/pinterest/app.js
bs1180/react-router
import React from 'react' import { render } from 'react-dom' import { createHistory, useBasename } from 'history' import { Router, Route, IndexRoute, Link } from 'react-router' const history = useBasename(createHistory)({ basename: '/pinterest' }) const PICTURES = [ { id: 0, src: 'http://placekitten.com/601/601' ...
addons/info/src/components/types/Shape.js
rhalff/storybook
import PropTypes from 'prop-types'; import React from 'react'; import { HighlightButton } from '@storybook/components'; import PrettyPropType from './PrettyPropType'; import PropertyLabel from './PropertyLabel'; import { TypeInfo, getPropTypes } from './proptypes'; const MARGIN_SIZE = 15; class Shape extends React....
components/fields/forked-react-dates/src/components/DayPickerSingleDateController.js
Mudano/m-dash-ui
import React from 'react'; import PropTypes from 'prop-types'; import momentPropTypes from 'react-moment-proptypes'; import { forbidExtraProps, nonNegativeInteger } from 'airbnb-prop-types'; import moment from 'moment'; import values from 'object.values'; import isTouchDevice from 'is-touch-device'; import { DayPicker...
solr/example/solr-webapp/webapp/js/require.js
frne/symfony-solr-playground
/* MIT License ----------- Copyright (c) 2010-2011, The Dojo Foundation 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,...
admin/client/App/screens/List/components/UpdateForm.js
webteckie/keystone
import React from 'react'; import ReactDOM from 'react-dom'; import Select from 'react-select'; import Fields from 'FieldTypes'; import InvalidFieldType from '../../../shared/InvalidFieldType'; import { plural } from '../../../../utils/string'; import { BlankState, Button, Form, Modal } from 'elemental'; var UpdateFor...
src/seasonCalendar/seasonCalendar.js
mistyjae/rc-calendar-extend
/** * Created by xlm on 2017/7/6. */ import React from 'react'; import 'rc-calendar/assets/index.css' import 'styles/index.css' import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; import KeyCode from 'rc-util/lib/KeyCode'; import SeasonPanel from '../season/seasonPanel'; import Cale...
ajax/libs/radium/0.18.2/radium.js
pvnr0082t/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Radium"] = factory(...
pathfinder/vtables/decommissioningcommissioningapplications/src/MultiSelectField.js
leanix/leanix-custom-reports
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Select from 'react-select'; import TableUtilities from './common/TableUtilities'; import Utilities from './common/Utilities'; class MultiSelectField extends Component { constructor(props) { super(props); this._onChange = this._o...
app/js/components/Rippler.js
raulalgo/button_rr
'use strict'; import React from 'react'; class Rippler extends React.Component { style; constructor(props) { super(props); } render() { this.style = ({ top : this.props.y-50, left : this.props.x-50}) return ( <div> <div className={this.props.t_w_classes}> ...
src/components/Toggle.js
gj262/my-react-redux-starter-kit
import React from 'react' import './Toggle.scss' export default class Toggle extends React.Component { static propTypes = { toggle: React.PropTypes.func.isRequired, assign: React.PropTypes.func.isRequired, enabled: React.PropTypes.bool.isRequired }; render () { return ( <div className='co...
modules/__tests__/serverRendering-test.js
cold-brew-coding/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createLocation from 'history/lib/createLocation' import RoutingContext from '../RoutingContext' import match from '../match' import Link from '../Link' describe('server rendering', function () { let App...
src/js/containers/PictureGridContainer/PictureGridContainer.js
shane-arthur/react-redux-and-more-boilerplate
import React, { Component } from 'react'; import PictureIcon from '../../components/PictureIcon/PictureIcon'; import { styles } from './styles'; import { sendData } from '../../data/dataFetcher'; export default class PictureGridContainer extends Component { _getPictureContainerItems() { const pictureList...
node_modules/react-router/modules/IndexLink.js
sauceSquatch/we_are_razorfish_experience
import React from 'react' import Link from './Link' /** * An <IndexLink> is used to link to an <IndexRoute>. */ const IndexLink = React.createClass({ render() { return <Link {...this.props} onlyActiveOnIndex={true} /> } }) export default IndexLink
src/docs/components/tabs/TabsDoc.js
karatechops/grommet-docs
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import Tabs from 'grommet/components/Tabs'; import Tab from 'grommet/components/Tab'; import Paragraph from 'grommet/components/Paragraph'; import Button from 'grommet/components/Button'; import DocsArticle f...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.lite.compat.js
jeanralphaviles/WhatsHappenin
// 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 }; ...
node_modules/react-icons/md/control-point-duplicate.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdControlPointDuplicate = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25 31.6q4.8 0 8.2-3.4t3.4-8.2-3.4-8.2-8.2-3.4-8.2 3.4-3.4 8.2 3.4 8.2 8.2 3.4z m0-26.6q6.3 0 10.6 4.4t4.4 10.6-4.4 10.6-10.6 4.4-10.6-4.4-4.4-10.6 4.4-...
pages/api/step-button.js
cherniavskii/material-ui
import React from 'react'; import withRoot from 'docs/src/modules/components/withRoot'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './step-button.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default withRoot(Page);
app/components/overview/index.js
wfa207/portfolio-page
'use strict'; import React, { Component } from 'react'; import SocialBtn from '../social_button'; import { buttons } from '../../data'; export default class Overview extends Component { constructor(props) { super(props); } render() { return ( <header> <div className='container'> ...
app/javascript/mastodon/features/list_editor/components/edit_list_form.js
musashino205/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { changeListEditorTitle, submitListEditor } from '../../../actions/lists'; import IconButton from '../../../components/icon_button'; import { defineMessages, injectIntl } from 'react-intl'; const messages = def...
app/javascript/components/collections/list/ButtonCollectionListShowAll.js
avalonmediasystem/avalon
/* * Copyright 2011-2022, The Trustees of Indiana University and Northwestern * University. Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
src/component/Name.js
munyrasirio/mss-chat
import React, { Component } from 'react'; import { StyleSheet, TouchableOpacity, Text } from 'react-native'; export default class Name extends Component { render() { return ( <TouchableOpacity style={styles.buttonName}> <Text style={styles.button}>{this.props.name}</Text> </Touchabl...
plugins/system/t3/base-bs3/js/jquery-1.11.2.min.js
Sunella/Restart
/*! jQuery v1.11.2 | (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/thirdparty/react.js
petetnt/brackets
/** * React (with addons) v0.14.7 */ (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!=="undef...
fixtures/output/webpack-message-formatting/src/AppLintWarning.js
IamJoseph/create-react-app
import React, { Component } from 'react'; function foo() {} class App extends Component { render() { return <div />; } } export default App;
src/routes/contact/index.js
Jose4gg/GSW-P2
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Contact from './Contact'...
public/assets/publify_admin-cf16b40390492b41111b6ea26a9f5ce5.js
burakicel/Burakicel.com
/*! * 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 ) { //...
vendor/ob/highcharts-bundle/Ob/HighchartsBundle/Resources/public/js/highcharts/highcharts.src.js
AmineBelhaj/GoldenCageWeb
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v3.0.6 (2013-10-04) * * (c) 2009-2013 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
packages/material-ui-icons/src/LocationDisabledSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M23 13v-2h-2.06c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06c-.98.11-1.91.38-2.77.78l1.53 1.53C10.46 5.13 11.22 5 12 5c3.87 0 7 3.13 7 7 0 .79-.13...
ajax/libs/inferno/1.0.0-beta24/inferno-compat.js
wout/cdnjs
/*! * inferno-compat v1.0.0-beta24 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./inferno-component')) : typeof define === 'function' && define.amd ? define(['exports', 'inf...
test/PageItemSpec.js
egauci/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ReactDOM from 'react-dom'; import PageItem from '../src/PageItem'; describe('PageItem', () => { it('Should output a "list item" as root element, and an "anchor" as a child item', () => { let instance = ReactTestUtils.render...
ajax/libs/angular-google-maps/1.0.16/angular-google-maps.js
fbender/cdnjs
/*! angular-google-maps 1.0.16 2014-03-26 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ (function() { angular.element(document).ready(function() { if (!(google || (typeof google !== "undefined" && google !== null ? google.maps : void 0) || (google.maps....
src/component/PageWrapper/test.js
pittborndigital/the92club
import React from 'react' import { shallow } from 'enzyme' import PageWrapper from './component' it('renders without crashing', () => { const wrapper = shallow(<PageWrapper><h1>some content</h1></PageWrapper>) expect(wrapper.exists()).toBe(true) })
examples/decorators/router/NotFoundScreen.js
stackscz/re-app
import React from 'react'; export default class NotFoundScreen extends React.Component { render() { return ( <div className="NotFoundScreen"> <h1>404 - Not Found</h1> </div> ); } }
sdncon/ui/static/js/thirdparty/jquery-1.9.1.js
mandeepdhami/netvirt-ctrl
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
web/getstarted/js/jquery.js
phongnhung/CnitSymfony
/*! 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...
app/containers/BootStrap/BSFooterSitemap/index.js
perry-ugroop/ugroop-react-dup2
/** * Created by Ber on 25/11/16. */ import React from 'react'; const BSFooterSitemap = (props) => <div className={`${props.className}`}> {props.children} </div>; BSFooterSitemap.propTypes = { className: React.PropTypes.any, children: React.PropTypes.any, }; export default BSFooterSitemap;
tests/Rules-minLength-spec.js
bitgaming/formsy-react
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Formsy from './..'; import { InputFactory } from './utils/TestInput'; const TestInput = InputFactory({ render() { return <input value={this.getValue()} readOnly/>; } }); const TestForm = React.createClass({ render() { re...
src/js/components/InfiniteScroll/stories/Grid.js
HewlettPackard/grommet
import React from 'react'; import { Grid, Grommet, Box, Image, InfiniteScroll, Text } from 'grommet'; import { grommet } from 'grommet/themes'; const allItems = Array(2000) .fill() .map((_, i) => `item ${i + 1}`); export const GridInfiniteScroll = () => ( <Grommet theme={grommet}> <Grid columns="xsmall" ro...
packages/react-router-dom/modules/Link.js
d-oliveros/react-router
import React from 'react' import PropTypes from 'prop-types' import invariant from 'invariant' const isModifiedEvent = (event) => !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey) /** * The public API for rendering a history-aware <a>. */ class Link extends React.Component { static propTypes ...
ajax/libs/rxjs/2.2.22/rx.js
r3x/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...
src/FontIcon/FontIcon.js
skystebnicki/chamel
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import ThemeService from '../styles/ChamelThemeService'; /** * Functional component for any button * * @param props * @param context * @returns {ReactDOM} * @constructor */ const FontIcon = (props, context) => { ...
src/app/components/Diagram/Guitar.js
vinodronold/fivefrets-next
import React from 'react' import glamorous from 'glamorous' import Theme from '../../constants/Theme' import { GetChordName, GetGuitarChordShape } from './chordMeta' const Container = glamorous.div({ display: 'flex', flexWrap: 'wrap', justifyContent: 'center', margin: '1rem' }) const SVGText = ({ x, y, fontSi...
fields/types/boolean/BooleanFilter.js
ratecity/keystone
import React from 'react'; import { SegmentedControl } from '../../../admin/client/App/elemental'; const VALUE_OPTIONS = [ { label: 'Is Checked', value: true }, { label: 'Is NOT Checked', value: false }, ]; function getDefaultValue () { return { value: true, }; } var BooleanFilter = React.createClass({ propTy...
files/rxjs/2.4.1/rx.compat.js
ajkj/jsdelivr
// 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 }; v...
src/index.js
ayoisaiah/markdown-previewer
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import './stylesheet/css/main.css'; class Index extends React.Component { constructor(props) { super(props); this.toggleMobilePreview = this.toggleMobilePreview.bind(this); this.handleChange = this.handleC...
Examples/UIExplorer/NavigationExperimental/NavigationTabsExample.js
BretJohnson/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...
ajax/libs/onsen/2.0.0-rc.19/js/onsenui.min.js
kennynaoh/cdnjs
/*! onsenui v2.0.0-rc.19 - 2016-09-15 */ window.CustomEvent||!function(){var CustomEvent;CustomEvent=function(event,params){var evt;return params=params||{bubbles:!1,cancelable:!1,detail:void 0},evt=document.createEvent("CustomEvent"),evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail),evt},Custom...
node_modules/react-icons/md/highlight-off.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdHighlightOff = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 33.4c7.3 0 13.4-6.1 13.4-13.4s-6.1-13.4-13.4-13.4-13.4 6.1-13.4 13.4 6.1 13.4 13.4 13.4z m0-30c9.2 0 16.6 7.4 16.6 16.6s-7.4 16.6-16.6 16.6-16.6-7.4-16.6-16....
src/components/NotFoundPage/NotFoundPage.js
tarkanlar/eskimo
/* * React.js Starter Kit * Copyright (c) 2014 Konstantin Tarkus (@koistya), KriaSoft LLC. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ //import './NotFoundPage.less'; import React from 'react'; // eslint-disable-line no-unus...
app/javascript/mastodon/features/standalone/compose/index.js
PlantsNetwork/mastodon
import React from 'react'; import ComposeFormContainer from '../../compose/containers/compose_form_container'; import NotificationsContainer from '../../ui/containers/notifications_container'; import LoadingBarContainer from '../../ui/containers/loading_bar_container'; import ModalContainer from '../../ui/containers/mo...
vendor/bundle/ruby/2.1.0/gems/rails-4.2.3/guides/assets/javascripts/jquery.min.js
ralzate/Aerosanidad-Correciones
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
stevemao/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/components/Registration.js
apasashkov/treasy-client
import React, { Component } from 'react'; import Modal from './Modal'; import SignUpForm from './SignUpForm'; class Registration extends Component { render() { return ( <Modal id="RegistrationForm--Modal"> <h2> Sign Up! </h2> <SignUpForm /> </Modal> ...
src/js/components/share/linkedin-share-link.js
navidonskis/silverstripe-react-theme
import React from 'react'; import ShareLink from './share-link'; class LinkedInShareLink extends ShareLink { shareUrl() { let title = decodeURIComponent(this.getWindowTitle()); let currentLink = this.state.currentLink; return `https://twitter.com/intent/tweet?text=${title}&url=${currentLi...
src/components/routes/user/login.js
fredmarques/petshop
import './User.css'; import React, { Component } from 'react'; import { Field, reduxForm } from 'redux-form'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { loginAdmin, loginUser } from '../../../actions/login'; import { loginStatus, loginMode } from '../../../reducers/login'; ...
src/index.js
taylordevereaux/ppu-compare
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; // Css import '../node_modules/bootstrap/dist/css/bootstrap.css'; import './index.css'; import './theme/dist/toolkit-inverse.css'; // Utils import registerServiceWorker from './utilities/registerServiceWorker'; // Javascript import jq...
lib/sparks/generators/template/vendor/assets/javascripts/polymer-all/platform/tools/doc/themes/footstrap/assets/vendor/jquery/jquery-1.8.2.min.js
revans/sparks
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
src/components/pages/grocerylist/grocerylistDetails.js
emilmannfeldt/ettkilomjol
import React, { Component } from 'react'; import List from '@material-ui/core/List'; import Divider from '@material-ui/core/Divider'; import ListItem from '@material-ui/core/ListItem'; import ChevronLeftIcon from '@material-ui/icons/ChevronLeft'; import PrintIcon from '@material-ui/icons/PrintOutlined'; import IconButt...
src/index.js
yuri/notality
import './styles/styles.css'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { ReduxRouter } from 'redux-router'; import configureStore from './store/configureStore'; const store = configureStore({}); import {fetchNotes} from './actions/notes'; store.dis...
packages/react-router-website/modules/components/Guide.js
goblortikus/react-router
import React from 'react' import PropTypes from 'prop-types' import { Redirect, Route } from 'react-router-dom' import { Block } from 'jsxstyle' import ScrollToDoc from './ScrollToDoc' import MarkdownViewer from './MarkdownViewer' // almost identical to `API`, but I'm lazy rn const Guide = ({ match, data }) => { con...
node_modules/react-router/es6/Route.js
ddigioia/react_router_practice_1
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var func = _React$PropTypes.func; /** * A <Route> is use...
tests/containers/GuessFeedback.spec.js
LaunchAcademy/name-game
import GuessFeedback from '../../src/containers/GuessFeedback' import { mount } from 'enzyme' import React from 'react' describe('Guess Feedback', () => { let guess let component describe('correct guesses', () => { beforeEach(() => { guess = { correct: true, identity: { name...
node_modules/material-ui/svg-icons/image/filter-2.js
Jacob-Elder/react-socket.io-messaging-v2
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
src/components/CompanyAndJobTitle/TimeAndSalary/Helmet.js
goodjoblife/GoodJobShare
import React from 'react'; import Helmet from 'react-helmet'; import { formatTitle, formatCanonicalPath } from 'utils/helmetHelper'; import { IMG_HOST, SITE_NAME } from '../../../constants/helmetData'; import { pageType as PAGE_TYPE } from '../../../constants/companyJobTitle'; const CompanySalaryWorkTimeHelmet = ({ ...
src/PageHeader.js
Cellule/react-bootstrap
import React from 'react'; import classNames from 'classnames'; const PageHeader = React.createClass({ render() { return ( <div {...this.props} className={classNames(this.props.className, 'page-header')}> <h1>{this.props.children}</h1> </div> ); } }); export default PageHeader;
tests/components/TextField/TextField.spec.js
Venryx/ThesisMap
import React from 'react' import TextField from 'components/TextField' import { shallow } from 'enzyme' describe('(Component) TextField', () => { let _component beforeEach(() => { _component = shallow( <TextField type='text' label='some label' touched={false} input={{}} ...
ajax/libs/core-js/0.4.3/core.js
vfonic/cdnjs
/** * Core.js 0.4.3 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(returnThis, framework, undefined){ 'use strict'; /****************************************************************************** * Module : common ...
ajax/libs/unitegallery/1.7.28/js/jquery-11.0.min.js
emmy41124/cdnjs
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
actor-apps/app-web/src/app/components/common/MessageItem.react.js
TimurTarasenko/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import memoize from 'memoizee'; import classNames from 'classnames'; import emojify from 'emojify.js'; import hljs from 'highlight.js'; import marked from 'marked'; import emojiCharacters from 'emoji-named-characters'; ...
src/svg-icons/file/cloud-download.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileCloudDownload = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-...
jiuzhou/common/WebScene.js
Cowboy1995/JZWXZ
/** * Copyright (c) 2017-present, Liu Jinyong * All rights reserved. * * https://github.com/huanxsd/MeiTuan * @flow */ //import liraries import React, { Component } from 'react'; import { View, Text, StyleSheet, WebView, InteractionManager } from 'react-native'; // create a component class WebScene extends Co...
ajax/libs/yui/3.10.0/datatable-body/datatable-body-coverage.js
CarlosOhh/cdnjs
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-body/datatable-body.js']) { __coverage__['build/datatable-body/datatable-body.js'] = {"path":"build/datatable-body/datatable-body.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"...
src/controls/ColorPicker/Component/index.js
michalko/draft-wyswig
/* @flow */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { stopPropagation } from '../../../utils/common'; import Option from '../../../components/Option'; import './styles.css'; class LayoutComponent extends Component { static propTypes ...
__test__/ReduxBlockUi.spec.js
Availity/react-block-ui
import React from 'react'; import { shallow } from 'enzyme'; import ReduxBlockUi from 'react-block-ui/redux'; import * as BlockUiMiddleware from '../src/reduxMiddleware'; import BlockUi from 'react-block-ui'; describe('ReduxBlockUi', function() { it('should render a "blockUi"', () => { const wrapper = shallow(<R...
packages/benchmarks/src/implementations/react-native-web/Tweet/IconDirectMessage.js
css-components/styled-components
/* eslint-disable react/prop-types */ import { createElement } from 'react-native'; import React from 'react'; import styles from './styles'; const IconDirectMessage = props => createElement('svg', { children: ( <g> <path d="M43.34 14H12.66L28 27.946z" /> <path d="M51.392 14.789L30.018 34.2...
src/App.js
SpencerCDixon/drag-and-drop-example
import React, { Component } from 'react'; export default class App extends Component { render() { return ( <h1>Hello, world.</h1> ); } }
src/js/main.js
betaflight/betaflight-configurator
import { i18n } from './localization'; $(document).ready(function () { useGlobalNodeFunctions(); if (typeof cordovaApp === 'undefined') { appReady(); } }); function useGlobalNodeFunctions() { // The global functions of Node continue working on background. This is good to continue flashing, ...
ajax/libs/react-slick/0.13.0/react-slick.min.js
kennynaoh/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.Slider=e(require("react"),require("react-dom")):t.Slider=e(t.React,t.ReactDOM)}(this,function(t,...
src/__tests__/Button.spec.js
reactstrap/reactstrap
import React from 'react'; import { shallow, mount } from 'enzyme'; import { Button } from '../'; describe('Button', () => { it('should render children', () => { const wrapper = shallow(<Button>Ello world</Button>); expect(wrapper.text()).toBe('Ello world'); }); it('should render custom element', () =>...
index.ios.js
buildreactnative/assemblies
import React, { Component } from 'react'; import { AppRegistry, ActivityIndicator, View, Navigator, AsyncStorage } from 'react-native'; import Landing from './application/components/Landing'; import Register from './application/components/accounts/Register'; import RegisterConfirmation from './application/co...
frontend/app/components/Nav/NavLink.js
briancappello/flask-react-spa
import React from 'react' import PropTypes from 'prop-types' import { NavLink } from 'react-router-dom' import isFunction from 'lodash/isFunction' import { ROUTE_MAP } from 'routes' export default class LoadableNavLink extends React.Component { static propTypes = { children: PropTypes.node, to: PropTypes....
accounts-ui/app/components/reset.js
CloudBoost/cloudboost
import React from 'react'; import {Link} from 'react-router' import axios from 'axios' import CircularProgress from 'material-ui/CircularProgress' class Reset extends React.Component { constructor() { super() this.state = { errorMessage: '', email: '', success: f...
test/ListGroupSpec.js
andrew-d/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ListGroup from '../src/ListGroup'; import ListGroupItem from '../src/ListGroupItem'; describe('ListGroup', function () { it('Should output a "div" with the class "list-group"', function () { let instance = ReactTestUtils.re...