Skip to content

Commit 42af184

Browse files
committed
Fixed comments that were moved by jscodeshift
1 parent aaf2b0d commit 42af184

30 files changed

+30
-85
lines changed

apps/src/applab/AppLabTooltipOverlay.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import $ from 'jquery';
2-
31
/** @file App Lab-specific Tooltip Overlay */
2+
import $ from 'jquery';
43
import PropTypes from 'prop-types';
54
import React from 'react';
65
import TooltipOverlay, {coordinatesProvider} from '../templates/TooltipOverlay';

apps/src/applab/ImportScreensDialog.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React from 'react';
2-
31
/* eslint-disable react/no-danger */
2+
import React from 'react';
43
import PropTypes from 'prop-types';
54

65
import Radium from 'radium';

apps/src/applab/ScreenSelector.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** @file Dropdown for selecting design mode screens */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import color from "../util/color";
86
import commonStyles from '../commonStyles';

apps/src/code-studio/components/HiddenUploader.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import $ from 'jquery';
2-
31
/** @file Hidden file input with interface for handling uploads. */
2+
import $ from 'jquery';
43
import PropTypes from 'prop-types';
54
import React from 'react';
65
import firehoseClient from "@cdo/apps/lib/util/firehose";

apps/src/code-studio/components/SmallFooter.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import $ from 'jquery';
2-
31
/* eslint-disable react/no-danger */
4-
2+
import $ from 'jquery';
53
import PropTypes from 'prop-types';
64
import React from 'react';
75
import debounce from 'lodash/debounce';

apps/src/code-studio/components/pairing/Pairing.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import $ from 'jquery';
2-
31
/* global $ */
4-
2+
import $ from 'jquery';
53
import PropTypes from 'prop-types';
64
import React from 'react';
75
import SectionSelector from './SectionSelector.jsx';

apps/src/code-studio/pd/workshop_dashboard/attendance/workshop_attendance.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import $ from 'jquery';
2-
31
/**
42
* Display and edit attendance for a workshop.
53
* It has a tab for each session which lists all enrolled teachers and their status.
64
* Route: /workshops/:workshopId/attendance(/:sessionIndex)
75
*/
8-
6+
import $ from 'jquery';
97
import PropTypes from 'prop-types';
108
import React from 'react';
119
import {connect} from 'react-redux';

apps/src/code-studio/pd/workshop_dashboard/components/session_form_part.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
import _ from 'lodash';
2-
31
/**
42
* Individual Session input for creating and editing workshops.
53
* Sets date, startTime, and endTime for the session.
64
*/
7-
5+
import _ from 'lodash';
86
import PropTypes from 'prop-types';
97
import React from 'react';
108
import moment from 'moment';

apps/src/code-studio/pd/workshop_dashboard/components/workshop_form.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import $ from 'jquery';
2-
31
/* global google */
42

53
/**
64
* Form for creating / editing workshop details.
75
*/
8-
6+
import $ from 'jquery';
97
import PropTypes from 'prop-types';
108
import React from 'react';
119
import {connect} from 'react-redux';

apps/src/code-studio/pd/workshop_dashboard/components/workshop_table.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import _, { orderBy } from 'lodash';
2-
31
/**
42
* Table displaying workshop summaries based on a supplied workshop query result.
53
*/
6-
4+
import _, { orderBy } from 'lodash';
75
import PropTypes from 'prop-types';
86
import React from 'react';
97
import {Table, sort} from 'reactabular';

apps/src/gamelab/AnimationPicker/AnimationPickerBody.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** Body of the animation picker dialog */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import color from "../../util/color";
86
import {AnimationCategories} from '../constants';

apps/src/gamelab/AnimationPicker/AnimationPickerListItem.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** @file A clickable item in the scroll area of the animation picker */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import color from "../../util/color";
86
import {PlayBehavior} from '../constants';

apps/src/gamelab/AnimationTab/AnimationListItem.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** A single list item representing an animation. */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import {connect} from 'react-redux';
86
import color from "../../util/color";

apps/src/gamelab/AnimationTab/AnimationTab.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** @file Root of the animation editor interface mode for GameLab */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import { connect } from 'react-redux';
86
import color from "../../util/color";

apps/src/gamelab/AnimationTab/ScrollableList.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** @file Vertical scrolling list */
2+
import React from 'react';
43
import PropTypes from 'prop-types';
5-
64
import Radium from 'radium';
75

86
const staticStyles = {

apps/src/gamelab/shapes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import _ from 'lodash';
2-
31
/** @file Type definitions (React and otherwise) specific to Gamelab */
4-
2+
import _ from 'lodash';
53
import PropTypes from 'prop-types';
64

75
/**

apps/src/lib/kits/maker/ui/OverlayButton.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { Component } from 'react';
2-
31
/** Button for use in Maker connection status overlays */
2+
import React, { Component } from 'react';
43
import PropTypes from 'prop-types';
54

65
import Radium from 'radium';

apps/src/lib/ui/PopUpMenu.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { Component, Children } from 'react';
2-
31
/** @file Pop-over menu component. Combine with react-portal to use. */
2+
import React, { Component, Children } from 'react';
43
import PropTypes from 'prop-types';
54

65
import Radium from 'radium';

apps/src/lib/ui/SettingsCog.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { Component } from 'react';
2-
31
/** @file Settings menu cog icon */
2+
import React, { Component } from 'react';
43
import PropTypes from 'prop-types';
54

65
import Radium from 'radium';

apps/src/publicKeyCryptography/EqualColumns.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React from 'react';
2-
31
/** @file Arranges child components as columns of equal width, filling available space */
42
import PropTypes from 'prop-types';
5-
3+
import React from 'react';
64
import Radium from 'radium';
75
import {AnyChildren} from './types';
86

apps/src/publicKeyCryptography/ModuloClock.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import _ from 'lodash';
2-
31
/** @file Centered animated Modulo Clock component for the Crypto widget levels */
2+
import _ from 'lodash';
43
import PropTypes from 'prop-types';
54
import React from 'react';
65
import color from "../util/color";

apps/src/publicKeyCryptography/ModuloClockWidget.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import _ from 'lodash';
2-
31
/** @file Root component for Modulo Clock widget */
2+
import _ from 'lodash';
43
import PropTypes from 'prop-types';
54
import React from 'react';
65
import color from "../util/color";

apps/src/publicKeyCryptography/cryptographyFields.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import _ from 'lodash';
2-
31
/** @file Input fields specific to the cryptography widget */
2+
import _ from 'lodash';
43
import PropTypes from 'prop-types';
54
import React from 'react';
65
import classNames from 'classnames';

apps/src/storage/dataBrowser/EditKeyRow.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import FirebaseStorage from '../firebaseStorage';
2-
31
/** @overview Component for editing a key/value pair row. */
4-
2+
import FirebaseStorage from '../firebaseStorage';
53
import PropTypes from 'prop-types';
6-
74
import Radium from 'radium';
85
import React from 'react';
96
import PendingButton from '../../templates/PendingButton';

apps/src/templates/PaginationWrapper.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { Component } from 'react';
2-
31
/** Pagination controls */
2+
import React, { Component } from 'react';
43
import PropTypes from 'prop-types';
54

65
import Radium, {Style} from 'radium';

apps/src/templates/PaneHeader.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import React from 'react';
2-
31
/**
42
* A collection of components for displaying the purple header used in a few
53
* places in our apps. The parent component is a PaneHeader that can be toggled
64
* as focused or not. We then have child components of PaneSection and PaneButton.
75
*/
8-
6+
import React from 'react';
97
import PropTypes from 'prop-types';
10-
118
import Radium from 'radium';
129
import commonStyles from '../commonStyles';
1310
import styleConstants from '../styleConstants';

apps/src/templates/PendingButton.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import FontAwesome from './FontAwesome';
2-
31
/** @overview a button which shows a spinner while an operation is pending */
4-
2+
import FontAwesome from './FontAwesome';
53
import PropTypes from 'prop-types';
6-
74
import Radium from 'radium';
85
import React from 'react';
96

apps/src/templates/ToggleButton.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import React, { Component } from 'react';
2-
31
/** @file Button that can be active or inactive, for use inside ToggleGroup */
2+
import React, { Component } from 'react';
43
import PropTypes from 'prop-types';
5-
64
import Radium from 'radium';
75
import styles from './ToggleButtonStyles';
86

apps/src/templates/instructions/HeightResizer.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import React from 'react';
2-
31
/**
42
* HeightResizer
53
* A draggable, horizontal toolbar. As it is dragged, it calls back to onResize
64
* which handles any movement.
75
*/
8-
6+
import React from 'react';
97
import PropTypes from 'prop-types';
10-
118
import Radium from 'radium';
129
import color from '../../util/color';
1310
import styleConstants from '../../styleConstants';

apps/src/templates/progress/ProgressBubbleSet.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
import React from 'react';
2-
31
/**
42
* An ordered set of progress bubbles.
53
*/
6-
4+
import React from 'react';
75
import PropTypes from 'prop-types';
8-
96
import Radium from 'radium';
107
import ProgressBubble from './ProgressBubble';
118
import color from "@cdo/apps/util/color";

0 commit comments

Comments
 (0)