Fixing more tslint errors
This commit is contained in:
parent
f1a82e6456
commit
b9fd70b930
|
|
@ -13,7 +13,7 @@
|
||||||
private _location: ng.ILocationService;
|
private _location: ng.ILocationService;
|
||||||
private _albumApi: AlbumApi.IAlbumApiService;
|
private _albumApi: AlbumApi.IAlbumApiService;
|
||||||
private _viewAlert: ViewAlert.IViewAlertService;
|
private _viewAlert: ViewAlert.IViewAlertService;
|
||||||
|
|
||||||
constructor($routeParams: IAlbumDetailsRouteParams,
|
constructor($routeParams: IAlbumDetailsRouteParams,
|
||||||
$modal: ng.ui.bootstrap.IModalService,
|
$modal: ng.ui.bootstrap.IModalService,
|
||||||
$location: ng.ILocationService,
|
$location: ng.ILocationService,
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ module MusicStore.Store {
|
||||||
// TODO: Enable debug logging based on server config
|
// TODO: Enable debug logging based on server config
|
||||||
// TODO: Capture all logged errors and send back to server
|
// TODO: Capture all logged errors and send back to server
|
||||||
$logProvider.debugEnabled(true);
|
$logProvider.debugEnabled(true);
|
||||||
|
|
||||||
$routeProvider
|
$routeProvider
|
||||||
.when("/", { templateUrl: "ng-apps/MusicStore.Store/Home/Home.html" })
|
.when("/", { templateUrl: "ng-apps/MusicStore.Store/Home/Home.html" })
|
||||||
.when("/albums/genres", { templateUrl: "ng-apps/MusicStore.Store/Catalog/GenreList.html" })
|
.when("/albums/genres", { templateUrl: "ng-apps/MusicStore.Store/Catalog/GenreList.html" })
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
module MusicStore.TitleCase {
|
module MusicStore.TitleCase {
|
||||||
|
|
||||||
//@NgFilter('titlecase')
|
//@NgFilter('titlecase')
|
||||||
function titleCase(input: string) {
|
function titleCase(input: string) {
|
||||||
var out = "",
|
var out = "",
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ module MusicStore.UserDetails {
|
||||||
if (!this._userDetails) {
|
if (!this._userDetails) {
|
||||||
//var el = this._document.querySelector("[data-json-id='" + elementId + "']");
|
//var el = this._document.querySelector("[data-json-id='" + elementId + "']");
|
||||||
var el = this._document.find("#" + elementId + "[type='application/json']");
|
var el = this._document.find("#" + elementId + "[type='application/json']");
|
||||||
|
|
||||||
if (el.length) {
|
if (el.length) {
|
||||||
this._userDetails = angular.fromJson(el.text());
|
this._userDetails = angular.fromJson(el.text());
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
//@NgDirective('select')
|
//@NgDirective('select')
|
||||||
class VisitedDirective implements ng.IDirective {
|
class VisitedDirective implements ng.IDirective {
|
||||||
private _window: ng.IWindowService;
|
private _window: ng.IWindowService;
|
||||||
|
|
||||||
constructor($window: ng.IWindowService) {
|
constructor($window: ng.IWindowService) {
|
||||||
this._window = $window;
|
this._window = $window;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue