1. #1
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    14
    Vote Rating
    1
    andrey_87 is on a distinguished road

      0  

    Default createDelegate is not a function

    createDelegate is not a function


    Hi guys,
    Have anybody met the error from the topic?
    Am I missing something?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Taking a shot in the dark here, b/c I haven't looked at the code, but I know this is case for Sencha Touch.

    Part of Ext 4's direction is to eliminate the modification of the built in objects e.g. Function, Date, etc. So rather than call createDelegate on the function, you now call Ext.createDelegate(function...

    I would imagine that when v4 is released, this will be addressed by the compat layer to avoid breaking old code.

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    14
    Vote Rating
    1
    andrey_87 is on a distinguished road

      0  

    Default


    It helped, the only addition is that createDelegate is marked as deprecated and Ext.bind is suggested.

    Thanks.

Similar Threads

  1. createDelegate - can it be used on a pre-declared function?
    By RobWilson in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 20 Jan 2009, 1:10 PM
  2. Typo in function.createDelegate()
    By tryanDLS in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 3 Dec 2006, 2:19 PM
  3. createDelegate ... huh?
    By JohnT in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 26 Oct 2006, 11:40 PM

Thread Participants: 1