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

Resolves #1708, removes v1 button hacks #1751

Merged
merged 2 commits into from
Jan 22, 2018
Merged

Resolves #1708, removes v1 button hacks #1751

merged 2 commits into from
Jan 22, 2018

Conversation

brian-learningpool
Copy link
Member

@brian-learningpool brian-learningpool commented Aug 21, 2017

Removed the version 1->2 button hacks in preparation for the release of version 3.0.

#1708

Removed the version 1->2 button hacks in preparation for the release of version 3.0.
@@ -40,55 +40,30 @@ define([
setupButtonSettings: function() {
var globalButtons = Adapt.course.get("_buttons");
Copy link
Contributor

Choose a reason for hiding this comment

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

just a recommendation and not a requirement... but would be a good opportunity to use const here instead of var

if (typeof componentButtons[key] == 'object') {
// ARIA labels
if (!componentButtons[key].buttonText && globalButtons[key].buttonText) {
for (var key in componentButtons) {
Copy link
Contributor

Choose a reason for hiding this comment

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

just a recommendation and not a requirement... but would be a good opportunity to use const here instead of var

@moloko
Copy link
Contributor

moloko commented Sep 27, 2017

@brian-learningpool you have a conflict that needs sorting out I'm afraid

@oliverfoster oliverfoster merged commit 8316f27 into master Jan 22, 2018
@oliverfoster oliverfoster deleted the issue/1708 branch January 22, 2018 12:49
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.

4 participants