mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
jshint fixes
This commit is contained in:
@@ -52,7 +52,7 @@ function findViewportAndContent(startElement){
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( n == null ){
|
||||
if( n === null ){
|
||||
// That element should work as a viewport.
|
||||
return {
|
||||
viewport: angular.element(e),
|
||||
@@ -320,7 +320,7 @@ angular.module('ionic.ui.virtualRepeat', [])
|
||||
// The watch on the collection is just a watch on the length of the
|
||||
// collection. We don't care if the content changes.
|
||||
scope.$watch(sfVirtualRepeatWatchExpression, sfVirtualRepeatListener, true);
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user