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

Commit

Permalink
Clarify file comment about angular dependency.
Browse files Browse the repository at this point in the history
Based on feedback from external sync
#203

PiperOrigin-RevId: 179729861
  • Loading branch information
nshahan committed Jan 9, 2018
1 parent 1742fc6 commit 5100c4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/model/ui/has_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
// 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.

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

import 'has_renderer.dart';

export 'has_renderer.dart';

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

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

0 comments on commit 5100c4c

Please sign in to comment.