path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
node_modules/babel-helper-builder-react-jsx/lib/index.js | ishaiMeresman/moveMe | "use strict";
exports.__esModule = true;
exports.default = function (opts) {
var visitor = {};
visitor.JSXNamespacedName = function (path) {
throw path.buildCodeFrameError("Namespace tags are not supported. ReactJSX is not XML.");
};
visitor.JSXElement = {
exit: function exit(path, file) {
var... |
js/pages/About.js | ShadowZheng/CodingLife | import React from 'react';
export default class About extends React.Component {
render() {
return (
<p>我是关于我页面</p>
)
}
} |
sandbox/src/components/ScannedCode.js | coreaps/public | import React from 'react';
import {Card, CardActions, CardText, CardHeader} from 'material-ui/Card';
import FlatButton from 'material-ui/FlatButton';
import DeleteIcon from 'material-ui/svg-icons/action/delete';
import Divider from 'material-ui/Divider';
const pointGenerator = points => i => `(${points[i][0].toFixed(0... |
src/components/OptionsDialog/index.js | mareklibra/userportal | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { Modal } from 'patternfly-react'
import FieldHelp from '../FieldHelp/index'
import {
getSSHKey,
saveSSHKey,
} from './actions'
import { msg } from '_/intl'
class OptionsDialog extends React.Component {
... |
client-app/src/album/GenreFormItem.js | mskorsur/music-app | import React from 'react';
class GenreFormItem extends React.Component {
constructor(props) {
super(props);
this.state = {
isChecked: this.props.checked
}
this.handleCheckChange = this.handleCheckChange.bind(this);
}
handleCheckChange(event) {
this.set... |
ajax/libs/react-highcharts/2.1.0/highstock.js | menuka94/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Highcharts"] = fact... |
src/client/components/pages/entities/edition-group.js | bookbrainz/bookbrainz-site | /*
* Copyright (C) 2017 Ben Ockmore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distr... |
public/docs/api/latest/@stdlib/stats/iter/variance/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) {
//... |
ajax/libs/primereact/8.0.0/card/card.js | cdnjs/cdnjs | this.primereact = this.primereact || {};
this.primereact.card = (function (exports, React, utils) {
'use strict';
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
v... |
frontend/public/style/js/jquery-hbzx.js | asd1045868018/pantheon | /*! 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... |
ajax/libs/6to5/2.3.0/browser.js | dc-js/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... |
packages/node_modules/@ciscospark/react-component-spark-logo/src/index.js | Altocloud/alto-react-ciscospark | import React from 'react';
import classNames from 'classnames';
import styles from './styles.css';
export default function SparkLogo() {
return (
<div className={classNames(`ciscospark-spark-logo`, styles.logo)} />
);
}
|
examples/forms-material-ui/src/components/forms-create-overlay/Hook.js | lore/lore-forms | import React from 'react';
import createReactClass from 'create-react-class';
import moment from 'moment';
export default createReactClass({
displayName: 'Hook',
render: function() {
return lore.forms.tweet.create({
blueprint: 'overlay'
});
}
});
|
ajax/libs/css3pie/1.0beta5/PIE_uncompressed.js | bseib/cdnjs | /*
PIE: CSS3 rendering for IE
Version 1.0beta5
http://css3pie.com
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
*/
(function(){
var doc = document;var PIE = window['PIE'];
if( !PIE ) {
PIE = window['PIE'] = {
CSS_PREFIX: '-pie-',
STYLE_PRE... |
packages/material-ui-icons/src/KeyboardBackspaceRounded.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M20 11H6.83l2.88-2.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L3.71 11.3c-.39.39-.39 1.02 0 1.41L8.3 17.3c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L6.83 13H20c.55 0 1-.45 1-1s... |
src/CarouselItem.js | andrew-d/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import TransitionEvents from './utils/TransitionEvents';
const CarouselItem = React.createClass({
propTypes: {
direction: React.PropTypes.oneOf(['prev', 'next']),
onAnimateOutEnd: React.PropTypes.func,
active: React.PropTypes.bool,
anima... |
actor-apps/app-web/src/app/components/ActivitySection.react.js | x303597316/actor-platform | import React from 'react';
import classNames from 'classnames';
import { ActivityTypes } from 'constants/ActorAppConstants';
//import ActivityActionCreators from 'actions/ActivityActionCreators';
import ActivityStore from 'stores/ActivityStore';
import UserProfile from 'components/activity/UserProfile.react';
import... |
examples/todomvc/containers/App.js | khronnuz/redux-devtools | import React, { Component } from 'react';
import TodoApp from './TodoApp';
import { createStore, combineReducers, compose } from 'redux';
import { devTools, persistState } from 'redux-devtools';
import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react';
import { Provider } from 'react-redux';
import *... |
app/components/findFriends.js | it-surya/hack-jeninvest | import React from 'react';
import {
StyleSheet,
TouchableOpacity,
View
} from 'react-native';
import {
RkText,
RkTheme
} from 'react-native-ui-kitten';
import {FontAwesome} from '../assets/icons';
export class FindFriends extends React.Component {
constructor(props) {
super(props);
}
render() {
... |
HOLs/HOL-ScalingWindowsAzureWebSites/Source/Assets/AssetsWebSite/AssetsWebSite/Scripts/jquery-1.8.2.min.js | mauricionr/fullstack-training-kit | /*! 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===... |
Public/BaiduEditor/third-party/highcharts/highcharts.src.js | githubfisher/zsylou | // ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.6 (2013-10-04)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout... |
src/components/Text/Text.js | wundery/wundery-ui-react | import React from 'react';
import classnames from 'classnames';
import { spacingStyles } from '../Spacing/utils';
function Text(props) {
const {
block,
bold,
center,
children,
margin,
muted,
padding,
small,
theme,
left,
right,
italic,
large
} = props;
const st... |
docs/app/Examples/elements/Input/Variations/InputExampleRightLabeledTag.js | koenvg/Semantic-UI-React | import React from 'react'
import { Input } from 'semantic-ui-react'
const InputExampleRightLabeledTag = () => (
<Input
icon='tags'
iconPosition='left'
label={{ tag: true, content: 'Add Tag' }}
labelPosition='right'
placeholder='Enter tags'
/>
)
export default InputExampleRightLabeledTag
|
js/jquery.js | jillkuchman/freebird | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
packages/forms/src/deprecated/widgets/ToggleWidget.js | Talend/ui | import PropTypes from 'prop-types';
import React from 'react';
import Toggle from '@talend/react-components/lib/Toggle';
/**
* Render Switch widget for on/off field
* @param props
* @returns {*} Radio inputs if choices length is gte to 2 or Select
* @constructor
*/
const ToggleWidget = props => {
const propsWit... |
src/SideBar/SideBar.js | salars/react-sui | import React,{ Component } from 'react';
import PropTypes from 'prop-types';
export default class SideBar extends Component {
static props = {
right:PropTypes.bool,
left:PropTypes.bool
};
render(){
return (
<div className="col-12 col-md-3 col-xl-2 bd-sidebar">
... |
src/server.js | kirsty-forrester/react-photo-collage | /**
* 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 path from 'path';
import express from 'express';... |
packages/frontend/tests/components/adminPage/MonitoringServices/Self/index.spec.js | ks888/LambStatus | import React from 'react'
import { shallow } from 'enzyme'
import Self from 'components/adminPage/MonitoringServices/Self'
describe('Self', () => {
describe('getMetricsSelector', () => {
it('should return the self metrics selector', () => {
const self = new Self()
const Selector = self.getMetricsSele... |
config/webpack.config.dev.js | InsidersByte/our-wedding-heroes | /* eslint-disable import/no-extraneous-dependencies */
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlu... |
src/index.js | nebgnahz/marry-guess | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
ReactDOM.render(
<App />,
document.getElementById('root')
);
|
src/hot.dev.js | gaearon/react-hot-loader | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import hoistNonReactStatic from 'hoist-non-react-statics';
import { getComponentDisplayName } from './internal/reactUtils';
import configuration from './configuration';
import AppContainer from './AppContainer.dev';
import reactHotLoader from ... |
src/app/keyring/components/UserSignatures.js | mailvelope/mailvelope | /**
* Copyright (C) 2019 Mailvelope GmbH
* Licensed under the GNU Affero General Public License version 3
*/
import React from 'react';
import PropTypes from 'prop-types';
import * as l10n from '../../../lib/l10n';
import moment from 'moment';
l10n.register([
'usersignatures_title',
'keygrid_user_name',
'key... |
js/linkhandler.js | manlea/ipfs | var Router = require('react-router')
function linkHandler() {
var external = /^(https?:)?\/\//i
var static = /^\/static\//i
$(document.body).on('click', 'a', function(event) {
var href = $(this).attr('href')
console.log(href)
// pass through if external or static
if (external.test(href) || s... |
packages/idyll-template-projects/templates/slideshow/components/slide.js | idyll-lang/idyll | import React from 'react';
import TextContainer from 'idyll-components/dist/cjs/text-container';
class Slide extends React.Component {
render() {
const { hasError, idyll, updateProps, children, ...props } = this.props;
return (
<div {...props} className="slide">
<TextContainer idyll={idyll}>{ch... |
src/__tests__/fields/TextareaField.js | crudlio/crudl | /* globals jest, require, test, expect, describe, it, beforeEach */
import React from 'react'
import { render, shallow } from 'enzyme'
import field from '../../admin-schema/field'
import { TextareaField } from '../../fields/TextareaField'
const desc = {
after: '',
before: '',
field: 'field',
id: 'id',... |
src/svg-icons/action/pregnant-woman.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionPregnantWoman = (props) => (
<SvgIcon {...props}>
<path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"/>
</SvgIcon>
);
... |
src/server/frontend/render.js | rkoberg/rihpl | import Helmet from 'react-helmet';
import Html from './Html.react';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import config from '../config';
import configureStore from '../../common/configureStore';
import createInitialState from './createInitialState';
import createRoutes from '../../b... |
ajax/libs/forerunnerdb/1.3.348/fdb-core+views.min.js | dakshshah96/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... |
openfire_src/src/plugins/gojara/src/web/js/jquery.js | paridhika/XMPP_Parking | /*!
* jQuery JavaScript Library v1.7.1
* 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.
... |
lite-server/node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js | dope93x/emoplay-2 | import React from 'react';
// It's important to not define HelloWorld component right in this file
// because in that case it will do full page reload on change
import HelloWorld from './HelloWorld.jsx';
React.render(<HelloWorld />, document.getElementById('react-root'));
|
modules/gui/src/app/home/body/browse/browse.js | openforis/sepal | import {BottomBar, Content, SectionLayout, TopBar} from 'widget/sectionLayout'
import {Button} from 'widget/button'
import {ButtonGroup} from 'widget/buttonGroup'
import {Buttons} from 'widget/buttons'
import {Scrollable, ScrollableContainer} from 'widget/scrollable'
import {compose} from 'compose'
import {connect, sel... |
src/app/components/Shell.js | michael-wolfenden/webpack2-react-starter | import React from 'react'
import Message from 'components/Message'
const Shell = () =>
<div>
<Message text="Webpack 2 React Skeleton" />
</div>
export default Shell
|
frontend/app_v2/src/components/PageCrud/PageCrudPresentation.js | First-Peoples-Cultural-Council/fv-web-ui | import React from 'react'
import PropTypes from 'prop-types'
import { Link } from 'react-router-dom'
// FPCC
import WidgetAreaEdit from 'components/WidgetAreaEdit'
import useIcon from 'common/useIcon'
function PageCrudPresentation({ dataToEdit }) {
return (
<div id="PageCrudPresentation" className="bg-gray-100"... |
MobileApp/mstudentApp/components/Home.js | FresnoState/mobilestudentintranet | import React, { Component } from 'react';
import {
Text,
View,
ListView,
Platform
} from 'react-native';
import {Icon} from 'native-base';
import FCM, {FCMEvent, RemoteNotificationResult, WillPresentNotificationResult, NotificationType} from 'react-native-fcm';
import message from '../modules/message.js... |
node_modules/aws-sdk/lib/react-native-loader.js | gsuresh62/usercomio | var util = require('./util');
// react-native specific modules
util.crypto.lib = require('crypto-browserify');
util.Buffer = require('buffer/').Buffer;
util.url = require('url/');
util.querystring = require('querystring/');
util.environment = 'js-react-native';
var AWS = require('./core');
// Use default API loader ... |
react-native-scripts/src/bin/crna-entry.js | chochihim/create-react-native-app | import Expo from 'expo';
import App from '../../../../../App';
import React, { Component } from 'react';
import { View } from 'react-native';
// we don't want this to require transformation
class AwakeInDevApp extends Component {
render() {
return React.createElement(
View,
{
style: {
... |
src/internal/ScaleIn.js | pradel/material-ui | import React from 'react';
import ReactTransitionGroup from 'react-addons-transition-group';
import ScaleInChild from './ScaleInChild';
class ScaleIn extends React.Component {
static propTypes = {
childStyle: React.PropTypes.object,
children: React.PropTypes.node,
enterDelay: React.PropTypes.number,
... |
visuals_maths/VC-Polar/script/numeric/tools/megalib.js | cydcowley/Imperial-Visualizations | /*! jQuery v1.7.1 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 cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
app/containers/Dashbord/index.js | medevelopment/UMA | /*
* FeaturePage
*
* List all the features
*/
import React from 'react';
import Helmet from 'react-helmet';
import {FormattedMessage} from 'react-intl';
import axios from 'axios';
import LoadingIndicator from 'components/LoadingIndicator';
import styled from 'styled-components';
const BarChart1 = require('react-ch... |
src/containers/views/tests/staticindex.spec.js | ashmaroli/jekyll-admin | import React from 'react';
import { mount } from 'enzyme';
import { StaticIndex } from '../StaticIndex';
import { staticfile } from './fixtures';
function setup(files=[staticfile]) {
const actions = {
fetchStaticFiles: jest.fn(),
uploadStaticFiles: jest.fn(),
deleteStaticFile: jest.fn(),
search: je... |
src/components/video_list_item.js | adithengky/react2602 | import React from 'react';
const VideoListItem = ({video, onVideoSelect}) => {
const imageUrl = video.snippet.thumbnails.default.url;
return (
<li onClick={() => onVideoSelect(video)} className="list-group-item">
<div className="video-list media">
<div className="media-left">
<img className="media-object" ... |
packages/mui-icons-material/lib/EightKPlusTwoTone.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")... |
ajax/libs/cyclejs-core/0.6.8/cycle.js | melvinsembrano/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.Cycle=e()}}(function(){var define,module,exports;retu... |
app/containers/App/index.js | monkeyzealer/Andrew-Duesler | /**
*
* App.react.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
*/
import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles... |
CompletedSource/CycleSales/src/CycleSales/node_modules/grunt-bower-task/node_modules/rx/dist/rx.js | rowanmiller/Demo-MVADec14 | // 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/components/Github/Repos.js | jchappypig/react-note-taker | import React from 'react';
const Repos = ({repos}) => (
<div>
<h3>User Repos</h3>
<ul className="list-group">
{repos.map((repo, index) => (
<li className="list-group-itme" key={index}>
{!!repo.html_url && (<h4><a href={repo.html_url}>{repo.name}</a></h4>)}
{!!repo.desc... |
lib/combobox.js | yujinlim/react-autocomplete | /** @jsx React.DOM */
var React = require('react');
var classnames = require('classnames');
var guid = 0;
var noop = function(){};
var ComboboxOption = require('./option');
module.exports = React.createClass({
propTypes: {
/**
* Defaults to 'both'. 'inline' will autocomplete the first matched Option
... |
files/react/0.10.0/JSXTransformer.js | rtenshi/jsdelivr | /**
* JSXTransformer v0.10.0
*/
!function(e){if("object"==typeof exports)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.JSXTransformer=e()}}(function(){var define,module,... |
src/components/common/list.js | BryceHQ/form-designer | import React from 'react';
import PureRenderMixin from 'react-addons-pure-render-mixin';
import Avatar from 'material-ui/lib/avatar';
import List from 'material-ui/lib/lists/list';
import ListItem from 'material-ui/lib/lists/list-item';
import Divider from 'material-ui/lib/divider';
const styles = {
listItem: {
... |
ajax/libs/material-ui/5.0.0-alpha.32/node/DialogContent/DialogContent.js | cdnjs/cdnjs | "use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _objectWithoutPropertiesLoose2 = ... |
src/containers/Demo/index.js | pmg1989/lms_mobile | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import moment from 'moment'
import { Header } from 'components'
const Demo = ({ params, location, id, detail, query }) => {
console.log('params', params)
console.log('location', location)
console.log('ownProps para... |
ajax/libs/vega/3.0.0-beta.37/vega-core.min.js | joeyparrish/cdnjs | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-array"),require("d3-request"),require("d3-dsv"),require("topojson"),require("d3-time-format"),require("d3-shape"),require("d3-path"),require("d3-scale"),require("d3-scale-chromatic"),require("d3-interpolate"),require("d3-geo"),req... |
examples/SubmitButton.js | chris-gooley/react-materialize | import React from 'react';
import Button from '../src/Button';
import Icon from '../src/Icon';
export default
<Button type='submit' waves='light'>Submit<Icon right>send</Icon></Button>;
|
core/assets/vendor/backbone/backbone.js | YannKNX/arpavie | // Backbone.js 1.2.3
// (c) 2010-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(factory) {
// Establish the root object, `window` (`se... |
web/components/pages/Dashboard/__fixtures__/game.js | skidding/flatris | // @flow
import React from 'react';
import { getBlankGame } from 'shared/reducers/game';
import { getSampleUser } from '../../../../utils/test-helpers';
import { FlatrisReduxMock } from '../../../../mocks/ReduxMock';
import { SocketProviderMock } from '../../../../mocks/SocketProviderMock';
import Dashboard from '../D... |
ajax/libs/react-bootstrap-table/2.1.3/react-bootstrap-table.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.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R... |
ajax/libs/primereact/8.1.0/utils/utils.esm.js | cdnjs/cdnjs | import * as React from 'react';
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
if (_i == null) return;
var _arr = [];
var _n = true;
va... |
packages/react-scripts/fixtures/kitchensink/src/features/webpack/NoExtInclusion.js | josephfinlayson/create-react-app | /**
* 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.
*/
import Rea... |
rojak-ui-web/src/app/home/SearchCategory.js | pyk/rojak | import React from 'react'
class SearchCategory extends React.Component {
static propTypes = {
keyword: React.PropTypes.string,
children: React.PropTypes.string,
onClick: React.PropTypes.func
}
static defaultProps = {
keyword: '',
onClick: (keyword) => { console.debug(`${keyword} category is ... |
src/index.js | actuallyDan/line-reg | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './main.css';
ReactDOM.render(
<App />,
document.getElementById('root')
);
|
frontend/app/site/pages/Styles/Typography.js | briancappello/flask-react-spa | import React from 'react'
import { DocComponent } from 'components'
export default class Typography extends DocComponent {
title = 'Typography'
html = `\
<h1>Heading 1 (5rem)</h1>
<h2>Heading 2 (4.2rem)</h2>
<h3>Heading 3 (3.6rem)</h3>
<h4>Heading 4 (3rem)</h4>
<h5>Heading 5 (2.4rem)</h5>
<h6>Heading 6 (1.8rem)</... |
internals/templates/appContainer.js | kenaku/react-boilerplate | /**
*
* App.react.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If... |
src/Parser/DemonologyWarlock/Modules/Talents/DemonicCalling.js | mwwscott0/WoWAnalyzer | import React from 'react';
import Module from 'Parser/Core/Module';
import Combatants from 'Parser/Core/Modules/Combatants';
import SPELLS from 'common/SPELLS';
import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
const... |
ajax/libs/react/0.4.1/react.js | gswalden/cdnjs | /**
* React v0.4.1
*/
(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... |
blueprints/dumb/files/__root__/components/__name__/__name__.js | PetrosGit/poker-experiment | import React from 'react'
type Props = {
};
export class <%= pascalEntityName %> extends React.Component {
props: Props;
render () {
return (
<div></div>
)
}
}
export default <%= pascalEntityName %>
|
public/vendor/jquery/jquery.js | r48patel/rpatel.me | /*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*/
(function( global, factory ) {
if ( typeof module =... |
cheesecakes/plugins/users-permissions/admin/src/components/Plugin/index.js | strapi/strapi-examples | /**
*
* Plugin
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { Collapse } from 'reactstrap';
import { capitalize, get, isEmpty, map } from 'lodash';
import { FormattedMessage } from 'react-intl';
import Controller from 'components/Controller';
import styles from './styles.scss';
class P... |
ajax/libs/core-js/0.2.1/shim.js | tmorin/cdnjs | /**
* Core.js 0.2.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2014 Denis Pushkarev
*/
!function(returnThis, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
webpack.config.dev.js | AppStateESS/homestead | var webpack = require('webpack');
var path = require('path');
var Promise = require('es6-promise').polyfill();
var AssetsPlugin = require('assets-webpack-plugin');
var entryPointList = require(__dirname + '/entryPoints.js');
//var APP_DIR = path.resolve(__dirname, '');
var JS_DIR = path.resolve(__dirname, 'javascript'... |
app/components/modals/RegisterModal.js | communicode-source/communicode | import React, { PropTypes } from 'react';
import {Modal} from 'react-bootstrap';
import RegisterForm from '../layout/form/RegisterForm';
class RegisterModal extends React.Component {
constructor(props) {
super(props);
this.props = props;
}
close() {
this.props.toggleRegisterModal()... |
docs/src/pages/components/avatars/IconAvatars.js | allanalexandre/material-ui | import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import pink from '@material-ui/core/colors/pink';
import green from '@material-ui/core/colors/green';
import Avatar from '@material-ui/core/Avatar';
import FolderIcon from '@material-ui/icons/Folder';
import PageviewIcon from '@material-u... |
node_modules/material-ui/lib/svg-icons/device/signal-wifi-0-bar.js | DocWave/Doc-tor | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi... |
ajax/libs/analytics.js/2.3.22/analytics.min.js | tonytlwu/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
app_learn/src/containers/Tab1/flat01Demo.js | liuboshuo/react-native | /**
* Created by liushuo on 17/7/18.
*/
import React, { Component } from 'react';
import {
View,
Text,
Image,
StyleSheet,
Platform,
FlatList
} from 'react-native';
import NavigationBar from '../../component/navBarCommon'
import back from './../../source/images/icon_back.png'
import * as Consta... |
docs/app/Examples/elements/Button/GroupVariations/ButtonExampleGroupVertical.js | Rohanhacker/Semantic-UI-React | import React from 'react'
import { Button } from 'semantic-ui-react'
const ButtonExampleGroupVertical = () => (
<Button.Group attached='top' vertical>
<Button>Feed</Button>
<Button>Messages</Button>
<Button>Events</Button>
<Button>Photos</Button>
</Button.Group>
)
export default ButtonExampleGroup... |
ajax/libs/ember-data.js/1.0.0-beta.1/ember-data.js | warpech/cdnjs | // Version: v1.0.0-beta.1
// Last commit: cafab9d (2013-09-01 00:42:39 -0700)
(function() {
var define, requireModule;
(function() {
var registry = {}, seen = {};
define = function(name, deps, callback) {
registry[name] = { deps: deps, callback: callback };
};
requireModule = function(name) {
if (s... |
frontend/src/index.js | plusbeauxjours/nomadgram | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { ConnectedRouter } from "react-router-redux";
import store, { history } from "redux/configureStore";
import App from 'components/App';
import I18n from 'redux-i18n';
import { translations } from 'translations';
... |
client/components/admin/layout/aside.js | wuyang910217/meteor-react-redux-base | import React from 'react';
import {Link} from 'react-router';
export default (props) => (
<aside id="menu">
<div id="navigation">
<ul className="nav" id="side-menu">
{
_.values(props.context.configs).map((config, index) => (
<li key={index}>
<Link to={config.admi... |
files/core-js/1.1.4/core.js | Teino1978-Corp/Teino1978-Corp-jsdelivr | /**
* core-js 1.1.4
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
src/FormContext.js | glenjamin/react-bootstrap | import React from 'react';
import transformContext from 'react-context-toolbox/transformContext';
const FormContext = React.createContext({ controlId: undefined });
FormContext.Transform = transformContext(FormContext);
export default FormContext;
|
files/jquery/1.10.2/jquery.js | towerz/jsdelivr | /*!
* 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) {
// C... |
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/react-bootstrap/0.31.0/es/InputGroupButton.js | JamieMason/npm-cache-benchmark | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
packages/Input/story.js | ancestorcloud/trace-ui | import React from 'react'
import { storiesOf } from '@kadira/storybook'
import Input from './index'
storiesOf('Input', module).add('basic', () => (
<div>
<Input placeholder='hi' />
</div>
)).add('required', () => (
<div>
<Input required />
</div>
)).add('error', () => (
<div>
<Input error />
</... |
frontend/app/components/app-root.js | LINKIWI/linkr | /* global setTimeout */
import Favicon from 'react-favicon';
import React from 'react';
import Splash from './splash';
export default class AppRoot extends React.Component {
constructor() {
super();
this.state = {
splashVisible: true
};
}
componentDidMount() {
this.splash.destroy();
... |
src/components/Header.js | kakapo2016-projects/tooth-and-pail | import React from 'react'
export default React.createClass ({
render() {
return (
<div>
<header>
<h1>{this.props.header}</h1>
</header>
</div>
)
}
})
|
ajax/libs/react-instantsearch/6.4.0/Dom.js | cdnjs/cdnjs | /*! React InstantSearch 6.4.0 | © Algolia, inc. | https://github.com/algolia/react-instantsearch */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
... |
pages/api/expansion-panel-details.js | allanalexandre/material-ui | import 'docs/src/modules/components/bootstrap';
// --- Post bootstrap -----
import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './expansion-panel-details.md';
function Page() {
return <MarkdownDocs markdown={markdown} />;
}
export default Page;
|
templates/vendorjs/jquery-1.11.1.min.js | thesgc/chembiohub-theme | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
website/src/components/gameSummary/GameSummary.js | jwngr/notreda.me | import React from 'react';
import PropTypes from 'prop-types';
import FutureGameSummary from './FutureGameSummary';
import CompletedGameSummary from './CompletedGameSummary';
import teams from '../../resources/teams';
const GameSummary = ({game}) => {
const notreDame = teams.ND;
notreDame.abbreviation = 'ND';
... |
app/javascript/flavours/glitch/components/status_header.js | glitch-soc/mastodon | // Package imports.
import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
// Mastodon imports.
import Avatar from './avatar';
import AvatarOverlay from './avatar_overlay';
import AvatarComposite from './avatar_composite';
import DisplayName from '.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.