views/engine2.coffee in engine2-1.0.0 vs views/engine2.coffee in engine2-1.0.1

- old
+ new

@@ -552,6 +552,6 @@ .directive 'e2Integer', -> require: 'ngModel' link: (scope, elem, attr, controller) -> controller.$parsers.unshift (v) -> vs = v.toString() - if vs.match(/^\-?\d+$/) then parseInt(vs) else null + if vs.match(/^\-?\d+$/) then parseInt(vs) else (if scope.action.query? then null else vs)