Skip to content

Commit

Permalink
Merge pull request #1289 from daniel-franz/patch-11
Browse files Browse the repository at this point in the history
Fix IE7 character access
  • Loading branch information
daffl committed Nov 6, 2014
2 parents 7d83fcc + 9dcb3c0 commit 675f387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/stache/mustache_core.js
Expand Up @@ -541,7 +541,7 @@ steal("can/util",
*/
splitModeFromExpression: function(expression, state){
expression = can.trim(expression);
var mode = expression[0];
var mode = expression.charAt(0);

if( "#/{&^>!".indexOf(mode) >= 0 ) {
expression = can.trim( expression.substr(1) );
Expand Down

0 comments on commit 675f387

Please sign in to comment.