Results 1 to 2 of 2

Thread: Wrong example code in Object#merge()

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-3344 in a recent build.
  1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    3
      0  

    Default Wrong example code in Object#merge()

    It should be 40000 instead of 30000 in the merged object.

    Also a wrong value in Object#getKey() example.

    http://docs.sencha.com/ext-js/4-0/#/api/Ext.Object

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1367
      0  

    Default

    Also a missing comma...

    Code:
    var extjs = {
        companyName: 'Ext JS',
        products: ['Ext JS', 'Ext GWT', 'Ext Designer'],
        isSuperCool: true,
        office: {
            size: 2000,
            location: 'Palo Alto',
            isFun: true
        }
    };
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •