From ae3720d2001c2d6b70a9759ec46fb4233aca6812 Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Wed, 25 Jan 2012 20:56:16 -0800 Subject: [PATCH] Clarify docs: return value of uniqueId --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 12d6958d1..dd963c707 100644 --- a/index.html +++ b/index.html @@ -1278,6 +1278,7 @@ _("fabio").capitalize();
Generate a globally-unique id for client-side models or DOM elements that need one. If prefix is passed, the id will be appended to it. + Without prefix, returns an integer.

 _.uniqueId('contact_');