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

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

Issue 10967059: migrate raw string to new syntax in html (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
===================================================================
--- lib/html/dart2js/html_dart2js.dart (revision 12745)
+++ lib/html/dart2js/html_dart2js.dart (working copy)
@@ -31,7 +31,7 @@
}
// 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 @@
// 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 _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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698