diff --git a/template/app/view/Comments.js b/template/app/view/Comments.js index bbca64a6326538c52a7def9bea3e26fe561e1e44..accef09e23d517e0588212e080ac166c6c0084ce 100644 --- a/template/app/view/Comments.js +++ b/template/app/view/Comments.js @@ -3,7 +3,16 @@ */ Ext.define('Docs.view.Comments', { singleton: true, - requires: ['Docs.view.auth.LoginHelper'], + requires: [ + 'Docs.view.auth.LoginHelper', + // WTF! + // When I don't add this line then "sencha create jsb" command + // will fail. But this class shouldn't require that class, + // and indeed, when running in browser, the app will work just + // fine, but when doing e.g. "rake gem" something goes wrong + // and the "sencha create jsb" command just hangs. + 'Docs.view.auth.Login' + ], constructor: function() { var numComments = [