GNOME Bugzilla – Bug 778645
Make gnome-maps ready for new GJS
Last modified: 2017-02-15 16:58:35 UTC
Here's a patch for compatibility with the new GJS. (It fixes something which is a syntax error in ES6 but was previously silently accepted.)
Created attachment 345774 [details] [review] contextMenu: Avoid double declaration with 'let' The following is a syntax error in ES6: let a = 'something'; let a = 'other thing'; Previously GJS would silently accept this, but in GJS 1.48.0 it will be a syntax error. This fixes the one instance where it happens. In this case the offending variable was a dummy variable in a destructuring assignment, so we can just elide the variable.
Review of attachment 345774 [details] [review]: Awesomesauce!
Pushed to master.