Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6243599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:10:13+00:00 2026-05-24T12:10:13+00:00

I am using LABjs to load in a vast amount of javascript, and all

  • 0

I am using LABjs to load in a vast amount of javascript, and all seems to be working fine, until the final wait (which waits to make sure everything is loaded), then tells knockout to bind the view model:

$LAB
.script("../lotsofJS.js")
.wait(function () {
    var homepageVM = new HomepageVM();
    ko.applyBindings(homepageVM);
    alert("complete");
});

For some reason the alert is never called, but firebug doesn’t see any exceptions thrown or console output. Does LABjs consume exceptions if they occur and not bubble them?

I should also mention that when stepping through ko and applyBindings are both listed as objects and methods. So it doesn’t look like its a problem calling ko, and it even steps into the ko minified file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:10:15+00:00Added an answer on May 24, 2026 at 12:10 pm

    LABjs v2.0 introduced the “Debug” config option, putting the lib into debug mode, which means it outputs progress and errors to the console. You have to:

    1) use a “debug” build of LABjs, which is either LAB.src.js -OR- LAB-debug.min.js; AND

    2) turn debug mode on, which is done with $LAB.setGlobalDefaults({Debug:true});

    If you were using LAB-debug.min.js AND you were turning on debug mode, and still weren’t getting console output, this would be a bug that I need to know about. If so, can you file a bug at the github issue tracker? https://github.com/getify/LABjs/issues

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using labjs to load my scripts. I've got a script from feedburner which
I've been using LABjs and it's working well. I'm now trying to make use
I'm currently working with OpenGL ES 1.1 and using the DrawElements convention along with
I'm working with the Azure ACS Labs where they are using FederatedServiceCredentials to authenticate
I am using this time-picker plugin. labs.perifer.se/timedatepicker/jquery.timePicker.js It works fine with jquery 1.2. see
I just started using jQuery, but i can't get it working. On the index.php
I have a part of a page that i want to load using ajax.
I'm working on a mobile website (it's not a single page app) which has
Using Morph Labs' Appspace to deploy a site means no automated way to redirect
Im using an existing widget from the jquery-ui labs call selectmenu. It has callback

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.