| Index: tools/dom/templates/html/impl/impl_DomException.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_DomException.darttemplate b/tools/dom/templates/html/impl/impl_DomException.darttemplate
|
| similarity index 99%
|
| rename from tools/dom/templates/html/dart2js/impl_DomException.darttemplate
|
| rename to tools/dom/templates/html/impl/impl_DomException.darttemplate
|
| index e7e1519e5a50ce19e0faac00f668cf2383df5ddf..07aacbb57aef7ed20791cc21285e47fb5f02ace1 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_DomException.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_DomException.darttemplate
|
| @@ -29,6 +29,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError';
|
| static const String DATA_CLONE = 'DataCloneError';
|
|
|
| +$if DART2JS
|
| String get name {
|
| var errorName = JS('String', '#.name', this);
|
| // Although Safari nightly has updated the name to SecurityError, Safari 5
|
| @@ -39,5 +40,6 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| if (_Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError';
|
| return errorName;
|
| }
|
| +$endif
|
| $!MEMBERS
|
| }
|
|
|