Closed (fixed)
Project:
LABjs
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2012 at 08:25 UTC
Updated:
13 Mar 2012 at 16:10 UTC
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
Comment #1
jcisio commentedThat page does not use LABjs.
Comment #2
udvranto commentedSorry, I switched over to HeadJS right after posting this request.
Comment #3
udvranto commentedI have LABjs installed now. Still getting the error.
Comment #4
udvranto commentedLooks like the queue function is now queueScript!
http://labjs.com/documentation.php
Comment #5
udvranto commentedChanging 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!
Comment #6
udvranto commentedComment #7
jcisio commentedAre you sure you're using the latest version? As LABjs no longer uses .queue().
Comment #8
jcisio commentedOk found it. In this commit the advagg integration was not updated to use LABjs 2.x.
Comment #9
udvranto commentedjciso, how do I get the latest release?
Comment #10
jcisio commentedI've just pushed a fix.
Comment #11
udvranto commentedGreat!! Working now! Thanks!!!