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
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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 = [