1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e4ce04f7e744/ Changeset: e4ce04f7e744 User: jgoecks Date: 2014-08-14 23:14:46 Summary: Code cleanup: semicolons and identity rather than equality. Affected #: 1 file diff -r 86c487b0c65f0d4ba4ce0c33432f3727c619921c -r e4ce04f7e7447d9f4d6a736d8f64ad2575a88813 static/scripts/galaxy.frame.js --- a/static/scripts/galaxy.frame.js +++ b/static/scripts/galaxy.frame.js @@ -32,7 +32,7 @@ { icon : 'fa-th', tooltip : 'Enable/Disable Scratchbook', - onclick : function() { self._activate() }, + onclick : function() { self._activate(); }, onunload : function() { if (self.frames.length() > 0) { return "You opened " + self.frames.length() + " frame(s) which will be lost."; @@ -50,9 +50,9 @@ tooltip : 'Show/Hide Scratchbook', onclick : function(e) { if (self.frames.visible) { - self.frames.hide() + self.frames.hide(); } else { - self.frames.show() + self.frames.show(); } }, with_number : true @@ -70,7 +70,7 @@ // refresh menu this.frames.setOnChange(function() { self._refresh(); - }) + }); this._refresh(); }, @@ -98,7 +98,7 @@ var $galaxy_main = $(window.parent.document).find('#galaxy_main'); if (options.target == 'galaxy_main' || options.target == 'center') { - if ($galaxy_main.length == 0) + if ($galaxy_main.length === 0) { var href = options.content; if (href.indexOf('?') == -1) @@ -151,7 +151,7 @@ this.button_load.number(this.frames.length()); // check - if(this.frames.length() == 0) + if(this.frames.length() === 0) this.button_load.hide(); else this.button_load.show(); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.