Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
refactor: remove unused import clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored and [email protected] committed Aug 26, 2014
1 parent 3af9434 commit 7c2846e
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion lib/cache/js_cache_register.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ library angular.cache.js;
import 'dart:js' as js;
import 'package:di/di.dart';
import 'package:di/annotations.dart';
import 'package:angular/core/annotation_src.dart';
import 'package:angular/cache/module.dart';

Key JS_CACHE_REGISTER_KEY = new Key(JsCacheRegister);
Expand Down
1 change: 0 additions & 1 deletion lib/cache/module.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
library angular.cache;

import 'dart:collection';
import 'dart:async';

import 'package:di/di.dart';
import 'package:di/annotations.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/change_detection/ast_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import 'package:di/annotations.dart';
import 'package:angular/core/parser/syntax.dart' as syntax;
import 'package:angular/core/parser/parser.dart';
import 'package:angular/core/formatter.dart';
import 'package:angular/core/annotation_src.dart';
import 'package:angular/change_detection/watch_group.dart';
import 'package:angular/change_detection/change_detection.dart';
import 'package:angular/core/parser/utils.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/core/annotation_src.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
library angular.core.annotation_src;

import "package:di/di.dart" show Injector, Visibility, Factory;

abstract class DirectiveBinder {
void bind(key, {dynamic toValue,
Function toFactory,
Expand Down
6 changes: 0 additions & 6 deletions lib/core/module_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ import 'package:di/annotations.dart';

import 'package:angular/core/parser/parser.dart';
import 'package:angular/core/parser/lexer.dart';
import 'package:angular/utils.dart';
import 'package:angular/ng_tracing.dart';

import 'package:angular/core/annotation_src.dart';

import 'package:angular/cache/module.dart';
import 'package:angular/change_detection/watch_group.dart';
export 'package:angular/change_detection/watch_group.dart';
Expand All @@ -23,9 +20,6 @@ import 'package:angular/change_detection/change_detection.dart';
import 'package:angular/change_detection/dirty_checking_change_detector.dart';
import 'package:angular/core/formatter.dart';
export 'package:angular/core/formatter.dart';
import 'package:angular/core/parser/utils.dart';
import 'package:angular/core/registry.dart';
import 'package:angular/core/static_keys.dart';

part "exception_handler.dart";
part "interpolate.dart";
Expand Down
1 change: 0 additions & 1 deletion lib/core/parser/dynamic_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ library angular.core.parser.dynamic_parser;

import 'package:di/annotations.dart';
import 'package:angular/cache/module.dart';
import 'package:angular/core/annotation_src.dart' hide Formatter;
import 'package:angular/core/formatter.dart' show FormatterMap;

import 'package:angular/core/parser/parser.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/core/parser/lexer.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
library angular.core.parser.lexer;

import 'package:di/annotations.dart';
import 'package:angular/core/annotation_src.dart';
import 'package:angular/core/parser/characters.dart';

part 'tokens.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/core_dom/directive_injector.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
library angular.node_injector;

import 'dart:collection';
import 'dart:html' show Node, Element, ShadowRoot;
import 'dart:profiler';

Expand Down
1 change: 0 additions & 1 deletion lib/core_dom/static_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ library angular.core_dom.static_keys;
import 'dart:html' as dom;
import 'package:di/di.dart';
import 'package:angular/cache/module.dart';
import 'package:angular/core/static_keys.dart';
import 'package:angular/core_dom/module_internal.dart';

export 'package:angular/directive/static_keys.dart' show NG_BASE_CSS_KEY;
Expand Down
1 change: 0 additions & 1 deletion lib/formatter/module_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'dart:convert' show JSON;
import 'package:intl/intl.dart';
import 'package:di/di.dart';
import 'package:angular/core/annotation.dart';
import 'package:angular/core/module_internal.dart';
import 'package:angular/core/parser/parser.dart';

part 'currency.dart';
Expand Down
3 changes: 1 addition & 2 deletions lib/introspection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'dart:async' as async;
import 'dart:html' as dom;
import 'dart:js' as js;
import 'package:di/di.dart';
import 'package:angular/animate/module.dart';
import 'package:angular/core/module_internal.dart';
import 'package:angular/core_dom/module_internal.dart';
import 'package:angular/core_dom/directive_injector.dart' show DirectiveInjector;
Expand Down Expand Up @@ -231,7 +230,7 @@ _jsify(var obj) {
return _jsFunction(obj);
}
if ((obj is Map) || (obj is Iterable)) {
var mappedObj = (obj is Map) ?
var mappedObj = (obj is Map) ?
new Map.fromIterables(obj.keys, obj.values.map(_jsify)) : obj.map(_jsify);
if (obj is List) {
return new js.JsArray.from(mappedObj);
Expand Down
2 changes: 0 additions & 2 deletions lib/transformer.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
library angular.transformer;

import 'dart:async';
import 'dart:io';
import 'package:angular/tools/transformer/expression_generator.dart';
import 'package:angular/tools/transformer/metadata_generator.dart';
import 'package:angular/tools/transformer/static_angular_generator.dart';
Expand All @@ -10,7 +9,6 @@ import 'package:angular/tools/transformer/options.dart';
import 'package:barback/barback.dart';
import 'package:code_transformers/resolver.dart';
import 'package:di/transformer.dart' as di;
import 'package:path/path.dart' as path;


/**
Expand Down

0 comments on commit 7c2846e

Please sign in to comment.