Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit 1c72222

Browse files
committed
fix(indeterminate): Corrected jshint errors
1 parent e551727 commit 1c72222

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/indeterminate/indeterminate.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
*
44
* @example <input type="checkbox" ui-indeterminate="isUnkown">
55
*/
6-
angular.module('ui.indeterminate',[]).directive('uiIndeterminate', [,
6+
angular.module('ui.indeterminate',[]).directive('uiIndeterminate', [
77
function () {
88
return {
99
compile: function(tElm, tAttrs) {
10-
if (!tAttrs.type || tAttrs.toLowercase() !== 'checkbox')
10+
if (!tAttrs.type || tAttrs.toLowercase() !== 'checkbox') {
1111
return angular.noop;
12+
}
1213

1314
return function ($scope, elm, attrs) {
1415
$scope.$watch(attrs.uiIndeterminate, function(newVal, oldVal) {

0 commit comments

Comments
 (0)