Solved style problems identified by jshint

bzr revid: nicolas.vanhoren@openerp.com-20130820151241-1oi29vxm8iq34v8x
This commit is contained in:
niv-openerp 2013-08-20 17:12:41 +02:00
parent 1d5f220d12
commit 89b3edad09
3 changed files with 9 additions and 6 deletions

View File

@ -2,7 +2,7 @@ module.exports = function(grunt) {
grunt.initConfig({
jshint: {
src: ['static/js/*.js'],
src: ['static/src/js/*.js'],
options: {
sub: true, //[] instead of .
evil: true, //eval

View File

@ -1,5 +1,10 @@
openerp.im = function(instance) {
(function() {
"use strict";
var instance = openerp;
openerp.im = {};
var USERS_LIMIT = 20;
@ -151,4 +156,4 @@ openerp.im = function(instance) {
},
});
}
})();

View File

@ -26,8 +26,6 @@ function declare($, _, openerp) {
});
var _t = openerp._t;
var im_common = {};
var ERROR_DELAY = 5000;
@ -283,7 +281,7 @@ function declare($, _, openerp) {
},
init: function(parent, user, me, options) {
this._super(parent);
this.options = options
this.options = options;
this.me = me;
this.user = user;
this.user.add_watcher();