// Non-DOM-dependent stub MX library // Used for testing code that builds MX elements, without a DOM dependency var MX = module.exports = {} MX.Object3D = function (klass) { this.klass = klass this.width = this.height = this.scaleX = this.scaleY = this.scaleZ = 1 this.z = this.y = this.x = 0 this.side = 0 this.type = "Face" this.el = { style: {} } this.rect = null } MX.Scene = { els: [], add: function (el) { MX.Scene.els.push(el) } }