[IMP] instance.init: less offensive constant
bzr revid: odo@openerp.com-20121130175249-yrbcdsn2z1io79dz
This commit is contained in:
parent
053d6af231
commit
706a58bfec
|
@ -22,7 +22,7 @@
|
|||
* @param {Array|String} modules list of modules to initialize
|
||||
*/
|
||||
init: function(modules) {
|
||||
if (modules === "fuck your shit, don't load anything you cunt") {
|
||||
if (modules === null) {
|
||||
modules = [];
|
||||
} else {
|
||||
modules = _.union(['web'], modules || []);
|
||||
|
|
|
@ -263,7 +263,7 @@ openerp.testing = {};
|
|||
++di;
|
||||
}
|
||||
|
||||
instance = openerp.init("fuck your shit, don't load anything you cunt");
|
||||
instance = openerp.init(null);
|
||||
_(d).chain()
|
||||
.reverse()
|
||||
.uniq()
|
||||
|
|
Loading…
Reference in New Issue