git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed typo in comments
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
58cbbc7
..
bcabc64
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-35,7
+35,7
@@
var jQuery = function( selector, context ) {
// Keep a UserAgent string for use with jQuery.browser
userAgent = navigator.userAgent,
// Keep a UserAgent string for use with jQuery.browser
userAgent = navigator.userAgent,
- // For matching the engine and version of thte browser
+ // For matching the engine and version of the browser
browserMatch,
// Has the ready events already been bound?
browserMatch,
// Has the ready events already been bound?
@@
-775,7
+775,7
@@
function access( elems, key, value, exec, fn, pass ) {
exec = exec && jQuery.isFunction(value);
for ( var i = 0; i < length; i++ ) {
exec = exec && jQuery.isFunction(value);
for ( var i = 0; i < length; i++ ) {
- fn( elems[i], key, exec ? value.call( elems[i], i ) : value, pass );
+ fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
}
return elems;
}
return elems;