target stringlengths 5 300 | feat_repo_name stringlengths 6 76 | text stringlengths 26 1.05M |
|---|---|---|
src/components/Collapsible.js | fernandojsg/aframe-inspector | import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
export default class Collapsible extends React.Component {
static propTypes = {
collapsed: PropTypes.bool,
children: PropTypes.oneOfType([
PropTypes.array,
PropTypes.element
]).isRequired
};
... |
src/components/Input/demo/wanshi1/ApiServer.js | lebra/lebra-components | import React, { Component } from 'react';
import { ajax } from 'api/ajax';
const serveUrl = {
getIcon:'/hgSet/getHonourIcons',
addIcon:'/hgSet/createHonourIcon'
}
const localUrl = {
getIcon:'/api/customedhonor/getIcon.json',
addIcon:'/api/customedhonor/addIcon.json'
}
//获取icon列表
export function GetIcon(par... |
packages/material-ui-icons/src/VerticalAlignTopOutlined.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" />
, 'VerticalAlignTopOutlined');
|
examples/05 Customize/Handles and Previews/Container.js | jowcy/react-dnd | import React, { Component } from 'react';
import { DragDropContext } from 'react-dnd';
import HTML5Backend from 'react-dnd/modules/backends/HTML5';
import BoxWithImage from './BoxWithImage';
import BoxWithHandle from './BoxWithHandle';
@DragDropContext(HTML5Backend)
export default class Container extends Component {
... |
src/app/component/loading-indicator/loading-indicator.js | all3dp/printing-engine-client | import React from 'react'
import PropTypes from 'prop-types'
import propTypes from '../../prop-types'
import cn from '../../lib/class-names'
const LoadingIndicator = ({classNames, invert = false}) => (
<span className={cn('LoadingIndicator', {invert}, classNames)}>
<span className="LoadingIndicator__spinner" />... |
__tests__/index.ios.js | amcsi/teamap | 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 />
);
});
|
examples/react-todomvc/containers/App.js | lahmatiy/component-inspector | import React, { Component } from 'react';
import TodoApp from './TodoApp';
import { createStore, combineReducers, compose } from 'redux';
import { Provider } from 'react-redux';
import * as reducers from '../reducers';
const reducer = combineReducers(reducers);
const store = createStore(reducer);
export default class... |
app/javascript/mastodon/features/status/components/detailed_status.js | koba-lab/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import Avatar from '../../../components/avatar';
import DisplayName from '../../../components/display_name';
import StatusContent from '../../../components/status_content';
import MediaGallery from... |
site/src/pages/vue/Tools.js | appbaseio/reactivesearch | import React from 'react';
import config from './../../constants/config/tools/vue';
import Tools from './../../components/Tools';
import theme from './../../constants/theme/vue';
export default () => <Tools config={config} theme={theme} />;
|
frontend/containers/NotFound.js | relekang/accio | import React from 'react';
export default () => (
<h4>Four o four, you might say</h4>
);
|
test/helpers/shallowRenderHelper.js | citcen/eudora | /**
* Function to get the shallow output for a given component
* As we are using phantom.js, we also need to include the fn.proto.bind shim!
*
* @see http://simonsmith.io/unit-testing-react-components-without-a-dom/
* @author somonsmith
*/
import React from 'react';
import TestUtils from 'react-addons-test-utils'... |
ajax/libs/webshim/1.15.4/dev/shims/moxie/js/moxie-html4.js | KOLANICH/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 ... |
.babelrc.js | react-charts/react-charts | const { NODE_ENV, BABEL_ENV } = process.env
const cjs = NODE_ENV === 'test' || BABEL_ENV === 'commonjs'
const loose = true
module.exports = {
presets: [
[
'@babel/env',
{
loose,
modules: false,
exclude: ['@babel/plugin-transform-regenerator'],
},
],
'@babel/prese... |
dawnherald.js | Adumbro/dawnherald | const Discord = require("discord.js");
const bot = new Discord.Client();
const config = require("./config.json");
const dict = require("./dictionary.json");
const Twitter = require("twitter");
const fs = require('fs');
const dateFormat = require("dateformat");
const request = require('request').defaults({ encoding: nul... |
ajax/libs/forerunnerdb/1.4.36/fdb-core+views+persist.min.js | extend1994/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... |
src/svg-icons/places/casino.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesCasino = (props) => (
<SvgIcon {...props}>
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18z... |
ajax/libs/react-dom/0.14.4/react-dom.min.js | tholu/cdnjs | /**
* ReactDOM v0.14.4
*
* 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.... |
src/hermes/Hermes.js | Synchro-TEC/apollo | import React from 'react';
import PropTypes from 'prop-types';
import Update from 'react-addons-update';
import HermesAPI from './HermesApi';
import HermesMessageItem from './HermesMessageItem';
import HermesStyles from './HermesStyles';
import HermesConstantes from './HermesConstants';
import nanoid from 'nanoid';
im... |
lib/components/Logo.js | madison-kerndt/avant-garde-synesthesia | import React from 'react';
export default () => {
return(
<div className='logo'>
<span className='s-logo logo-a'>S</span>
<span className='s-logo logo-b'>S</span>
<span className='s-logo logo-c'>S</span>
<span className='s-logo logo-d'>S</span>
</div>
)
}
|
src/scripts/entry.js | Fourwinged/react-quizz |
/* Entry
**
** The entry point used by webpack to bundle the app.
** Configures and mounts the React app
*/
import React from 'react';
import {Router} from 'react-router';
import {Provider} from 'react-redux';
import reducer from './shared/Reducers';
import createLogger from 'redux-logger';
import thunkMiddleware fro... |
src/components/navigation-item/index.js | Lokiedu/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2017 Loki Education (Social Enterprise)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, o... |
src/components/Pricing.js | ArturJS/ArturJS.github.io | import React from 'react'
import PropTypes from 'prop-types'
const Pricing = ({ data }) => (
<div className="columns">
{data.map(price => (
<div key={price.plan} className="column">
<section className="section">
<h4 className="has-text-centered has-text-weight-semibold">
{pric... |
ajax/libs/yui/3.9.1/event-focus/event-focus.js | magoni/cdnjs | YUI.add('event-focus', function (Y, NAME) {
/**
* Adds bubbling and delegation support to DOM events focus and blur.
*
* @module event
* @submodule event-focus
*/
var Event = Y.Event,
YLang = Y.Lang,
isString = YLang.isString,
arrayIndex = Y.Array.indexOf,
useActivate = (function() {
... |
src/App/components/Game.react.js | Rezmodeus/Multiplikation | import React from 'react';
import immutable from 'immutable';
import LevelNormal from './LevelNormal.react.js';
export default React.createClass({
checkAnswer(answer, btnNr){
if (typeof answer === 'number') {
this.props.checkAnswer(this.props.level.getIn(['problems', this.props.level.get('currentStep')]), answer... |
test/mocks/withMockRouter.js | OpenCollective/frontend | import React from 'react';
import PropTypes from 'prop-types';
import Router from 'next/router';
export const mockedRouter = {
push: () => {},
replace: () => {},
prefetch: () => {},
route: '/mock-route',
pathname: 'mock-path',
};
Router.router = mockedRouter;
export const withMockRouterContext = mockRouter... |
node_modules/react-icons/io/ios-cloudy-night-outline.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const IoIosCloudyNightOutline = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m14.8 17.5c-2.7 0-5 2.2-5 4.8v1l0.1 0.8c-0.4 0-0.9 0-1.1 0-1.5 0.3-2.5 1.4-2.5 2.9 0 0.8 0.2 1.5 0.7 2.1s1.3 0.8 2.1 0.8h12.2c2.1 0 3.9-1.7 3.9-3.8s-1.8... |
src/extensions/default/JavaScriptQuickEdit/unittest-files/jquery-ui/tests/jquery-1.7.1.js | iamchathu/brackets | /*!
* 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.
... |
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/material-ui/svg-icons/maps/local-florist.js | bhathiya/test | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
src/renderers/dom/client/syntheticEvents/SyntheticEvent.js | inuscript/react | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... |
L/my-app/src/components/bangumi/BangumiCard.js | imuntil/React | import React from 'react'
import PropTypes from 'prop-types'
import cssModules from 'react-css-modules'
import styles from './BangumiCard.module.scss'
function BangumiCard({
link = 'https://imuntil.com',
title = '青春猪头少年不会梦到兔女郎学姐ssss古利特曼',
wa = 5,
follow = false
}) {
return (
<div styleName="season-group"... |
test/integration/serverless/pages/fetch.js | azukaru/next.js | import fetch from 'isomorphic-unfetch'
import React from 'react'
export default class extends React.Component {
static async getInitialProps() {
try {
const res = await fetch('')
const text = await res.text()
console.log(text)
return { text }
} catch (err) {
if (err.message.incl... |
node_modules/react-router/es6/RoutingContext.js | FrancoCotter/ReactTimerAPP | import React from 'react';
import RouterContext from './RouterContext';
import warning from './routerWarning';
var RoutingContext = React.createClass({
displayName: 'RoutingContext',
componentWillMount: function componentWillMount() {
process.env.NODE_ENV !== 'production' ? warning(false, '`RoutingContext` has... |
packages/material-ui-icons/src/MobileOffTwoTone.js | allanalexandre/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="M17 5v8.61l2 2V3c0-1.1-.9-2-2-2H7c-.71 0-1.33.37-1.68.93L8.39 5H17zM1.49 3.76L5 7.27V21c0 1.1.9 2 2 2h10c1.02 0 1.85-.77 1.98-1.75l1.72 1.72 ... |
node_modules/react-icons/md/casino.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdCasino = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m27.5 15c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5z m0 15c1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5z m-7.5-7.... |
src/Marker.js | yeyus/react-vertical-timeline | import React from 'react';
import PropTypes from 'prop-types';
export default class Marker extends React.Component {
render() {
const style = {
top: `${this.context.height * (this.props.progress / 100)}px`
};
return (
<div className="timeline-marker" style={style}>
<div className="te... |
pkg/playground/react-patterns.js | SotolitoLabs/cockpit | /*
* This file is part of Cockpit.
*
* Copyright (C) 2016 Red Hat, Inc.
*
* Cockpit is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any l... |
docs/src/app/components/pages/components/Avatar/ExampleSimple.js | mtsandeep/material-ui | import React from 'react';
import Avatar from 'material-ui/Avatar';
import FileFolder from 'material-ui/svg-icons/file/folder';
import FontIcon from 'material-ui/FontIcon';
import List from 'material-ui/List/List';
import ListItem from 'material-ui/List/ListItem';
import {
blue300,
indigo900,
orange200,
deepOr... |
6.0.0-alpha.6/examples/submitValidation/dist/bundle.js | erikras/redux-form-docs | !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(225),e.exports=n(223)},function(e,t,n){var r=n(6),o=n(34),i=n(17),a=n(18),u=n(35),s="prototype",... |
new-lamassu-admin/src/components/single-row-table/SingleRowTable.js | naconner/lamassu-server | import { makeStyles } from '@material-ui/core'
import classnames from 'classnames'
import React from 'react'
import { IconButton } from 'src/components/buttons'
import {
Table,
THead,
TBody,
Td,
Th,
Tr
} from 'src/components/fake-table/Table'
import { ReactComponent as EditIcon } from 'src/styling/icons/ac... |
src/components/Checkbox.js | averted/elemental | var blacklist = require('blacklist');
var classNames = require('classnames');
var React = require('react/addons');
var Checkbox = React.createClass({
propTypes: {
className: React.PropTypes.string,
disabled: React.PropTypes.bool,
focusOnMount: React.PropTypes.bool,
indeterminate: React.PropTypes.bool,
inlin... |
src/TaskList.js | ml7757/To-Do-React | import React from 'react';
import jQuery from 'jquery';
import Task from './Task';
import TaskForm from './TaskForm';
class TaskList extends React.Component{
constructor(){
super();
this.state = {
tasks: [], //render this with JSON from api
messages: []
};
}
renderTasks... |
src/index.js | astrauka/expensable-r5 | import React from 'react';
import { App } from './App';
React.render(<App />, document.getElementById('root'));
|
cordova/myreact/node_modules/react/lib/PooledClass.js | yjiang28/Hackers | /**
* 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 st... |
entry_types/scrolled/package/spec/frontend/features/useDarkBackground-spec.js | codevise/pageflow | import {frontend, useDarkBackground} from 'frontend';
import React from 'react';
import {renderEntry, usePageObjects} from 'support/pageObjects';
import '@testing-library/jest-dom/extend-expect'
describe('useDarkBackground', () => {
usePageObjects();
beforeEach(() => {
frontend.contentElementTypes.register(... |
config/webpack.dev.config.js | jakereps/qiime-studio-frontend | // ----------------------------------------------------------------------------
// Copyright (c) 2016-2018, QIIME 2 development team.
//
// Distributed under the terms of the Modified BSD License.
//
// The full license is in the file LICENSE, distributed with this software.
// -----------------------------------------... |
src/components/tomcat/line-wordmark/TomcatLineWordmark.js | fpoumian/react-devicon | import React from 'react'
import PropTypes from 'prop-types'
import SVGDeviconInline from '../../_base/SVGDeviconInline'
import iconSVG from './TomcatLineWordmark.svg'
/** TomcatLineWordmark */
function TomcatLineWordmark({ width, height, className }) {
return (
<SVGDeviconInline
className={'TomcatLineWor... |
ajax/libs/rxjs/2.3.16/rx.compat.js | sitic/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... |
examples/todomvc/index.js | malte-wessel/redux | import React from 'react';
import App from './containers/App';
import 'todomvc-app-css/index.css';
React.render(
<App />,
document.getElementById('root')
);
|
ajax/libs/ember-data.js/1.0.0-beta.14/ember-data.js | danut007ro/cdnjs | (function() {
"use strict";
/**
@module ember-data
*/
var ember$data$lib$system$adapter$$get = Ember.get;
var ember$data$lib$system$adapter$$errorProps = [
'description',
'fileName',
'lineNumber',
'message',
'name',
'number',
'stack'
];
/**
... |
src/components/Hello/Hello.js | stevefabian/React-Movies | import React, { Component } from 'react';
import logo from './movie-reel.png';
import './Hello.css';
class Hello extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
... |
ajax/libs/js-data/2.7.0/js-data-debug.js | pvnr0082t/cdnjs | /*!
* js-data
* @version 2.7.0 - 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 webpackUniversalModul... |
jenkins-design-language/src/js/components/material-ui/svg-icons/action/query-builder.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionQueryBuilder = (props) => (
<SvgIcon {...props}>
<path d="M11.99 2C6.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 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.... |
examples/ReactSimple/components/Label.js | mbasso/refraction | /* eslint-disable import/no-unresolved */
import React from 'react';
/* eslint-enable import/no-unresolved */
export default class Label extends React.Component {
static propTypes = {
text: React.PropTypes.string.isRequired,
}
static defaultProps = {
text: '',
style: {
display: 'inline-block'... |
src/index.js | Climb-social/react-climb-wall | import React from 'react';
import ReactDOM from 'react-dom';
import viewFinder from './utils/viewFinder';
import isBrowser from './utils/isBrowser';
import ClimbView from './views/ClimbView/ClimbView';
export { ClimbView as ClimbView };
export { default as ListView } from './views/ListView/ListView';
export { default... |
app/screens/walkthroughs/walkthrough1.js | it-surya/hack-jeninvest | import React from 'react';
import {
Image,
View
} from 'react-native';
import {
RkText,
RkStyleSheet,
RkTheme
} from 'react-native-ui-kitten';
export class Walkthrough1 extends React.Component {
constructor(props) {
super(props);
}
render() {
let image = RkTheme.current.name === 'light'
... |
app/views/settings/index.js | 7kfpun/FinanceReactNative | import React from 'react';
import PropTypes from 'prop-types';
import {
ListView,
Platform,
StyleSheet,
Text,
TouchableHighlight,
View,
} from 'react-native';
// 3rd party libraries
import { Actions } from 'react-native-router-flux';
import NavigationBar from 'react-native-navbar';
import Icon from 'react-... |
server/sonar-web/src/main/js/apps/system/section.js | lbndev/sonarqube | /*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... |
ajax/libs/react-instantsearch/3.1.0/Dom.js | tholu/cdnjs | /*! ReactInstantSearch 3.1.0 | © Algolia, inc. | https://community.algolia.com/instantsearch.js/react/ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define ... |
webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js | cfouant/katello | import React from 'react';
import PropTypes from 'prop-types';
import { Table } from 'react-bootstrap';
import { translate as __ } from 'foremanReact/common/I18n';
import helpers from '../../../move_to_foreman/common/helpers.js';
const SubscriptionDetailAssociations = ({ subscriptionDetails }) => {
const searchQuery... |
packages/components/src/Actions/ActionButton/Button.stories.js | Talend/ui | import React from 'react';
import { action } from '@storybook/addon-actions';
import withPropsCombinations from 'react-storybook-addon-props-combinations';
import ActionButton from './ActionButton.component';
import theme from './Button.stories.scss';
const myAction = {
label: 'Click me',
icon: 'talend-dataprep',
... |
src/index.js | monterosalondon/react-native-parallax-scroll | /* eslint-disable import/no-extraneous-dependencies */
import React, { Component } from 'react';
import { View, Animated, Dimensions, ListViewDataSource } from 'react-native';
import PropTypes from 'prop-types';
/* eslint-enable import/no-extraneous-dependencies */
const window = Dimensions.get('window');
const KEY =... |
packages/material-ui-icons/src/ReorderOutlined.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z" />
, 'ReorderOutlined');
|
packages/material-ui-icons/lib/esm/BluetoothOutlined.js | mbrookes/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M17.71 7.71 12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.... |
ajax/libs/jqwidgets/10.1.2/jqwidgets-react-tsx/jqxpivotgrid/react_jqxpivotgrid.umd.js | cdnjs/cdnjs | require('../../jqwidgets/jqxcore');
require('../../jqwidgets/jqxdata');
require('../../jqwidgets/jqxbuttons');
require('../../jqwidgets/jqxscrollbar');
require('../../jqwidgets/jqxmenu');
require('../../jqwidgets/jqxwindow');
require('../../jqwidgets/jqxdragdrop');
require('../../jqwidgets/jqxcheckbox');
require('../..... |
src/parser/paladin/protection/modules/features/Checklist/Module.js | FaideWW/WoWAnalyzer | import React from 'react';
import BaseChecklist from 'parser/shared/modules/features/Checklist2/Module';
import CastEfficiency from 'parser/shared/modules/CastEfficiency';
import Abilities from 'parser/core/modules/Abilities';
import Combatants from 'parser/shared/modules/Combatants';
import PreparationRuleAnalyzer fr... |
src/components/AppRoutes.js | MMTDigital/kentico-cloud-universal-react | import { Router, browserHistory } from 'react-router';
import AsyncProps from 'async-props';
import React, { Component } from 'react';
import { render } from 'react-dom';
import routes from '../routes';
import App from './App';
class AppRoutes extends Component {
render() {
return (
<Router routes={routes}... |
packages/material-ui-icons/src/TabRounded.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h9v3c0 .55.45 1 1 1h7v9c0 .55-.45 1-1 1z" />
, 'TabRounded');
|
src/server/routes/search.js | bookbrainz/bookbrainz-site | /*
* Copyright (C) 2016 Ben Ockmore
* 2016 Sean Burke
*
* 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 ve... |
src/in-page-ui/tooltip/content_script/components/AnimationWrapper.js | WorldBrain/WebMemex | import React from 'react'
import PropTypes from 'prop-types'
import styles from './tooltip.css'
/*
TODO:
- Animate icons leaving out.
- Streamline animation flow using enter and exit animations
*/
class AnimationWrapper extends React.Component {
static propTypes = {
children: PropTypes.node.isRequired,
... |
server/sonar-web/src/main/js/components/select-list/controls.js | Builders-SonarSource/sonarqube-bis | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License... |
demo/components/popup/PopupOptions.js | ctco/rosemary-ui | import React from 'react';
import {Popup} from '../../../src';
import OptionsTable from '../../helper/OptionsTable';
export default () => {
let propDescription = {
attachment: {
values: `Mandatory, One Of:
top left,
top center,
top rig... |
src/Row.js | mmarcant/react-bootstrap | import classNames from 'classnames';
import React from 'react';
import elementType from 'react-prop-types/lib/elementType';
import { bsClass, getClassSet, splitBsProps } from './utils/bootstrapUtils';
const propTypes = {
componentClass: elementType,
};
const defaultProps = {
componentClass: 'div',
};
class Row ... |
app/components/atoms/Button/Button.js | altiore/webpack_config_example | import React from 'react'
import PropTypes from 'prop-types'
import CSSModules from 'react-css-modules'
import s from './styles.scss2'
const Button = ({ children, className, styles, ...rest }) => (
<button className={[styles.button, className].join(' ')} {...rest}>
{children}
</button>
)
Button.defaultProps ... |
ajax/libs/react-native-web/0.13.10/exports/ScrollView/index.min.js | cdnjs/cdnjs | function ownKeys(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,r)}return t}function _objectSpread(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?argumen... |
ajax/libs/hola-video.js/5.10.2-22/alt/video.novtt.js | cdnjs/cdnjs | /**
* @license
* Video.js 5.10.2-22 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f... |
ajax/libs/yui/3.17.0/event-focus/event-focus-min.js | thykka/cdnjs | /*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,fu... |
app/containers/SendPage.js | soosgit/vessel | // @flow
import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { Redirect } from 'react-router';
import { connect } from 'react-redux';
import { Header, Segment } from 'semantic-ui-react';
import * as AccountActions from '../actions/account';
import * as KeysActions from '../acti... |
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.min.js | pixeldrift64/ChipBit | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===... |
src/components/Header/Header.js | aneudy1702/coin-flip | /**
* 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 withStyles from 'isomorp... |
services/ui/src/components/Header/index.js | amazeeio/lagoon | import React from 'react';
import Link from 'next/link';
import getConfig from 'next/config';
import { AuthContext } from 'lib/Authenticator';
import { color } from 'lib/variables';
import lagoonLogo from '!svg-inline-loader?classPrefix!./lagoon.svg';
const { publicRuntimeConfig } = getConfig();
/**
* Displays the h... |
ajax/libs/clappr/0.0.20/clappr.js | honestree/cdnjs | require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);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]... |
lib/jquery/jquery.js | behrad/behrad.github.io | /*!
* 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 =... |
app/components/BarcodeSearch.js | nosplashurinal/order-management | import React from 'react';
import styles from '../styles/notifications.scss';
import IncomingResults from './IncomingResults';
const BarcodeSearch = () =>
<section className={styles.barcode_search}>
<div className={styles.search_field}>
<div className={styles.search_filter}>
... |
actor-apps/app-web/src/app/components/Deactivated.react.js | dsaved/africhat-platform-0.1 | import React from 'react';
class Deactivated extends React.Component {
render() {
return (
<div className="deactivated row center-xs middle-xs">
<div className="deactivated__window">
<h2>Tab deactivated</h2>
<p>
Oops, you have opened another tab with Actor, so we had... |
src/parser/mage/arcane/modules/features/ArcaneMissiles.js | fyruna/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import AbilityTracker from 'parser/shared/modules/AbilityTracker';
import { formatPercentage } from 'common/format';
import Analyzer from 'parser/core/Analyzer';
const debug = false;
class ArcaneMissiles extends A... |
src/containers/Asians/_components/ViewLockedRound/Ballots/LargeBallots/Instance/BallotInstance/index.js | westoncolemanl/tabbr-web | import React from 'react'
import {
ExpansionPanelDetails
} from 'material-ui/ExpansionPanel'
import Divider from 'material-ui/Divider'
import TeamDisplay from './TeamDisplay'
import MotionDisplay from './MotionDisplay'
export default ({
room,
ballot
}) => {
if (!ballot) {
return <div />
}
return (
... |
src/svg-icons/notification/wc.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationWc = (props) => (
<SvgIcon {...props}>
<path d="M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.54-7.63C18.18 7.55 17.42 7 16.56 7h-.12c-.86 0-1.63.55-1.9 1.37L12 16h3v6... |
src/main/lib/jquery-1.10.2/jquery.js | nbuytaert1/apex-live-validation | /*! 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... |
client/reactComponents/Turret.js | ourvrisrealerthanyours/tanks | import React from 'react';
import Barrel from './Barrel';
class Turret extends React.Component {
constructor(props) {
super(props);
this.position = props.position || '0 0 0';
this.rotation = props.rotation || '0 0 0';
this.barrelLength = props.barrelLength || 5;
this.activeControl = props.active... |
app/javascript/mastodon/components/relative_timestamp.js | pixiv/mastodon | import React from 'react';
import { injectIntl, defineMessages } from 'react-intl';
import PropTypes from 'prop-types';
const messages = defineMessages({
just_now: { id: 'relative_time.just_now', defaultMessage: 'now' },
seconds: { id: 'relative_time.seconds', defaultMessage: '{number}s' },
minutes: { id: 'relat... |
docs/src/pages/premium-themes/instapaper/components/atoms/Chip.js | allanalexandre/material-ui | import React from 'react';
import clsx from 'clsx';
import MuiChip from '@material-ui/core/Chip';
import { CHIP } from '../../theme/core';
const Chip = ({ className, inverted, ...props }) => (
<MuiChip
className={clsx(CHIP.root, className, inverted && CHIP.inverted)}
classes={{
label: CHIP.label,
}... |
ajax/libs/6to5/2.4.6/browser-polyfill.js | luanlmd/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-native-web/0.13.0/exports/ActivityIndicator/index.min.js | cdnjs/cdnjs | function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var i,a,r={},n=Object.keys(e);for(a... |
tools/build.js | alexpalombaro/react-static | /**
* React Static Boilerplate
* https://github.com/koistya/react-static-boilerplate
* Copyright (c) Konstantin Tarkus (@koistya) | MIT license
*/
import task from './lib/task';
import clean from './clean';
import copy from './copy';
import bundle from './bundle';
import render from './render';
export default tas... |
src/svg-icons/av/hearing.js | ArcanisCz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvHearing = (props) => (
<SvgIcon {...props}>
<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 5-5s5 2.2 ... |
test/fixtures/webpack-message-formatting/src/AppCss.js | GreenGremlin/create-react-app | import React, { Component } from 'react';
import './AppCss.css';
class App extends Component {
render() {
return <div className="App" />;
}
}
export default App;
|
app/containers/LanguageProvider/index.js | keithalpichi/NobleNote | /*
*
* LanguageProvider
*
* this component connects the redux state language locale to the
* IntlProvider component and i18n messages (loaded from `app/translations`)
*/
import React from 'react';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { IntlProvider } from 'reac... |
ajax/libs/jquery/1.8.3/jquery.min.js | mikelambert/cdnjs | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===... |
src/screens/Ranking/Ranking.js | alphasp/pxview | import React, { Component } from 'react';
import RankingList from './RankingList';
import PastRanking from './PastRanking';
import PXTabView from '../../components/PXTabView';
import TabContentWrapper from '../../components/TabContentWrapper';
import { connectLocalization } from '../../components/Localization';
import ... |
node_modules/react-json-tree/lib/JSONArrayNode.js | TarikHuber/react-redux-material-starter-kit | 'use strict';
exports.__esModule = true;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.