From fa722447f89e0215463cb39dfd1532189057fea8 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 7 Dec 2010 11:39:59 -0800 Subject: Fixed failed assignments of form abj[0].name=value Closes #169 --- src/parser.js | 55 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 23 deletions(-) (limited to 'src/parser.js') diff --git a/src/parser.js b/src/parser.js index 992696ee..621b0045 100644 --- a/src/parser.js +++ b/src/parser.js @@ -9,7 +9,7 @@ var OPERATORS = { '/':function(self, a,b){return a/b;}, '%':function(self, a,b){return a%b;}, '^':function(self, a,b){return a^b;}, - '=':function(self, a,b){return setter(self, a, b);}, + '=':noop, '==':function(self, a,b){return a==b;}, '!=':function(self, a,b){return a!=b;}, '<':function(self, a,b){return a