fix: Fix issues found by Dart analyzer

This commit is contained in:
Kevin Moore 2015-04-15 18:17:22 -07:00
parent d3e391d176
commit 957384ceeb
8 changed files with 8 additions and 4 deletions

View File

@ -1,2 +1,3 @@
// Globals are provided by lang.dart in Dart.
// This file exists to prevent global.ts from being transpiled.
library angular2.globals;

View File

@ -1,4 +1,4 @@
library angular2.src.core.compiler.query_list;
library angular2.src.core.compiler.base_query_list;
import 'package:angular2/src/core/annotations/annotations.dart';
import 'dart:collection';

View File

@ -2,6 +2,7 @@
* Dart version of browser APIs. This library depends on 'dart:html' and
* therefore can only run in the browser.
*/
library angular2.src.facade.browser;
import 'dart:js' show context;

View File

@ -1,3 +1,5 @@
library angular2.src.services.xhr_impl;
import 'dart:async';
import 'dart:html';
import 'package:angular2/di.dart';

View File

@ -1,4 +1,4 @@
library angular2.transform.directive_processor;
library angular2.transform.directive_processor.rewriter;
import 'package:analyzer/analyzer.dart';
import 'package:analyzer/src/generated/java_core.dart';

View File

@ -1,4 +1,4 @@
library angular2.transform.directive_processor;
library angular2.transform.directive_processor.visitors;
import 'package:analyzer/analyzer.dart';
import 'package:analyzer/src/generated/java_core.dart';

View File

@ -17,7 +17,6 @@ import {
import {IMPLEMENTS, isBlank} from 'angular2/src/facade/lang';
import {ViewFactory} from 'angular2/src/core/compiler/view_factory';
import {AppProtoView, AppView} from 'angular2/src/core/compiler/view';
import {dynamicChangeDetection} from 'angular2/change_detection';
import {DirectiveBinding, ElementInjector} from 'angular2/src/core/compiler/element_injector';
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
import {Component} from 'angular2/src/core/annotations/annotations';

View File

@ -1,5 +1,6 @@
/// This file contains tests that make sense only in Dart world, such as
/// verifying that things are valid constants.
library angular2.test.di.binding_dart_spec;
import 'dart:mirrors';
import 'package:angular2/test_lib.dart';