a lot of changes

This commit is contained in:
Borys Levytskyi
2015-04-03 00:20:00 +03:00
parent c200a2d507
commit e1963fb09c
11 changed files with 246 additions and 231 deletions

View File

@@ -1,4 +1,4 @@
(function(bitwise) {
(function() {
var twoOperandsRegex = /^(\d+)(<<|>>|\||\&|\^)(\d+)$/;
app.service('expression', {
@@ -8,8 +8,6 @@
return null;
}
console.log(matches);
return {
string:matches[0],
operand1: parseInt(matches[1], 10),