1. #1
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    704
    Vote Rating
    23
    pkellner will become famous soon enough pkellner will become famous soon enough

      0  

    Default SA 2.1 is overwriting my override class

    SA 2.1 is overwriting my override class


    I thought that expected behavior was that SA would never over write the "override" class. I've created this override class that does exactly what I want (and surprisingly works). Everytime I do a save in SA, it overwrites any changes I've made outside SA.

    It does seem that if I do not have SA running that I can work on my class. Is this intended? (I'm hoping it's a bug). I love SA and I don't want to close it!!! I'm sure you can understand that guys.

    Code:
     Ext.define('SessionApp.store.override.SessionStore1', {    override: 'SessionApp.store.SessionStore1',
    
    
        constructor: function () {
    
    
            this.data = this.CreateData();
            this.callParent(arguments);
        },
        CreateData: function () {
    
    
            data = [[1101, 'Ed', 'room1', 'time1'], [1102, 'Aaron', 'room2', 'time2']];
            return data;
    
    
        }
    });

  2. #2
    Ext Premium Member halcwb's Avatar
    Join Date
    Mar 2010
    Location
    Rotterdam
    Posts
    379
    Vote Rating
    39
    halcwb has a spectacular aura about halcwb has a spectacular aura about

      0  

    Default In the lastest SA version you need to close the Override code tab

    In the lastest SA version you need to close the Override code tab


    In the latest Architect version Version: 2.2.2 Build: 991, you need to close tabs with code showing the overrides, only then the overrides do not get overwritten.

    A bit annoying, but very well workable.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar