summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/js/first_module.js.1.diff
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/doc/module/static/src/js/first_module.js.1.diff')
-rw-r--r--addons/web/doc/module/static/src/js/first_module.js.1.diff8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/web/doc/module/static/src/js/first_module.js.1.diff b/addons/web/doc/module/static/src/js/first_module.js.1.diff
new file mode 100644
index 00000000000..53c153e1971
--- /dev/null
+++ b/addons/web/doc/module/static/src/js/first_module.js.1.diff
@@ -0,0 +1,8 @@
+--- web_example/static/src/js/first_module.js
++++ web_example/static/src/js/first_module.js
+@@ -1,2 +1,4 @@
+ // static/src/js/first_module.js
+-console.log("Debug statement: file loaded");
++openerp.web_example = function (instance) {
++ console.log("Module loaded");
++};