Skip to content

Commit 52a8762

Browse files
committed
fix: bump to beta.6
1 parent acf1534 commit 52a8762

File tree

12 files changed

+121
-140
lines changed

12 files changed

+121
-140
lines changed

package-lock.json

Lines changed: 69 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"node": ">= 5.4.1"
2626
},
2727
"dependencies": {
28-
"@angular/animations": "~5.0.0-beta.0",
29-
"@angular/common": "~5.0.0-beta.0",
30-
"@angular/compiler": "~5.0.0-beta.0",
31-
"@angular/core": "~5.0.0-beta.0",
32-
"@angular/forms": "~5.0.0-beta.0",
33-
"@angular/http": "~5.0.0-beta.0",
34-
"@angular/platform-browser": "~5.0.0-beta.0",
28+
"@angular/animations": "~5.0.0-beta.6",
29+
"@angular/common": "~5.0.0-beta.6",
30+
"@angular/compiler": "~5.0.0-beta.6",
31+
"@angular/core": "~5.0.0-beta.6",
32+
"@angular/forms": "~5.0.0-beta.6",
33+
"@angular/http": "~5.0.0-beta.6",
34+
"@angular/platform-browser": "~5.0.0-beta.6",
3535
"core-js": "^2.4.1",
3636
"rxjs": "^5.0.1",
3737
"systemjs": "0.19.43",
@@ -40,11 +40,11 @@
4040
"zone.js": "^0.8.12"
4141
},
4242
"devDependencies": {
43-
"@angular/compiler-cli": "~5.0.0-beta.0",
44-
"@angular/platform-browser-dynamic": "~5.0.0-beta.0",
45-
"@angular/platform-server": "~5.0.0-beta.0",
46-
"@angular/router": "~5.0.0-beta.0",
47-
"@angular/tsc-wrapped": "~5.0.0-beta.0",
43+
"@angular/compiler-cli": "~5.0.0-beta.6",
44+
"@angular/platform-browser-dynamic": "~5.0.0-beta.6",
45+
"@angular/platform-server": "~5.0.0-beta.6",
46+
"@angular/router": "~5.0.0-beta.6",
47+
"@angular/tsc-wrapped": "~5.0.0-beta.6",
4848
"@google-cloud/storage": "^1.1.1",
4949
"@types/chalk": "^0.4.31",
5050
"@types/fs-extra": "^3.0.1",
@@ -116,7 +116,7 @@
116116
"tsconfig-paths": "^2.2.0",
117117
"tslint": "^5.7.0",
118118
"tsutils": "^2.6.0",
119-
"typescript": "~2.2.1",
119+
"typescript": "~2.3.0",
120120
"uglify-js": "^2.8.14",
121121
"web-animations-js": "^2.2.5"
122122
}

src/cdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/angular/material2#readme",
2525
"peerDependencies": {
26-
"@angular/core": "~5.0.0-beta.0",
27-
"@angular/common": "~5.0.0-beta.0"
26+
"@angular/core": "~5.0.0-beta.6",
27+
"@angular/common": "~5.0.0-beta.6"
2828
},
2929
"dependencies": {
3030
"tslib": "^1.7.1"

src/cdk/scrolling/scroll-dispatcher.spec.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,16 @@ describe('Scroll Dispatcher', () => {
6767
}));
6868

6969
it('should not execute the global events in the Angular zone', () => {
70-
const spy = jasmine.createSpy('zone unstable callback');
71-
const subscription = fixture.ngZone!.onUnstable.subscribe(spy);
72-
7370
scroll.scrolled(0, () => {});
7471
dispatchFakeEvent(document, 'scroll');
7572
dispatchFakeEvent(window, 'resize');
7673

77-
expect(spy).not.toHaveBeenCalled();
78-
subscription.unsubscribe();
74+
expect(fixture.ngZone!.isStable).toBe(true);
7975
});
8076

8177
it('should not execute the scrollable events in the Angular zone', () => {
82-
const spy = jasmine.createSpy('zone unstable callback');
83-
const subscription = fixture.ngZone!.onUnstable.subscribe(spy);
84-
8578
dispatchFakeEvent(fixture.componentInstance.scrollingElement.nativeElement, 'scroll');
86-
87-
expect(spy).not.toHaveBeenCalled();
88-
subscription.unsubscribe();
79+
expect(fixture.ngZone!.isStable).toBe(true);
8980
});
9081

9182
it('should be able to unsubscribe from the global scrollable', () => {

src/lib/chips/chip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export class MdChip extends _MdChipMixinBase implements FocusableOption, OnDestr
218218
selector: '[mdChipRemove], [matChipRemove]',
219219
host: {
220220
'class': 'mat-chip-remove',
221-
'(click)': '_handleClick($event)'
221+
'(click)': '_handleClick()'
222222
}
223223
})
224224
export class MdChipRemove {

src/lib/core/datetime/date-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export abstract class DateAdapter<D> {
203203
* Checks if two dates are equal.
204204
* @param first The first date to check.
205205
* @param second The second date to check.
206-
* @returns {boolean} Whether the two dates are equal.
206+
* @returns Whether the two dates are equal.
207207
* Null dates are considered equal to other null dates.
208208
*/
209209
sameDate(first: D | null, second: D | null): boolean {

src/lib/grid-list/index.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
import {NgModule} from '@angular/core';
1010
import {MdLineModule, MdCommonModule} from '../core';
1111
import {
12-
MdGridTile, MdGridTileText, MdGridTileFooterCssMatStyler,
13-
MdGridTileHeaderCssMatStyler, MdGridAvatarCssMatStyler
12+
MdGridTile,
13+
MdGridTileText,
14+
MdGridTileFooterCssMatStyler,
15+
MdGridTileHeaderCssMatStyler,
16+
MdGridAvatarCssMatStyler,
1417
} from './grid-tile';
1518
import {MdGridList} from './grid-list';
1619

@@ -40,4 +43,4 @@ export class MdGridListModule {}
4043

4144

4245
export * from './grid-list';
43-
export {MdGridTile} from './grid-tile';
46+
export * from './grid-tile';

src/lib/menu/menu.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ describe('MdMenu', () => {
8484
}).not.toThrowError();
8585
});
8686

87-
<<<<<<< HEAD
8887
it('should close the menu when a click occurs outside the menu', fakeAsync(() => {
89-
=======
90-
it('should close the menu when a click occurs outside', fakeAsync(() => {
91-
>>>>>>> wip: angular 5 support
9288
const fixture = TestBed.createComponent(SimpleMenu);
9389
fixture.detectChanges();
9490
fixture.componentInstance.trigger.openMenu();

0 commit comments

Comments
 (0)