2 'libs/jquery-1.9.1.min',
\r
3 'libs/underscore-min',
\r
4 'libs/text!./template.html'
\r
5 ], function($, _, template) {
\r
9 return function(sandbox) {
\r
12 dom: $(_.template(template)()),
\r
19 start: function() { sandbox.publish('ready'); },
\r
20 getView: function() { return view.dom; },
\r
21 showMessage: function(msg) {
\r
22 view.dom.html('<span>' + msg + '</span>').show();
\r
24 clearMessage: function() {
\r