This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import 'package:angular/change_detection/change_detection.dart';
9
9
import 'package:angular/change_detection/dirty_checking_change_detector_dynamic.dart' ;
10
10
import 'package:angular/core/registry_dynamic.dart' ;
11
11
import 'package:angular/core/parser/parser_dynamic.dart' ;
12
- import 'dart:html' as dom ;
12
+ import 'dart:html' ;
13
13
14
14
/**
15
15
* If you are writing code accessed from Angular expressions, you must include
@@ -25,8 +25,8 @@ import 'dart:html' as dom;
25
25
*/
26
26
@MirrorsUsed (targets: const [
27
27
'angular' ,
28
- 'angular.core ' ,
29
- 'angular.core.dom ' ,
28
+ 'angular.core_internal ' ,
29
+ 'angular.core.dom_internal ' ,
30
30
'angular.filter' ,
31
31
'angular.perf' ,
32
32
'angular.directive' ,
@@ -36,7 +36,7 @@ import 'dart:html' as dom;
36
36
'angular.core.parser.lexer' ,
37
37
'perf_api' ,
38
38
List ,
39
- dom. NodeTreeSanitizer ,
39
+ NodeTreeSanitizer ,
40
40
],
41
41
metaTargets: const [
42
42
NgInjectableService ,
Original file line number Diff line number Diff line change 1
1
library angular.core;
2
2
3
+ export "package:angular/core/service.dart" ;
3
4
export "package:angular/core_dom/module_internal.dart" show
4
5
Animation,
5
6
AnimationResult,
Original file line number Diff line number Diff line change @@ -51,5 +51,6 @@ mv docs/ $DOCVIEWER_DIR/client/web/docs/
51
51
(cd $DOCVIEWER_DIR /client; pub build)
52
52
53
53
# Revert the temp copy of the README.md file
54
- mv README-orig.md README.md
54
+ rm README.md
55
+ mv README-orig.md README.md
55
56
Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ set -evx
4
4
. ./scripts/env.sh
5
5
6
6
# skip auxiliary tests if we are only running dart2js
7
- if [[ $TESTS != " dart2js" ]]; then
7
+ if [[ $TESTS == " dart2js" ]]; then
8
+ cd example
9
+ pub build
10
+ cd ..
11
+ else
8
12
# run io tests
9
13
dart -c test/io/all.dart
10
14
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ main() {
43
43
});
44
44
45
45
describe ('angular symbols' , () {
46
- it ('should not export symbols that we do not know about' , () {
46
+ iit ('should not export symbols that we do not know about' , () {
47
47
// Test is failing? Add new symbols to the "ALLOWED_NAMES" list below.
48
48
// But make sure that you intend to export the symbol!
49
49
// Questions? Talk to @jbdeboer
@@ -123,6 +123,7 @@ main() {
123
123
var ALLOWED_NAMES = [
124
124
"angular.app.Application" ,
125
125
"angular.app.AngularModule" ,
126
+ "angular.core.service.NgInjectableService" ,
126
127
"angular.core_internal.CacheStats" ,
127
128
"angular.core_internal.ExceptionHandler" ,
128
129
"angular.core_internal.Interpolate" ,
You can’t perform that action at this time.
0 commit comments