Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Here is a small patch to solve the issue (just added the goog.base).
diff --git a/closure/goog/demos/eventtarget.html
b/closure/goog/demos/eventtarget.html
index b26250e..ce7c7c7 100644
--- a/closure/goog/demos/eventtarget.html
+++ b/closure/goog/demos/eventtarget.html
@@ -31,7 +31,9 @@ See the COPYING file for details.
}
- function Something() { }
+ function Something() {
+ goog.base(this);
+ }
goog.inherits(Something, goog.events.EventTarget);
Something.prototype.DoSomething = function() {
Original comment by jcor...@idmog.com
on 14 Apr 2014 at 4:51
Attachments:
Fixed: see https://github.com/google/closure-library/issues/1
Original comment by joelt...@google.com
on 20 Jul 2015 at 10:11
Original issue reported on code.google.com by
jcor...@idmog.com
on 14 Apr 2014 at 4:48