aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-26 11:46:02 +0000
committerPeter Bacon Darwin2014-02-26 11:47:22 +0000
commit332e935048d161764046b43fe6599e1db2afc3b6 (patch)
treee560b374b78b75e9bf27d67dbf8d5f2de6598f2d /src/Angular.js
parent30c8207e0f2e10a6f02a0c2ba16825ad27092108 (diff)
downloadangular.js-332e935048d161764046b43fe6599e1db2afc3b6.tar.bz2
docs(*): fix jsdoc type expressions
These errors in the docs were preventing some parts of the docs from being parsed.
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Angular.js b/src/Angular.js
index f1ed847f..bc2ecf94 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -289,7 +289,7 @@ function reverseParams(iteratorFn) {
* the number string gets longer over time, and it can also overflow, where as the nextId
* will grow much slower, it is a string, and it will never overflow.
*
- * @returns an unique alpha-numeric string
+ * @returns {string} an unique alpha-numeric string
*/
function nextUid() {
var index = uid.length;
@@ -1053,7 +1053,7 @@ function tryDecodeURIComponent(value) {
/**
* Parses an escaped url query string into key-value pairs.
- * @returns Object.<(string|boolean)>
+ * @returns {Object.<string,boolean|Array>}
*/
function parseKeyValue(/**string*/keyValue) {
var obj = {}, key_value, key;
@@ -1349,9 +1349,9 @@ function assertNotHasOwnProperty(name, context) {
/**
* Return the value accessible from the object by path. Any undefined traversals are ignored
* @param {Object} obj starting object
- * @param {string} path path to traverse
- * @param {boolean=true} bindFnToScope
- * @returns value as accessible by path
+ * @param {String} path path to traverse
+ * @param {boolean} [bindFnToScope=true]
+ * @returns {Object} value as accessible by path
*/
//TODO(misko): this function needs to be removed
function getter(obj, path, bindFnToScope) {
@@ -1376,7 +1376,7 @@ function getter(obj, path, bindFnToScope) {
/**
* Return the DOM siblings between the first and last node in the given array.
* @param {Array} array like object
- * @returns jQlite object containing the elements
+ * @returns {DOMElement} object containing the elements
*/
function getBlockElements(nodes) {
var startNode = nodes[0],