Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tools/dom/templates/html/impl/impl_DomException.darttemplate

Issue 11946006: Fix git rebase fail on my part that merged the status files poorly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_DomException.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_DomException.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698