Skip to content
Snippets Groups Projects
Commit d6e82dcb authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix mystery bug when building docs app.

It took hours to track this down... and I'm out of ideas of why we need
to require this class over there.
parent f9451549
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment