(js) Fix possible errors (help from jsjint)

This commit is contained in:
Francis Lachapelle
2015-07-24 16:14:53 -04:00
parent e064dc4a46
commit dc9a0896e5
27 changed files with 166 additions and 157 deletions
@@ -90,11 +90,11 @@
scope.cancel = function() {
d.reject();
$mdDialog.hide();
}
};
scope.ok = function() {
d.resolve(scope.name);
$mdDialog.hide();
}
};
}
return d.promise;
@@ -110,7 +110,7 @@
angular.extend(Dialog, { $q: $q , $modal: $mdDialog });
return Dialog; // return constructor
};
}
/* Factory registration in Angular module */
angular