path stringlengths 5 300 | repo_name stringlengths 6 76 | content stringlengths 26 1.05M |
|---|---|---|
src/components/Link/Link.js | agiron123/react-starter-kit-TDDOList | /**
* 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, PropTypes } from 'react';
impor... |
lens-ui/app/components/SavedQueryPreviewComponent.js | RaghavendraSingh/lens | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not... |
homepage/index.js | forkmeon/forkmeon.github.io | let React = require('react');
let ReactDOM = require('react-dom');
let Util = require('./util');
let LayoutComponent = require('./layout');
let EditorComponent = require('./editor');
let MarkdownComponent = require('./markdown');
class MainComponent extends React.Component {
constructor(props) {
super(props);
... |
ajax/libs/react-select/0.6.7/react-select.js | dc-js/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.Select = f()}}... |
packages/react-scripts/template/src/index.js | emvu/create-react-app | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
ReactDOM.render(
<App />,
document.getElementById('root')
);
|
app/javascript/mastodon/features/notifications/components/notifications_permission_banner.js | MitarashiDango/mastodon | import React from 'react';
import Icon from 'mastodon/components/icon';
import Button from 'mastodon/components/button';
import IconButton from 'mastodon/components/icon_button';
import { requestBrowserPermission } from 'mastodon/actions/notifications';
import { changeSetting } from 'mastodon/actions/settings';
import ... |
ajax/libs/rxjs/2.5.1/rx.js | aaqibrasheed/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/react-icons/fa/hand-grab-o.js | scampersand/sonos-front | import React from 'react';
import IconBase from 'react-icon-base';
export default class FaHandGrabO extends React.Component {
render() {
return (
<IconBase viewBox="0 0 40 40" {...this.props}>
<g><path d="m20.1 8.6q-1.1 0-2 0.8t-0.8 2v2.9h-0.7v-2.1q0-1.1-0.7-1.8t-1.8-0.8q-1.1 0-... |
ajax/libs/material-ui/5.0.0-alpha.22/legacy/Checkbox/Checkbox.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import{refType}from"@material-ui/utils";import SwitchBase from"../internal/SwitchBase";im... |
src/config/routes.js | guowenfh/react-cnode | import React from 'react'
import { Route, IndexRoute } from 'react-router'
import App from 'views/app' // 首页
import List from 'views/list' // 列表
import Login from 'views/login' // 登录
import About from 'views/about'; // 关于
import Getstart from 'views/getstart'; // 资料
import Message from 'views/message'; // 消息
import De... |
sites/all/modules/custom/shopify_enhancements/js/app/productList/components/product.js | xeraseth/project-bear | import React from 'react'
import classNames from 'classnames'
import { fieldValue } from '../../helpers/fields'
import Link from '../../helpers/components/link'
import { format } from '../../helpers/price'
class Product extends React.Component {
render() {
let priceBtnClass = classNames({
'price__price': t... |
ajax/libs/analytics.js/1.5.6/analytics.js | 2947721120/cdnjs | ;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = require.resolve(path);
// lookup failed
if (null == resolved) {
orig = orig || path;
parent = parent || 'root';
var err = new ... |
wp-content/themes/tomdallimore/assets/js/jquery-1.9.0.js | Jellyfishboy/tomdallimore | /*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc... |
src/components/CreateOrganization.js | OpenCollective/frontend | import React from 'react';
import PropTypes from 'prop-types';
import Header from './Header';
import Body from './Body';
import Footer from './Footer';
import { addCreateCollectiveMutation } from '../graphql/mutations';
import CreateCollectiveForm from './CreateCollectiveForm';
import CollectiveCover from './Collective... |
node_modules/react-dom/lib/traverseAllChildren.js | QETHAN/webpack-demo | /**
* Copyright 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.
*
*/
'use strict... |
ajax/libs/mobx/3.6.0/mobx.min.js | joeyparrish/cdnjs | /** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */
"use strict";function e(e,t){function n(){this.constructor=e}en(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function t(e){return e.interceptors&&e.interceptors.length>0}function n(e,t){var n=e.interceptors||(e.interceptors=[]);... |
packages/material-ui-icons/src/Cloud.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M19.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... |
ajax/libs/react-cookie/0.1.0/react-cookie.min.js | iamso/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... |
renderer/components/Form/Radio.js | LN-Zap/zap-desktop | import React from 'react'
import PropTypes from 'prop-types'
import { Radio as InformedRadio } from 'informed'
import styled from 'styled-components'
import { Box } from 'rebass/styled-components'
import { themeGet } from '@styled-system/theme-get'
import { Text } from 'components/UI'
import Label from './Label'
const... |
grunt/tasks/npm-react-tools.js | giantelk/react | 'use strict';
var fs = require('fs');
var grunt = require('grunt');
var src = 'npm-react-tools';
var dest = 'build/npm-react-tools/';
function buildRelease() {
grunt.file.exists(dest) && grunt.file.delete(dest);
// read our required files from package.json
var pkgFiles = grunt.config.data.pkg.files;
// cop... |
src/main-app.js | dickmancj/reporter | 'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './main.css';
function mainApp () {
ReactDOM.render(
<App />,
document.getElementById('appContainer')
);
}
document.addEventListener('DOMContentLoaded', mainApp);
|
examples/auth-with-shared-root/components/PageOne.js | tkirda/react-router | import React from 'react'
const PageOne = React.createClass({
render() {
return <h2>Page One!</h2>
}
})
export default PageOne
|
web/static/jquery-1.11.1.js | thequbit/barkingowl-frontend | /*!
* 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 ... |
pages/demos/expansion-panels.js | Kagami/material-ui | import 'docs/src/modules/components/bootstrap';
// --- Post bootstrap -----
import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
const req = require.context('docs/src/pages/demos/expansion-panels', false, /\.md|\.js$/);
const reqSource = require.context(
'!raw-loader!../../... |
src/views/Icons/GlyphiconsSocial/GlyphiconsSocial.js | hungtruongquoc/shipper_front | import React, { Component } from 'react';
class GlyphiconsSocial extends Component {
render() {
return (
<div className="animated fadeIn">
<div className="card">
<div className="card-header">
<strong>GLYPHICONS</strong> Social
</div>
<div className="card-bl... |
app/components/Header/index.js | Third9/mark-one | import React from 'react';
import { FormattedMessage } from 'react-intl';
import A from './A';
import Img from './Img';
import NavBar from './NavBar';
import HeaderLink from './HeaderLink';
import Banner from './banner.jpg';
import messages from './messages';
class Header extends React.Component { // eslint-disable-l... |
src/components/Header/index.js | keenethics/estimateit | /* eslint global-require: */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
Col,
Row,
FormGroup,
CardTitle,
} from 'reactstrap';
import { connect } from 'react-redux';
import 'react-select/dist/react-select.css';
import { Field, FieldArray } from 'redux-form';
import wit... |
src/hoc/makeOrderWithNotification.js | hrnik/roofbar | import React from 'react'
import IconBtn from 'components/IconBtn'
export default WrapperComponent => {
return class extends React.Component {
makeOrderWithNotify = undefined;
componentWillMount () {
this.makeOrderWithNotify = drinkId => {
return this.props.makeOrder(drinkId).then(
su... |
src/components/ButtonCircle/ButtonCircle.js | expdevelop/d812 | import React from 'react'
import { Svg } from 'components'
import { classNames } from 'helpers'
import s from './ButtonCircle.sass'
import addIcon from 'icons/ui/add.svg'
const ButtonCircle = ({className, ...rest}) => {
return (
<Svg className={classNames(s.btn, className)}
src={addIcon} {...rest}/>
... |
packages/react-server-examples/styled-components/components/hello-world.js | szhou8813/react-server | import React from 'react';
import {logging} from 'react-server';
import {ThemeProvider} from 'styled-components';
import Banner from './banner';
import CenteredDiv from './centered-div';
import PrimaryButton from './primary-button';
import SecondaryButton from './secondary-button';
import {ladbrokes, oddButTrendy} fro... |
node_modules/react-virtualized/dist/es/Table/defaultHeaderRenderer.js | xuan6/admin_dashboard_local_dev | import React from 'react';
import SortIndicator from './SortIndicator';
/**
* Default table header renderer.
*/
export default function defaultHeaderRenderer(_ref) {
var columnData = _ref.columnData,
dataKey = _ref.dataKey,
disableSort = _ref.disableSort,
label = _ref.label,
sortBy = _ref.... |
webpack.config.js | mapkiwiz/sectorisation | const path = require('path');
const webpack = require('webpack');
const argv = require('yargs').argv;
const _ = require('lodash');
/*
* Webpack Plugins
*/
// problem with copy-webpack-plugin
var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin);
... |
ajax/libs/yui/3.3.0pr3/simpleyui/simpleyui.js | gokuale/cdnjs |
/**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
* The YUI global name... |
packages/react/components/list-index.js | AdrianV/Framework7 | import React from 'react';
import Utils from '../utils/utils';
import Mixins from '../utils/mixins';
import __reactComponentWatch from '../runtime-helpers/react-component-watch.js';
import __reactComponentDispatchEvent from '../runtime-helpers/react-component-dispatch-event.js';
import __reactComponentSlots from '../ru... |
ajax/libs/forerunnerdb/1.4.67/fdb-core.min.js | holtkamp/cdnjs | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex... |
docs/app/Examples/elements/Step/Variations/index.js | mohammed88/Semantic-UI-React | import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const StepVariationsExamples = () => (
<ExampleSection title='Variations'>
<ComponentExample
title='Stackable'
descri... |
docs/src/app/components/pages/components/Dialog/Page.js | verdan/material-ui | import React from 'react';
import Title from 'react-title-component';
import CodeExample from '../../../CodeExample';
import PropTypeDescription from '../../../PropTypeDescription';
import MarkdownElement from '../../../MarkdownElement';
import dialogReadmeText from './README';
import DialogExampleSimple from './Exam... |
tests/routes/Home/components/HomeView.spec.js | vasekric/regrinder | 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/ReactProgressMeter.js | devzonetech/react-progress-meter | import React from 'react';
import PropTypes from 'prop-types';
import "!style-loader!css-loader!./css/styles.css";
import "!style-loader!css-loader!./css/bar.styles.css";
class ReactProgressMeter extends React.Component {
constructor() {
super();
}
render() {
var progress... |
src/components/Assets/FlightsPhone.js | LifeSourceUA/lifesource.ua | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import svg from 'lib/svg';
@svg({
width: 74,
height: 100
})
export default class FlightsPhone extends Component {
static propTypes = {
color: PropTypes.string.isRequired
};
render() {
const { color } = th... |
modules/react-documentation/src/components/Docs.js | casesandberg/reactcss | 'use strict';
import React from 'react'
import reactCSS from 'reactcss'
import map from 'lodash/map'
import throttle from 'lodash/throttle'
import markdown from '../helpers/markdown'
import { Grid } from '../../../react-basic-layout'
import MarkdownTitle from './MarkdownTitle'
import Markdown from './Markdown'
import... |
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/src/Input.js | GoogleCloudPlatform/prometheus-engine | /* eslint react/prefer-stateless-function: 0 */
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { mapToCssModules, warnOnce, tagPropType } from './utils';
const propTypes = {
children: PropTypes.node,
type: PropTypes.string,
size: PropTypes.oneOfType([P... |
src/Parser/Paladin/Retribution/Modules/Items/AshesToDust.js | enragednuke/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import ITEMS from 'common/ITEMS';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import Enemies from 'Parser/Core/Modules/Enemies';
import GetDamageBonus from 'Parser/Paladin/Shared/Modules/GetDamageBo... |
app/containers/HomePage/index.js | houseofaragon/howdoihelp | import React from 'react';
import Categories from '../../components/Categories.js'
import Header from '../../components/Header.js'
require('../../../docs/css/index.scss')
export default class HomePage extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
return (
<div ... |
ajax/libs/inferno-devtools/4.0.4/inferno-devtools.js | holtkamp/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('inferno')) :
typeof define === 'function' && define.amd ? define(['inferno'], factory) :
(factory(global.Inferno));
}(this, (function (inferno) { 'use strict';
// This should be boolean and not... |
frontend/app/components/Error403/index.js | First-Peoples-Cultural-Council/fv-web-ui | import React from 'react'
import PropTypes from 'prop-types'
import NavigationHelpers from 'common/NavigationHelpers'
import './Error403.css'
const { object, string } = PropTypes
export class Error403 extends React.Component {
static propTypes = {
redirect: string,
copy: object,
}
state = {
copy: {... |
test/tests/decorators/pureFunctions.js | buildo/revenge | import React from 'react';
import expect from 'expect';
import sinon from 'sinon';
import pure from '../../../src/decorators/pure';
import pureFunctions, { pureFunctionProp } from '../../../src/decorators/pureFunctions';
describe('@pureFunctions decorator', () => {
it('should fail when no shouldComponentUpdate is d... |
app/user/dashboard/HomeTab.js | ecellju/internship-portal | import React from 'react';
import { Card, Container } from 'semantic-ui-react';
import Axios from 'axios';
import PostItem from '../../common/post/PostItem';
import Auth from '../../auth/modules/Auth';
export default class HomeTab extends React.Component {
constructor() {
super();
this.state = { posts: [] }... |
app/utils/devMenu.js | jhen0409/react-native-debugger | import { remote } from 'electron';
import contextMenu from 'electron-context-menu';
import { item, n, toggleDevTools, separator } from '../../electron/menu/util';
import config from './config';
const { nativeImage } = remote;
const { TouchBarButton, TouchBarSlider } = remote.TouchBar || {};
const currentWindow = remot... |
app/utils/injectSaga.js | dreamweaver1231/react-project | import React from 'react';
import PropTypes from 'prop-types';
import hoistNonReactStatics from 'hoist-non-react-statics';
import getInjectors from './sagaInjectors';
/**
* Dynamically injects a saga, passes component's props as saga arguments
*
* @param {string} key A key of the saga
* @param {function} saga A r... |
src/svg-icons/action/eject.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionEject = (props) => (
<SvgIcon {...props}>
<path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"/>
</SvgIcon>
);
ActionEject = pure(ActionEject);
ActionEject.displayName = 'ActionEject';
ActionEject.muiName = 'Svg... |
js/components/indicatorModalComponents.js | mercycorps/TolaActivity | import React from 'react';
import { observer } from 'mobx-react';
export const AddIndicatorButton = observer(({ readonly, ...params }) => {
return (
<button
type="button"
disabled={readonly}
className="btn btn-link btn-add"
onClick={e => {... |
public/docs/api/latest/@stdlib/stats/base/dists/uniform/skewness/benchmark_bundle.js | stdlib-js/www | // modules are defined as an array
// [ module function, map of requireuires ]
//
// map of requireuires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the requireuire for previous bundles
(function outer (modules, cache, entry) {
//... |
app/routes.js | knook/knook | import React from 'react';
import {Route, IndexRoute} from 'react-router';
import App from './containers/App';
import HomePage from './containers/HomePage';
import PrefsPage from './containers/PrefsPage';
import AddAccountPage from './containers/AddAccountPage';
export default (
<Route path="/" component={App}>
... |
src/components/SideBar/index.js | JamesJin038801/CampID | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { closeDrawer } from '@actions/drawer';
import { View, Text, Image, ScrollView } from 'react-native';
import { setSpinnerVisible } from '@actions/globals';
import { replaceRoute, popRoute, pushNewRoute } from '@actions/route';
impor... |
ajax/libs/react/0.3.3/react.js | szimek/cdnjs | /**
* React v0.3.3
*/
(function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():globa... |
ajax/libs/js-data/1.5.12/js-data-debug.js | mscharl/cdnjs | /*!
* js-data
* @version 1.5.12 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUniversalModu... |
ajax/libs/jssip/0.6.16/jssip.js | WebReflection/cdnjs | /*
* JsSIP.js 0.6.16
* the Javascript SIP library
* Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
* License MIT
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define... |
src/pages/true-jeans.js | vitorbarbosa19/ziro-online | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='True Jeans' />
)
|
src/js/components/icons/base/FormLocation.js | odedre/grommet-final | /**
* @description FormLocation SVG Icon.
* @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon.
* @property {string} colorIndex - The color identifier to use for the stroke color.
* If not specified, this component will default to muiTheme.palette.textColor.
... |
ajax/libs/react-modal/0.1.0/react-modal.min.js | Showfom/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactModal=e()}}(function(){return function e(t,n,r){... |
example/src/responsive_example.js | Pradeep-Kumar-S-M/react-sidebar-customized | import React from 'react';
import Sidebar from '../../src';
import MaterialTitlePanel from './material_title_panel';
import SidebarContent from './sidebar_content';
const styles = {
contentHeaderMenuLink: {
textDecoration: 'none',
color: 'white',
padding: 8,
},
};
var App = React.createClass({
getIn... |
actor-apps/app-web/src/app/components/sidebar/RecentSectionItem.react.js | gale320/actor-platform | import React from 'react';
import classNames from 'classnames';
import DialogActionCreators from 'actions/DialogActionCreators';
import DialogStore from 'stores/DialogStore';
import AvatarItem from 'components/common/AvatarItem.react';
class RecentSectionItem extends React.Component {
static propTypes = {
di... |
packages/app/app/components/SearchResults/AllResults/index.js | nukeop/nuclear | import React from 'react';
import _ from 'lodash';
import { Card } from '@nuclear/ui';
import artPlaceholder from '../../../../resources/media/art_placeholder.png';
import PlaylistResults from '../PlaylistResults';
import TracksResults from '../TracksResults';
import styles from './styles.scss';
import { withTransla... |
app/javascript/mastodon/features/standalone/compose/index.js | im-in-space/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... |
ajax/libs/react-select/0.0.6/select.js | kiwi89/cdnjs | require=(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)... |
src/js/containers/DeviceAlarm.js | masogit/dashboard | import React, { Component } from 'react';
import { Box } from 'grommet';
export default class DeviceAlarm extends Component {
render() {
return (
<Box>
This is Device Alarm.
</Box>
);
}
}
|
src/components/input/Input.js | sk-iv/iva-app | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { isMuiComponent } from '../utils/reactHelpers';
import Textarea from './Textarea';
import {debounce} from '../utils/debounce';
if(process.env.WEBPACK) require('./input.css');
// Supports determination of isContro... |
ajax/libs/6to5/2.4.10/browser-polyfill.js | amoyeh/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/6to5/2.9.1/browser.js | Kaakati/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
public/_common/js/yui/build/yuiloader/yuiloader-debug.js | ryo-on/jorurivideo | /*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/**
* The YAHOO object is the single global object used by YUI Library. It
* contains utility function for setting up namespaces, inheritance, and
* logg... |
src/svg-icons/places/smoking-rooms.js | matthewoates/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesSmokingRooms = (props) => (
<SvgIcon {...props}>
<path d="M2 16h15v3H2zm18.5 0H22v3h-1.5zM18 16h1.5v3H18zm.85-8.27c.62-.61 1-1.45 1-2.38C19.85 3.5 18.35 2 16.5 2v1.5c1.02 0 1.85.83 1.85 1.85S17.52 7.2 16.... |
bundle/ng-reactive-breadcrumb.js | mndholder/ng-reactive-breadcrumb | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... |
src/components/DatePicker/DateRangePicker.js | Bandwidth/shared-components | import React from 'react';
import PropTypes from 'prop-types';
import 'react-dates/initialize';
import { DateRangePicker as LibDateRangePicker } from 'react-dates';
import Icon from '../Icon';
import generateId from 'extensions/generateId';
import * as styles from './styles';
import omit from 'lodash.omit';
import pick... |
src/parser/shaman/shared/spells/AstralShift.js | sMteX/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import { formatThousands, formatNumber } from 'common/format';
import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox';
import Analyzer from 'parser/core/Analyzer';
const ASTRAL_SHIFT_DR = ... |
ajax/libs/redux-form/5.3.0/redux-form.min.js | honestree/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... |
react-flux-mui/js/material-ui/src/svg-icons/av/slow-motion-video.js | pbogdan/react-flux-mui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvSlowMotionVideo = (props) => (
<SvgIcon {...props}>
<path d="M13.05 9.79L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.... |
packages/mui-icons-material/lib/Grid3x3Sharp.js | oliviertassinari/material-ui | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
files/core-js/0.9.9/library.js | Asaf-S/jsdelivr | /**
* Core.js 0.9.9
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
'use strict';
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******... |
app/main.js | dsibiski/cerebral-react-immutable-store | import React from 'react';
import Controller from 'controller';
const Decorator = Controller.Decorator;
const controller = Controller({
list: ['foo'],
foo: 'bar'
});
controller.signal('test', function AddBar (args, state) {
state.push('list', 'bar');
});
@Decorator({
foo: ['foo']
})
class App extends React.... |
styleguide/screens/Patterns/Inputs/Inputs.js | NGMarmaduke/bloom | import React, { Component } from 'react';
import cx from 'classnames';
import dedent from 'dedent';
import Specimen from '../../../components/Specimen/Specimen';
import { H, T, D, C, A } from '../../../components/Scaffold/Scaffold';
import CheckboxGroup from '../../../../components/Form/CheckboxGroup/CheckboxGroup';
... |
app/javascript/mastodon/features/account/components/account_note.js | gol-cha/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import Textarea from 'react-textarea-autosize';
impor... |
ajax/libs/angular.js/2.0.0-alpha.38/angular2.min.js | dlueth/cdnjs | !function e(t,r,n){function i(a,s){if(!r[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[a]={exports:{}};t[a][0].call(l.exports,function(e){var r=t[a][1][e];return i(r?r:e)},l,l.ex... |
ajax/libs/yui/3.4.1/yui/yui-debug.js | hristozov/cdnjs | /**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The YUI global namespac... |
node_modules/react-icons/fa/yelp.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const FaYelp = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20.3 29.4v2.9q-0.1 6.5-0.2 6.8-0.2 0.7-1.1 0.9-1.2 0.2-4.1-0.9t-3.6-2q-0.3-0.3-0.4-0.8 0-0.2 0.1-0.5 0.1-0.3 0.8-1.1t4-4.8q0 0 1.4-1.6 0.3-0.4 0.8-0.5t1.1 0.1q0.6 0.2 0... |
node_modules/react-bootstrap/lib/Jumbotron.js | rblin081/drafting-client | 'use strict';
exports.__esModule = true;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProper... |
ajax/libs/forerunnerdb/1.3.459/fdb-core+views.js | Amomo/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... |
node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js | pcclarke/civ-techs | import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import InputBase from '../InputBase';
import NotchedOutline from './NotchedOutline';
impor... |
src/components/procedure_detail.js | tszyszko1/Epicodezadanie | import React, { Component } from 'react';
const ProcedureDetail = ()=>{
return (
<div>Procedure detail</div>
);
};
export default ProcedureDetail;
|
node_modules/material-ui/DatePicker/CalendarToolbar.js | smaccoun/wrapid-react-ts | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3... |
src/sentry/static/sentry/vendor/jquery-flot/jquery.js | hongliang5623/sentry | /*!
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
*/
(function(... |
ajax/libs/angular.js/0.9.10/angular-scenario.min.js | JacquesMarais/cdnjs | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
app/components/audit_log/Drawer/subjectSection.js | fotinakis/buildkite-frontend | import React from 'react';
import PropTypes from 'prop-types';
import Relay from 'react-relay/classic';
import { Section, SectionHeading } from './shared';
class AuditLogSubjectSection extends React.PureComponent {
static propTypes = {
auditEvent: PropTypes.shape({
subject: PropTypes.shape({
name:... |
examples/todomvc/index.js | Poplava/redux | import 'babel-core/polyfill';
import React from 'react';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';
import 'todomvc-app-css/index.css';
const store = configureStore();
React.render(
<Provider store={store}>
{() => <App />}
... |
components/MdButton/MdButton.js | Ineigo/react-library-components | import React from 'react';
import PropTypes from 'prop-types';
import style from './style.m.less';
import classNames from 'classnames';
import LoaderHelper from '../../helpers/LoaderHelper';
class MdButton extends React.Component {
static propTypes = {
type: PropTypes.string,
title: PropTypes.strin... |
app/node_modules/react-materialize/lib/CardPanel.js | BZhawaii/ArtStorm | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
app/javascript/mastodon/features/follow_requests/components/account_authorize.js | cobodo/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import Permalink from '../../../components/permalink';
import Avatar from '../../../components/avatar';
import DisplayName from '../../../components/display_name';
import IconButton from '../../../... |
src/applications/caregivers/definitions/content.js | department-of-veterans-affairs/vets-website | import React from 'react';
export const links = {
findLocations: {
label: 'Find locations with our facility locator tool',
link: 'https://www.va.gov/find-locations',
},
caregiverSupportCoordinators: {
link: 'https://www.caregiver.va.gov/support/New_CSC_Page.asp',
label: 'Find a caregiver support ... |
examples/huge-apps/routes/Calendar/components/Calendar.js | andreftavares/react-router | import React from 'react'
class Calendar extends React.Component {
render() {
const events = [
{ id: 0, title: 'essay due' }
]
return (
<div>
<h2>Calendar</h2>
<ul>
{events.map(event => (
<li key={event.id}>{event.title}</li>
))}
</ul>
... |
client/components/burger/BurgerIcon.stories.js | VoiSmart/Rocket.Chat | import React from 'react';
import { centeredDecorator } from '../../../.storybook/decorators';
import { useAutoToggle } from '../../../.storybook/hooks';
import BurgerIcon from './BurgerIcon';
export default {
title: 'components/burger/BurgerIcon',
component: BurgerIcon,
decorators: [centeredDecorator],
};
export... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.