Results 1 to 3 of 3

Thread: "rootProperty" of Data Json Reader and Writer

  1. #1
    Sencha User roger5d's Avatar
    Join Date
    Oct 2008
    Posts
    17

    Default "rootProperty" of Data Json Reader and Writer

    Just kind of mad with the API, in Ext.data.reader.Json it uses "rootProperty" but in Ext.data.writer.Json it uses "root" (as the same as Ext 4).
    No idea y using the different name.
    Men are more ready to repay an injury than a benefit, because gratitude is a burden and revenge a pleasure.

    --Tacitus

  2. #2
    Sencha User roger5d's Avatar
    Join Date
    Oct 2008
    Posts
    17

    Default

    Alright, my fault, just saw this in the 2.0.1 RC change log:
    [TOUCH-2557] Deprecated root in Writer to become rootProperty
    Men are more ready to repay an injury than a benefit, because gratitude is a burden and revenge a pleasure.

    --Tacitus

  3. #3
    Sencha User
    Join Date
    Jan 2009
    Location
    West Coast
    Posts
    37

    Default Still mad at this

    I'm still kinda mad at this.

    in 'sencha-touch-2.0.0-gpl' it is 'rootProperty'
    but in 'ext-4.0.7-gpl' it is just the good old 'root'

    I spent the last 3 hours tearing my hair out over this, while i was trying to port some code from Ext to Touch.

    this is like, one of those fundamental things, either document the hell out of it, or make both APIs' support the same config name.

Posting Permissions

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