X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=e38044147702736a15d83d7edbfc674b6fa56d0a;hb=e50014d47e3f3799031119595a43082ea94afd89;hp=b6d1dece575c349d93127158945922dcd8351ee9;hpb=cb0250f1fa5af5c84e858ea978fcaa1194f4694f;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index b6d1dec..e380441 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -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] ); }