Apply new lint rules in more packages (#15521)

This commit is contained in:
Andy
2017-03-30 12:33:22 -07:00
committed by GitHub
parent 4173a37d30
commit 4cac3c5b44
59 changed files with 503 additions and 544 deletions

View File

@@ -820,8 +820,8 @@ angular.module('docsTimeDirective', [])
.directive('myCurrentTime', ['$interval', 'dateFilter', ($interval: any, dateFilter: any) => {
return {
link(scope: ng.IScope, element: ng.IAugmentedJQuery, attrs: ng.IAttributes) {
let format: any,
timeoutId: any;
let format: any;
let timeoutId: any;
function updateTime() {
element.text(dateFilter(new Date(), format));
@@ -896,7 +896,10 @@ angular.module('docsIsoFnBindExample', [])
angular.module('dragModule', [])
.directive('myDraggable', ['$document', ($document: any) => {
return (scope: any, element: any, attr: any) => {
let startX = 0, startY = 0, x = 0, y = 0;
let startX = 0;
let startY = 0;
let x = 0;
let y = 0;
element.css({
position: 'relative',