path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
app/src/submit/Instructions.js | jashans98/dwikileaks | import React from 'react'
import styled from 'styled-components'
// maybe could whack these in a JSON
const steps = [
'Download MetaMask',
'Upload a zip of the relevant documents, below:'
]
const Wrapper = styled.div`
margin-bottom: 50px;
`
const Instructions = () =>
<Wrapper>
<h1>To submit a document, p... |
files/videojs/4.5.1/video.dev.js | ntd/jsdelivr | /**
* @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.
*
... |
src/components/DataExplorer.js | jmannDev43/dataExplorer | import React, { Component } from 'react';
import RaisedButton from 'material-ui/RaisedButton';
import { Card, CardText } from 'material-ui/Card';
import request from 'request';
import ConnectionModal from './ConnectionModal';
import SnackMessage from './SnackMessage';
import QueryArea from './QueryArea';
import Resul... |
ajax/libs/webshim/1.14.3-RC1/dev/shims/combos/26.js | maruilian11/cdnjs | /**
* mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
* v1.2.1
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*
* Date: 2014-05-14
*/
/**
* Compiled inline version. (Library ... |
node_modules/react-native-mock/src/components/Text.js | niukui/gitpro | /**
* https://github.com/facebook/react-native/blob/master/Libraries/Text/Text.js
*/
import React from 'react';
import styleSheetPropType from '../propTypes/StyleSheetPropType';
import TextStylePropTypes from '../propTypes/TextStylePropTypes';
import NativeMethodsMixin from '../mixins/NativeMethodsMixin';
const styl... |
src/Main/PlayerSelectionList.js | enragednuke/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { Link } from 'react-router-dom';
import ReactTooltip from 'react-tooltip';
import { getFightId } from 'selectors/url/report';
import { getReport } from 'selectors/report';
import { getFightById } from 'selecto... |
dispatch/static/manager/src/js/pages/Sections/SectionPage.js | ubyssey/dispatch | import React from 'react'
import SectionEditor from '../../components/SectionEditor'
export default function SectionPage(props) {
return (
<SectionEditor
itemId={props.params.sectionId}
goBack={props.router.goBack}
route={props.route} />
)
}
|
test/components/Home.spec.js | Byte-Code/lm-digital-store-private-test | import React from 'react';
import { fromJS } from 'immutable';
import { shallow } from 'enzyme';
import mountWithStore from '../../app/utils/testingUtils';
import Home from '../../app/components/Home';
import World from '../../mocks/world';
describe('Home', () => {
const requestFetchWorld = jest.fn();
it('should... |
packages/material-ui-icons/src/PauseCircleFilled.js | dsslimshaddy/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let PauseCircleFilled = props =>
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z" />
</SvgIcon>;
PauseCircleFilled = pure(Pause... |
src/scenes/Subreddit/scenes/Post/components/Comments/components/Comment/index.js | antoinechalifour/Reddix | import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import {
commentChildrenSelectorFactory,
commentSelectorFactory,
commentMoreSelectorFactory
} from 'Selectors/comments'
import * as actions from 'Actions/comments'
import Comment from './Comment'
const mapStateToProps = (state, ownP... |
Project_Folder/ServerSide_Src/WitsMapAppServ/WitsMapApp.Web.Admin/Scripts/jquery-1.8.2.min.js | WitsSoftDev/WitsMapApp | /*! 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===... |
renderer/components/CreateMenu.js | reactide/reactide | import React from 'react';
import PropTypes from 'prop-types';
const CreateMenu = ({ id, createMenuHandler, type, path}) => {
let contextMenu;
if(type === 'directory') {
contextMenu = (
<div>
<button className="create-button" onClick={(event) => createMenuHandler(id, 'file', event, 'create')}>Cre... |
src/Components/App.js | NickGlenn/React-Project | import React, { Component } from 'react';
export default class App extends Component {
render () {
return (
<div className='app'>
<h1 className='app__greeting'>
Example Application
</h1>
{this.props.children}
</div>
);
}
}
|
src/routes/App/index.js | Mesamo/dva-admin | import React from 'react'
import PropTypes from 'prop-types'
import NProgress from 'nprogress'
import { withRouter } from 'dva/router'
import { connect } from 'dva'
import { Layout } from 'antd'
import HeaderContainer from './header'
import SiderContainer from './sider'
import styles from './index.less'
const { Conte... |
examples/todomvc/index.js | boneyao/redux | import React from 'react';
import App from './containers/App';
import 'todomvc-app-css/index.css';
React.render(
<App />,
document.getElementById('root')
);
|
webpack.config.js | maoruibin001/Yangxia.github.io | /*
* Webpack development server configuration
*
* This file is set up for serving the webpack-dev-server, which will watch for changes and recompile as required if
* the subfolder /webpack-dev-server/ is visited. Visiting the root will not automatically reload.
*/
'use strict';
var webpack = require('webpack');
m... |
src/components/Header/Header.js | txwkx/book-room | import React from 'react';
import { Link, NavLink } from 'react-router-dom';
import styles from './header.scss';
const Header = ({ openBookForm }) => (
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class='book-btn'>
<button class='btn btn-danger' onClick={e => o... |
src-client/modules/workspace/containers/BlueprintControls/index.js | ipselon/structor | /*
* Copyright 2017 Alexander Pustovalov
*
* 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 a... |
node_modules/@exponent/ex-navigation/src/ExNavigationAlertBar.js | Helena-High/school-app | /* @flow */
import React from 'react';
import {
Animated,
Dimensions,
Easing,
StyleSheet,
Text,
TouchableWithoutFeedback,
View,
} from 'react-native';
import { decorate as reactMixin } from 'react-mixin';
import TimerMixin from 'react-timer-mixin';
import exNavConnect from './ExNavigationConnect';
type... |
src/components/Feedback/Feedback.js | sloppylopez/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React from 'react';
import styles from './Feedback.css';
import withStyles from '../../decorators/withStyles';
@withStyles(styles)
class Feedback {
render() {
return (
<div className="Feedback">
<div className="Feedba... |
ajax/libs/6to5/3.5.2/browser.js | iamJoeTaylor/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... |
files/xe-core/1.7.5.2/common/js/jquery-1.x.js | zhuwenxuan/qyerCDN | /*!
* 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){var read... |
src/scripts/globals.js | mikah1337/null-terminator | import React from 'react';
// ============ VARIABLES ============ //
var RGB = {R: 0, B: 0, G: 0};
var prev_option = 0; // Temp variable that holds a prev value
// ============ HELPER FUNCTIONS ============ //
export var changeBrightness = (hex, percent, opacity = 1) => {
var isDarkness = percent < 0; ... |
samples/window-options/js/jquery-1.10.1.min.js | vssranganadhp/chrome-app-samples | /*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.1.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
ajax/libs/react/0.11.0/react-with-addons.js | nouveller/cdnjs | /**
* React (with addons) v0.11.0
*/
!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.React=e()}}(fu... |
blueocean-material-icons/src/js/components/svg-icons/hardware/developer-board.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const HardwareDeveloperBoard = (props) => (
<SvgIcon {...props}>
<path d="M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zM6 13h5v4H6zm6-6h4v3h-4zM6 7h5v5H6zm6 4h4v6h-4z"/>
... |
ajax/libs/yui/3.8.0pr2/event-custom-base/event-custom-base-debug.js | quba/cdnjs | YUI.add('event-custom-base', function (Y, NAME) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.Env.evt = {
handles: {},
plugins: {}
};
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @mo... |
AwesomeProject/components/AboutPage.js | victorditadi/IQApp | import React, { Component } from 'react';
import { Text, View, Button} from 'react-native';
import HeaderIQMail from './Faixa';
export default class AboutPage extends Component{
constructor(){
super();
}
render(){
return(
<View>
<HeaderIQMail></HeaderIQMail>
<Text>About</Text>
... |
react/20161128/src/main.js | fengnovo/diary | import React from 'react'
import ReactDOM from 'react-dom'
import {Router,Route,IndexRoute,hashHistory} from 'react-router'
import App from './js/App.js'
import A from './js/A.js'
import B from './js/B.js'
import './css/main.css'
ReactDOM.render(
<Router history={hashHistory}>
<Route path="/" component={Ap... |
ajax/libs/analytics.js/1.5.3/analytics.js | calvinf/cdnjs | ;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = require.resolve(path);
// lookup failed
if (null == resolved) {
orig = orig || path;
parent = parent || 'root';
var err = new ... |
ajax/libs/maple.js/1.2.6/maple.min.js | jdh8/cdnjs | !function t(e,r,n){function o(a,u){if(!r[a]){if(!e[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};e[a][0].call(c.exports,function(t){var r=e[a][1][t];return o(r?r:t)},c,c.ex... |
packages/material-ui-icons/src/WrapTextOutlined.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="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z" /></g></React.Frag... |
components/issues/new/NewIssueForm.js | CarbonStack/carbonstack | import React from 'react'
import {
sansSerifFontFamily,
errorColor
} from '../../../lib/styles/variables'
import MarkdownEditor from '../../shared/MarkdownEditor'
import Spinner from '../../shared/Spinner'
class NewIssueForm extends React.PureComponent {
componentDidMount () {
const {
actions,
gr... |
ajax/libs/primereact/7.0.0-rc.1/overlaypanel/overlaypanel.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { UniqueComponentId, ConnectedOverlayScrollHandler, DomHandler, OverlayService, ZIndexUtils, Ripple, classNames, CSSTransition, Portal } from 'primereact/core';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new T... |
src/views/StartLocation.js | alexras/narpassword | import React, { Component } from 'react';
import './StartLocation.css';
class StartLocation extends Component {
constructor(props) {
super(props);
this.setStartLocation = this.setStartLocation.bind(this);
this.getLocationClassName = this.getLocationClassName.bind(this);
}
setStartLocation(location) ... |
client/utils/Svg/index.js | briefguo/learn-js | import React from 'react'
const defaultStyle = {
display: 'inline-block',
verticalAlign: 'middle',
fill: 'currentColor',
}
export default class Svg extends React.Component {
static propTypes = {
name: React.PropTypes.string
}
constructor(props) {
if (!props.name) {
throw new Error(`Svg不可用,当... |
src/images/Snares.svg.js | dkadrios/zendrum-stompblock-client | import React from 'react';
export default () => (
<svg version="1.1" id="Layer_1" x="0px" y="0px"
viewBox="0 0 512 512">
<g>
<g>
<path d="M467.602,30.374V0h-19.237H63.634H44.397v30.374h19.237v167.591H44.397v30.374h19.237h177.179V367.07L117.36,490.523
L138.837,512l101.975-101.976v101.253h30.374V410.024L... |
client/src/global/components/icon/24/AnnotationGroupAlt.js | ManifoldScholar/manifold | import React, { Component } from "react";
import PropTypes from "prop-types";
import classnames from "classnames";
export default class AnnotationGroupAlt extends Component {
static propTypes = {
className: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
stroke: PropTyp... |
app-test-template/synchronize.js | dog-days/create-react-boilerplate-app | 'use strict';
const fs = require('fs-extra');
const path = require('path');
// const chalk = require('chalk');
let cwdPackageJson = fs.readJsonSync(path.resolve(__dirname, 'package.json'));
cwdPackageJson.scripts = {};
cwdPackageJson.dependencies = {};
cwdPackageJson.devDependencies = {};
let scriptsPackageJson = fs.... |
ajax/libs/forerunnerdb/1.3.716/fdb-core+views.js | keicheng/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/components/common/UtilityIcon.js | Gisto/Gisto | import React from 'react';
import PropTypes from 'prop-types';
import styled, { css, withTheme } from 'styled-components';
import Icon from 'components/common/Icon';
const DropdownMixin = css`
position: absolute;
background: ${(props) => props.theme.lightText};
right: 0;
top: 51px;
border: 1px solid ${(prop... |
ajax/libs/forerunnerdb/1.3.537/fdb-core+persist.min.js | menuka94/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... |
themes/zen/assets/js/jquery-1.10.2.min.js | Drylm/blog.drylm.org | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
src/components/Location/Location.js | edgarallanglez/foxacademia_frontend | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import withStyles from 'isom... |
files/react/15.0.2/react-with-addons.min.js | gswalden/jsdelivr | /**
* React (with addons) v15.0.2
*
* 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 s... |
app/components/layouts/main-layout.js | developer-townhall-fy17/react-router-redux | import React from 'react'
import { Link } from 'react-router'
export default props => (
<div className="app">
<header className="primary-header" />
<aside className="primary-aside">
<ul>
<li><Link to="/" activeClassName="active">Home</Link></li>
<li><Link to="/widgets" activeClassName="... |
ajax/libs/react-bootstrap/0.30.7/react-bootstrap.min.js | nolsherry/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.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(... |
src/components/__specs__/TabBar.spec.js | jiawang1/hoenixN | /*eslint-disable max-nested-callbacks*/
import React from 'react';
import {shallow} from 'enzyme';
import {hasStyles} from '../../../test/assertions';
import TabBar from '../TabBar';
import TabBarButton from '../TabBarButton';
const tabs = {
index: 0,
routes: [
{key: 'tab-1', title: 'Tab 1'},
{key: 'tab-... |
src/components/Settings/Settings.js | TalentedEurope/te-app | import React from 'react';
import { WebView } from 'react-native';
import backendService from '../../shared/backendService';
import I18n from '../../i18n/i18n';
export default class Settings extends React.Component {
render() {
return (
<WebView
bounces={false}
source={{
uri: `${b... |
indico/web/client/js/jquery/widgets/jinja/person_link_widget.js | indico/indico | // This file is part of Indico.
// Copyright (C) 2002 - 2022 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.
import React from 'react';
import ReactDOM from 'react-dom';
import {WTFPersonLinkField} from 'indi... |
node_modules/bs-recipes/recipes/gulp.task.sequence/gulpfile.js | mathetes/gf3016 | var gulp = require('gulp');
var browserSync = require('browser-sync');
var sass = require('gulp-sass');
var reload = browserSync.reload;
var through = require("through2");
/**
* A slow task
*/
gulp.task('slow1', function () {
return gulp.src('./app/*.html')
.pipe(slowStream());
});... |
ajax/libs/react-datepicker/0.26.0/react-datepicker.js | him2him2/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("moment"), require("react"), require("react-onclickoutside"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["moment", "rea... |
packages/material-ui-icons/src/LocalCafeSharp.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M20 3H4v14h14v-7h2c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 5h-2V5h2v3zM2 21h18v-2H2v2z" /></React.Fragment>
, 'LocalCafeSharp');
|
plugins/Wallet/js/components/rescandialog.js | NebulousLabs/New-Sia-UI | import React from 'react'
const RescanDialog = () => (
<div className='rescan-dialog'>
<i className='fa fa-circle-o-notch fa-spin fa-4x' aria-hidden='true' />
<h3> Scanning the Blockchain... </h3>
</div>
)
export default RescanDialog
|
src/Parser/Priest/Discipline/Modules/Items/Tier19_2set.js | enragednuke/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
import Analyzer from 'Parser/Core/Analyzer';
import calculateEffectiveHealing from 'Parser/Core/calculateEffectiveHealing';
import Combatants from 'Parser/Core/Modules/Comb... |
src/components/Search/Search.js | tigaly/antd-admin | import React from 'react'
import PropTypes from 'prop-types'
import ReactDOM from 'react-dom'
import styles from './Search.less'
import { Input, Select, Button, Icon } from 'antd'
class Search extends React.Component {
state = {
clearVisible: false,
selectValue: (this.props.select && this.props.selectProps) ... |
frontend/src/Components/Link/Button.js | lidarr/Lidarr | import classNames from 'classnames';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { align, kinds, sizes } from 'Helpers/Props';
import Link from './Link';
import styles from './Button.css';
class Button extends Component {
//
// Render
render() {
const {
classN... |
node_modules/react-dom/lib/ReactDOMInput.js | Rabbit884/reactapp | /**
* 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... |
js/components/swipeCards/fullCard.js | gectorat/react-native-app | import React, { Component } from 'react';
import {
View,
Text,
Container,
Content,
Title,
Icon,
Header
} from 'native-base';
import { Image,TouchableHighlight,TouchableWithoutFeedback,Modal,ScrollView } from 'react-native';
import Gallery from '../common/Gallery';
import styles from './styles';
export def... |
src/components/charts/PieChart.js | tibotiber/rd3 | import React from 'react'
import PropTypes from 'prop-types'
import {withFauxDOM} from 'react-faux-dom'
import styled from 'styled-components'
import _ from 'lodash'
import Tooltip from 'components/Tooltip'
import withD3Renderer from 'hocs/withD3Renderer'
const d3 = {
...require('d3-scale'),
...require('d3-selectio... |
assets/skin_admin/panel-admin/js/jquery-1.7.2.min.js | project2you/students-attendance | /*! 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... |
Realization/frontend/czechidm-core/src/components/basic/PageHeader/PageHeader.js | bcvsolutions/CzechIdMng | import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
//
import { makeStyles } from '@material-ui/core/styles';
//
import AbstractComponent from '../AbstractComponent/AbstractComponent';
import Icon from '../Icon/Icon';
const useStyles = makeStyles((theme) => ({
root: {
... |
src/svg-icons/places/hot-tub.js | ngbrown/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesHotTub = (props) => (
<SvgIcon {...props}>
<circle cx="7" cy="6" r="2"/><path d="M11.15 12c-.31-.22-.59-.46-.82-.72l-1.4-1.55c-.19-.21-.43-.38-.69-.5-.29-.14-.62-.23-.96-.23h-.03C6.01 9 5 10.01 5 11.25V12... |
src/components/common/Separator.js | varmais/profitti | import React from 'react';
import { PixelRatio, StyleSheet, View } from 'react-native';
import config from '../../config';
const styles = StyleSheet.create({
separator: {
height: 1 / PixelRatio.get(),
backgroundColor: config.colors.graySubtle
}
});
export default () => (
<View style={styles.separator} /... |
app/routes.js | ARMataTeam/ARMata | /* eslint flowtype-errors/show-errors: 0 */
import React from 'react';
import { Switch, Route } from 'react-router';
import App from './containers/App';
import HomePage from './containers/HomePage';
import EditorPage from './containers/EditorPage';
export default () => (
<App>
<Switch>
<Route path="/editor... |
packages/cf-component-modal/example/basic/component.js | mdno/mdno.github.io | import React from 'react';
import {
Modal,
ModalHeader,
ModalTitle,
ModalClose,
ModalBody,
ModalFooter,
ModalActions
} from 'cf-component-modal';
import { GatewayDest, GatewayProvider } from 'react-gateway';
import ReactModal2 from 'react-modal2';
import { Button } from 'cf-component-button';
class Modal... |
packages/material-ui-icons/src/ErrorOutlineOutlined.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" /></React.... |
ajax/libs/react/0.6.3/react.min.js | ProfNandaa/cdnjs | // Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... |
assets/js/main.min.js | ShawnHowe/ShawnHowe.github.io | ---
layout:
---
/*!
* Minimal Mistakes Jekyll Theme 4.4.2 by Michael Rose
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT
*/
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuer... |
node_modules/@material-ui/core/utils/useIsFocusVisible.js | jerednel/jerednel.github.io | "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.teardown = teardown;
exports.default = useIsFocusVisible;
var React = _interopRequireWildcard(require("react"));
var ReactDOM = _interopRequi... |
bower_components/Adapter/src/lib/components/C3/ScatterPlot.js | as-me/dashboard | import React from 'react';
import C3ScatterPlot from './ScatterPlotUI';
import '../../session/ScatterPlot.js';
import 'weavecore';
//namesapce
if (typeof window === 'undefined') {
this.adapter = this.adapter || {};
} else {
window.adapter = window.adapter || {};
}
if (typeof window === 'undefined') {
this... |
NuCache/client/components/app.js | Pondidum/NuCache | import React from 'react'
import FilteredPackageList from './FilteredPackageList'
const App = () => (
<div>
<h1 className="text-center">NuCache</h1>
<FilteredPackageList />
</div>
);
export default App
|
src/components/site/CrewPage.js | IAmPicard/StarTrekTimelinesSpreadsheet | import React from 'react';
import { Header, Input } from 'semantic-ui-react';
import { CrewTable } from './CrewTable';
export class CrewPage extends React.Component {
constructor(props) {
super(props);
this.state = {
searchFilter: ''
};
}
render() {
return <d... |
Libraries/Geolocation/Geolocation.js | lzbSun/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.
*
* @provides... |
src/interface/report/BossPhaseEventsLoader.js | ronaldpereira/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
import { fetchEvents } from 'common/fetchWclApi';
import { makeWclBossPhaseFilter } from 'common/makeWclBossPhaseFilter';
import { fabricateBossPhaseEvents } from 'common/fabricateBossPhaseEvents';
import { captureException } from 'common/errorLogger';
im... |
ajax/libs/react-bootstrap/0.31.5/react-bootstrap.js | jonobr1/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
components/TodoList.js | pmdarrow/react-todo | import React from 'react';
import TodoItem from './TodoItem';
export default class extends React.Component {
render() {
return (
<div>
<button onClick={this.props.onAddTodo}>Add Todo</button>
<ul>
<For each="item" of={this.props.todos}>
<TodoItem
key={ite... |
node_modules/core-js/client/core.js | hadoop3/hadoop3.github.io | /**
* core-js 2.4.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2016 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
ajax/libs/material-ui/5.0.0-beta.0/modern/ScopedCssBaseline/ScopedCssBaseline.js | cdnjs/cdnjs | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
const _excluded = ["className", "component"];
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { unstable_com... |
ajax/libs/forerunnerdb/1.3.404/fdb-core+persist.min.js | emmy41124/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... |
kitsune/sumo/static/sumo/js/tests/ajaxvotetests.js | silentbob73/kitsune | import React from 'react';
import {default as mochaJsdom, rerequire} from 'mocha-jsdom';
import {expect} from 'chai';
import sinon from 'sinon';
import mochaK from './fixtures/mochaK.js';
import mochaJquery from './fixtures/mochaJquery.js';
describe('ajaxvote', () => {
mochaJsdom({useEach: true});
mochaJquery();
... |
pkg/interface/link/src/index.js | jfranklin9000/urbit | import React from 'react';
import ReactDOM from 'react-dom';
import { Root } from '/components/root';
import { api } from '/api';
import { store } from '/store';
import { subscription } from "/subscription";
api.setAuthTokens({
ship: window.ship
});
subscription.start();
ReactDOM.render((
<Root />
), document.qu... |
src/Root.js | juandjara/ftunes-client | import React from 'react';
import { combineReducers, createStore } from 'redux'
import { Provider } from 'react-redux';
import App from './App';
import { playlistReducer } from './playlist/playlist.reducer';
import { playerReducer } from './player/player.reducer';
import { searchReducer } from './search/search.redu... |
app/javascript/mastodon/features/ui/components/confirmation_modal.js | dunn/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, FormattedMessage } from 'react-intl';
import Button from '../../../components/button';
export default @injectIntl
class ConfirmationModal extends React.PureComponent {
static propTypes = {
message: PropTypes.node.isRequired,
... |
vendor/htmlburger/carbon-fields/assets/js/fields/components/oembed/preview.js | Apiki/gb-plugin-api | /**
* The external dependencies.
*/
import $ from 'jquery';
import React from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import PropTypes from 'prop-types';
import { forEach } from 'lodash';
import { compose, withHandlers, setStatic, withProps, withState } from 'recompose';
/**
* The internal... |
writeExampleThunk/src/js/components/Article.js | fengnovo/webpack-react | import React from 'react';
class Article extends React.Component {
constructor (...args) {
super(...args)
}
render () {
return <div className="article">
<div className="title">{this.props.title}</div>
<div className="time">{this.props.last_reply_at}</div>
... |
local-cli/generator/templates/__tests__/index.ios.js | xiayz/react-native | import 'react-native';
import React from 'react';
import Index from '../index.ios.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
docs/assets/js/jquery.min.js | geeyan/bootstrap-table | /*! 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... |
packages/material-ui-icons/src/SettingsInputComponentOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v10c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16V6H5V2zM4 17c-.55 0-1-.45-1-1v-2h2v2c0 .55-.45 1-1 1z... |
src/shared/components/socialLogin/google.js | hollomancer/operationcode_frontend | import React from 'react';
import config from 'config/environment';
import GoogleLogin from 'react-google-login';
import SocialLogin from './socialLogin';
import styles from './socialMediaButtons.css';
const Google = (props) => {
const responseGoogle = (response) => {
const login = new SocialLogin(props);
lo... |
ajax/libs/react/0.3.3/JSXTransformer.js | vuonghuuphuc/cdnjs | /**
* JSXTransformer v0.3.3
*/
(function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",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.makeJSXTransformer=e}else"undefined"!=typeof wi... |
ajax/libs/material-ui/5.0.0-alpha.25/modern/BottomNavigationAction/BottomNavigationAction.js | cdnjs/cdnjs | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { deepmerge } from '@material-ui/utils';
import { unstable_c... |
src/components/ColumnDefinition.js | ttrentham/Griddle | import React, { Component } from 'react';
import PropTypes from 'prop-types';
export default class ColumnDefinition extends Component {
static propTypes = {
//The name of the column that this definition applies to.
id: PropTypes.string.isRequired,
//The order that this column appears in. If not specifie... |
ajax/libs/6to5/3.6.4/browser.js | jonathantneal/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... |
node_modules/react-tools/src/browser/ReactReconcileTransaction.js | josenaves/authors-admin | /**
* 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.
*
* @providesModule ... |
.core/app/app.prod.js | suranartnc/graphql-blogs-app | import React from 'react'
import { render } from 'react-dom'
import { match, browserHistory } from 'react-router'
import Root from './Root'
import getRoutes from 'core/app/routes'
const history = browserHistory
const routes = getRoutes()
match({ history, routes }, (error, redirectLocation, renderProps) => {
rende... |
ajax/libs/yui/3.15.0/event-custom-base/event-custom-base-debug.js | bevacqua/cdnjs | /*
YUI 3.15.0 (build 834026e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('event-custom-base', function (Y, NAME) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.En... |
src/bemed.js | vkalinichev/bemed-components | import React from 'react'
import tags from './tags'
import addModificators from './addModificators'
function BemedComponent(tagName, className, options, {mod, innerRef, ...rest}) {
if (options && options.mod && Array.isArray(options.mod)) {
mod = mod || {}
options.mod.forEach( _mod => {
mod[_mod] = re... |
src/pages/transactions.js | Hurtak/finances | // @flow
import React from 'react'
import * as utils from '../utils/utils.js'
import * as data from '../data/data.js'
const Transactions = () => (
<section>
<h1>Transactions</h1>
<table>
<thead>
<tr>
<th>Type</th>
<th>item</th>
<th>buySellPrice</th>
<th>... |
packages/material-ui-icons/src/Shop.js | AndriusBil/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let Shop = props =>
<SvgIcon {...props}>
<path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z" />
</SvgIcon>;
Shop = pur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.