path stringlengths 5 300 | repo_name stringlengths 6 76 | content stringlengths 26 1.05M |
|---|---|---|
src/components/display_message_link_list.js | santhoshml/Bookbild-UI | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { Link } from 'react-router-dom';
import DisplayIOIList from './display_IOI_list';
import { fetchAllMessagesForAction } from '../actions/index';
import * as actionCreators from '../actions... |
ajax/libs/intl-tel-input/6.4.4/js/intlTelInput.js | sajochiu/cdnjs | /*
International Telephone Input v6.4.4
https://github.com/Bluefieldscom/intl-tel-input.git
*/
// wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
(function(factory) {
if (typeof define === "function" && define.amd) {
define([ "jquery" ], function($) {
factory($... |
src/App.js | bytewiz/react-horizon-rethinkdb | import React, { Component } from 'react';
import Horizon from '@horizon/client';
// Specify the host property for initializing the Horizon connection
const horizon = Horizon({host: 'localhost:8181'});
const chat = horizon('messages');
import ChatContainer from './components/ChatContainer';
// all component styles
const... |
frontend/src/containers/App/index.js | qiubit/luminis | /*
* Copyright (C) 2017 Paweł Goliński
* Copyright (C) 2017 Piotr Wiśniewski
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
import React from 'react'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import Drawer fr... |
services/ui/src/components/Environment/index.stories.js | amazeeio/lagoon | import React from 'react';
import mocks, { seed } from 'api/src/mocks';
import Environment from './index';
export default {
component: Environment,
title: 'Components/Environment',
}
seed();
const data = mocks.Environment();
export const Default = () => (
<Environment
environment={data}
/>
);
|
src/interface/report/Results/About.js | fyruna/WoWAnalyzer | import React from 'react';
import PropTypes from 'prop-types';
import { Trans, Plural } from '@lingui/macro';
import { Link } from 'react-router-dom';
import isLatestPatch from 'game/isLatestPatch';
import ReadableList from 'interface/common/ReadableList';
import Warning from 'interface/common/Alert/Warning';
import C... |
examples/js/selection/selection-column-width-table.js | prajapati-parth/react-bootstrap-table | /* eslint max-len: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';
const products = [];
function addProducts(quantity) {
const startId = products.length;
for (let i = 0; i < quantity; i++) {
const id = startId + i;
products.push({
id: id,
... |
jenkins-design-language/src/js/components/material-ui/svg-icons/device/signal-cellular-2-bar.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const DeviceSignalCellular2Bar = (props) => (
<SvgIcon {...props}>
<path fillOpacity=".3" d="M2 22h20V2z"/><path d="M14 10L2 22h12z"/>
</SvgIcon>
);
DeviceSignalCellular2Bar.displayName = 'DeviceSignalCellular2Bar';
DeviceSignalCellular2Bar.muiNam... |
src/components/cv/rating.js | ateixeira/andreteixeira.info | import React from 'react';
import FontAwesome from 'react-fontawesome';
module.exports = React.createClass({
// RENDER
render: function() {
var rating_bullets = [];
[0,1,2,3,4].forEach((i) => {
var is_active = i < this.props.level;
if (is_active) {
... |
information/blendle-frontend-react-source/app/modules/settings/components/SubscriptionFormContainer.js | BramscoChill/BlendleParser | import React from 'react';
import PropTypes from 'prop-types';
import { sprintf } from 'sprintf-js';
import SubscriptionsManager from 'managers/subscriptions';
import SubscriptionsFormDialogue from 'components/dialogues/SubscriptionForm';
export default class extends React.Component {
static propTypes = {
provid... |
packages/material-ui-icons/src/RateReviewTwoTone.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="M4 17.17l.59-.59.58-.58H20V4H4v13.17zM18 14h-7.5l2-2H18v2zM6 11.53l5.88-5.88c.2-.2.51-.2.71 0l1.77 1.77c.2.2.2.51 0 .71L8.47 14H6v-2.47z" opacit... |
ajax/libs/angular.js/0.9.11/angular-scenario.js | laffer1/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.
... |
ajax/libs/zxcvbn/1.0.6/zxcvbn.js | calvinf/cdnjs | (function(){var x,p,s,y,I,J,K,L,M,N,O,P,z,q,A,Q,R,S,T,U,V;O=function(b){var a,c;c=[];for(a in b)c.push(a);return 0===c.length};z=function(b,a){return b.push.apply(b,a)};U=function(b,a){var c,e,f,d,g;d=b.split("");g=[];e=0;for(f=d.length;e<f;e++)c=d[e],g.push(a[c]||c);return g.join("")};Q=function(b,a){var c,e,f,d;d=[];... |
ajax/libs/react-inlinesvg/0.5.1/react-inlinesvg.min.js | holtkamp/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.ReactInlineSVG=e()}}(function(){return function e(t,n,r... |
docs/src/SupportPage.js | nickuraltsev/react-bootstrap | import React from 'react';
import NavMain from './NavMain';
import PageHeader from './PageHeader';
import PageFooter from './PageFooter';
export default class Page extends React.Component {
render() {
return (
<div>
<NavMain activePage="support" />
<PageHeader
title="Nee... |
test/integration/preload-viewport/pages/invalid-ref.js | BlancheXu/test | import React from 'react'
import Link from 'next/link'
class Button extends React.Component {
render () {
return <button {...this.props}>Click me</button>
}
}
export default () => (
<div>
<Link href='/another'>
<Button id='btn-link' />
</Link>
</div>
)
|
src/react-native.js | Root-App/react-native-mock-render | /**
* https://github.com/facebook/react-native/blob/master/Libraries/react-native/react-native.js
*/
import React from 'react';
import createMockComponent from './components/createMockComponent';
// Export React, plus some native additions.
const ReactNative = {
// APIs
ActionSheetIOS: require('./api/ActionShee... |
src/lib/markers/implementations/TodayMarker.js | namespace-ee/react-calendar-timeline | import React from 'react'
import PropTypes from 'prop-types'
import {
createMarkerStylesWithLeftOffset,
createDefaultRenderer
} from './shared'
const defaultRenderer = createDefaultRenderer('default-today-line')
/** Marker that is placed based on current date. This component updates itself on
* a set interval, ... |
fields/types/email/EmailColumn.js | andreufirefly/keystone | import React from 'react';
import ItemsTableCell from '../../../admin/client/components/ItemsTable/ItemsTableCell';
import ItemsTableValue from '../../../admin/client/components/ItemsTable/ItemsTableValue';
var EmailColumn = React.createClass({
displayName: 'EmailColumn',
propTypes: {
col: React.PropTypes.object,
... |
src/svg-icons/maps/ev-station.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsEvStation = (props) => (
<SvgIcon {...props}>
<path d="M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V... |
src/Animation.js | rnosov/react-reveal | /*
* Animation Component For react-reveal
*
* Copyright © Roman Nosov 2017
*
* 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 { element, instanceOf, object } from 'prop-types';
import Stepper from... |
src/routes/Home/components/QuantityDropdown.js | benkeen/invoice-editor | /**
* The quantity dropdown. Feels kinda specific, so I stuck it here in the route's components folder than the top-level
* generic components folder.
*/
import React from 'react';
const QuantityDropdown = ({ value, onChange }) => (
<select defaultValue={value} onChange={(e) => onChange(e.target.value)}>
{[1... |
src/pages/page-2.js | jefflau/jefflau.net | import React from 'react'
import Link from 'gatsby-link'
const SecondPage = () => (
<div>
<h1>Hi from the second page</h1>
<p>Welcome to page 2</p>
<Link to="/">Go back to the homepage</Link>
</div>
)
export default SecondPage
|
ajax/libs/js-data/2.0.0-beta.1/js-data.js | quba/cdnjs | /*!
* js-data
* @version 2.0.0-beta.1 - 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 webpackUnivers... |
src/svg-icons/image/filter-7.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageFilter7 = (props) => (
<SvgIcon {...props}>
<path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2l4-8V5h-6v2h4l-4 8h2z... |
react/features/filmstrip/components/native/LocalThumbnail.js | gpolitis/jitsi-meet | // @flow
import React from 'react';
import { View } from 'react-native';
import Thumbnail from './Thumbnail';
import styles from './styles';
/**
* Component to render a local thumbnail that can be separated from the
* remote thumbnails later.
*
* @returns {ReactElement}
*/
export default function LocalThumbnail... |
ajax/libs/react-native-web/0.14.4/exports/Touchable/index.js | cdnjs/cdnjs | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
'use strict';
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var targ... |
containers/BeerApp.js | Spacerat/Alcoholculator | import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import BeerForm from '../components/BeerForm';
import BeerList from '../components/BeerList';
import * as BeerActions from '../actions/BeerActions';
class BeerApp extends Component {
render() ... |
app/javascript/mastodon/features/community_timeline/index.js | masto-donte-com-br/mastodon | import React from 'react';
import { connect } from 'react-redux';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import PropTypes from 'prop-types';
import StatusListContainer from '../ui/containers/status_list_container';
import Column from '../../components/column';
import ColumnHeader fro... |
src/documentation/js/jquery-1.11.0.min.js | deniso4ka/year3_webapps | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
actor-apps/app-web/src/app/components/activity/GroupMember.react.js | yangchenghu/actor-platform | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
import React from 'react';
import confirm from 'utils/confirm'
import { AsyncActionStates } from 'constants/ActorAppConstants';
import DialogActionCreators from 'actions/DialogActionCreators';
import KickUserActionCreators from 'actions/KickUserActionCreato... |
definitions/npm/styled-components_v2.x.x/flow_v0.42.x-v0.52.x/test_styled-components_native_v2.x.x.js | orlandoc01/flow-typed | // @flow
import nativeStyled, {
ThemeProvider as NativeThemeProvider,
withTheme as nativeWithTheme,
keyframes as nativeKeyframes,
} from 'styled-components/native'
import React from 'react'
import type {
Theme as NativeTheme,
Interpolation as NativeInterpolation,
// Temporary
ReactComponentFunctional as ... |
src/challenges/react/React_32.js | bonham000/fcc-react-tests-module | /* eslint-disable */
import React from 'react'
import assert from 'assert'
import { transform } from 'babel-standalone'
import Enzyme from '../Enzyme';
const shallow = Enzyme.shallow;
const mount = Enzyme.mount;
const render = Enzyme.render;
export const QA = true;
// ---------------------------- define challenge t... |
admin/client/components/CreateForm.js | efernandesng/keystone | import React from 'react';
import Fields from '../fields';
import InvalidFieldType from './InvalidFieldType';
import { Alert, Button, Form, Modal } from 'elemental';
var CreateForm = React.createClass({
displayName: 'CreateForm',
propTypes: {
err: React.PropTypes.object,
isOpen: React.PropTypes.bool,
list: R... |
src/components/sudoku/board.js | cjordanball/cjbinfo | import React, { Component } from 'react';
import RowComponent from './row';
class BoardComponent extends Component {
constructor(props) {
super(props);
this.data = {
numbers: ['1', '2', '3', '4', '5', '6', '7', '8', '9']
};
}
render() {
const RowList = this.data.numbers.map((val, ind) => {
const arrS... |
keystone/node_modules/react/dist/react.js | kinfen/sitecore-product | /**
* React v0.13.3
*/
(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}els... |
src/parser/paladin/protection/modules/spells/HammerOfTheRighteous.js | sMteX/WoWAnalyzer | import React from 'react';
import SpellLink from 'common/SpellLink';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import Abilities from 'parser/core/modules/Abilities';
import SpellUsable from 'parser/shared/modules/SpellUsable';
import SPELLS from 'common/S... |
ajax/libs/forerunnerdb/1.3.452/fdb-core+persist.js | wout/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/react-datepicker/0.7.0/react-datepicker.min.js | sufuf3/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("moment"),require("react-onclickoutside")):"function"==typeof define&&define.amd?define(["react","moment","react-onclickoutside"],e):"object"==typeof exports?exports.DatePicker=e(require("react"),require("moment")... |
app/packs/src/components/qc/components/QcContent.js | ComPlat/chemotion_ELN | import React from 'react';
import PropTypes from 'prop-types';
import AreaTitle from './summary/AreaTitle';
import AreaSummary from './summary/AreaSummary';
import BlockTitle from './substance/BlockTitle';
import BlockHnmr from './substance/BlockHnmr';
import BlockCnmr from './substance/BlockCnmr';
import BlockMS fro... |
docs/src/examples/elements/Button/Groups/ButtonExampleGroupIcon.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import { Button, Icon } from 'semantic-ui-react'
const ButtonExampleGroupIcon = () => (
<div>
<Button.Group>
<Button icon>
<Icon name='align left' />
</Button>
<Button icon>
<Icon name='align center' />
</Button>
<Button icon>
<Icon ... |
website/Header.js | sahat/megaboilerplate | /* global $ */
if (typeof window !== 'undefined') {
require('velocity-animate');
require('velocity-animate/velocity.ui');
}
import React from 'react';
import { VelocityComponent } from 'velocity-react';
const timeSince = (date) => {
var seconds = Math.floor((new Date() - date) / 1000);
var interval = Math.... |
src/svg-icons/social/sentiment-very-satisfied.js | ruifortes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialSentimentVerySatisfied = (props) => (
<SvgIcon {...props}>
<path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.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 8zm1... |
app/components/timer/Timer.js | ArcBees/Tempora | import moment from 'moment';
import React, { Component } from 'react';
import DatePicker from 'react-datepicker';
import TimePicker from 'rc-time-picker';
import { Link } from 'react-router-dom';
import PropTypes from 'prop-types';
import * as StorageService from '../../services/StorageService';
import * as WorklogSer... |
ajax/libs/jquery/1.4.1/jquery.min.js | thykka/cdnjs | /*!
* jQuery JavaScript Library v1.4.1
* 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.
... |
ajax/libs/rxjs/2.3.2/rx.compat.js | freak3dot/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... |
packages/mui-icons-material/lib/esm/RoomPreferences.js | oliviertassinari/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M14 11.26V6h3v4h2V4h-5V3H5v16H3v2h9.26c-.79-1.13-1.26-2.51-1.26-4 0-2.38 1.19-4.47 3-5.74zM10 11h2v2h-2v-2zm11.69 5.37 1.14-1-1-1.73-1.45.49c-.32-.27-.68-.4... |
examples/src/components/RemoteSelectField.js | mr-wildcard/react-select | import React from 'react';
import Select from 'react-select';
var RemoteSelectField = React.createClass({
displayName: 'RemoteSelectField',
propTypes: {
hint: React.PropTypes.string,
label: React.PropTypes.string,
},
loadOptions (input, callback) {
input = input.toLowerCase();
var rtn = {
options: [
... |
node_modules/react-icons/ti/anchor-outline.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const TiAnchorOutline = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m21.7 10c0 0.9-0.8 1.7-1.7 1.7s-1.7-0.8-1.7-1.7c0-0.9 0.8-1.7 1.7-1.7s1.7 0.8 1.7 1.7z m11.3 10.2c0.2-0.6 0.3-1.2 0.3-1.9 0-2.7-2.2-5-5-5h-0.7c0.5-1 0.7-2.1 0.7... |
docs/app/Examples/modules/Checkbox/States/CheckboxExampleReadOnly.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Checkbox } from 'semantic-ui-react'
const CheckboxExampleReadOnly = () => (
<Checkbox label='This checkbox is read-only' readOnly />
)
export default CheckboxExampleReadOnly
|
ajax/libs/forerunnerdb/1.3.824/fdb-core+persist.js | sufuf3/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... |
packages/material-ui-icons/src/WorkRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z" />
, 'WorkRounded');
|
product/client/src/components/ProductCarousel.js | abhishekpathak/recommendation-system | import React, { Component } from 'react';
import Product from './Product';
import Slider from 'react-slick';
import Rating from './Rating';
import 'react-rater/lib/react-rater.css';
import { config } from '../config';
class ProductCarousel extends Component {
constructor() {
super();
this.state = {
li... |
lib/yuilib/3.17.2/datatable-body/datatable-body.js | JuliaGolutvina/moodle | /*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-body', function (Y, NAME) {
/**
View class responsible for rendering the `<tbody>` section of a table. Used as
the default `bodyView` for `Y.DataTable.Base... |
public/lib/jquery.min.js | dronzer92/canvas-socket.io | /*!
* jQuery JavaScript Library v1.6.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/index.js | JoshuaTang/OnlineGobang | import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import {createStore, applyMiddleware} from 'redux';
import createSocketIoMiddleware from 'redux-socket.io';
import io from 'socket.io-client';
import App from './components/App';
import reducers from './reducers';
cons... |
ios_ReactSideMenu/app/styles/style.js | mitrais-cdc-mobile/react-pocs | "use strict";
import React, {
StyleSheet,
Dimensions
} from 'react-native';
var width = Dimensions.get('window').width;
var height = Dimensions.get('window').height;
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF'... |
src/premade/SummaryTimelineChart.js | ornl-sava/vis-react-components | import React from 'react'
import PropTypes from 'prop-types'
import { extent, min, max } from 'd3'
import { setScale, isOrdinalScale } from '../util/d3'
import { spreadRelated } from '../util/react'
import Chart from '../Chart'
import Axis from '../Axis'
import SummaryTimeline from '../SummaryTimeline'
class SummaryT... |
src/components/layout.js | sioked/ecomchicago | import React from 'react';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import Header from './Header';
import Footer from './Footer';
import content from '../constants/content.js';
import './layout.scss';
const TemplateWrapper = ({ children }) => (
<div>
<Helmet
title={content.si... |
src/TopBar.js | jedi0605/GameBoard | import React, { Component } from 'react';
import { Grid, Navbar, Jumbotron, Button, Nav, NavItem } from 'react-bootstrap';
class TopBar extends Component {
render() {
return (
<div>
<Navbar inverse collapseOnSelect>
<Grid>
<Navbar.Header>
<Navbar.Brand>
... |
src/main/resources/static/js/jquery.min.js | wubotao/payment-app | /*! 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... |
modules/admin/app/assets/javascripts/origo/admin/jquery.js | origocms/origo | /*!
* 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 ) {
// ... |
src/routes/contact/Contact.js | kumarrus/MuffinMan | /**
* 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 PropTypes from 'prop-... |
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Apis.js | dewmini/carbon-apimgt | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
src/index.js | sskyy/react-lego | /* eslint-disable no-param-reassign */
import React from 'react';
import { pick, mapValues, inject } from './utils';
export const ReactComponentFunctionNames = [
'componentDidMount',
'componentWillUnmount',
'componentDidUpdate',
'shouldComponentUpdate',
];
function normalizeListener(listener) {
if (listene... |
src/svg-icons/av/surround-sound.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvSurroundSound = (props) => (
<SvgIcon {...props}>
<path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.76 16.24l-1.41 1.41C4.78 16.1 4 14.05 4 12c0-2.05.78-4.1 2.34-5.66l1.4... |
src/routes/login/index.js | murphysierra/VinnyStoryPage | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import Login from './Login';
e... |
client/desktop/app/components/teacher/classes/ClassData/LessonData.js | shanemcgraw/thumbroll | import React from 'react';
import api from '../../../../utils/api';
import moment from 'moment';
class LessonData extends React.Component {
constructor(props){
super(props);
this.state = {
lessonId: this.props.params.lessonId,
lessonName: this.props.location.state.lessonName,
className: thi... |
out/artifacts/guqi_war_exploded/static/mCustomScrollbar/demo/js/uncompressed/jquery-1.9.1.js | mawanjin/guqi | /*!
* 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/forerunnerdb/1.3.363/fdb-core+views.min.js | hare1039/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... |
media/jui/js/jquery.js | nata007/TechOP | /*!
* jQuery JavaScript Library v1.8.1
* 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: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time)
*/
(function(... |
src/Parser/Core/Modules/NetherlightCrucibleTraits/MasterOfShadows.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 Combatants from 'Parser/Core/Modules/Combatants';
import { formatNumber } from 'common/format';
/**
* Master of Shado... |
src/AppBundle/Resources/static/jsx/view/components/Toolbar.js | viszerale-therapie/simple-courses | import React from 'react';
import tl from '../../util/translator';
import PaginationFilter from '../../widget/PaginationFilter';
import FreeSearch from '../../widget/FreeSearch';
export default class Toolbar extends React.Component {
render () {
let toolBarItems = [],
celSize = 12, itemsWi... |
ajax/libs/react-native-web/0.11.2/exports/Picker/PickerItemPropType.js | cdnjs/cdnjs | /**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
import React from 'react';
import PickerItem from './PickerItem';
var PickerItemPropTyp... |
src/client/apps/queue/client/index.js | craigspaeth/positron | import React from 'react'
import { render } from 'react-dom'
import { data as sd } from 'sharify'
import { Provider } from 'react-redux'
import { createReduxStore } from 'client/lib/createReduxStore'
import { reducers, initialState } from 'client/reducers'
import { QueueView } from './client.coffee'
const store = crea... |
packages/wix-style-react/src/Range/Range.js | wix/wix-style-react | import React from 'react';
import RangeInputWithLabelComposite from './RangeInputWithLabelComposite/RangeInputWithLabelComposite';
const Range = props => <RangeInputWithLabelComposite {...props} />;
Range.displayName = 'Range';
Range.propTypes = {
...RangeInputWithLabelComposite.propTypes,
};
export default Range... |
src/pages/schedule/editActivity/editAcitvityTitle/index.js | sunway-official/acm-admin | import React, { Component } from 'react';
import { Subheader, IconButton } from 'material-ui';
import { Link } from 'react-router-dom';
import { ActionHome, HardwareKeyboardArrowRight } from 'material-ui/svg-icons';
import EditActivityTitle from './editActivityTitle';
import { queries, mutations, functions, editActivit... |
modules/IndexLink.js | schnerd/react-router | import React from 'react'
import Link from './Link'
const IndexLink = React.createClass({
render() {
return <Link {...this.props} onlyActiveOnIndex={true} />
}
})
export default IndexLink
|
packages/material-ui-icons/src/CenterFocusStrongSharp.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-7 7H3v6h6v-2H5v-4zM5 5h4V3H3v6h2V5zm16-2h-6v2h4v4h2V3zm-2 16h-4v2h6v-6h-2v4z" />
, 'CenterFocusStrongSharp');
|
src/icons/FlightLandIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class FlightLandIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M5 38h38v4H5zm14.37-11.46l8.69 2.33 10.63 2.85c1.6.43 3.24-.52 3.67-2.12.43-1.6-.52-3.24-2.12-3.67l-10.... |
app/javascript/mastodon/features/ui/index.js | anon5r/mastonon | import classNames from 'classnames';
import React from 'react';
import NotificationsContainer from './containers/notifications_container';
import PropTypes from 'prop-types';
import LoadingBarContainer from './containers/loading_bar_container';
import TabsBar from './components/tabs_bar';
import ModalContainer from './... |
ajax/libs/muicss/0.1.1/react/mui-react.js | hare1039/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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... |
pages/account.js | pltod2/braggers | import React from 'react'
import { style } from 'next/css'
import * as _ from 'lodash'
import MyEditor from '../component/editor/editor';
const ReactMarkdown = require('react-markdown');
import Head from '../component/Head';
import Menu from '../component/Menu';
const Requester = require('../integration/requester');
c... |
src/client/components/list/button/AddBookButton.js | DBCDK/content-first | import React from 'react';
import {connect} from 'react-redux';
import {getListByIdSelector} from '../../../redux/list.reducer';
import {OPEN_MODAL} from '../../../redux/modal.reducer';
import Button from '../../base/Button';
import Icon from '../../base/Icon';
import T from '../../base/T';
const getListById = getListB... |
entry_types/scrolled/package/src/editor/views/SectionItemView.js | codevise/pageflow | import I18n from 'i18n-js';
import Marionette from 'backbone.marionette';
import React from 'react';
import ReactDOM from 'react-dom';
import {modelLifecycleTrackingView} from 'pageflow/editor';
import {cssModulesUtils} from 'pageflow/ui';
import {watchCollections} from '../../entryState';
import {SectionThumbnail} fr... |
src/index.js | suwenyang/gallery-by-react | import 'core-js/fn/object/assign';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/Main';
// Render the main component into the dom
ReactDOM.render(<App />, document.getElementById('app'));
|
webpack/global_index.js | theforeman/foreman_ansible | import React from 'react';
import { registerRoutes } from 'foremanReact/routes/RoutingService';
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
import routes from './routes/routes';
import AnsibleHostDetail from './components/AnsibleHostDetail';
import { ANSIBLE_KEY } from './componen... |
src/client/components/PaginationWidget/PaginationWidget.js | vidaaudrey/trippian | import log from '../../log'
import React from 'react'
const PaginationWidget = ({
name = 'PaginationWidget'
}) => {
return (
<div>
<h3>Widget</h3>
{name}
</div>
)
}
PaginationWidget.displayName = 'PaginationWidget'
export default PaginationWidget
|
packages/material-ui-icons/src/HearingSharp.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="M17 20c-.29 0-.56-.06-.76-.15-.71-.37-1.21-.88-1.71-2.38-.51-1.56-1.47-2.29-2.39-3-.79-.61-1.61-1.24-2.32-2.53C9.29 10.98 9 9.93 9 9c0-2.8 2.2-5... |
packager/packager.js | josebalius/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... |
examples/auth-with-shared-root/components/PageOne.js | tylermcginnis/react-router | import React from 'react'
const PageOne = React.createClass({
render() {
return <h2>Page One!</h2>
}
})
module.exports = PageOne
|
ajax/libs/js-data/1.0.0-alpha.5-6/js-data.js | itvsai/cdnjs | /**
* @author Jason Dobry <jason.dobry@gmail.com>
* @file js-data.js
* @version 1.0.0-alpha.5-6 - Homepage <http://www.js-data.io/>
* @copyright (c) 2014 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Data store.
*/
!function(e){if("object"==typeof exports&&"undefined... |
public/js/jquery.min.js | sergisley/SiGC | /*! 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/index.js | sullenor/weather | import 'react-hot-loader/patch';
import React from 'react';
import ReactDom from 'react-dom';
import {AppContainer} from 'react-hot-loader';
import {Provider} from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';
import sagas from './sagas';
const store = configu... |
modules/__tests__/Redirect-test.js | malte-wessel/react-router | import expect from 'expect'
import React from 'react'
import { render, unmountComponentAtNode } from 'react-dom'
import createHistory from '../createMemoryHistory'
import Redirect from '../Redirect'
import Router from '../Router'
import Route from '../Route'
describe('A <Redirect>', function () {
let node
beforeE... |
app/app/components/Dashboard/DashboardHeader.js | lycha/masters-thesis | import React from 'react';
class DashboardHeader extends React.Component {
constructor(props) {
super(props);
this.displayName = 'DashboardHeader';
this.title = "";
}
componentWillUpdate(nextProps, nextState) {
if (typeof nextProps.product != 'undefined' && typeof nextProps.entity !=... |
app/react-icons/fa/file-pdf-o.js | scampersand/sonos-front | import React from 'react';
import IconBase from 'react-icon-base';
export default class FaFilePdfO extends React.Component {
render() {
return (
<IconBase viewBox="0 0 40 40" {...this.props}>
<g><path d="m35.8 8.5q0.6 0.6 1 1.7t0.5 1.9v25.8q0 0.8-0.6 1.5t-1.6 0.6h-30q-0.9 0-1.5-... |
src/svg-icons/action/card-travel.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionCardTravel = (props) => (
<SvgIcon {...props}>
<path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H... |
src/main/resources/assets/javascripts/app.js | mersal-svds/airpal | /**
* App Bootstrap
*/
import 'es6-shim';
import 'whatwg-fetch';
import AirpalApp from './components/AirpalApp.jsx';
import React from 'react';
// Start the main app
React.render(
<AirpalApp />,
document.querySelector('.js-react-app')
);
|
app/index.js | lukehamilton/eth-wallet | import React from 'react';
import { render } from 'react-dom';
import { AppContainer } from 'react-hot-loader';
import Root from './containers/Root';
import { configureStore, history } from './store/configureStore';
import './app.global.css';
const store = configureStore();
render(
<AppContainer>
<Root store={s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.