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

Unified Diff: pkg/dev_compiler/tool/input_sdk/private/native_helper.dart

Issue 2752163002: Format all dart dev compiler files (Closed)
Patch Set: Created 3 years, 9 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
Index: pkg/dev_compiler/tool/input_sdk/private/native_helper.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/private/native_helper.dart b/pkg/dev_compiler/tool/input_sdk/private/native_helper.dart
index 335805b5c982ad002f902022eb2c01d93b068d68..5481fed75fd90ce383a680f64c7b7e4b83b5da36 100644
--- a/pkg/dev_compiler/tool/input_sdk/private/native_helper.dart
+++ b/pkg/dev_compiler/tool/input_sdk/private/native_helper.dart
@@ -4,14 +4,14 @@
part of dart._js_helper;
-
/**
* Sets a JavaScript property on an object.
*/
void defineProperty(var obj, String property, var value) {
- JS('void',
+ JS(
+ 'void',
'Object.defineProperty(#, #, '
- '{value: #, enumerable: false, writable: true, configurable: true})',
+ '{value: #, enumerable: false, writable: true, configurable: true})',
obj,
property,
value);
@@ -19,13 +19,13 @@ void defineProperty(var obj, String property, var value) {
// Obsolete in dart dev compiler. Added only so that the same version of
// dart:html can be used in dart2js an dev compiler.
-/*=F*/ convertDartClosureToJS /*<F>*/ (/*=F*/ closure, int arity) {
- return closure;
+/*=F*/ convertDartClosureToJS/*<F>*/(/*=F*/ closure, int arity) {
+ return closure;
}
// Warning: calls to these methods need to be removed before custom elements
// and cross-frame dom objects behave correctly in ddc
// https://github.com/dart-lang/sdk/issues/28326
-setNativeSubclassDispatchRecord(proto, interceptor) { }
+setNativeSubclassDispatchRecord(proto, interceptor) {}
findDispatchTagForInterceptorClass(interceptorClassConstructor) {}
makeLeafDispatchRecord(interceptor) {}
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/js_string.dart ('k') | pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698