Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Didn't actually need the hooks anymore | timmywil | 2011-04-03 | 1 | -16/+9 | |
| | | | ||||||
| * | | First proposed solution for IE6/7 get/setAttribute quirks. Needs more ↵ | timmywil | 2011-04-03 | 1 | -9/+30 | |
| | | | | | | | | | | | | testing, but solves some issues | |||||
| * | | Speed up hasAttr a little | timmywil | 2011-04-03 | 1 | -11/+13 | |
| | | | ||||||
| * | | Now passes in IE8, changed around $.hasAttr and switched the attrHook for ↵ | timmywil | 2011-04-03 | 1 | -11/+28 | |
| | | | | | | | | | | | | selected to be a propHook | |||||
| * | | Make the new attr/prop changes pass the test suite (in Webkit). There are ↵ | timmywil | 2011-04-03 | 1 | -20/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still errors in IE. + Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey + Removed all attrs from attrFix, these aren't needed for setAttribute + If prop is used for class, do we want a propFix for class? - We could just assume the user should know to use className with prop. I've done the latter for now. + Created tests for $.fn.prop and $.fn.removeProp - Actually all I did was change broken attr tests to prop where it made sense. | |||||
| * | | Very crude first pass at splitting apart the attr/prop logic. Also adding in ↵ | jeresig | 2011-04-03 | 1 | -103/+165 | |
| |/ | | | | | | | attrHooks/propHooks. All of it is completely untested. | |||||
* / | Very crude first pass at splitting apart the attr/prop logic. Also adding in ↵ | jeresig | 2011-03-06 | 1 | -103/+165 | |
|/ | | | | attrHooks/propHooks. All of it is completely untested. | |||||
* | Make sure .val() works after form.reset() in IE. Fixes #2551. | rwldrn | 2011-02-10 | 1 | -0/+5 | |
| | ||||||
* | Change the way jQuery.data works so that there is no longer a chance of ↵ | Colin Snover | 2011-01-09 | 1 | -2/+2 | |
| | | | | collision between user data and internal data. Fixes #6968. | |||||
* | Clean trailing whitespace from all files. | Colin Snover | 2010-12-30 | 1 | -1/+1 | |
| | ||||||
* | Fix attr() problems in IE with attribute nodes. Followup to commit b50f41a2. | Anton M | 2010-12-07 | 1 | -2/+2 | |
| | | | | | IE can't add properties on an attribute-node element, thus we handle it like text-/comment-nodes. | |||||
* | Merge branch 'restrictAttr' of https://github.com/jitter/jquery into ↵ | John Resig | 2010-12-06 | 1 | -64/+71 | |
|\ | | | | | | | jitter-restrictAttr | |||||
| * | Make sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500. | Anton M | 2010-11-13 | 1 | -1/+6 | |
| | | | | | | | | Also added some tests for this attr(name), attr(name, value) and removeAttr(name). | |||||
| * | Partially revert commit a64dc0405064d68c7b7cd0f0fc8ea60086cbcd21. | Anton M | 2010-11-10 | 1 | -64/+66 | |
| | | | | | | | | | | | | | | Removing the conditional was too liberal as now attr() would even work on plain javascript objects. Keeping a check to make sure it is at least a DOM Node is appropriate. Using nodeName as in the commit which introduced the nodeType === 1 check seems plausible. | |||||
* | | Handle carriage return characters in className property. Fixes #7673. | Anton M | 2010-12-01 | 1 | -1/+1 | |
|/ | ||||||
* | Remove conditional that prevents attr from working on non-Element nodes. ↵ | Colin Snover | 2010-11-09 | 1 | -66/+63 | |
| | | | | Fixes #7451. | |||||
* | Make sure that when multiple variables are being declared that assignments ↵ | John Resig | 2010-11-09 | 1 | -3/+8 | |
| | | | | are each done on their own line. | |||||
* | Moved jQuery.props to attributes since it was only used in support. Fixes ↵ | Alex Sexton | 2010-10-25 | 1 | -0/+13 | |
| | | | | #6897 - suggestion by dmethvin | |||||
* | Coerce all array values to strings before comparison in val(). Fixes bug #7123. | Colin Snover | 2010-10-08 | 1 | -0/+4 | |
| | ||||||
* | Make .attr(name, null) equivalent to removeAttr(name). (Was roughly this ↵ | John Resig | 2010-09-28 | 1 | -1/+8 | |
| | | | | before - but is now consistent across platforms). Fixes #6341. | |||||
* | Some minor cleanup of the last commit. | jeresig | 2010-09-27 | 1 | -1/+1 | |
| | ||||||
* | Add a feature test for options inside a disabled select. Follow-up to ↵ | jeresig | 2010-09-27 | 1 | -1/+2 | |
| | | | | 157a383dae5335ef1056d3818d7dd70ac81c25a7. | |||||
* | Only do the hasAttribute check if the method exists - IE falls back to the ↵ | jeresig | 2010-09-27 | 1 | -1/+1 | |
| | | | | === null check below which allows this to still work. Follow-up to cb40495b21bcb7802f3ab6ae0f837f2bf5b385ed - thanks to @jitter for the catch. | |||||
* | Bug fix for commit 2c4b20809e5d32e916c479c9b63a6b7528c880ce - technique ↵ | jeresig | 2010-09-27 | 1 | -1/+1 | |
| | | | | wasn't working as expected in WebKit browsers. Thanks to @jitter for the bug fix. | |||||
* | Make .val(undefined) == .val("") and chainable; fixes #4130. | dmethvin | 2010-09-25 | 1 | -4/+5 | |
| | | | | Ensure .val(null) sets an empty string on IE6/7; fixes #5163. | |||||
* | Don't have .val() return selected-but-disabled options, or selected options ↵ | Dave Methvin | 2010-09-24 | 1 | -2/+4 | |
| | | | | inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there. | |||||
* | Some minor lint fixes for the RegExp. | jeresig | 2010-09-22 | 1 | -4/+4 | |
| | ||||||
* | Applied the RegExp issues reported by Jeff Robinson here: ↵ | jeresig | 2010-09-22 | 1 | -5/+5 | |
| | | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062. | |||||
* | 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 | -4/+0 | |
| | | | | jQuery.curCSS, and jQuery.css are now all under jQuery.css). | |||||
* | Make sure that missing attributes return undefined in Blackberry 4.7. Fixes ↵ | John Resig | 2010-08-24 | 1 | -0/+6 | |
| | | | | #6938. | |||||
* | .val() on empty options returns the text value rather than the value in ↵ | John Resig | 2010-08-23 | 1 | -1/+4 | |
| | | | | Blackberry 4.7. Fixes #6932. | |||||
* | Fixing getting/setting classes and makeArray(RegExp) for Blackberry 4.7. ↵ | John Resig | 2010-08-23 | 1 | -1/+2 | |
| | | | | Fixes #6930, #6931. | |||||
* | Made it so that you no longer need to build jQuery in order to run the test ↵ | jeresig | 2010-03-23 | 1 | -1/+1 | |
| | | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least). | |||||
* | No need to run trim on every class iteration in addClass, thanks for the ↵ | jeresig | 2010-02-13 | 1 | -2/+3 | |
| | | | | heads-up Leeoniya. | |||||
* | Make sure that no extra whitespace is leftover after an addClass. Fixes #6050. | jeresig | 2010-02-13 | 1 | -1/+1 | |
| | ||||||
* | spelling mistake (insead) | tomviner | 2010-02-06 | 1 | -1/+1 | |
| | ||||||
* | Make sure the resulting className from removeClass is nicely trimmed. Fixes ↵ | jeresig | 2010-02-01 | 1 | -1/+1 | |
| | | | | #5988. | |||||
* | Centralize the logic for throwing exceptions. Fixes #5913. | jeresig | 2010-01-23 | 1 | -1/+1 | |
| | ||||||
* | Removed .removeAttr(Function), it didn't really make sense. | jeresig | 2010-01-07 | 1 | -8/+1 | |
| | ||||||
* | Make sure the state is passed in to the toggleClass attribute function. | jeresig | 2010-01-07 | 1 | -1/+1 | |
| | ||||||
* | Fixed some bugs relating to the setter arg change in val and html. Also ↵ | jeresig | 2010-01-07 | 1 | -17/+12 | |
| | | | | optimized the code in val a bit. | |||||
* | Fixing some bugs in the re-tooling of toggleClass, adding in some ↵ | jeresig | 2010-01-06 | 1 | -10/+11 | |
| | | | | performance optimizations. | |||||
* | A first pass at making sure that all the setter function arguments receive ↵ | jeresig | 2010-01-06 | 1 | -52/+62 | |
| | | | | the index of the element and a relevant value to work with. Fixes #5763. | |||||
* | Make a feature detect for the attribute selected code. Fixes #5702. | jeresig | 2009-12-22 | 1 | -7/+10 | |
| | ||||||
* | The option isn't, necessarily, hidden when this occurs. | jeresig | 2009-12-22 | 1 | -1/+1 | |
| | ||||||
* | Make sure that selected works in Safari on options in optgroups. Fixes #5701. | jeresig | 2009-12-22 | 1 | -3/+8 | |
| | ||||||
* | The logic for specified option values was already handled by .val(), removed ↵ | jeresig | 2009-12-22 | 1 | -3/+1 | |
| | | | | the unnecessary code. | |||||
* | Make sure that the correct value is being pulled from checkboxes in Webkit. ↵ | jeresig | 2009-12-22 | 1 | -3/+10 | |
| | | | | Fixes #5699. | |||||
* | Make sure that the correct value is retreived for options that have no value ↵ | jeresig | 2009-12-22 | 1 | -1/+3 | |
| | | | | specified, in IE 6. Continues to fix #5697. |