aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2010-12-06 20:48:47 -0800
committerIgor Minar2010-12-06 20:48:47 -0800
commit8aed2047f025cf1a2e5e47e5ca08ca2b1b9bc393 (patch)
tree69d0f542bf8b7c0016a5b6c5308bb1294282ed69
parentf60b6b09380f218a86fc1ffd07485bc282a930e5 (diff)
downloadangular.js-8aed2047f025cf1a2e5e47e5ca08ca2b1b9bc393.tar.bz2
fixing closure compiler warnings
-rw-r--r--src/apis.js2
-rw-r--r--src/sanitizer.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/apis.js b/src/apis.js
index d63e8bea..a73626cf 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -466,7 +466,7 @@ var angularArray = {
* {@link angular.Array} for more info.
*
* @param {Array} array The array to count elements in.
- * @param {(Function()|string)=} condition A function to be evaluated or angular expression to be
+ * @param {(function()|string)=} condition A function to be evaluated or angular expression to be
* compiled and evaluated. The element that is currently being iterated over, is exposed to
* the `condition` as `this`.
* @returns {number} Number of elements in the array (for which the condition evaluates to true).
diff --git a/src/sanitizer.js b/src/sanitizer.js
index 61b61c90..b4764271 100644
--- a/src/sanitizer.js
+++ b/src/sanitizer.js
@@ -205,7 +205,7 @@ function makeMap(str){
/**
* decodes all entities into regular string
* @param value
- * @returns
+ * @returns {string} A string with decoded entities.
*/
var hiddenPre=document.createElement("pre");
function decodeEntities(value) {