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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10991003: Change raw string indicator from @ to r. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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:
Download patch
« no previous file with comments | « no previous file | lib/html/src/dart2js_Conversions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index 38502c327c3be27ca2c59878971d442825743e82..85c4e3bf77c9993fe844039d408d2fe90c825ef2 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -31,7 +31,7 @@ class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" {
}
// Support for Send/ReceivePortSync.
-int _getNewIsolateId() native @'''
+int _getNewIsolateId() native r'''
if (!window.$dart$isolate$counter) {
window.$dart$isolate$counter = 1;
}
@@ -40,7 +40,7 @@ int _getNewIsolateId() native @'''
// Fast path to invoke JS send port.
_callPortSync(int id, message) {
- return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message);
+ return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
}
// TODO(vsm): Plumb this properly.
@@ -41556,7 +41556,7 @@ bool _isJavaScriptArray(value) => JS('bool', '# instanceof Array', value);
bool _isJavaScriptSimpleObject(value) =>
JS('bool', 'Object.getPrototypeOf(#) === Object.prototype', value);
bool _isImmutableJavaScriptArray(value) =>
- JS('bool', @'!!(#.immutable$list)', value);
+ JS('bool', r'!!(#.immutable$list)', value);
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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.
« no previous file with comments | « no previous file | lib/html/src/dart2js_Conversions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698