| Index: client/dom/frog_dom.js
|
| diff --git a/client/dom/frog_dom.js b/client/dom/frog_dom.js
|
| index 45984d4a0f35c3ec9f5d02e4be71a93e63dff3c7..a794918b8255a2ce3fb5317f58398462db94052c 100644
|
| --- a/client/dom/frog_dom.js
|
| +++ b/client/dom/frog_dom.js
|
| @@ -2,8 +2,6 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// TODO(vsm): Don't monkey patch Object and make this work on
|
| -// non-chrome browsers.
|
| -Object.prototype.get$typeName = function() {
|
| - return this.constructor.name;
|
| -}
|
| +// TODO(jmesserly): we need to find a way to avoid conflicts with other
|
| +// generated "typeName" fields. Ideally we wouldn't be patching 'Object' here.
|
| +Object.prototype.get$typeName = Object.prototype.$typeNameOf;
|
|
|