]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed doc typos 5302/head
authorA. Scott Johnson <AScottJohnson@users.noreply.github.com>
Mon, 9 Jun 2014 18:17:39 +0000 (11:17 -0700)
committerA. Scott Johnson <AScottJohnson@users.noreply.github.com>
Mon, 9 Jun 2014 18:17:39 +0000 (11:17 -0700)
doc/pages/javascript-utilities.html

index 7f9c5bda7d52f78003d6dce226b923d4423fa730..3776d9a5e6cbb02c291e6a6c616a52a7633635bb 100644 (file)
@@ -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) { ... }
 
 <h3 id="random">Random String</h3>
 
-The <code>random_str</code> 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 <code>random_str</code> should not be considered crytographically secure.
+The <code>random_str</code> 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 <code>random_str</code> should not be considered cryptographically secure.
 
 <h4>Example</h4>
 {{#markdown}}