]> source.dussan.org Git - jquery.git/commitdiff
Fixes typos in core.js and css.js. Closes gh-1175
authorPascal Borreli <pascal@borreli.com>
Thu, 21 Feb 2013 17:00:51 +0000 (12:00 -0500)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 21 Feb 2013 17:00:51 +0000 (12:00 -0500)
src/core.js
src/css.js

index 1b6f0913d3f6fc5af06f932759ef8f6f2138a860..b1ae40875c09e9fafe5b4f44b81b402a9045bd71 100644 (file)
@@ -427,7 +427,7 @@ jQuery.extend({
                }
 
                // Support: Firefox >16
-               // The try/catch supresses exceptions thrown when attempting to access
+               // The try/catch suppresses exceptions thrown when attempting to access
                // the "constructor" property of certain host objects, ie. |window.location|
                try {
                        if ( obj.constructor &&
index e8edd9f73372de7c2bc98ab78f90297ebb499408..8684dc26527d2124ac9eadeda6dcc44a8fbbbef1 100644 (file)
@@ -223,7 +223,7 @@ jQuery.extend({
                                value += "px";
                        }
 
-                       // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
+                       // Fixes #8908, it can be done more correctly by specifying setters in cssHooks,
                        // but it would mean to define eight (for every problematic property) identical functions
                        if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
                                style[ name ] = "inherit";