Skip to content

Fix require#1108

Merged
marisaleung merged 1 commit intoRaspberryPiFoundation:developfrom
marisaleung:FixRequire
May 17, 2017
Merged

Fix require#1108
marisaleung merged 1 commit intoRaspberryPiFoundation:developfrom
marisaleung:FixRequire

Conversation

@marisaleung
Copy link
Copy Markdown
Contributor

@marisaleung marisaleung commented May 15, 2017

This change is Reviewable

@marisaleung marisaleung force-pushed the FixRequire branch 4 times, most recently from eb24d73 to 95b96da Compare May 15, 2017 21:27

goog.require('goog.array');
goog.require('goog.math');
goog.require('Blockly.VariableMap');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can you put this before goog.array so it is alphabetical?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

*/
'use strict';

goog.require('Blockly.VariableMap');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh. Sorry. The require should be after the provide... I think our eslint rules enforce this... but I'm not certain.

@RoboErikG
Copy link
Copy Markdown
Contributor

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.


core/workspace.js, line 27 at r1 (raw file):

'use strict';

goog.require('Blockly.VariableMap');

Too far. After the provide (provide should always be above the requires)


Comments from Reviewable

@marisaleung
Copy link
Copy Markdown
Contributor Author

Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions.


core/workspace.js, line 27 at r1 (raw file):

Previously, picklesrus wrote…

doh. Sorry. The require should be after the provide... I think our eslint rules enforce this... but I'm not certain.

Done.


core/workspace.js, line 27 at r1 (raw file):

Previously, RoboErikG wrote…

Too far. After the provide (provide should always be above the requires)

Done.


Comments from Reviewable

Copy link
Copy Markdown
Contributor

@picklesrus picklesrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marisaleung marisaleung merged commit eeaf92f into RaspberryPiFoundation:develop May 17, 2017
@marisaleung marisaleung deleted the FixRequire branch May 23, 2017 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants