Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

Commit 1fc2ec5

Browse files
authored
Update angular dependency to 4.0.0-alpha (#30)
* Fix Material List example. * Update SDK dependencies. * Remove SDK 1.23 from travis matrix.
1 parent 63a7fc0 commit 1fc2ec5

File tree

28 files changed

+74
-57
lines changed

28 files changed

+74
-57
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ sudo: false
33
dart:
44
- dev
55
- stable
6-
- 1.23.0
76
dart_task:
87
- dartanalyzer: --fatal-warnings .
98
- dartfmt
109
cache:
1110
directories:
1211
- $HOME/.pub-cache
12+
matrix:
13+
allow_failures:
14+
- dart: dev
15+
dart_task: dartfmt

analysis_options.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
analyzer:
22
strong-mode: true
33
errors:
4-
unused_element: error
5-
unused_import: error
6-
unused_local_variable: error
7-
dead_code: error
4+
# TODO(nshahan) Make these errors when there is a fix for
5+
# https://github.com/dart-lang/sdk/issues/29713
6+
unused_element: warning
7+
unused_import: warning
8+
unused_local_variable: warning
9+
dead_code: warning
810
linter:
911
rules:
1012
#- always_declare_return_types

lib/app_component.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
4-
import 'package:angular2/angular2.dart';
4+
import 'package:angular/angular.dart';
55
import 'package:angular_components/angular_components.dart';
66

77
import 'src/demo_app/demo_app.dart';

lib/src/demo_app/demo_app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/glyph_demo/glyph_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_button_demo/material_button_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_checkbox_demo/material_checkbox_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_chips_demo/material_chips_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_dialog_demo/material_dialog_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_expansionpanel_demo/material_expansionpanel_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_input_demo/material_input_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_list_demo/material_list_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_list_demo/material_list_demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h3>Different List Sizes</h3>
2929
<p>Available Sizes: auto, x-small, small, medium, large, x-large</p>
3030
<div *ngFor="let size of sizes">
3131
<material-list class="bordered-list"
32-
[attr.size]="size">
32+
[size]="size">
3333
<div label>List Width: {{size}}</div>
3434
<material-list-item (trigger)="selectColor('red')">
3535
Red

lib/src/material_popup_demo/material_popup_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_progress_demo/material_progress_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_radio_demo/material_radio_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_select_demo/material_select_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_spinner_demo/material_spinner_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_tab_demo/material_tab_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_toggle_demo/material_toggle_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_tooltip_demo/material_tooltip_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_tree_demo/material_tree_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:angular_components/angular_components.dart';
2-
import 'package:angular2/angular2.dart';
2+
import 'package:angular/angular.dart';
33

44
/// An example that renders a [MaterialTreeComponent] with nested options.
55
///

lib/src/material_yes_no_buttons_demo/material_yes_no_buttons_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/reorder_list_demo/reorder_list_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/scorecard_demo/scorecard_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

0 commit comments

Comments
 (0)