diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-10-25 17:47:45 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-10-25 17:47:45 +0200 |
| commit | 99a2dd3938c7d7d4b7e9c724ec8acbb5eeedf35f (patch) | |
| tree | aca872a490542cb318626f806e8a3d3d2db0c1fd /addons/web_graph | |
| parent | 1cf9b2a60da502de27aa67e8318f41ad6692e5a9 (diff) | |
[ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed
bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
Diffstat (limited to 'addons/web_graph')
| -rw-r--r-- | addons/web_graph/static/lib/flotr2/lib/bean.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web_graph/static/lib/flotr2/lib/bean.js b/addons/web_graph/static/lib/flotr2/lib/bean.js index 6e6e3ef4eb5..1a854771006 100644 --- a/addons/web_graph/static/lib/flotr2/lib/bean.js +++ b/addons/web_graph/static/lib/flotr2/lib/bean.js @@ -9,9 +9,7 @@ */ /*global module:true, define:true*/ !function (name, context, definition) { - if (typeof module !== 'undefined') module.exports = definition(name, context); - else if (typeof define === 'function' && typeof define.amd === 'object') define(definition); - else context[name] = definition(name, context); + context[name] = definition(name, context); }('bean', this, function (name, context) { var win = window , old = context[name] |
