-
Notifications
You must be signed in to change notification settings - Fork 821
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
Porting ES6 widgets/rhythmruler.js #2763
Conversation
@meganindya please review this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncaught TypeError: Cannot set property 'Rulers' of null
at RhythmRuler2Block.flow (WidgetBlocks.js:885)
at Logo.runFromBlockNow (logo.js:1603)
at logo.js:1477
I have made the necessary changes. Please have a look! @meganindya |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On clicking clear button:
rhythmruler.js:932 Uncaught ReferenceError: r is not defined
at RhythmRuler._clear (rhythmruler.js:932)
at HTMLDivElement.RhythmRuler.widgetWindow.addButton.onclick (rhythmruler.js:2467)
The tap a rhythm button:
rhythmruler.js:177 Uncaught ReferenceError: Cannot access 'frame' before initialization
at __move (rhythmruler.js:177)
at RhythmRuler.__startTapping (rhythmruler.js:192)
at rhythmruler.js:141
Uncaught ReferenceError: cell is not defined
at RhythmRuler.__endTapping (rhythmruler.js:196)
at rhythmruler.js:171
On clicking the save button:
Uncaught (in promise) ReferenceError: rList is not defined
at RhythmRuler._mergeRulers (rhythmruler.js:2211)
at HTMLDivElement.RhythmRuler.widgetWindow.addButton.onclick (rhythmruler.js:2389)
I have tested the code. Hope there are no more errors. @meganindya Please have a look. |
240e63e
to
8e4a5aa
Compare
Pls don't merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK. Pls move the constructor
to the top, format (prettify) the code, and clean up stray code, e.g. console.debug
statements.
Done the changes and formatted the code. @meganindya |
You did not reset your local branch to the changes I made. There are conflicts and repeated commits. |
88437b4
to
b1926f0
Compare
function to classes function to classes 2
handling this and that minor changes let/const fix bugs fix bugs
b1926f0
to
c258b36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed all linting problems and formatted the code
With reference to issue #2629