path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/react-native-web/0.17.6/cjs/exports/Text/index.js | cdnjs/cdnjs | "use strict";
exports.__esModule = true;
exports.default = void 0;
var React = _interopRequireWildcard(require("react"));
var _createElement = _interopRequireDefault(require("../createElement"));
var _css = _interopRequireDefault(require("../StyleSheet/css"));
var forwardedProps = _interopRequireWildcard(require("... |
node_modules/react-icons/md/landscape.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdLandscape = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m23.4 10l15 20h-36.8l10-13.4 7.5 10 2.7-1.9-4.7-6.3z"/></g>
</Icon>
)
export default MdLandscape
|
lib/lib/jquery.min.js | nise/vi-two | /*!
* jQuery JavaScript Library v1.4.4
* 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.
... |
docs/src/components/Demo/index.js | jpuri/react-draft-wysiwyg | /* @flow */
import React, { Component } from 'react';
import draftToHtml from 'draftjs-to-html';
import { convertToRaw } from 'draft-js';
import draftToMarkdown from 'draftjs-to-markdown';
import { Editor } from 'react-draft-wysiwyg';
import EditorConvertToHTML from './EditorConvertToHTML';
import EditorConvertToJSON ... |
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... |
docs/src/pages/components/lists/VirtualizedList.js | kybarg/material-ui | import React from 'react';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
import { FixedSizeList } from 'react-window';
const useStyles = makeStyles(theme => ({
ro... |
src/app/components/team/InviteDialog.js | meedan/check-web | import React from 'react';
import PropTypes from 'prop-types';
import Relay from 'react-relay/classic';
import { commitMutation, graphql } from 'react-relay/compat';
import { FormattedMessage } from 'react-intl';
import * as EmailValidator from 'email-validator';
import Button from '@material-ui/core/Button';
import Di... |
src/PaginationButton.js | blue68/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
import createSelectedEvent from './utils/createSelectedEvent';
import CustomPropTypes from './utils/CustomPropTypes';
const PaginationButton = React.createClass({
mixins: [BootstrapMixin],
propTypes: {
... |
ajax/libs/ember-data.js/0.8.0-latest20121123/ember-data-latest.js | Seputaes/cdnjs | (function() {
window.DS = Ember.Namespace.create({
CURRENT_API_REVISION: 8
});
})();
(function() {
var get = Ember.get, set = Ember.set;
/**
A record array is an array that contains records of a certain type. The record
array materializes records as needed when they are retrieved for the first
time. You sh... |
app/javascript/mastodon/features/ui/components/drawer_loading.js | tri-star/mastodon | import React from 'react';
const DrawerLoading = () => (
<div className='drawer'>
<div className='drawer__pager'>
<div className='drawer__inner' />
</div>
</div>
);
export default DrawerLoading;
|
imports/components/TabUsers.js | tampham47/nau-jukebox | /* © 2017
* @author Tu Nguyen
*/
/* eslint-disable no-alert */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { withTracker } from 'meteor/react-meteor-data';
import { Container } from 'flux/utils';
import ReactGA from 'react-ga';
import { Users } from '../collections';
import... |
frontend/src/Organize/OrganizePreviewModalContent.js | Radarr/Radarr | import PropTypes from 'prop-types';
import React, { Component } from 'react';
import Alert from 'Components/Alert';
import CheckInput from 'Components/Form/CheckInput';
import Button from 'Components/Link/Button';
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import ModalBody from 'Components/Moda... |
src/containers/Home/Home.js | Warm-men/Investment-by-react |
import React from 'react';
import Pro from '../../components/Production/Pro';
import Banner from '../../components/Banner/Banner';
import Headlines from '../../components/Headlines/Headlines';
import OtherCommand from '../../components/OtherCommand/OtherCommand';
class Home extends React.Component {
render() {
... |
sites/all/modules/contrib/devel/jquery-1.4.4-uncompressed.js | bclementcsp/klb | /*!
* jQuery JavaScript Library v1.4.4
* 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.
... |
examples/huge-apps/routes/Course/routes/Announcements/routes/Announcement/components/Announcement.js | moudy/react-router | import React from 'react';
class Announcement extends React.Component {
render () {
var { courseId, announcementId } = this.props.params;
var { title, body } = COURSES[courseId].announcements[announcementId];
return (
<div>
<h4>{title}</h4>
<p>{body}</p>
</div>
);
}
}
... |
public/components/MyServer.js | supportivesantas/project-ipsum | import React from 'react';
import actions from '../actions/ipsumActions.js';
import { connect } from 'react-redux';
import { renderChart } from '../D3graphTemplate';
import { Panel, Grid, Row, Col, Clearfix, PageHeader, ListGroup, ListGroupItem } from 'react-bootstrap';
import request from '../util/restHelpers.js';
imp... |
packages/material-ui-icons/src/ConfirmationNumber.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2zm-9 7.5h-2v-2h2v2zm0-4.5h-2v-2h2v2zm0-4.5h-2v-2h2v2z"... |
components/ValueIcons/ValueIconHandshake.js | rdjpalmer/bloom | import PropTypes from 'prop-types';
import React from 'react';
import cx from 'classnames';
import defaultcss from './ValueIcon.css';
import css from './ValueIconHandshake.css';
const ValueIconHandshake = (props) => {
const {
className,
...rest,
} = props;
return (
<span className={ cx(defaultcss.r... |
packages/material-ui-icons/lib/NoMeetingRoomTwoTone.js | mbrookes/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")... |
packages/material-ui-icons/src/SettingsInputAntennaTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 ... |
src/static/components/MapView/index.js | samrose3/eventhunt | import React, { Component } from 'react';
import { connect } from 'react-redux';
import GoogleMap from 'google-map-react';
import MapResult from './MapResult';
import API_KEY from './constants';
class MapView extends Component {
static propTypes = {
events: React.PropTypes.array,
center: React.P... |
src/components/views/TorpedoLoading/torpedo.js | Thorium-Sim/thorium | import React from "react";
const Torpedo = ({state, type}) => {
const style = {
opacity: state !== "loaded" ? 0 : 1,
top: state === "loaded" || state === "fired" ? "86%" : "2px",
left: state === "fired" ? "70px" : "3px",
transition: `opacity 1s ease-in ${
state === "loaded" ? "" : "2s"
}, t... |
test/test_helper.js | jasancheg/ReduxSimpleStarter | import _$ from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
import TestUtils from 'react-addons-test-utils';
import jsdom from 'jsdom';
import chai, { expect } from 'chai';
import chaiJquery from 'chai-jquery';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import... |
ajax/libs/yasgui/1.1.10/yasgui.bundled.min.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 t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
app/components/Tooltip/index.js | openactive/open-sessions | import React, { PropTypes } from 'react';
import styles from './styles.css';
export default class Tooltip extends React.Component { // eslint-disable-line react/prefer-stateless-function
static propTypes = {
tip: PropTypes.string.isRequired,
isOpened: PropTypes.bool,
style: PropTypes.string
}
render... |
app/jsx/new_user_tutorial/trays/AnnouncementsTray.js | venturehive/canvas-lms | /*
* Copyright (C) 2017 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas 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, version 3 of the License.
*
* Canvas is distribut... |
src/components/trinomial/learn_patterns.js | cynthiacd/capstone-factoring-app | import React from 'react';
const LearnPatterns = () => {
return (
<div className="row instruction-info-patterns">
<div className="col-lg-3">
<div className="pattern-card">
<h4>Plus Plus</h4>
<h5>General Form: x<sup>2</sup> + bx + c</h5>
<h5>Factored Form: = (x+e)(x+f... |
docs/app/Examples/elements/Label/Types/LabelExampleRibbonImage.js | clemensw/stardust | import React from 'react'
import { Grid, Image } from 'semantic-ui-react'
const LabelExampleRibbonImage = () => (
<Grid columns={2}>
<Grid.Column>
<Image
fluid
label={{ as: 'a', color: 'black', content: 'Hotel', icon: 'hotel', ribbon: true }}
src='http://semantic-ui.com/images/wiref... |
ajax/libs/vkui/4.25.1/components/FormField/FormField.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/extends";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["Component", "children", "getRootRef", "after", "disabled"];
import { createScopedElement } fr... |
src/ParentClass.js | smashercosmo/react-hot-loader-inheritance-issue | import React from 'react';
const ParentClass = React.createClass({
render() {
return <div>Hello</div>
}
});
export default ParentClass; |
app/components/Promo/index.js | kondoSoft/react-car-rental | /**
*
* Promo
*
*/
import React from 'react';
import {Container, Grid, Header, Button, Icon } from 'semantic-ui-react'
import { browserHistory } from 'react-router'
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'
function Promo() {
return (
<Container text className='containerBottom' te... |
ajax/libs/styled-components/3.4.0/styled-components-primitivesm.cjs.min.js | sufuf3/cdnjs | "use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var hyphenate=_interopDefault(require("fbjs/lib/hyphenateStyleName")),supportsColor=_interopDefault(require("supports-color")),transformDeclPairs=_interopDefault(requir... |
chapter9-multi-instance/src/main/webapp/js/common/jquery.js | Barudisshu/activiti-in-action-codes | /*! 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.frameBord... |
ajax/libs/redux-form/0.2.1/redux-form.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["ReduxForm"] = facto... |
packages/material-ui-icons/src/RoomSharp.js | callemall/material-ui | import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
, 'RoomSharp');
|
ajax/libs/analytics.js/2.8.14/analytics.min.js | yukinying/cdnjs | (function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[... |
src/svg-icons/places/kitchen.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesKitchen = (props) => (
<SvgIcon {...props}>
<path d="M18 2.01L6 2c-1.1 0-2 .89-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.11-.9-1.99-2-1.99zM18 20H6v-9.02h12V20zm0-11H6V4h12v5zM8 5h2v3H8zm0 7h2v5H8z"/>
... |
src/components/CardTitleSmall.js | carlyleec/cc-react | import React from 'react'; // eslint-disable-line
import styled from 'styled-components';
const CardTitleSmall = styled.h1`
font-size: .75em;
font-weight: 700;
line-height: 1.1;
color: inherit;
width: 100%;
height: 100%;
margin: 10px;
@media (min-width: 480px) {
font-size: .75em;
margin: 10px;
... |
tools/deploy.js | ihnat/work-hard | /**
* React Starter Kit (http://www.reactstarterkit.com/)
*
* Copyright © 2014-2015 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 GitRepo from 'git-repository';
import task from './l... |
test/mochaTestHelper.js | skyuplam/debt_mgmt | import Bluebird from 'bluebird';
import chai, {assert, expect} from 'chai';
import React from 'react';
import sinon from 'sinon';
import sinonAsPromised from 'sinon-as-promised';
import sinonChai from 'sinon-chai';
import TestUtils from 'react-addons-test-utils';
chai.should();
chai.use(sinonChai);
// Use Bluebird Pr... |
os-class/src/routes/Scheduling/components/Processes.js | hunnble/the-great-lab | import React from 'react'
import Jcb from './Jcb'
export const Processes = (props) => (
<div>
<h3>Processes</h3>
<table className='table table-condensed table-bordered'>
<thead>
<tr>
<td>name</td>
<td>arrive time</td>
<td>service time</td>
<td>start Time<... |
ajax/libs/angular-ui-select/0.9.5/select.js | XVicarious/cdnjs | /*!
* ui-select
* http://github.com/angular-ui/ui-select
* Version: 0.9.5 - 2014-12-12T16:07:20.856Z
* License: MIT
*/
(function () {
"use strict";
var KEY = {
TAB: 9,
ENTER: 13,
ESC: 27,
SPACE: 32,
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40,
SHIFT: 16,
CTRL: 17,
ALT: ... |
app/containers/RepoListItem/index.js | SenyOrg/kekecmed-frontend | /**
* RepoListItem
*
* Lists the name and the issue count of a repository
*/
import React from 'react';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { FormattedNumber } from 'react-intl';
import IssueIcon from './IssueIcon';
import IssueLink from './IssueLink';
import L... |
ajax/libs/forerunnerdb/1.3.628/fdb-core.min.js | nolsherry/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... |
ajax/libs/foundation/4.3.1/js/vendor/jquery.js | aendrew/cdnjs | /*!
* 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 ) {
// ... |
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Apis/Create/WSDL/ApiCreateWSDL.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... |
client/public/src/views/Home/Home.js | openview2017/openview | import React from 'react'
import ReactDOM from 'react-dom';
import { Router, hashHistory } from 'react-router'
import Slider from 'react-slick'
import NewAppStore from '../../stores/NewAppStore'
//import DashboardStore from '../../stores/DashboardStore'
import update from 'immutability-helper'
import EditCodeModal from... |
actor-apps/app-web/src/app/components/modals/AddContact.react.js | voidException/actor-platform | import _ from 'lodash';
import React from 'react';
import Modal from 'react-modal';
import pureRender from 'pure-render-decorator';
import { Styles, TextField, FlatButton } from 'material-ui';
import AddContactStore from 'stores/AddContactStore';
import AddContactActionCreators from 'actions/AddContactActionCreators'... |
src/schema/testAction.dataSchema.js | lijinfengworm/ant-design-reactjs | import React from 'react';
import {Link} from 'react-router';
import {UpdateGPA1, UpdateGPA2} from '../components/UpdateComponentDemo';
module.exports = [
{
key: 'id',
title: 'ID',
dataType: 'int',
primary: true,
},
{
key: 'name',
title: '姓名',
dataType: 'varchar',
validator: [{typ... |
7.4.0/examples/asyncValidation/dist/bundle.js | erikras/redux-form-docs | !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__e... |
ajax/libs/foundation/4.0.4/js/vendor/jquery.js | jonjaques/cdnjs | /*!
* 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... |
src/index.js | frostiebot/whether | import React from 'react';
import ReactDOM from 'react-dom';
import WhetherApp from './app/WhetherApp';
import './stylesheets/index.scss';
ReactDOM.render(
<WhetherApp />,
document.getElementById('root')
);
|
test/z-News/03-ScrollView.js | ivanl001/ReactNative-Learning | /**
* Created by feng on 16/12/1.
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
ScrollView,
} from 'react-native';
var dimensions = require('Dimensions');
var windowW = dimensions.get('window').width;
export default class IMScrollView extends Compo... |
client/node_modules/uu5g03/doc/main/client/src/data/source/uu5-forms-text-glyphicon.js | UnicornCollege/ucl.itkpd.configurator | import React from 'react';
import {BaseMixin, ElementaryMixin} from './../common/common.js';
import {Glyphicon} from './../bricks/bricks.js';
import TextInputMixin from './text-input-mixin.js';
import './text-glyphicon.less';
export default React.createClass({
mixins: [
BaseMixin,
ElementaryMixin,
Text... |
src/svg-icons/action/g-translate.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionGTranslate = (props) => (
<SvgIcon {...props}>
<path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4... |
lib/ext-3.4.0/src/data/Store.js | henriquespedro/GFOSS_OA | /*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/**
* @class Ext.data.Store
* @extends Ext.util.Observable
* <p>The Store class encapsulates a client side cache of {@link Ext.data.Record Record}
* objects which provide input data for Com... |
scripts/vendor/sly.js | CommonsDev/map | /*!
* sly 1.0.0 - 24th Mar 2013
* https://github.com/Darsain/sly
*
* Licensed under the MIT license.
* http://opensource.org/licenses/MIT
*/
;(function ($, w, undefined) {
'use strict';
// Plugin names
var pluginName = 'sly';
var className = 'Sly';
var namespace = pluginName;
// Local WindowAnimationTim... |
packages/material-ui-icons/src/WbCloudy.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M19.36 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.64... |
internals/templates/languageProvider/languageProvider.js | activedecay/musical-meme | /*
*
* 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... |
src/app/components/search/SearchResultsTable/SelectAllTh.js | meedan/check-web | import React from 'react';
import PropTypes from 'prop-types';
import Checkbox from '@material-ui/core/Checkbox';
import TableCell from '@material-ui/core/TableCell';
export default function SelectAllTh({ selectedIds, projectMedias, onChangeSelectedIds }) {
const handleChange = React.useCallback((ev) => {
const ... |
ajax/libs/jquery/1.11.1-rc1/jquery.min.js | potomak/cdnjs | /*! jQuery v1.11.1-rc1 | (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 ... |
ajax/libs/react-data-grid/1.0.46/react-data-grid.ui-plugins.min.js | dc-js/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.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th... |
src/views/containers/Scores.js | john-d-pelingo/tic-tac-toe | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { CROSS, NOUGHT } from 'core/constants';
import { scoresSelectors } from 'core/scores';
import { gameSelectors } from 'core/game';
import { Cross, Nought } from 'views... |
src/web/client/src/components/audit/audit.js | devmynd/cloud-access-manager | import React from 'react'
import graphqlApi from '../../graphql-api'
import './audit.scss'
import AuditFlags from './audit-flags'
import ReviewFlags from './review-flags'
import AuditProgress from '../shared/audit-progress'
import lodash from 'lodash'
import MessagesContainer from '../shared/messages-container'
export... |
ajax/libs/muicss/0.5.2/react/mui-react.min.js | sufuf3/cdnjs | !function(e){var t=e.babelHelpers={};t["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},t.jsx=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.eleme... |
actor-apps/app-web/src/app/components/dialog/ComposeSection.react.js | Jaeandroid/actor-platform | import _ from 'lodash';
import React from 'react';
import ReactMixin from 'react-mixin';
import addons from 'react/addons';
const {addons: { PureRenderMixin }} = addons;
import ActorClient from 'utils/ActorClient';
import { Styles, FlatButton } from 'material-ui';
import { KeyCodes } from 'constants/ActorAppConstant... |
ajax/libs/reactable/0.3.1/reactable.js | stefanneculai/cdnjs | /** @jsx React.DOM */
Reactable = (function() {
"use strict";
// Array.prototype.map polyfill - see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Polyfill
if (!Array.prototype.map) {
Array.prototype.map = function(fun /*, thisArg */) {
"use s... |
ajax/libs/forerunnerdb/2.0.22/fdb-all.min.js | joeyparrish/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/notification/disc-full.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationDiscFull = (props) => (
<SvgIcon {...props}>
<path d="M20 16h2v-2h-2v2zm0-9v5h2V7h-2zM10 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/>
... |
actor-apps/app-web/src/app/components/common/Banner.react.js | HKMOpen/actor-platform | import React from 'react';
import BannerActionCreators from 'actions/BannerActionCreators';
class Banner extends React.Component {
constructor(props) {
super(props);
if (window.localStorage.getItem('banner_jump') === null) {
BannerActionCreators.show();
}
}
onClose = () => {
BannerActionC... |
ajax/libs/material-ui/5.0.0-alpha.29/legacy/useAutocomplete/useAutocomplete.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import _slicedToArray from"@babel/runtime/helpers/esm/slicedToArray";import _typeof from"@babel/runtime/helpers/esm/typeof";import*as React from"react";import{setRef,useEventCallback,useControlled,unstable_useId as useId}from"../utils";function stripDiacritics(e)... |
src/Songlist.js | rweekers/voornameninliedjes-frontend | import React, { Component } from 'react';
import './Songlist.css';
import Songrow from './Songrow';
class Songlist extends Component {
render() {
return (
<div className="Songlist">
<ul>
{this.props.songs.map(song =>
<li key={song.id}>
<Songrow {...song} />
... |
设计稿/实业官网首页/resources/scripts/jquery-1.7.1.min.js | supermars01/yufu-industry | /*! 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... |
until_201803/spring-framework/websocket/src/main/app/src/index.js | shofujimoto/examples | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import MessageForm from './MessageForm'
import registerServiceWorker from './registerServiceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
ReactDOM.render(<MessageForm />, document.getElemen... |
app/javascript/mastodon/features/ui/components/upload_area.js | amazedkoumei/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Motion from '../../ui/util/optional_motion';
import spring from 'react-motion/lib/spring';
import { FormattedMessage } from 'react-intl';
export default class UploadArea extends React.PureComponent {
static propTypes = {
active: PropTypes.boo... |
src/index.js | rookwood/disability | import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/App';
ReactDOM.render(<App />, document.getElementById('disability-calculator')); |
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.min.js | windsochi/kb4sochi | /*!
* jQuery JavaScript Library v1.5.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.
... |
packages/cf-component-link/src/Link.js | mdno/mdno.github.io | import React from 'react';
import PropTypes from 'prop-types';
import { routeTo } from 'cf-util-route-handler';
class Link extends React.Component {
constructor(props, context) {
if (!props.to && !props.onClick) {
throw new Error('<Link/> requires either a `to` or `onClick` prop');
}
super(props, ... |
wp-includes/js/jquery/jquery.js | serg-b/homework7 | /*! 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... |
src/components/Feature/index.js | fathomlondon/fathomlondon.github.io | import React from 'react';
import PropTypes from 'prop-types';
export function Feature({
className,
bgColor,
reversed,
image,
title,
excerpt,
btnUrl,
btnText,
}) {
return (
<section
className={`pt5-l ${className}`}
style={{ backgroundColor: bgColor }}
>
<figure
className={`grid pt5-l items-en... |
components/Header/index.js | YongYuH/Ludo | import React from 'react';
import styled from 'styled-components';
import Avatar from './Avatar';
import HeaderLeft from './HeaderLeft';
const HeaderWrapper = styled.div`
align-items: center;
background-color: #717070;
display: flex;
height: 40px;
position: relative;
`;
const Header = () => (
<HeaderWrapp... |
js/App/Components/GeoFence/GeoFenceContainer.js | telldus/telldus-live-mobile-v3 | /**
* Copyright 2016-present Telldus Technologies AB.
*
* This file is part of the Telldus Live! app.
*
* Telldus Live! app is free : 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 3 of the License, or
*... |
src/components/UIShell/HeaderNavigation.js | carbon-design-system/carbon-components-react | /**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { settings } from 'carbon-components';
import cx from 'classnames';
import React from 'react';
import PropTypes from 'prop-types';
imp... |
js/jquery-1.9.0.min.js | mmoyanom/dbrothers-music | /*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.matc... |
ajax/libs/core-js/0.9.12/shim.js | drewfreyling/cdnjs | /**
* Core.js 0.9.11
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
'use strict';
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/*****... |
projects/2016-03-18-JEST-pour-tester-une-application-en-react/javascripts/inputs/__tests__/myComponent-test.js | Giovannini/giovannini.github.io | import './dontmock';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import MyComponent from '../myComponent';
describe('MyComponent', () => {
it("est composé d'un label", () => {
const labelText = "Je suis le label";
const textInput = TestUtils.renderIntoDocument(
<MyCompo... |
src/svg-icons/av/queue.js | hai-cea/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvQueue = (props) => (
<SvgIcon {...props}>
<path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"/>
</SvgIco... |
src/components/ResultsList/stories.js | envisioning/tdb-storybook | import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
import ResultsList from './';
import { mockA } from '../CardGrid/mock';
import { getCardUrl, getCloudinaryPath } from '../../utils/cloudinary_url'
const results = mockA.slice(0, 10).map(res => ({...res, image: getCardUrl(getCloudinaryPath... |
src/js/Cards/__tests__/CardText.js | lwhitlock/grow-tracker | /* eslint-env jest */
jest.unmock('../CardText');
import React from 'react';
import { findDOMNode } from 'react-dom';
import { renderIntoDocument } from 'react-dom/test-utils';
import CardText from '../CardText';
describe('CardText', () => {
it('merges className and style', () => {
const props = {
style:... |
src/px-grid/index.js | jonniespratley/px-components-react | import React from 'react';
import classnames from 'classnames';
import stylesheet from './style.scss';
/**
* px-grid component
*/
export default ({
style,
item,
container,
//position
top,
middle,
bottom,
left,
center,
right,
//type
row,
column,
stretch,
justify,
wrap,
nowrap... |
src/Message/test/MessageSpec.js | suitejs/suite | import React from 'react';
import ReactTestUtils from 'react-dom/test-utils';
import { getDOMNode } from '@test/testUtils';
import Message from '../Message';
describe('Message', () => {
it('Should render a Message', () => {
const instance = getDOMNode(<Message />);
assert.include(instance.className, 'rs-mess... |
src/parser/paladin/retribution/modules/talents/DivinePurpose.js | sMteX/WoWAnalyzer | import React from 'react';
import Events from 'parser/core/Events';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import { formatNumber } from 'common/format';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import StatisticBox, { STATISTIC_ORDER } from 'interface/ot... |
node_modules/react-icons/md/landscape.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const MdLandscape = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m23.4 10l15 20h-36.8l10-13.4 7.5 10 2.7-1.9-4.7-6.3z"/></g>
</Icon>
)
export default MdLandscape
|
gae/idea16/war/js/jquery-1.11.2.min.js | alessandro-aglietti/converge-hackathon-idea16 | /*! jQuery v1.11.2 | (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... |
ajax/libs/github-api/1.2.1/GitHub.bundle.js | keicheng/cdnjs | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.GitHub = f()}}... |
src/components/CommentBox.js | ekatebi/ReactSandBox | import $ from 'jquery';
import React, { Component } from 'react';
import { createStore } from 'redux';
import { CommentList } from './CommentList';
import { CommentForm } from './CommentForm';
// Its API is { subscribe, dispatch, getState }.
let store = createStore(commentsReducer);
export class CommentBox extends C... |
src/client/auth/loginform.react.js | Zycon42/este-chat | import React from 'react';
import {TextField, FlatButton} from 'material-ui';
import FlatButtonLink from '../components/flatbuttonlink.react';
import exposeRouter from '../components/exposerouter.react';
import {focusInvalidField} from '../../lib/validation';
import {getLoginForm} from './store';
import {msg} from '../... |
admin/client/Signin/Signin.js | dryna/keystone-twoje-urodziny | /**
* The actual Sign In view, with the login form
*/
import assign from 'object-assign';
import classnames from 'classnames';
import React from 'react';
import xhr from 'xhr';
import Alert from './components/Alert';
import Brand from './components/Brand';
import UserInfo from './components/UserInfo';
import LoginF... |
app/views/profile/profile.spec.js | horacio-giovine/react-webpack-node | import Profile from './profile'
import {mount, render, shallow} from 'enzyme'
import React from 'react'
import assert from 'assert'
describe('Profile', function () {
it('Profile component imported successfuly', function () {
let wrapper = shallow(<Profile />)
assert.ok(wrapper)
})
})
|
examples/huge-apps/routes/Course/routes/Announcements/routes/Announcement/components/Announcement.js | BerkeleyTrue/react-router | /*globals COURSES:true */
import React from 'react'
class Announcement extends React.Component {
render() {
let { courseId, announcementId } = this.props.params
let { title, body } = COURSES[courseId].announcements[announcementId]
return (
<div>
<h4>{title}</h4>
<p>{body}</p>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.