1. #1
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    387
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default Bad build: "byAttribute is not defined" is this a qtip issue?

    Bad build: "byAttribute is not defined" is this a qtip issue?


    Stumped debugging my build.

    Error message is
    "byAttribute is not defined"

    The tab shows (program) instead of a script file name.

    I am guessing I have not enabled or initialized for required something.

    Is there a way to disable qtips, can I just move on for now?

    I do not find this code in extJS ? There are just two occurrences of "byAttribute" in 4.2 and they do not match up.

    Does anyone recognize this issue? Any clue?






    Screen shot 2013-05-04 at 2.42.16 PM.jpg

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    387
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default


    Dug deeper and found the code (maybe).
    It is in Ext.dom.Query = Ext.core.DomQuery = Ext.DomQuery

    But the found string is followed by "lastPath" in a var list.

    The error occurs when I move the cursor anywhere into the page.

    This over my head.

    Code:
        return DQ = {
            getStyle: function(el, name) {
                return Ext.fly(el, '_DomQuery').getStyle(name);
            },
            
            compile: function(path, type) {
                type = type || "select";
    
                
                var fn = ["var f = function(root) {\n var mode; ++batch; var n = root || document;\n"],
                    lastPath,
                    matchers = DQ.matchers,
                    matchersLn = matchers.length,
                    modeMatch,

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    387
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default


    By replacing the "no charts" version with ext-all this problem goes away.

    Hardly worth the 4K saved.

    That "no-charts" compile example has been hanging around this site since Cmd was first introduced.

    It did not work then and it does not work even more horribly now.