path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
ajax/libs/rxjs/2.2.7/rx.lite.js
schoren/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
front_end/src/pages/Campaigns/CampaignsPage.js
ncloudioj/splice
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { pageVisit } from 'actions/App/AppActions'; import { fetchCampaigns } from 'actions/Campaigns/CampaignActions'; import CampaignList from 'components/Campaigns/CampaignList/CampaignList'; class CampaignsPage extends Component { ...
ajax/libs/material-ui/5.0.0-alpha.12/es/useMediaQuery/useMediaQuery.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import{getThemeProps,useTheme}from"@material-ui/styles";export default function useMediaQuery(e,t={}){const n=useTheme(),r=getThemeProps({theme:n,name:"MuiUseMediaQuery",props:{}});"production"!==process.env.NODE_ENV&&"function"==typeo...
src/components/Feedback/Feedback.js
joshawnard/css-sandbox
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { Component } from 'react'; import withStyle...
src/utils/helpers.js
nikgraf/belle
import React from 'react'; /** * Returns true if the object contain the given key. * * @param {object} obj - object to be inspected * @param {string} key - name of the property */ export function has(obj, key) { return obj !== undefined && obj !== null && Object.prototype.hasOwnProperty.call(obj, key); } /** ...
src/components/message/index.js
thinktopography/reframe
import React from 'react' import PropTypes from 'prop-types' import Button from '../button' class Message extends React.Component { static contextTypes = { modal: PropTypes.object } static propTypes = { animation: PropTypes.string, icon: PropTypes.string, image: PropTypes.string, text: Prop...
generators/component/templates/src/app/component.js
FountainJS/generator-fountain-react
<% if (modules === 'webpack') { -%> const React = require('react'); export default React.createClass({ <% } -%> <% if (modules === 'systemjs') { -%> import React from 'react'; export default React.createClass({ <% } -%> <% if (modules === 'inject') { -%> window.<%- className %> = React.createClass({ <% } -%> getDef...
test/PaginationTest.js
gusreiber/OSS-plugin-site
import React from 'react'; import {createRenderer} from 'react-addons-test-utils'; import expect from 'expect'; import Pagination from '../app/components/Widget/Pagination'; const testElement = (<Pagination router={{ replace: (location) => { expect(location.query.q).toBe('extrem'); }} } location={...
src/server.js
mull/require_hacker_error_reproduction
import Express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './redux/create'; import ApiC...
modules/Common/RequestCaptureForm.js
cloudytimemachine/frontend
import React from 'react' import { browserHistory } from 'react-router' import request from 'superagent' function API_URL () { if (process.env.NODE_ENV === 'production') { return 'http://api/api'; } return '/api'; }; export default React.createClass({ getInitialState: function() { return { url: '', is...
information/blendle-frontend-react-source/app/modules/settings/components/SubscriptionResultContainer.js
BramscoChill/BlendleParser
import React from 'react'; import PropTypes from 'prop-types'; import Analytics from 'instances/analytics'; import { providerById, prefillSelector } from 'selectors/providers'; import SubscriptionResult from 'components/dialogues/SubscriptionResult'; export default class extends React.Component { static propTypes = ...
js/src/modals/SMSVerification/Done/done.js
pdaian/parity
// Copyright 2015, 2016 Ethcore (UK) Ltd. // This file is part of Parity. // Parity 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 your option) any later version....
ajax/libs/video.js/5.0.0-rc.74/video.js
dakshshah96/cdnjs
/** * @license * Video.js 5.0.0-rc.74 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License...
src/app/components/SearchBar/SearchBar.unit.js
harsh376/Hector
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import SearchBar from './SearchBar'; describe('<SearchBar />', () => { it('renders input field, and returns input value on enter', () => { let value; const handleEnter = (v) => { value = v; }; const new...
ajax/libs/react-virtualized/8.4.1/react-virtualized.min.js
Piicksarn/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("React.addons.shallowCompare"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","React.addons.shallowCompare","ReactDOM"],t):"object"==typeof exports?exports.ReactVirtualized=t(require("R...
src/js/components/environment_configuration/EnvironmentGroup.js
knowncitizen/tripleo-ui
/** * Copyright 2017 Red Hat Inc. * * 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/LICENSE-2.0 * * Unless required by applicable law or agreed to...
src/app.js
palmg/pwfe-dom
/** * Created by chkui on 2017/6/26. */ 'use strict'; import React from 'react' import ScrollToTop from './lib/app/scrollToTop' import {Route, Switch} from './router' import bundle from './bundle' import {isElement} from './util' const element = (el) => { if (isElement(el)) { return el } else { ...
src/js/components/movies/MovieImage.js
jorgemxm/r-movies
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; const propTypes = { alt: PropTypes.string.isRequired, src: PropTypes.string.isRequired }; // React Styleguide - (relying on function name inference is discouraged) // eg: const MovieImage = (props) = {} function MovieImage(props) { re...
ajax/libs/video.js/4.8.4/video.dev.js
ppoffice/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
frameworks/Java/play1/public/javascripts/jquery-1.6.4.min.js
methane/FrameworkBenchmarks
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
docs/src/Anchor.js
roderickwang/react-bootstrap
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number ]) }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className="anchor"> <span className="anchor-ic...
ajax/libs/angular.js/2.0.0-alpha.45/http.min.js
wout/cdnjs
"use strict";var Reflect;!function(e){function t(e,t,r,s){if(g(s)){if(g(r)){if(!w(e))throw new TypeError;if(!S(t))throw new TypeError;return f(e,t)}if(!w(e))throw new TypeError;if(!O(t))throw new TypeError;return r=M(r),p(e,t,r)}if(!w(e))throw new TypeError;if(!O(t))throw new TypeError;if(g(r))throw new TypeError;if(!O...
src/addons/link/__tests__/LinkedStateMixin-test.js
stardev24/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...
docs/app/Examples/elements/List/Content/ListExampleImage.js
aabustamante/Semantic-UI-React
import React from 'react' import { List, Image } from 'semantic-ui-react' const ListExampleImage = () => ( <List> <List.Item> <Image avatar src='/assets/images/avatar/small/rachel.png' /> <List.Content> <List.Header as='a'>Rachel</List.Header> <List.Description>Last seen watching <a><...
tech_stack/src/components/common/Button.js
haaswill/ReactNativeCourses
import React from 'react'; import { Text, TouchableOpacity } from 'react-native'; const Button = ({ onPress, children }) => { const { buttonStyle, textStyle } = styles; return ( <TouchableOpacity onPress={onPress} style={buttonStyle}> <Text style={textStyle}> {children} </Text> </Toucha...
mas-interest-rate/frontend/src/main/frontend/src/components/SimpleDashboard.js
helloworld-2013/java-projects
import React, { Component } from 'react'; import { Paper, TextField, RaisedButton, Divider } from 'material-ui'; import SimpleTable from './SimpleTable'; export default class SimpleDashboard extends Component { constructor(props) { super(props); this.state = { endingMonthValue: '...
admin/src/routes.js
miaolz123/stockdb
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import Home from './containers/Home'; import Chart from './containers/Chart'; import Login from './containers/Login'; export default ( <Route> <Route path="/" component={App}> <IndexRoute compon...
src/parser/shared/modules/spells/bfa/azeritetraits/BlessedPortents.js
fyruna/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import { formatNumber, formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS/index'; import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox'; /** * Your healing spells have a chance to apply B...
src/docs/components/FilterControlDoc.js
karatechops/grommet-docs
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import FilterControl from 'grommet-addons/components/FilterControl'; import DocsArticle from '../../components/DocsArticle'; import Code from '../../components/Code'; export default class FilterControlDoc ex...
src/client/todos/index.react.js
hsrob/league-este
import Buttons from './buttons.react'; import Component from '../components/component.react'; import DocumentTitle from 'react-document-title'; import NewTodo from './newtodo.react'; import React from 'react'; import ToCheck from './tocheck.react'; import Todos from './todos.react'; export default class TodosIndex ext...
packager/react-packager/src/BundlesLayout/index.js
yiminghe/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
src/svg-icons/device/signal-cellular-connected-no-internet-1-bar.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet1Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M20 10v8h2v-8h-2zm-8 12V12L2 22h10zm8 0h2v-2h-2v2z"/> </SvgIcon> ); Devi...
src/svg-icons/maps/traffic.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTraffic = (props) => ( <SvgIcon {...props}> <path d="M20 10h-3V8.86c1.72-.45 3-2 3-3.86h-3V4c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v1H4c0 1.86 1.28 3.41 3 3.86V10H4c0 1.86 1.28 3.41 3 3.86V15H4c0 1.86 1.28 3.41...
test/regressions/tests/ListSubheader/SimpleListSubheader.js
AndriusBil/material-ui
// @flow import React from 'react'; import { ListSubheader } from 'material-ui/List'; export default function SimpleListSubheader() { return <ListSubheader>Title</ListSubheader>; }
src/js/components/icons/status/Unknown.js
samogami/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import FormattedMessage from '../../FormattedMessage'; export default class Unknown extends Component { render() { var className = 'status-icon status-icon-unknown'; var a11yTitle = this.props.a11y...
src/shared/components/NoMatch.js
jacobkeaton1/fdi-app
/** * NoMatch.js * * (C) 2017 mobile.de GmbH * * @author <a href="mailto:pahund@team.mobile.de">Patrick Hund</a> * @since 10 Feb 2017 */ import React from 'react'; const style = { padding: '16px' }; export default () => ( <div style={style}> <h1>Sorry!</h1> <p>The page you requested was...
app/containers/HomePage/index.js
KraigWalker/frontendfriday
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import AtPrefix from './AtPre...
app/components/image/ImageItem.js
Hirico/supic
/** * Created by apple on 2017/7/19. */ import React, { Component } from 'react'; import { img } from 'antd'; import pic3 from '../../asset/picture/beach.jpg'; import styles from './ImageItem.css'; class ImageItem extends Component { render() { return ( <div className={styles.my_div} style={{ margin: 0, ...
ajax/libs/redux-form/2.2.5/redux-form.min.js
Piicksarn/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].expor...
components/tools/misc.js
ctyun/Mimiron2
import React from 'react'; import ReactDOM from 'react-dom'; let Misc={ $_GET() { let url = window.document.location.href.toString(); let u = url.split("?"); if(typeof(u[1]) == "string"){ u = u[1].split("&"); let get = {}; for(let i in u){ let j = u[i].split("=")...
ajax/libs/x-editable/1.4.4/bootstrap-editable/js/bootstrap-editable.js
starius/cdnjs
/*! X-editable - v1.4.4 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to for...
Samples/Workflow.CustomTasks/Workflow.CustomTasks/Scripts/jquery-1.9.1.js
rgueldenpfennig/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
ajax/libs/vue-material/1.0.0-beta-11/components/MdDatepicker/index.js
extend1994/cdnjs
/*! * vue-material v1.0.0-beta-10.2 * Made with <3 by marcosmoura 2019 * Released under the MIT License. */ !(function(e,t){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{n=t("object"==typeof exports?...
src/main/webapp/static/SuperSlide/jquery1.42.min.js
leichunxin/jeesitedemo
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
jspm_packages/npm/react-router@1.0.0-rc3/modules/IndexRedirect.js
mpliang/ramazon
/* */ "format cjs"; import React from 'react' import invariant from 'invariant' import warning from 'warning' import Redirect from './Redirect' import { falsy } from './PropTypes' const { string, object } = React.PropTypes /** * An <IndexRedirect> is used to redirect from an indexRoute. */ class IndexRedirect exte...
ajax/libs/babel-core/5.7.4/browser-polyfill.js
voronianski/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...
src/main/js/messages/index.js
steveblackmon/probot
import React from 'react'; import { List, Datagrid } from 'react-admin'; import { ArrayField, BooleanField, DateField, FunctionField, NumberField, TextField, ReferenceField, SingleFieldList, ChipField, UrlField } from 'react-admin'; import { Filter, TextInput, NullableBooleanInput, SearchInput } from 'react-admin'; ex...
tools/webpack.config.js
dadish-etudes/react-todo
/** * 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 path from 'path'; import webpack from 'webpack'; im...
ajax/libs/rxjs/2.2.10/rx.compat.js
SaravananRajaraman/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, 'u...
app/javascript/mastodon/features/compose/containers/sensitive_button_container.js
imomix/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import IconButton from '../../../components/icon_button'; import { changeComposeSensitivity } from '../../../actions/compose'; import Motion from 'react-motion/lib/Motion'; import s...
ajax/libs/react-instantsearch/4.1.0-beta.5/Dom.js
pvnr0082t/cdnjs
/*! ReactInstantSearch 4.1.0-beta.5 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof def...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ObjectSpread.js
TryKickoff/create-kickoff-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(baseUser) { return [ { id: 1, name: '...
src-client/scripts/auth-view.js
jordanledford/Expresso
import React from 'react' import ReactDOM from 'react-dom' import Backbone from 'backbone' import $ from 'jquery' import ACTIONS from './user-actions.js' const AuthView = React.createClass({ _submitAuth: function(evt){ evt.preventDefault() let newUser = { name: evt.target.name.value, ...
src/components/SlackForm.js
hackclub/website
import React from 'react' import { Box, Field, Submit } from '@hackclub/design-system' import { withFormik } from 'formik' import * as yup from 'yup' import api from 'api' const Form = Box.withComponent('form') const InnerForm = ({ values, errors, touched, handleChange, handleBlur, handleSubmit, isSubmi...
src/svg-icons/device/signal-wifi-2-bar-lock.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalWifi2BarLock = (props) => ( <SvgIcon {...props}> <path d="M23 16v-1.5c0-1.4-1.1-2.5-2.5-2.5S18 13.1 18 14.5V16c-.5 0-1 .5-1 1v4c0 .5.5 1 1 1h5c.5 0 1-.5 1-1v-4c0-.5-.5-1-1-1zm-1 0h-3v-1.5c0-.8.7-1.5...
examples/flux-chat/js/components/ChatApp.react.js
noahlt/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...
src/components/ImageLink/ImageLink.js
jma921/movie-collector
import React from 'react'; import { Route, Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import './ImageLink.css'; const ImageLink = props => { const { to, path, alt, title, releaseDate } = props; const releaseYear = releaseDate.split('-')[0]; const url = `https://image.tmdb.org/t/p/w342/${...
jenkins-design-language/src/js/components/material-ui/svg-icons/editor/vertical-align-top.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorVerticalAlignTop = (props) => ( <SvgIcon {...props}> <path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"/> </SvgIcon> ); EditorVerticalAlignTop.displayName = 'EditorVerticalAlignTop'; EditorVerticalAlignTop.muiName = 'SvgIcon'; export...
node_modules/react-bootstrap/es/ButtonGroup.js
mohammed52/something.pk
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
tests/routes/Home/components/HomeView.spec.js
BloomerWD/timetable
import React from 'react' import { HomeView } from 'routes/Home/components/HomeView' import { render } from 'enzyme' describe('(View) Home', () => { let _component beforeEach(() => { _component = render(<HomeView />) }) it('Renders a welcome message', () => { const welcome = _component.find('h4') ...
src/svg-icons/places/child-friendly.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesChildFriendly = (props) => ( <SvgIcon {...props}> <path d="M13 2v8h8c0-4.42-3.58-8-8-8zm6.32 13.89C20.37 14.54 21 12.84 21 11H6.44l-.95-2H2v2h2.22s1.89 4.07 2.12 4.42c-1.1.59-1.84 1.75-1.84 3.08C4.5 20.43...
template.js
loganwedwards/react-static-boilerplate
import React, { Component } from 'react'; export default class Html extends Component { render() { return ( <html className="no-js" lang="en-us"> <head> <title>Columbia Development</title> </head> <body> <div id="outlet" dangerouslySetInnerHTML={this.props.conten...
examples/counter-3/src/Button.js
rerx/rerx
import React, { Component } from 'react'; import { dispatch } from 'rerx/core'; import { helper } from 'rerx/utils'; export class Button extends Component { constructor(props) { super(props); const thisEvent = helper.thisEvent.bind(this); this.event = { click: thisEvent('click') }; this....
js/plugins/jquery.min.js
medmelki/mathtutor
/*! jQuery v1.11.3 | (c) 2005, 2015 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/jsx/assignments_2/teacher/components/StudentsTab/StudentSearchQuery.js
djbender/canvas-lms
/* * Copyright (C) 2019 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
src/components/AboutContainer.js
gabrielzzarate/portfolio-2017
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { ActionCreators } from '../actions'; import Sidebar from './Sidebar'; import About from './About'; import animation from '../actions/animations'; import { CSSTransitionGroup } from 'react...
src/svg-icons/action/trending-flat.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionTrendingFlat = (props) => ( <SvgIcon {...props}> <path d="M22 12l-4-4v3H3v2h15v3z"/> </SvgIcon> ); ActionTrendingFlat = pure(ActionTrendingFlat); ActionTrendingFlat.displayName = 'ActionTrendingFlat'; A...
frontend/src/login.js
wadobo/socializa
import React from 'react'; import { withRouter } from 'react-router'; import { Link } from 'react-router-dom'; import $ from 'jquery'; import API from './api'; import { login, logout } from './auth'; import { translate, Interpolate } from 'react-i18next'; class Login extends React.Component { componentDidMount(...
src/components/App.spec.js
shirasudon/chat
// @format import React from 'react' import ReactDOM from 'react-dom' import App from './App' import { shallow } from 'enzyme' it('renders without crashing', () => { const div = document.createElement('div') shallow(<App />, div) }) // TODO: do render test
ajax/libs/places.js/1.0.0/placesInstantsearchWidget.js
dc-js/cdnjs
/*! 1.0.0 | © Algolia | github.com/algolia/places */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object')...
files/core-js/1.1.3/library.js
jgravois/jsdelivr
/** * core-js 1.1.3 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require f...
goal-coach/src/index.js
TJYee/Sandbox
import React from 'react'; import ReactDOM from 'react-dom'; import {createStore} from 'redux'; import {Provider} from 'react-redux'; import {Router, Route, browserHistory} from 'react-router'; import {firebaseApp} from './firebase'; import {logUser} from './actions'; import reducer from './reducers'; import App from ...
lib/sideEffect/saga/crudResponse.js
epwqice/admin-on-rest-old-man
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _regenerator = require('babel-runtime/regenerator'); var _regenerator2 = _interopRequireDefault(_regenerator); exports.default = _callee; var _effects = require('redux-saga/effects'); var _reactRouterRedux = require('react-router...
ajax/libs/react-data-grid/1.0.60/react-data-grid.min.js
kennynaoh/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...
clients/packages/admin-client/src/mobrender/components/navbar/navbar.js
nossas/bonde-client
import PropTypes from 'prop-types' import React from 'react' import Menu from './menu-items' const Navbar = props => { const { blocks, editable } = props const onlyVisibleBlocks = blocks.filter( block => editable ? !block.hidden : !block.hidden && !block.menu_hidden ) const menuProps = { ...props, blocks...
website/src/components/HomepageFeatures.js
orbitjs/orbit.js
import React from 'react'; import clsx from 'clsx'; import styles from './HomepageFeatures.module.css'; const FeatureList = [ { title: 'Multiple Data Sources', src: '/img/tour/normalized-data.png', description: ( <> <p> Your application may need to interact with data from a variet...
src/components/story/FullImage.js
danpersa/remindmetolive-react
import React from 'react'; import PropTypes from 'prop-types'; const FullImage = (props) => { const buildSrc = (number, width) => { return `${props.dirPath}${props.prefix}-${number}-${width}.jpg`; }; const buildSrcSet = (number) => { return `${buildSrc(number, 1200)} 1200w, ${buildSrc(number, 1600)} 16...
Libraries/Utilities/__tests__/utf8-test.js
kesha-antonov/react-native
/** * Copyright (c) 2016-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. * * @emails o...
src/widgets/DetailRow.js
sussol/mobile
/* eslint-disable react/forbid-prop-types */ /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2016 */ import React from 'react'; import PropTypes from 'prop-types'; import { SimpleLabel } from './SimpleLabel'; /** * Simple layout component render sequential SimpleLabel components * in a row. * * Each Si...
src/js/components/CheckBox/stories/CustomThemed/Custom.js
grommet/grommet
import React, { useState } from 'react'; import { Box, Grommet, CheckBox } from 'grommet'; import { grommet } from 'grommet/themes'; import { normalizeColor, deepMerge } from 'grommet/utils'; import { FormCheckmark } from 'grommet-icons'; const customCheckBoxTheme = { checkBox: { border: { color: { ...
test/integration/export-serverless/pages/counter.js
zeit/next.js
import React from 'react' import Link from 'next/link' let counter = 0 export default class Counter extends React.Component { increaseCounter() { counter++ this.forceUpdate() } render() { return ( <div id="counter-page"> <div> <Link href="/"> <a id="go-back">Go B...
test/components/DrawerLayoutAndroid.js
Root-App/react-native-mock-render
/* eslint no-unused-expressions: 0 */ import React from 'react'; import { DrawerLayoutAndroid } from '../../src/react-native'; import { expect } from 'chai'; import { mount } from 'enzyme'; describe('DrawerLayoutAndroid', () => { it('should render an empty DrawerLayoutAndroid', () => { const wrapper = mount(<Dra...
examples/huge-apps/routes/Course/components/Course.js
albertolacework/react-router
import React from 'react'; import Dashboard from './Dashboard'; import Nav from './Nav'; var styles = {}; styles.sidebar = { float: 'left', width: 200, padding: 20, borderRight: '1px solid #aaa', marginRight: 20 }; class Course extends React.Component { render () { let { children, params } = this.pro...
client/js/components/parts/StartInterface/Lobby.react.spec.js
Kineolyan/Catane
import '../../libs/test'; import React from 'react'; import ReactAddons from 'react/addons'; import Lobby from './Lobby.react'; var utils = ReactAddons.addons.TestUtils; describe('A lobby', function() { beforeEach(function() { this.choose = function() {}; spyOn(this, 'choose'); this.lobby = utils.re...
ajax/libs/rxjs/2.2.24/rx.lite.js
upgle/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 }; v...
src/components/RowGroupRow.js
dialob/dialob-fill-ui
/** * Copyright 2016 ReSys OÜ * * 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/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
packages/telescope-newsletter/lib/client/templates/newsletter_banner.js
STANAPO/Telescope
var confirmSubscription = function () { $('.newsletter-banner form').css('opacity', 0); $('.newsletter-banner .newsletter-subscribed').css('display', 'block').css('opacity', 1); Meteor.setInterval(function () { // required because otherwise banner disappears immediately after confirmation dismissBanner();...
resources/jquery/jquery.js
ontoprise/HaloSMWExtension
/*! * jQuery JavaScript Library v1.4.2 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
stylesheets/smooth/jquery-ui-1.10.2.custom/js/jquery-1.9.1.js
ModelAnnotation/model
/*! * 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...
ajax/libs/onsen/2.0.0-rc.19/js/angular-onsenui.min.js
Piicksarn/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.0-rc.18 - 2016-09-15 */ !function(){var initializing=!1,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){},Class.extend=function(prop){function Class(){!initializing&&this.init&&this.init.apply(this,arguments)}var _super=this.prototype;initializing=!0;...
ajax/libs/intl-tel-input/5.1.0/js/intlTelInput.js
kiwi89/cdnjs
/* International Telephone Input v5.1.0 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($, window...
ajax/libs/flocks.js/0.15.5/flocks.min.js
zimbatm/cdnjs
if("undefined"===typeof k)var k=require("react"); (function(){function t(){return!0}function u(){return!0}function e(a){return"[object Array]"===Object.prototype.toString.call(a)}function g(a){return"undefined"===typeof a}function v(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!...
packages/reactor-kitchensink/src/examples/Charts/Column/MultiaxisColumn/MultiaxisColumn.js
markbrocato/extjs-reactor
import React, { Component } from 'react'; import { Container } from '@extjs/ext-react'; import { Cartesian } from '@extjs/ext-react-charts'; import ChartToolbar from '../../ChartToolbar'; import createData from './createData'; export default class MultiaxisColumn extends Component { constructor() { super()...
site/src/pages/native/Home.js
appbaseio/reactivesearch
import React from 'react'; import config from './../../constants/config/home/native'; import Home from './../../components/Home'; import theme from './../../constants/theme/native'; export default () => <Home config={config} theme={theme} />;
src/counter/components/CounterComponent/CounterComponent.js
Shidil/react-redux-starter
import React from 'react'; import PropTypes from 'prop-types'; class CounterComponent extends React.Component { render() { return ( <div> Counter: {this.props.value} <br /> <button onClick={this.props.increment}>Increment</button> <button onClick={this.props.decrement}>Decre...
app/components/MTrend/Mtrend2/index.js
Blacksage959/Michael.McCann
/** * * Mtrend2 * */ import React from 'react'; class Mtrend2 extends React.PureComponent { render() { const mAfTrendCont={ width:"100%", height:"600px", display:"flex", justifyContent:"center", background:"rgba(3,255,3,.05)", } const mAfTrendContMax={ width:"100%", ...
githubApp/js/pages/HomePage.js
anchoretics/ztf-work-app
/** * Created by lingfengliang on 2017/3/15. */ /** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { StyleSheet, Text, View, Image, Navigator, ListView, } from 'react-native'; import { ListItem, Left, Body...
docs/app/Examples/collections/Grid/Variations/GridStretchedExample.js
jamiehill/stardust
import React from 'react' import { Grid, Segment } from 'stardust' const { Column, Row } = Grid const GridStretchedExample = () => ( <Grid columns={3} divided> <Row stretched> <Column> <Segment>1</Segment> </Column> <Column> <Segment>1</Segment> <Segment>2</Segment> ...
src/components/menu/MenuItem.js
heikkipesonen/sysart
import React from 'react'; import Menu from './Menu'; class MenuItem extends React.Component { constructor (props) { super(props); this.state = { open: false, height: null } } componentDidMount () { this.setState({ height: this.refs.contentWrapper.offsetHeight }); } t...
src/components/under-construction.js
Mweeden36/react-app
import React, { Component } from 'react'; import { Row, Col } from 'react-bootstrap'; export default class UnderConstruction extends Component { render() { return ( <Row className="under-construction"> <Col xs={18} md={12}> <i className="fa fa-2x fa-exclamation-triangle text-danger" /> ...