Fixing tslint errors

This commit is contained in:
DamianEdwards 2014-06-27 11:00:37 -07:00
parent aae0635911
commit f1a82e6456
5 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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" })

View File

@ -1,5 +1,5 @@
module MusicStore.TitleCase {
//@NgFilter('titlecase')
function titleCase(input: string) {
var out = "",

View File

@ -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 {

View File

@ -8,7 +8,7 @@
//@NgDirective('select')
class VisitedDirective implements ng.IDirective {
private _window: ng.IWindowService;
constructor($window: ng.IWindowService) {
this._window = $window;
}