Fossil SCM
Removed a pair of bogus "delete" calls in fossil.popupwidget.js, flagged by Google Closure Compiler. You can't delete the result of a function call, only object properties.
Commit
0d7d54e870160b16215b4aa5cc9cebf6e09428c0589c38b34ee367495a65c305
Parent
e6de5ec75000299…
1 file changed
+2
-2
+2
-2
| --- src/fossil.popupwidget.js | ||
| +++ src/fossil.popupwidget.js | ||
| @@ -176,12 +176,12 @@ | ||
| 176 | 176 | this.e.style.top = y+"px"; |
| 177 | 177 | } |
| 178 | 178 | D.removeClass(this.e, 'hidden'); |
| 179 | 179 | }else{ |
| 180 | 180 | D.addClass(this.e, 'hidden'); |
| 181 | - delete this.e.style.removeProperty('left'); | |
| 182 | - delete this.e.style.removeProperty('top'); | |
| 181 | + this.e.style.removeProperty('left'); | |
| 182 | + this.e.style.removeProperty('top'); | |
| 183 | 183 | } |
| 184 | 184 | return this; |
| 185 | 185 | }, |
| 186 | 186 | |
| 187 | 187 | hide: function(){return this.show(false)} |
| 188 | 188 |
| --- src/fossil.popupwidget.js | |
| +++ src/fossil.popupwidget.js | |
| @@ -176,12 +176,12 @@ | |
| 176 | this.e.style.top = y+"px"; |
| 177 | } |
| 178 | D.removeClass(this.e, 'hidden'); |
| 179 | }else{ |
| 180 | D.addClass(this.e, 'hidden'); |
| 181 | delete this.e.style.removeProperty('left'); |
| 182 | delete this.e.style.removeProperty('top'); |
| 183 | } |
| 184 | return this; |
| 185 | }, |
| 186 | |
| 187 | hide: function(){return this.show(false)} |
| 188 |
| --- src/fossil.popupwidget.js | |
| +++ src/fossil.popupwidget.js | |
| @@ -176,12 +176,12 @@ | |
| 176 | this.e.style.top = y+"px"; |
| 177 | } |
| 178 | D.removeClass(this.e, 'hidden'); |
| 179 | }else{ |
| 180 | D.addClass(this.e, 'hidden'); |
| 181 | this.e.style.removeProperty('left'); |
| 182 | this.e.style.removeProperty('top'); |
| 183 | } |
| 184 | return this; |
| 185 | }, |
| 186 | |
| 187 | hide: function(){return this.show(false)} |
| 188 |