Skip to content

Commit

Permalink
Fixed #753 in Opera and IE
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jan 7, 2007
1 parent cb0250f commit e50014d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery/jquery.js
Expand Up @@ -1390,8 +1390,8 @@ jQuery.extend({
}, },


parseSetter: function(value) { parseSetter: function(value) {
if( typeof value == "string" && value[0] == "$" ) { if( typeof value == "string" && value.charAt(0) == "$" ) {
var m = value.match(/^\${(.*)}$/); var m = value.match(/{(.*)}$/);
if ( m && m[1] ) { if ( m && m[1] ) {
value = new Function( "return " + m[1] ); value = new Function( "return " + m[1] );
} }
Expand Down

0 comments on commit e50014d

Please sign in to comment.