Public Gists by luning

Gravatar
Sun Sep 06 21:32:45 -0700 2009
1
2
3
public class MockContainer
{
private readonly IUnityContainer unity;
Gravatar
Mon May 18 05:27:51 -0700 2009
1
2
3
  // wait for the conditionFn being satisfied, then execute executeFn
  $.WaitThread = function(conditionFn, executeFn, interval){
    this.conditionFn = conditionFn;
gist: 111525 waiting for ajax call in se...
Gravatar
Wed May 13 23:26:54 -0700 2009
1
2
3
/* javascript code in client side */
// extend jQuery ajax with the capability of remembering the count of active ajax requests
$.activeAjaxRequestCount = 0;
Gravatar
Tue Apr 28 19:11:31 -0700 2009
1
Write selenium tests in Javascript rather than Java awaring the GAP between Java and web page.
gist: 102968 Log all events as they are ...
Gravatar
Mon Apr 27 22:40:38 -0700 2009
1
2
3
// requires jQuery and FF console
var counter = 0;
$("*").each(function() {