Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build: Correct code indentations based on jQuery Style Guide | Wonseop Kim | 2020-05-05 | 1 | -2/+5 |
| | | | | | | | | 1. Correct code indentations based on jQuery Style Guide (contribute.jquery.org/style-guide/js/#spacing). 2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent indentation", with minimal changes to the current code. Closes gh-4672 | ||||
* | Core: Migrate from AMD to ES modules 🎉 | Michał Gołębiowski-Owczarek | 2019-11-18 | 1 | -9/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Migrate all source AMD modules to ECMAScript modules. The final bundle is compiled by a custom build process that uses Rollup under the hood. Test files themselves are still loaded via RequireJS as that has to work in IE 11. Tests can now be run in "Load as modules" mode which replaces the previous "Load with AMD" option. That option of running tests doesn't work in IE and Edge as it requires support for dynamic imports. Some of the changes required by the migration: * check `typeof` of `noGlobal` instead of using the variable directly as it's not available when modules are used * change the nonce module to be an object as ECMASscript module exports are immutable * remove some unused exports * import `./core/parseHTML.js` directly in `jquery.js` so that it's not being cut out when the `ajax` module is excluded in a custom compilation Closes gh-4541 | ||||
* | Core: Deprecate jQuery.isWindow | Shashanka Nataraj | 2017-07-10 | 1 | -2/+3 |
| | | | | | Fixes gh-3629 Close gh-3702 | ||||
* | Build: Put all AMD modules in "src/" in strict mode | Michał Gołębiowski | 2016-04-25 | 1 | -0/+2 |
| | | | | Fixes gh-3073 | ||||
* | Dimensions: Empty sets should return undefined | Dave Methvin | 2015-11-10 | 1 | -1/+1 |
| | | | | | Ref gh-2319 Closes gh-2701 | ||||
* | Dimensions: outerWidth/Height include scrollbar | Dave Methvin | 2015-11-07 | 1 | -4/+4 |
| | | | | | Fixes gh-1729 Closes gh-2694 | ||||
* | Build: Update jscs and lint files | Oleg Gaidarenko | 2015-09-07 | 1 | -4/+6 |
| | | | | Fixes gh-2056 | ||||
* | Build: update grunt-jscs-checker and pass with the new rules | Timmy Willison | 2014-07-17 | 1 | -1/+3 |
| | |||||
* | Support: clean up comments and Support notation | Dave Methvin | 2014-06-10 | 1 | -1/+1 |
| | | | | Closes gh-1577 | ||||
* | Apply consistent ordering in all modules. -38 bytes. Order modules like ↵ | Timmy Willison | 2013-09-09 | 1 | -0/+1 |
| | | | | functions > jQuery.extend > jQuery.fn.extend. | ||||
* | Break jQuery.access out into its own module to separate it from core; Adjust ↵ | Timmy Willison | 2013-09-09 | 1 | -2/+3 |
| | | | | CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. | ||||
* | Always return jQuery in modules that can be included separately | Timmy Willison | 2013-09-08 | 1 | -0/+2 |
| | |||||
* | AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. | Timmy Willison | 2013-08-15 | 1 | -0/+5 |
| | |||||
* | Edited comments and minor adjustments. Fixes #13553. Closes gh-1195. | Michał Z. Gołębiowski | 2013-03-12 | 1 | -2/+2 |
| | |||||
* | Pass style declarations around for performance improvements and paving the ↵ | Mike Sherov | 2012-12-11 | 1 | -1/+1 |
| | | | | | | way for the css array signature Also, simplify the jQuery.css numeric coercion signature | ||||
* | Fix #12283. Return null for dimension getters on non elements. Fix gh-900. | Mike Sherov | 2012-08-19 | 1 | -1/+1 |
| | |||||
* | Follow the style guide, lose 72 bytes! Closes gh-840. | Mike Sherov | 2012-07-09 | 1 | -8/+5 |
| | |||||
* | Fixe dimensions tests. No core code changes. Supplements #11856 | Mike Sherov | 2012-06-06 | 1 | -1/+1 |
| | |||||
* | Strips IIFEs from modules; Always require built jQuery for tests. | Rick Waldron | 2012-06-04 | 1 | -4/+0 |
| | |||||
* | Fix #11724, $(document).height() in Firefox 12. Closes gh-802. | Mike Sherov | 2012-05-31 | 1 | -10/+4 |
| | | | | This reopens #3838 for IE6 which is a regression on a fix in 1.7.2, but we'd rather break a really old IE than a really recent Firefox. | ||||
* | Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788. | Richard Gibson | 2012-05-24 | 1 | -62/+44 |
| | |||||
* | Fix #10877. Make outerWidth/Height a setter. Closes gh-783. | Mike Sherov | 2012-05-21 | 1 | -21/+21 |
| | |||||
* | Fix #6724, though the Mobile Safari wound remains. Closes gh-764. | Matt Farmer | 2012-05-14 | 1 | -6/+5 |
| | |||||
* | Fix 11004. getWH() box-sizing:border-box includes padding and border. | Mike Sherov | 2012-04-10 | 1 | -1/+1 |
| | |||||
* | Speed up .css() by eliminating the middleman. | Mike Sherov | 2012-04-05 | 1 | -1/+1 |
| | |||||
* | Fix #3838, $(document).height() incorrect in IE6 | Mike Sherov | 2012-03-02 | 1 | -1/+9 |
| | | | | May still be broken in Netscape Navigator 4. | ||||
* | Fix #7986. $.support.boxModel shan't be fooled by page-level CSS. | Mike Sherov | 2012-02-24 | 1 | -1/+1 |
| | |||||
* | Fix #5571. Setters should treat `undefined` as a no-op and be chainable. | Richard Gibson | 2011-12-06 | 1 | -41/+32 |
| | |||||
* | Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric. | Dave Methvin | 2011-10-11 | 1 | -1/+1 |
| | | | | Thanks to Christian C. Salvadó for the unit tests! | ||||
* | Add support for calling outer/inner Width/Height on the window and document. ↵ | timmywil | 2011-09-30 | 1 | -2/+6 |
| | | | | Fixes #9434. | ||||
* | Make sure body is defined before attempting to use its properties. This ↵ | scottjehl | 2011-08-02 | 1 | -2/+3 |
| | | | | check prevents an error from occurring when the width() or height() methods are called before the body is defined in browsers that return false on the first condition and proceed on to the second. For example, simply calling $( window ).width() from a script in the HEAD will throw an error in Nokia webkit browsers without this check in place. | ||||
* | Optimize width/height retrieval (moved logic to getWH, removed adjustWH). ↵ | timmywil | 2011-06-06 | 1 | -3/+3 |
| | | | | Supplements #9441, #9300. | ||||
* | Move window/document test to dimensions for consistency | timmywil | 2011-05-25 | 1 | -6/+6 |
| | |||||
* | Return null for outer/inner width/height calls on window/document. Fixes #7557. | timmywil | 2011-05-25 | 1 | -4/+6 |
| | |||||
* | Revised the Nokia support fallback. It turns out that Nokia supports the ↵ | scottjehl | 2011-01-19 | 1 | -2/+4 |
| | | | | documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height. | ||||
* | set name to lowercase, since it's passed as initial caps | scottjehl | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/jquery/jquery | scottjehl | 2011-01-13 | 1 | -1/+1 |
|\ | |||||
| * | Clean trailing whitespace from all files. | Colin Snover | 2010-12-30 | 1 | -1/+1 |
| | | |||||
* | | Getting window dimensions currently fails in Nokia browsers, causing JS ↵ | scottjehl | 2010-12-22 | 1 | -1/+1 |
|/ | | | | error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined. | ||||
* | Make sure that when multiple variables are being declared that assignments ↵ | John Resig | 2010-11-09 | 1 | -1/+3 |
| | | | | are each done on their own line. | ||||
* | Make sure that .width()/.height() don't return NaN also standardize on ↵ | jeresig | 2010-10-22 | 1 | -20/+22 |
| | | | | returning instead of auto for default values (which is what we do elsewhere in .css() as well). Fixes #7225. | ||||
* | Unify the means of detecting a window across the library. Fixes jQuery UI ↵ | jeresig | 2010-09-22 | 1 | -1/+1 |
| | | | | bug #5438 and jQuery bugs #6575 and 6088. | ||||
* | Derp, had parseInt on the brain. Thanks karbassi in ↵ | John Resig | 2010-09-17 | 1 | -3/+3 |
| | | | | 6541eb9d80db42c6ced396fcd198228bff9ec7f1. | ||||
* | Cleaning up some un-needed CSS code and adding back a temporary (deprecated) ↵ | John Resig | 2010-09-17 | 1 | -2/+2 |
| | | | | curCSS method. | ||||
* | Split apart jQuery.css into jQuery.css (computed values) and jQuery.style ↵ | jeresig | 2010-09-16 | 1 | -2/+2 |
| | | | | (currently set values). | ||||
* | Make sure that height/width methods return numbers instead of strings. | jeresig | 2010-09-09 | 1 | -3/+3 |
| | |||||
* | Make sure that jQuery works even when the individual modules are loaded ↵ | jeresig | 2010-09-08 | 1 | -0/+4 |
| | | | | separately AND jQuery.noConflict(true) is used. Fixes #7011. | ||||
* | First pass at unifying the various CSS methods in jQuery (jQuery.style, ↵ | John Resig | 2010-09-05 | 1 | -2/+2 |
| | | | | jQuery.curCSS, and jQuery.css are now all under jQuery.css). | ||||
* | Added in .height(fn) and .width(fn) support. Fixes #5915. | jeresig | 2010-01-23 | 1 | -0/+7 |
| | |||||
* | Made a number of spacing changes to bring the code more-inline with the ↵ | jeresig | 2009-12-21 | 1 | -3/+3 |
| | | | | jQuery Core Style Guideline. |