Permalink
Browse files

Fixed #753 in Opera and IE

  • Loading branch information...
1 parent cb0250f commit e50014d47e3f3799031119595a43082ea94afd89 @jzaefferer jzaefferer committed Jan 7, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery/jquery.js
View
@@ -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] );
}

0 comments on commit e50014d

Please sign in to comment.