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

Unified Diff: third_party/pkg/angular/lib/tools/transformer/options.dart

Issue 256553002: Revert "Update all Angular libs (run update_all.sh)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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: third_party/pkg/angular/lib/tools/transformer/options.dart
diff --git a/third_party/pkg/angular/lib/tools/transformer/options.dart b/third_party/pkg/angular/lib/tools/transformer/options.dart
deleted file mode 100644
index d93280b29f66921b157a2052bc63bb627af9dc95..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/lib/tools/transformer/options.dart
+++ /dev/null
@@ -1,45 +0,0 @@
-library angular.tools.transformer.options;
-
-import 'dart:async';
-
-import 'package:barback/barback.dart';
-import 'package:code_transformers/resolver.dart';
-import 'package:di/transformer/options.dart' as di;
-
-/** Options used by Angular transformers */
-class TransformOptions {
-
- /**
- * List of html file paths which may contain Angular expressions.
- * The paths are relative to the package home and are represented using posix
- * style, which matches the representation used in asset ids in barback.
- */
- final List<String> htmlFiles;
-
- /**
- * Path to the Dart SDK directory, for resolving Dart libraries.
- */
- final String sdkDirectory;
-
- /**
- * Template cache path modifiers
- */
- final Map<String, String> templateUriRewrites;
-
- /**
- * Dependency injection options.
- */
- final di.TransformOptions diOptions;
-
- TransformOptions({String sdkDirectory, List<String> htmlFiles,
- Map<String, String> templateUriRewrites,
- di.TransformOptions diOptions}) :
- sdkDirectory = sdkDirectory,
- htmlFiles = htmlFiles != null ? htmlFiles : [],
- templateUriRewrites = templateUriRewrites != null ?
- templateUriRewrites : {},
- diOptions = diOptions {
- if (sdkDirectory == null)
- throw new ArgumentError('sdkDirectory must be provided.');
- }
-}

Powered by Google App Engine
This is Rietveld 408576698