I get $LAB.queue is not a function error in my Firefox console. The page is broken and does not load javascripts. I am using advanced JS and CSS aggregator. I was using HeadJS and now moved to LabJS. Visit http://www.sachalayatan.com/ishshire/43102 to see the error.

Comments

jcisio’s picture

Status: Active » Closed (cannot reproduce)

That page does not use LABjs.

udvranto’s picture

Sorry, I switched over to HeadJS right after posting this request.

udvranto’s picture

Version: 6.x-1.x-dev » 6.x-1.3
Status: Closed (cannot reproduce) » Active

I have LABjs installed now. Still getting the error.

udvranto’s picture

Looks like the queue function is now queueScript!
http://labjs.com/documentation.php

udvranto’s picture

Changing the $LAB.queue function calls to $LAB.queueScript in includes/labjs.advagg.in resolved the problem. But I am not sure if this is the correct replacement!

udvranto’s picture

Status: Active » Needs review
jcisio’s picture

Status: Needs review » Active

Are you sure you're using the latest version? As LABjs no longer uses .queue().

jcisio’s picture

Ok found it. In this commit the advagg integration was not updated to use LABjs 2.x.

udvranto’s picture

jciso, how do I get the latest release?

jcisio’s picture

Title: $LAB.queue is not a function error » $LAB.queue is not a function error with advagg enabled
Version: 6.x-1.3 » 6.x-1.x-dev
Category: support » bug
Status: Active » Fixed

I've just pushed a fix.

udvranto’s picture

Great!! Working now! Thanks!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.