Merge pull request #444 from mark-rushakoff/uniqueid-doc

Clarify docs: return value of uniqueId
This commit is contained in:
Jeremy Ashkenas
2012-01-26 06:24:09 -08:00

View File

@@ -1278,6 +1278,7 @@ _("fabio").capitalize();
<br />
Generate a globally-unique id for client-side models or DOM elements
that need one. If <b>prefix</b> is passed, the id will be appended to it.
Without <b>prefix</b>, returns an integer.
</p>
<pre>
_.uniqueId('contact_');