Conversation
…h addAjaxOnCommFailure, addAjaxOnCommSuccess, addCometOnCommFailure, and addCometOnCommSuccess
…allback invocation
…tatus callback fails
…n status updates, as it seems to be the best place for such documentation I know of
|
Ah, travis failure. Looks like I've been too loose with teh JavaScriptz |
|
Any ideas why we're failing to boot in the travis script? I wouldn't have expected a JS enhancement to cause that... :-/ |
|
"src/main/resources/toserve/lift.js: line 110, col 24, Possible strict violation" It looks like it doesn't like the use of If we just assign the function to a variable |
|
Awesome, thanks for the help Tim. I guess I missed the second jshint complaint when I saw the fail to boot stacktrace. We could make that function call less fancy now. When I first started it, I thought I wouldn't know the number of parameters. Now that it's worked out, we know it's either 1 or 2 args. |
|
Nullifying this PR per @Shadowfiend's recognition that any Lift user can already accomplish the same effect by configuring |
In this PR I added front-end hooks for applications to be notified of possible server communication problems. There are 4 new public methods on
lift:With these in place, it is possible for an app to show the user that server communication has potentially been lost after some threshold number of failure events for instance.
See relevant ML thread.