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