From 7abdb0d87ba14e42aa8cd473acc3130403792b67 Mon Sep 17 00:00:00 2001 From: x620 Date: Mon, 15 Aug 2016 18:05:55 +0500 Subject: [PATCH] [REF] Fix lint errors --- pos_keyboard/__openerp__.py | 2 +- pos_keyboard/static/src/js/pos.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pos_keyboard/__openerp__.py b/pos_keyboard/__openerp__.py index d888d96..4170fb0 100644 --- a/pos_keyboard/__openerp__.py +++ b/pos_keyboard/__openerp__.py @@ -11,7 +11,7 @@ "price": 100.00, "currency": "EUR", 'data': [ - 'data.xml', + 'data.xml', ], 'installable': True, 'auto_install': False, diff --git a/pos_keyboard/static/src/js/pos.js b/pos_keyboard/static/src/js/pos.js index 626e5a9..9438971 100644 --- a/pos_keyboard/static/src/js/pos.js +++ b/pos_keyboard/static/src/js/pos.js @@ -52,11 +52,11 @@ function pos_keyboard_widgets(instance, module){ bmode: 'qty, disc, price', sign: '+, -', backspace: 'backspace' - } + }; this.data = { type: undefined, val: undefined - } + }; this.action_callback = undefined; }, @@ -71,7 +71,7 @@ function pos_keyboard_widgets(instance, module){ }, set_action_callback: function(callback){ - this.action_callback = callback + this.action_callback = callback; }, //remove action callback @@ -177,7 +177,7 @@ function pos_keyboard_widgets(instance, module){ // stops catching keyboard events disconnect: function(){ - $('body').off('keyup', '') + $('body').off('keyup', ''); } }); } @@ -188,5 +188,5 @@ function pos_keyboard_widgets(instance, module){ _super(instance); var module = instance.point_of_sale; pos_keyboard_widgets(instance, module); - } + }; })(); \ No newline at end of file