Fixed #753 in Opera and IE
This commit is contained in:
parent
cb0250f1fa
commit
e50014d47e
1 changed files with 2 additions and 2 deletions
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -1390,8 +1390,8 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
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] );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue