From: A. Scott Johnson Date: Mon, 9 Jun 2014 18:17:39 +0000 (-0700) Subject: Fixed doc typos X-Git-Tag: v5.3.1~39^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5302%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed doc typos --- diff --git a/doc/pages/javascript-utilities.html b/doc/pages/javascript-utilities.html index 7f9c5bda7..3776d9a5e 100644 --- a/doc/pages/javascript-utilities.html +++ b/doc/pages/javascript-utilities.html @@ -313,7 +313,7 @@ Foundation.utils.image_loaded($('img.wait-for-me'), function(){ // Arguments: // Image (jQuery Object): Image(s) to check if loaded. // -// Callback (Function): Fundation to execute when image is fully loaded. +// Callback (Function): Foundation to execute when image is fully loaded. image_loaded(image, callback) { ... } ``` @@ -323,7 +323,7 @@ image_loaded(image, callback) { ... }

Random String

-The random_str method is a helper for generating random strings of a given length. This method is used by some of the Foundation plugins to ensure a reasonable probability of non-collision for IDs in dynamically generated DOM objects. Note that random_str should not be considered crytographically secure. +The random_str method is a helper for generating random strings of a given length. This method is used by some of the Foundation plugins to ensure a reasonable probability of non-collision for IDs in dynamically generated DOM objects. Note that random_str should not be considered cryptographically secure.

Example

{{#markdown}}