Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    51
    Answers
    1
    Vote Rating
    2
    koblass is on a distinguished road

      0  

    Default Answered: Dynamic reload

    Answered: Dynamic reload


    Hi,

    I would like to reload portion of my application without having to refresh it completely.

    In order to do this I use a Ajax request to load the code (classes) and evaluate it.

    The problem is that the Ext.define doesn't work if you try to "redefine" the same class.

    For instance if I load the following class:

    Code:
    Ext.define('Test.namespace.MyClass', {
        extend: 'Ext.Base',
        sayHello: function() {
            Ext.Msg.alert('say hello');
        }
    });
    This is working the first time, but if I reload it a second time this is not working.

    How could I do to "undefine" or "unload" a class in order to be able to reload it.

    Best regards
    Daniel

  2. Sorry for my previous post.

    I just installed version 4.0.7 and this is working perfectly !

    Thanks
    Daniel