Change BoundingBoxes to retain reference to module. This allows box
models
to directly resolve the db.Model backing them. This also allow access to
the
DOMNode in the canvas directly. Certain features of box directly depend
on
methods being available in the passed in module, mocking this is still
possible and shown in tests.
Affected files:
A [revision details]
M app/views/service.js
M app/views/topology/service.js
M app/views/utils.js
M test/test_environment_view.js
M test/test_service_module.js
M test/test_topology.js
M undocumented
Reviewers: mp+145755_ code.launchpad. net,
Message:
Please take a look.
Description:
View model improvements
Change BoundingBoxes to retain reference to module. This allows box
models
to directly resolve the db.Model backing them. This also allow access to
the
DOMNode in the canvas directly. Certain features of box directly depend
on
methods being available in the passed in module, mocking this is still
possible and shown in tests.
https:/ /code.launchpad .net/~bcsaller/ juju-gui/ viewmodel- improvements/ +merge/ 145755
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/7231067/
Affected files: service. js topology/ service. js environment_ view.js service_ module. js topology. js
A [revision details]
M app/views/
M app/views/
M app/views/utils.js
M test/test_
M test/test_
M test/test_
M undocumented