summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-03-06 16:19:40 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit6da2e588b12d90fade841fb15643a8ee5f674609 (patch)
tree3897f2e9e6331fcd1a71b708d29540f94cf24392 /addons/web/static/src/js/core
parent0a3012cd7981df839f8ff17766e7f08b3269d3bf (diff)
[REF] web: some linting and documentation
Diffstat (limited to 'addons/web/static/src/js/core')
-rw-r--r--addons/web/static/src/js/core/domain.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/src/js/core/domain.js b/addons/web/static/src/js/core/domain.js
index 2503042d070..be6adf81b57 100644
--- a/addons/web/static/src/js/core/domain.js
+++ b/addons/web/static/src/js/core/domain.js
@@ -108,8 +108,10 @@ var Domain = collections.Tree.extend({
}
}
},
-
/**
+ * Return the JS prefix-array representation of this domain. Note that all
+ * domains that use the "false" domain cannot be represented as such.
+ *
* @returns {Array} JS prefix-array representation of this domain
*/
toArray: function () {
@@ -124,7 +126,6 @@ var Domain = collections.Tree.extend({
}));
}
},
-
/**
* @returns {string} representation of the Python prefix-array
* representation of the domain