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 #753 in Opera and IE
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
b6d1dec
..
e380441
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1390,8
+1390,8
@@
jQuery.extend({
},
parseSetter: function(value) {
},
parseSetter: function(value) {
- if( typeof value == "string" && value[0] == "$" ) {
- var m = value.match(/^\${(.*)}$/);
+ if( typeof value == "string" && value.charAt(0) == "$" ) {
+ var m = value.match(/{(.*)}$/);
if ( m && m[1] ) {
value = new Function( "return " + m[1] );
}
if ( m && m[1] ) {
value = new Function( "return " + m[1] );
}