Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added updatePosition #81

Merged
merged 5 commits into from
Nov 1, 2016
Merged

Conversation

Saurbaum
Copy link
Contributor

@Saurbaum Saurbaum commented Oct 31, 2016

To allow you to move the menu once all entries have been fetched from a remote source.

Copy link
Owner

@jonataswalker jonataswalker left a comment

Choose a reason for hiding this comment

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

Please remove build/*, those files will be built on new version release.

@Saurbaum
Copy link
Contributor Author

Saurbaum commented Nov 1, 2016

Is there anything more you need me to change now I've backed out the update I did to the built output?

@@ -90,6 +90,15 @@ export default class Base extends ol.control.Control {
}

/**
* Update the menus position.
*/
updatePosition(pixel) {
Copy link
Owner

Choose a reason for hiding this comment

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

Add an assertion to ´pixel´ parameter:

utils.assert(Array.isArray(pixel), '@param `pixel` should be an Array.');

@@ -90,6 +90,15 @@ export default class Base extends ol.control.Control {
}

/**
* Update the menus position.
Copy link
Owner

Choose a reason for hiding this comment

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

Minor: menus to menu's

@jonataswalker
Copy link
Owner

jonataswalker commented Nov 1, 2016

Yes, @Saurbaum there are some inline comments. (I've made them yesterday and forgot to submit)

Added assertion on the parameter 'pixel'
@Saurbaum
Copy link
Contributor Author

Saurbaum commented Nov 1, 2016

Apologies for that. Still getting to grips with the GitHub interface.

@jonataswalker jonataswalker merged commit fe7ff6f into jonataswalker:master Nov 1, 2016
@jonataswalker
Copy link
Owner

Thank you @Saurbaum. Merged.

@jonataswalker jonataswalker mentioned this pull request Nov 17, 2016
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.

2 participants