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

Side by Side Diff: lib/html/src/dart2js_Conversions.dart

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:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 5
6 // Conversions for IDBKey. 6 // Conversions for IDBKey.
7 // 7 //
8 // Per http://www.w3.org/TR/IndexedDB/#key-construct 8 // Per http://www.w3.org/TR/IndexedDB/#key-construct
9 // 9 //
10 // "A value is said to be a valid key if it is one of the following types: Array 10 // "A value is said to be a valid key if it is one of the following types: Array
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 return copy; 387 return copy;
388 } 388 }
389 389
390 390
391 bool _isJavaScriptDate(value) => JS('bool', '# instanceof Date', value); 391 bool _isJavaScriptDate(value) => JS('bool', '# instanceof Date', value);
392 bool _isJavaScriptRegExp(value) => JS('bool', '# instanceof RegExp', value); 392 bool _isJavaScriptRegExp(value) => JS('bool', '# instanceof RegExp', value);
393 bool _isJavaScriptArray(value) => JS('bool', '# instanceof Array', value); 393 bool _isJavaScriptArray(value) => JS('bool', '# instanceof Array', value);
394 bool _isJavaScriptSimpleObject(value) => 394 bool _isJavaScriptSimpleObject(value) =>
395 JS('bool', 'Object.getPrototypeOf(#) === Object.prototype', value); 395 JS('bool', 'Object.getPrototypeOf(#) === Object.prototype', value);
396 bool _isImmutableJavaScriptArray(value) => 396 bool _isImmutableJavaScriptArray(value) =>
397 JS('bool', @'!!(#.immutable$list)', value); 397 JS('bool', r'!!(#.immutable$list)', value);
OLDNEW
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698