Closed GoogleCodeExporter closed 9 years ago
toggleElement might make more sense?
Original comment by jrhe...@yelp.com
on 12 Apr 2012 at 12:01
hideElement?
Original comment by edmundhu...@google.com
on 12 Apr 2012 at 12:01
As a general rule, we promote boolean flags over two functions/methods. In
this case, showElement(flag) over showElement() and hideElement().
JsCompiler should be giving you warnings if you're forgetting the flag.
Original comment by nn...@google.com
on 12 Apr 2012 at 12:07
Original issue reported on code.google.com by
edmundhu...@google.com
on 11 Apr 2012 at 11:56