Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 5100c4c

Browse files
committed
Clarify file comment about angular dependency.
Based on feedback from external sync #203 PiperOrigin-RevId: 179729861
1 parent 1742fc6 commit 5100c4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/model/ui/has_factory.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// This file is separate from has_renderer so it doesn't add in the angular
6-
// dependency and so 'dart:html' which stops tests from running as a simple
5+
// This file is separate from has_renderer.dart so it doesn't add the angular
6+
// dependency and transitively 'dart:html', which doesn't work in a simple
77
// dart_test.
88
import 'package:angular/angular.dart' show ComponentFactory;
99

1010
import 'has_renderer.dart';
1111

1212
export 'has_renderer.dart';
1313

14-
/// Defines a method that returns a factory to render the Item. The
15-
/// component created must implement [RendersValue].
14+
/// Defines a method that returns a factory to render the Item. The component
15+
/// created must implement [RendersValue].
1616
typedef ComponentFactory FactoryRenderer<T extends RendersValue, I>(I item);
1717

1818
/// HasFactoryRenderer defines a method that takes in an item and returns the

0 commit comments

Comments
 (0)