Commit graph

2652 commits

Author SHA1 Message Date
John Resig e7c2d3b45b Added in support for basic JSON object parsing of data- attributes. 2010-09-21 00:51:45 -04:00
John Resig ae9df1412c Make sure that undefined is returned for not found data- attributes, not null. 2010-09-21 00:44:47 -04:00
John Resig d5d4e4df65 Tweaked the data number RegExp some to handle some other edge cases. 2010-09-21 00:38:26 -04:00
jeresig 4a46f3d7fb Fixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7. 2010-09-20 20:08:57 -04:00
John Resig 653c04acb8 Merge remote branch 'RedWolves/master' 2010-09-20 18:10:34 -04:00
John Resig 20673d7e58 Pull data-* attributes into .data(). Original code by Andrée Hasson and Paul Irish. Fixes #6921. 2010-09-20 17:47:41 -04:00
John Resig 747ba7defd Allow plugins to delay the exeuction of the ready event. Delay the ready event by calling: jQuery.readyWait++ and force the event to fire by doing: jQuery.ready(true). Fixes #6781. 2010-09-20 14:53:29 -04:00
jeresig 5b92cdd048 Removing extra arg. 2010-09-20 10:41:58 -04:00
jeresig be59693037 No need to set returnValue if preventDefault exists. Thanks kangax for the catch. 2010-09-20 10:16:36 -04:00
John Resig 7350e2e1cc Added in some .css() setter perf tests as well. 2010-09-17 18:26:21 -04:00
John Resig 2d70dc9c43 Derp, had parseInt on the brain. Thanks karbassi in 6541eb9d80. 2010-09-17 17:02:03 -04:00
Ralph Whitbeck 7c5fd489ee Updated the Questions? section with the forum information. 2010-09-17 12:40:04 -07:00
John Resig 9dd70a44ad Adding a simple file for doing .css() performance testing. 2010-09-17 15:38:27 -04:00
John Resig 8691a826c0 Fix trailing arg. 2010-09-17 14:58:50 -04:00
John Resig 77e310b906 Simplifying the camelCase logic used in the CSS and Effects modules. 2010-09-17 14:53:10 -04:00
John Resig 6541eb9d80 Cleaning up some un-needed CSS code and adding back a temporary (deprecated) curCSS method. 2010-09-17 14:41:28 -04:00
John Resig 51d258074c Merge branch 'csshooks' 2010-09-17 14:32:43 -04:00
John Resig 192bab8ed6 jQuery.css() returns a string value - handle this properly in the animation code. 2010-09-17 14:30:30 -04:00
John Resig d1f3dc9a04 Make sure that empty height/width values are still set. 2010-09-17 13:51:12 -04:00
John Resig 99fcf3babb Fixed some sloppy checks in the effects test suite, makes it more apparent where issues are happening. 2010-09-17 13:38:13 -04:00
John Resig fc5b69fc70 Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch. 2010-09-17 13:18:39 -04:00
jeresig 37b607d281 Split apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently set values). 2010-09-16 10:00:56 -04:00
jeresig 492a2e2c53 Wrap the core return in parens to fix a confused JSLint. 2010-09-14 09:57:26 -04:00
jeresig 2131e1a7ad Removing leftover debug code. 2010-09-14 09:52:13 -04:00
John Resig 959c20f768 Add a flag to verify if a browser supports some form of XHR request. Fixes #7030. 2010-09-13 18:02:33 -04:00
John Resig 2bda99c18a Making some more adjustments to handle auto CSS properties. 2010-09-13 18:00:28 -04:00
jeresig 8b7015987c Only set height/width if it's a non-negative number (don't set it to 0). 2010-09-09 16:34:15 -04:00
jeresig cb3a9c14f1 Make sure that height/width methods return numbers instead of strings. 2010-09-09 16:33:05 -04:00
jeresig c168c30a6a Another logic bug caught by furf in ad950c8c59. 2010-09-09 16:29:26 -04:00
jeresig c36596ea58 Make sure that the CSS hook getter isn't called if a forced computed style is done. 2010-09-09 16:26:30 -04:00
jeresig 70377a65e2 Make sure that effect tests no longer reference the old CSS methods. 2010-09-09 15:48:28 -04:00
jeresig a166860a19 Adding in a couple private variables to effects.js that were in css.js. 2010-09-09 15:45:24 -04:00
jeresig 7c8588530a Make sure that string values are returned from the height/width CSS properties. 2010-09-09 15:42:38 -04:00
jeresig 194c93eca2 Merge branch 'master' into csshooks
Conflicts:
	src/css.js
2010-09-09 15:35:18 -04:00
jeresig ad950c8c59 Landing a bunch of bug fixes from furf's pull request at eefcbaebb31b89b5eb360cd5ec6165b89c84e75f. 2010-09-09 15:33:06 -04:00
jeresig 1ed405176b Trim out the module wrappers during the build process. Follow-up to #7011. 2010-09-09 10:34:21 -04:00
jeresig 82b35a4f2c Removing extraneous argument. 2010-09-09 10:20:32 -04:00
jeresig 2663041924 Make sure that jQuery is being exposed outside of core (this will be stripped during the build process). Follow-up to #7011. 2010-09-09 08:23:10 -04:00
jeresig acb162a697 Make sure that the removeEvent and buildFragment private functions are exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011. 2010-09-08 18:13:35 -04:00
jeresig bca5765502 Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011. 2010-09-08 13:54:33 -04:00
jeresig ca3b18ca53 Merge branch 'master' of github.com:jquery/jquery into csshooks 2010-09-08 13:47:56 -04:00
jeresig a44ec40277 Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011. 2010-09-08 12:00:29 -04:00
Karl Swedberg 116f3b7c72 added "#main" ancestor selector to an "Only Child" and "Last Child" test to fix broken tests caused by QUnit commit abfab1713ccb588aa87136b199a9ddc8d1b56c4b (Aug 29, 2010) 2010-09-07 08:53:06 -04:00
John Resig b920f0aeb4 Broke more of the property-specific CSS logic out of the jQuery.css() function. 2010-09-05 11:01:27 -04:00
John Resig 920099b29c First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css). 2010-09-05 10:17:18 -04:00
John Resig 2912f8ab95 Broke apart some of the browser-specific logic for CSS handling. 2010-09-05 00:04:37 -04:00
John Resig 426045cc74 Some more minor formatting tweaks. 2010-09-04 23:34:52 -04:00
John Resig 1970154c3b Tweaking the formatting from the previous commit. 2010-09-04 23:28:17 -04:00
Brandon Aaron 65b24861bc First look at css hooks. These hooks provide a way to change how jQuery handles getting and setting certain css properties. This means normalizing properties like background-position can easily be done via plugins.
They are similar in concept to the special event hooks. Return false from the hook to revert control back to jQuery's normal processes for getting and setting certain css properties.
2010-09-02 21:06:40 -05:00
John Resig 97cbd76695 Fix the order of the element test arguments. 2010-09-02 16:15:54 -04:00