Skip to content

Commit 910ae6c

Browse files
committed
Created chat common javascript module/css/template file
bzr revid: [email protected]
1 parent 061f5a5 commit 910ae6c

17 files changed

+489
-409
lines changed

addons/im/Gruntfile.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
jshint: {
5+
src: ['static/js/*.js'],
6+
options: {
7+
sub: true, //[] instead of .
8+
evil: true, //eval
9+
laxbreak: true, //unsafe line breaks
10+
},
11+
},
12+
});
13+
14+
grunt.loadNpmTasks('grunt-contrib-jshint');
15+
16+
grunt.registerTask('test', []);
17+
18+
grunt.registerTask('default', ['jshint']);
19+
20+
};

addons/im/__openerp__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'security/im_security.xml',
1919
],
2020
'depends' : ['base', 'web'],
21-
'js': ['static/src/js/*.js'],
21+
'js': ['static/src/js/im.js'],
2222
'css': ['static/src/css/*.css'],
2323
'qweb': ['static/src/xml/*.xml'],
2424
'installable': True,

addons/im/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"devDependencies": {
3+
"grunt": "*",
4+
"grunt-contrib-jshint": "*"
5+
}
6+
}

0 commit comments

Comments
 (0)