path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/yui/3.16.0/datatable-core/datatable-core-debug.js | raszi/cdnjs | /*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@sinc... |
packages/react-scripts/fixtures/kitchensink/src/features/syntax/DefaultParameters.js | scyankai/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... |
ajax/libs/yui/3.15.0/event-focus/event-focus-coverage.js | ematsusaka/cdnjs | /*
YUI 3.15.0 (build 834026e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/event-focus/event-focus.js']) {
__coverage__['build/event-focus/event-focus.js'] = ... |
src/Parser/BloodDeathKnight/CombatLogParser.js | mwwscott0/WoWAnalyzer | import React from 'react';
import SuggestionsTab from 'Main/SuggestionsTab';
import Tab from 'Main/Tab';
import Talents from 'Main/Talents';
import CoreCombatLogParser from 'Parser/Core/CombatLogParser';
import HealingDone from 'Parser/Core/Modules/HealingDone';
import DamageDone from 'Parser/Core/Modules/DamageDone'... |
src/svg-icons/image/panorama.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImagePanorama = (props) => (
<SvgIcon {...props}>
<path d="M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zM8.5 12.5l2.5 3.01L14.5 11l4.5 6H5l3.5-4.5z"/>
</SvgIcon>
);
ImagePanora... |
ajax/libs/rxjs/2.1.2/rx.modern.js | JacquesMarais/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
(function (window, undefined) {
var freeExports = typeof exports == 'object' && exports &&
(typeof global == 'object' && global && global == global.global && (window = global... |
src/app-client.js | nicolkill/yetcargo_test | /* global window document */
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router } from 'react-router-dom';
import App from './components/App';
export default class AppClient extends Component {
render() {
return (
<Router>
<App />
</R... |
ajax/libs/mobx/3.0.0-rc.1/mobx.umd.min.js | dakshshah96/cdnjs | /** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:... |
src/containers/App.js | Alkamenos/friendlist | import React, { Component } from 'react';
import { Provider } from 'react-redux';
import DevTools from './DevTools';
import FriendListApp from './FriendListApp';
export default class App extends Component {
render() {
const { store } = this.props;
return (
<Provider store={store}>
... |
packages/wix-style-react/src/SelectorList/Content/Content.js | wix/wix-style-react | import React from 'react';
import PropTypes from 'prop-types';
import { classes } from './Content.st.css';
import { dataHooks } from '../SelectorList.helpers';
import Selector from '../../Selector';
import Loader from '../../Loader';
import InfiniteScroll from '../../utils/InfiniteScroll';
import Text from '../../Text'... |
src/components/Main.js | awentzonline/doppelchat | require('normalize.css');
require('flexboxgrid');
require('styles/App.css');
import React from 'react';
import {Dialog, FlatButton, Paper} from 'material-ui';
import PeerActions from 'peers/PeerActions';
import ChatMain from 'components/ChatMain';
import config from 'config';
class AppComponent extends React.Compone... |
packages/rocketchat-reactions/server/models/Messages.js | matthewshirley/Rocket.Chat | RocketChat.models.Messages.setReactions = function(messageId, reactions) {
return this.update({ _id: messageId }, { $set: { reactions: reactions }});
};
RocketChat.models.Messages.unsetReactions = function(messageId) {
return this.update({ _id: messageId }, { $unset: { reactions: 1 }});
};
|
modules/App.js | lida1984/react-router-learning | import React from 'react'
import {Link} from 'react-router'
export default React.createClass({
render() {
return (
<div>
<h1>React Router Tutorial</h1>
<ul>
<li><Link to="/" activeStyle={{color:'red'}} onlyActiveOnIndex>Home</Link></li>
<li><Link to="/about" a... |
examples/todomvc/src/components/Header.spec.js | heyesther/redux | import React from 'react'
import TestUtils from 'react-addons-test-utils'
import Header from './Header'
import TodoTextInput from './TodoTextInput'
const setup = () => {
const props = {
addTodo: jest.fn()
}
const renderer = TestUtils.createRenderer()
renderer.render(<Header {...props} />)
const output =... |
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.js | 113Ideas/westfieldbank | /*!
* 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.
... |
src/todo-app.js | wederch/todo-app | import React from 'react';
import ReactDOM from 'react-dom';
import TodoList from './todo-list/todo-list';
import TodoForm from './todo-form/todo-form';
import styles from './todo-app.scss';
export default class TodoApp extends React.Component {
constructor(props) {
super(props);
this.state = {data: []};
... |
packages/icons/src/md/notification/AirlineSeatLegroomReduced.js | suitejs/suitejs | import React from 'react';
import IconBase from '@suitejs/icon-base';
function MdAirlineSeatLegroomReduced(props) {
return (
<IconBase viewBox="0 0 48 48" {...props}>
<path d="M40.94 38.41A3 3 0 0 1 38 42h-9v-6l2-8H19c-3.3 0-6-2.7-6-6V6h12v12h10c2.21 0 4 1.79 4 4l-4 14h2.89c1.45 0 2.78.98 3.05 2.41zM11 24V... |
packages/material-ui-icons/src/AudiotrackRounded.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="M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s... |
src/client/app/panels/tasks.list.panel.js | mapkiwiz/sectorisation | import React from 'react';
import {MenuLink} from './menu.link';
import {Link} from 'react-router';
export function TasksListPanel(props, context) {
let tasks = context.store.getState().tasks;
if (tasks.items.length == 0) {
return (
<div className="col-md-4 col-md-offset-8 panel-container">
<h3... |
server/dashboard/js/components/Bench.react.js | timofey-barmin/mzbench | import React from 'react';
import BenchStore from '../stores/BenchStore';
import BenchNav from './BenchNav.react';
import BenchOverview from './BenchOverview.react';
import BenchGraphs from './BenchGraphs.react';
import BenchReports from './BenchReports.react';
import BenchScenario from './BenchScenario.react';
import... |
src/scenes/home/codeSchools/approvedSchools/approvedSchools.js | tskuse/operationcode_frontend | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Section from 'shared/components/section/section';
import SchoolCard from 'shared/components/schoolCard/schoolCard';
import styles from './approvedSchools.css';
class ApprovedSchools extends Component {
render() {
const vaSchools... |
packages/material-ui-icons/src/ImportantDevicesTwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M18 13h5v7h-5z" opacity=".3" /><path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM2 4h18v5h2V4c0-1.11-.9-2-2-2H2C.89 ... |
blueocean-material-icons/src/js/components/svg-icons/action/view-column.js | kzantow/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ActionViewColumn = (props) => (
<SvgIcon {...props}>
<path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"/>
</SvgIcon>
);
ActionViewColumn.displayName = 'ActionViewColumn';
ActionViewColumn.muiName = 'SvgIcon';
export default ActionVi... |
RNTester/js/SnapshotExample.js | skevy/react-native | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
* ... |
examples/shared/wrapInTestContext.js | ntdb/react-dnd | import React, { Component } from 'react';
import TestBackend from 'react-dnd/modules/backends/Test';
import { DragDropContext } from 'react-dnd';
export default function wrapInTestContext(DecoratedComponent) {
@DragDropContext(TestBackend)
class TestStub extends Component {
render() {
return <DecoratedCo... |
components/charts/placeholder-chart/index.js | resource-watch/resource-watch | import React from 'react';
function DatasetPlaceholderChart() {
return (
<div className="c-placeholder-chart">
<div className="c-we-chart" />
</div>
);
}
export default DatasetPlaceholderChart;
|
bai/src/components/HeaderLayout/index.js | blackinai/blackinai.github.io | import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { withStyles } from '@material-ui/core/styles';
import Container from '@material-ui/core/Container';
const styles = (theme) => ({
root: {
position: 'relative',
display: 'flex',
alignItems: 'center... |
src/components/add-tag-modal/form/school/index.js | Lokiedu/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2016 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/legends/continuous-color-legend.js | Apercu/react-vis | // Copyright (c) 2016 - 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify... |
example/tests/html-class-stability/index.js | souporserious/react-tether | import React from 'react';
import { render } from 'react-dom';
import ReactTether from '../../../lib/react-tether';
class App extends React.Component {
constructor() {
super();
this.state = {
isOpen: false,
content: '',
classes: 'flyout',
};
}
render() {
const { classes, isOpen... |
app/Stats/Stats.js | idperez/mytopia | import React, { Component } from 'react';
import { View, Text, StyleSheet, ScrollView } from 'react-native';
import { Icon, Card, Button, Grid, Col, Row } from 'react-native-elements';
import Hr from 'react-native-hr';
import Accordion from 'react-native-collapsible/Accordion';
import StarRating from 'react-native-... |
ajax/libs/F2/1.3.0/f2.min.js | holtkamp/cdnjs | /*! F2 - v1.3.0 - 09-16-2013 - See below for copyright and license */
(function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*!
JSON.org requires the following notice to accompany json2:
Copyright (c) 2002 JSON.org
http://json.org
Permission is hereby granted, free of charge, to any person obta... |
files/yasqe/2.1.0/yasqe.bundled.min.js | ajibolam/jsdelivr | !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.YASQE=e()}}(function(){var e;return function t(e,r,i)... |
ajax/libs/redux-form/8.2.2/redux-form.min.js | extend1994/cdnjs | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-redux"),require("redux")):"function"==typeof define&&define.amd?define(["react","react-redux","redux"],e):"object"==typeof exports?exports.ReduxForm=e(require("react"),require("react-redux"),require("redux"... |
ajax/libs/6to5/1.14.0/browser-polyfill.js | cloudrifles/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... |
sites/all/modules/jquery_update/replace/jquery/1.8/jquery.min.js | john-h-moore/moorelevesque | /*! 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===... |
misc/jquery.js | immanuelpaul/drupal7 |
/*!
* 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.... |
native/MessageList/__tests__/MessageList.js | abdurrahmanekr/react-chat-elements | import React, { Component } from 'react';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';
import MessageList from '../MessageList';
describe('MessageList component', () => {
it('should render without issues', () => {
const component = shallow(<MessageList />);
expect(component.length)... |
wp-content/plugins/videojs-pro/video-js/video.js | brasadesign/wp-academia-inova | /*
VideoJS - HTML5 Video Player
v2.0.2
This file is part of VideoJS. Copyright 2010 Zencoder, Inc.
VideoJS 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, or
(at your opti... |
src/views/components/scaffolding/LearnerStatusEntryView.js | Domiii/project-empire | import map from 'lodash/map';
import isEmpty from 'lodash/isEmpty';
import size from 'lodash/size';
//import { hrefLearnerStatusEntry } from 'src/views/href';
import React from 'react';
import PropTypes from 'prop-types';
import { dataBind } from 'dbdi/react';
import Moment from 'react-moment';
import {
Alert, Bu... |
ExampleSimpleComponents/app.js | FlorenciaJS/React-GetStarted | import React from 'react';
import HelloWorld from './Components/HelloWorld.js';
import HelloProps from './Components/HelloProps.js';
React.render(
<HelloWorld/>,
document.getElementById('HelloWorld') // This is an object of replacing DOM. Node Mount.
);
React.render(
<HelloProps text='test my component'/>,
docume... |
src/Stories/Footer.stories.js | sashasushko/moira-front | // @flow
import React from 'react';
import { storiesOf } from '@storybook/react';
import Footer from '../Components/Footer/Footer';
storiesOf('Footer', module)
.add('Default', () => <Footer />);
|
src/svg-icons/image/collections.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageCollections = (props) => (
<SvgIcon {...props}>
<path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"/>
... |
packages/reactor-tests/src/tests/rel/RelGridColumn.js | dbuhrman/extjs-reactor | import React, { Component } from 'react';
import { Container, Grid, Column, WidgetCell, SparkLineLine } from '@extjs/ext-react';
export default class RelGridColumn extends Component {
store = Ext.create('Ext.data.Store', {
data: [
{ first: 'Mark', last: 'Brocato', trend: [1,2,3,4,3,2,1] }
... |
lms/static/admin/js/jquery.min.js | praveen-pal/edx-platform | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/index.js | darknight1983/React_Youtube_searchSite | import _ from 'lodash';
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import YTSearch from 'youtube-api-search'
// The package above was installed to help with the youtube searches.
import SearchBar from './components/search_bar'
import VideoList from './components/video_list'
import Video... |
templates/rubix/demo/src/routes/Messengerjs.js | jeffthemaximum/Teachers-Dont-Pay-Jeff | import React from 'react';
import {
Row,
Col,
Grid,
Panel,
Table,
Button,
PanelBody,
PanelHeader,
PanelContainer,
} from '@sketchpixy/rubix';
export default class Messengerjs extends React.Component {
componentDidMount() {
// configuring default options for Messenger
Messenger.options = {
... |
docs/site/assets/js/jquery-1.6.1.min.js | sherifzain/mongrel2 | /*!
* jQuery JavaScript Library v1.6.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.
... |
src/components/common/svg-icons/image/nature.js | abzfarah/Pearson.NAPLAN.GnomeH | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageNature = (props) => (
<SvgIcon {...props}>
<path d="M13 16.12c3.47-.41 6.17-3.36 6.17-6.95 0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H5v2h14v-2h-6v-3.88z"/>
</SvgIcon>
);
ImageNature = p... |
public/js/.module-cache/b63fb20e431acee93f15de3c0b6b63b8b43ced4f.js | inquisive/wallet-manager | /**
* @jsx React.DOM
*/
/* not used but thats how you can use touch events
* */
//React.initializeTouchEvents(true);
/* not used but thats how you can use animation and other transition goodies
* */
var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;
/**
* we will use yes for true
* we will use no f... |
app/javascript/mastodon/features/follow_requests/index.js | riku6460/chikuwagoddon | import React from 'react';
import { connect } from 'react-redux';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { debou... |
docs/src/app/components/pages/components/Checkbox/Page.js | nathanmarks/material-ui | import React from 'react';
import Title from 'react-title-component';
import CodeExample from '../../../CodeExample';
import PropTypeDescription from '../../../PropTypeDescription';
import MarkdownElement from '../../../MarkdownElement';
import checkboxReadmeText from './README';
import checkboxCode from '!raw!materi... |
react/features/connection-indicator/components/web/ConnectionIndicatorContent.js | jitsi/jitsi-meet | // @flow
import React from 'react';
import type { Dispatch } from 'redux';
import { getSourceNameSignalingFeatureFlag } from '../../../base/config';
import { translate } from '../../../base/i18n';
import { MEDIA_TYPE } from '../../../base/media';
import { getLocalParticipant, getParticipantById } from '../../../base/... |
lib/browserRequirements.js | jirokun/survey-designer-js | /* eslint-env browser,jquery */
import React from 'react';
export function RequiredBrowserNoticeForEditor() {
return (
<div>
<p>
ご利用の環境ではこのページを表示することができません。<br />
以下のいずれかのブラウザをご利用ください。</p>
<ul>
<li>Google Chrome 最新版</li>
<li>Firefox 最新版</li>
<li>Microsoft Edge</li>... |
ajax/libs/jquery.fancytree/2.6.0/src/jquery.fancytree.js | gasolin/cdnjs | /*!
* jquery.fancytree.js
* Dynamic tree view control, with support for lazy loading of branches.
* https://github.com/mar10/fancytree/
*
* Copyright (c) 2006-2014, Martin Wendt (http://wwWendt.de)
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.6.0
* @dat... |
src/react/client.js | bolshchikov-public/react-module-container-example | import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/App';
ReactDOM.render(
<App/>,
document.getElementById('react-root')
);
|
src/Clickable.js | jaredlunde/react-cake | import React from 'react'
import PropTypes from 'prop-types'
import EventTracker from './EventTracker'
import {callIfExists} from './utils'
/**
const ClickableButton = props => (
<Clickable double left>
{
({
clickableRef,
numClicks,
screenX,
screenY,
clientX,
... |
modules/datadict/jsx/dataDictIndex.js | driusan/Loris | import React, {Component} from 'react';
import PropTypes from 'prop-types';
import Loader from 'Loader';
import FilterableDataTable from 'FilterableDataTable';
import fetchDataStream from 'jslib/fetchDataStream';
/**
* Data Dictionary Page.
*
* Serves as an entry-point to the module, rendering the whole react
* c... |
src/components/mysql/original-wordmark/MysqlOriginalWordmark.js | fpoumian/react-devicon | import React from 'react'
import PropTypes from 'prop-types'
import SVGDeviconInline from '../../_base/SVGDeviconInline'
import iconSVG from './MysqlOriginalWordmark.svg'
/** MysqlOriginalWordmark */
function MysqlOriginalWordmark({ width, height, className }) {
return (
<SVGDeviconInline
className={'Mysq... |
node_modules/react-icons/lib/io/social-buffer-outline.js | bairrada97/festival | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
ajax/libs/react/0.13.0/JSXTransformer.js | ram-nadella/cdnjs | /**
* JSXTransformer v0.13.0
*/
(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... |
CalcApp/src/components/panel.js | michelmarcondes/ReactNativeStudies | import React from 'react';
import { View } from 'react-native';
import DataEntry from './dataEntry';
import Operations from './operations';
import Command from './command';
class Panel extends React.Component {
constructor(props) {
super(props);
this.state = {
num1: '000',
... |
src/svg-icons/editor/bubble-chart.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorBubbleChart = (props) => (
<SvgIcon {...props}>
<circle cx="7.2" cy="14.4" r="3.2"/><circle cx="14.8" cy="18" r="2"/><circle cx="15.2" cy="8.8" r="4.8"/>
</SvgIcon>
);
EditorBubbleChart = pure(EditorBub... |
examples/huge-apps/routes/Course/routes/Grades/components/Grades.js | besarthoxhaj/react-router | import React from 'react';
class Grades extends React.Component {
//static loadProps (params, cb) {
//cb(null, {
//assignments: COURSES[params.courseId].assignments
//});
//}
render () {
//var { assignments } = this.props;
var assignments = COURSES[this.props.params.courseId].assignments... |
ajax/libs/react-router/0.4.2/react-router.min.js | sullivanmatt/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.ReactRouter=e()}}(function(){return function e(t,n,r)... |
data-browser-ui/public/app/components/tableComponents/td/listComponents/dateTimeList.js | CloudBoost/cloudboost | import React from 'react';
import ReactDOM from 'react-dom';
import DatePicker from 'material-ui/DatePicker';
import TimePicker from 'material-ui/TimePicker';
class DateTimeListComponent extends React.Component {
constructor(){
super()
this.state = {
}
}
deleteValue(){
this.props.removeFromElementData(t... |
packages/material-ui-icons/src/DragHandle.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><defs><path id="a" d="M0 0h24v24H0V0z" /></defs><path d="M20 9H4v2h16V9zM4 15h16v-2H4v2z" /></React.Fragment>
, 'DragHandle');
|
packages/material-ui-icons/src/Battery20Sharp.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M7 17v5h10v-5H7z" /><path fillOpacity=".3" d="M17 4h-3V2h-4v2H7v13h10V4z" /></g></React.Fragment>
, 'Battery20Sharp');
|
src/shared/components/imageListItem/imageListItem.js | OperationCode/operationcode_frontend | import React from 'react';
import PropTypes from 'prop-types';
import styles from './imageListItem.css';
const ImageListItem = props => (
<div className={styles.imageListItem}>
<img className={styles.cardImage} src={props.image} alt={props.title} />
<div className={styles.cardText}>
<h3 className={sty... |
react-ui/src/containers/Dribbble/Dribbble.js | hokustalkshow/find-popular | import React, { Component } from 'react';
import SortNavbar from '../../components/SortNavbar/SortNavbar';
import NavDropdownComponent from '../../components/NavDropdownComponent/NavDropdownComponent';
import { Nav, Navbar } from 'react-bootstrap';
import { tagsMenuItem } from './menuItems';
import { bindActionCreators... |
app/components/Send.js | soosgit/vessel | // @flow
import React, { Component } from 'react';
import { Button, Checkbox, Grid, Label, Message, Modal, Radio, Segment, Select, Table } from 'semantic-ui-react';
import { Form, Input } from 'formsy-semantic-ui-react';
import steem from 'steem';
const { shell } = require('electron');
const exchangeOptions = [
{
... |
extension/ezoe/design/standard/javascript/plugins/legacyoutput/editor_plugin_src.js | CG77/ezpublish-legacy | /**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*
* This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u... |
app/javascript/mastodon/features/pinned_statuses/index.js | Ryanaka/mastodon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { fetchPinnedStatuses } from '../../actions/pin_statuses';
import Column from '../ui/components/column';
import ColumnBackButtonSlim from '../../compon... |
ajax/libs/forerunnerdb/1.4.59/fdb-core+persist.min.js | holtkamp/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/jointjs/0.9.2/joint.js | boneskull/cdnjs | /*! JointJS v0.9.2 - JavaScript diagramming library 2014-09-16
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*!
* jQuery JavaScript Library v2.0.3
* http://jquery... |
ajax/libs/material-ui/5.0.0-alpha.6/Slider/ValueLabel.min.js | cdnjs/cdnjs | "use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/help... |
examples/todomvc/containers/Root.js | glifchits/redux | import React, { Component } from 'react';
import TodoApp from './TodoApp';
import { createStore, combineReducers } from 'redux';
import { Provider } from 'react-redux';
import rootReducer from '../reducers';
const store = createStore(rootReducer);
export default class Root extends Component {
render() {
return ... |
local-cli/server/runServer.js | lprhodes/react-native | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
* ... |
app/containers/ReviewFormContainer.js | jbrod22/music-market-master | import React from 'react'
import AddReview from '../Forms/AddReview'
export default class ItemContainer extends React.Component {
constructor(props) {
super(props)
this.state = {
showComponent: false
}
this.onButtonClick = this.onButtonClick.bind(this)
}
onButtonClick() {
this.setStat... |
js/app.js | anil26/MovieSearchGoogleMaps | /**
*
* app.js
*
* This is the entry file for the application
*
*/
// Import all the third party stuff
import React from 'react';
import { createStore, combineReducers, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
impo... |
ajax/libs/rxjs/2.3.18/rx.lite.compat.js | CyrusSUEN/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... |
mobile/Unison/__tests__/index.ios.js | tubackkhoa/tkframework | 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 />
);
});
|
src/components/Main.js | wbreakell/changeover | // @flow
import React from 'react';
import styled from 'styled-components';
const Main = styled.main`
flex: 1;
`;
export default Main;
|
examples/todomvc/index.js | conorhastings/redux | import 'babel-core/polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import App from './containers/App'
import configureStore from './store/configureStore'
import 'todomvc-app-css/index.css'
const store = configureStore()
render(
<Provider store={store}>
... |
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/redux-form/6.6.3/es/FieldArray.js | JamieMason/npm-cache-benchmark | var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(ta... |
node_modules/flat-cache/cache.js | Kotuhan/react-date-picker | var path = require( 'path' );
var fs = require( 'graceful-fs' );
var del = require( 'del' ).sync;
var utils = require( './utils' );
var writeJSON = utils.writeJSON;
var cache = {
/**
* Load a cache identified by the given Id. If the element does not exists, then initialize an empty
* cache storage. If specifie... |
test/specs/elements/Input/Input-test.js | Rohanhacker/Semantic-UI-React | import cx from 'classnames'
import _ from 'lodash'
import React from 'react'
import { sandbox } from 'test/utils'
import Input, { htmlInputPropNames } from 'src/elements/Input/Input'
import * as common from 'test/specs/commonTests'
describe('Input', () => {
common.isConformant(Input, {
eventTargets: {
// ... |
src/views/components/AlarmCardGlobal.js | physiii/home-gateway | import React from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import {doServiceAction} from '../../state/ducks/services-list/operations.js';
import ServiceCardBase from './ServiceCardBase.js';
import Switch from './Switch.js';
import './AlarmCardGlobal.css';
export class GlobalAla... |
src/containers/Asians/TabControls/PreliminaryRounds/CreateRooms/6_AdjudicatorsPreview/AdjudicatorTable/returnTableRow.js | westoncolemanl/tabbr-web | import React from 'react'
import {
TableRow,
TableCell
} from 'material-ui/Table'
import TeamChip from 'containers/Asians/TabControls/_components/TeamChip'
import RoomTypeChips from 'containers/Asians/TabControls/_components/RoomTypeChips'
import AdjudicatorDragAndDrop from './AdjudicatorDragAndDrop'
import Adjud... |
demo/components/ParserBenchmark.js | technicallyfeasible/dataparser | import React, { Component } from 'react';
import process from 'process';
import _ from 'lodash';
import benchmark from 'benchmark';
import {
DataParser,
modules,
PatternContext,
} from '../../src/index';
let Benchmark = benchmark;
if (typeof window !== 'undefined') {
Benchmark = benchmark.runInContext({ _, pr... |
app/components/main/Clock.js | fireaxil/smartHome | import React from 'react'
import Typography from 'material-ui/Typography'
import moment from 'moment'
import { withStyles } from 'material-ui/styles'
import ClockWeatherDisplay from './clockWeatherDisplay'
const styles = theme => ({
clockRoot: {
display: 'flex',
justifyContent: 'center',
flexDirection: '... |
docs/src/pages/components/popper/SimplePopper.js | allanalexandre/material-ui | import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Popper from '@material-ui/core/Popper';
import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';
import Fade from '@material-ui/core/Fade';
import Paper from '@material-ui/core/Paper';
... |
src/helpers/BibleRefSelector.js | OCMC-Translation-Projects/ioc-liturgical-react | import React from 'react';
import PropTypes from 'prop-types';
import { get } from 'lodash';
import Select from 'react-select';
import {Col, ControlLabel, Grid, Row } from 'react-bootstrap';
import MessageIcons from './MessageIcons';
class BibleRefSelector extends React.Component {
constructor(props) {
super(pro... |
pootle/static/js/admin/components/Project/ProjectController.js | JohnnyKing94/pootle | /*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import React from 'react';
import Search from '../Search'... |
src/svg-icons/notification/phone-missed.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationPhoneMissed = (props) => (
<SvgIcon {...props}>
<path d="M6.5 5.5L12 11l7-7-1-1-6 6-4.5-4.5H11V3H5v6h1.5V5.5zm17.21 11.17C20.66 13.78 16.54 12 12 12 7.46 12 3.34 13.78.29 16.67c-.18.18-.29.43-.29.71... |
Realization/frontend/czechidm-acc/src/content/wizard/connectorType/AdUserSystemWizard/StepCrt.js | bcvsolutions/CzechIdMng | import { Basic, Services } from 'czechidm-core';
import React from 'react';
import moment from 'moment';
import AbstractWizardStep from '../../AbstractWizardStep';
/**
* Second step of MS AD connector.
*
* @author Vít Švanda
* @since 10.8.0
*/
export default class StepCrt extends AbstractWizardStep {
construct... |
src/client/main.js | ahmadassaf/Hacker-menu | import React from 'react'
import StoryBox from './story_box.js'
React.render(
<StoryBox />,
document.getElementById('container')
)
|
jenkins-design-language/src/js/components/material-ui/svg-icons/image/flash-off.js | alvarolobato/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ImageFlashOff = (props) => (
<SvgIcon {...props}>
<path d="M3.27 3L2 4.27l5 5V13h3v9l3.58-6.14L17.73 20 19 18.73 3.27 3zM17 10h-4l4-8H7v2.18l8.46 8.46L17 10z"/>
</SvgIcon>
);
ImageFlashOff.displayName = 'ImageFlashOff';
ImageFlashOff.muiName... |
packages/cf-component-dropdown/src/DropdownSeparator.js | koddsson/cf-ui | import React from 'react';
import { createComponent } from 'cf-style-container';
const styles = ({ theme }) => ({
margin: '0.53333rem 0',
borderTop: `1px solid ${theme.colorGrayLight}`
});
const DropdownSeparator = ({ className }) => (
<div className={className} role="separator" />
);
export default createComp... |
src/svg-icons/content/clear.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentClear = (props) => (
<SvgIcon {...props}>
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
</SvgIcon>
);
ContentClear = pure(ContentClea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.