blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

Views should avoid talking directly to the server #150

Open rcruz opened 10 years ago

rcruz commented 10 years ago

The views should defer server communications to either the model, or the collection. This helps with keeping modules in the right place for ease of debugging.

Instances to fix:

https://github.com/blackberry/webworks-gui/blob/master/lib/ui/views/updatesList.js#L56 Let's move this call into to the collection.