[bugfix,timeline][xs]: but VMM.debug = false inside guard for VMM being defined.

* was setting VMM.debug = false at module level but we may be including this module via recline.js but not intending to use timeline and hence not including VMM library.
This commit is contained in:
Rufus Pollock 2012-06-16 17:17:22 +01:00
parent 262bb95376
commit a58dea652f

View File

@ -5,7 +5,9 @@ this.recline.View = this.recline.View || {};
(function($, my) {
// turn off unnecessary logging from VMM Timeline
VMM.debug = false;
if (typeof VMM !== 'undefined') {
VMM.debug = false;
}
// ## Timeline
//