Sha256: 57dd596c3ce3ab6adb5113ffd8ac5d4cd50abb487cec663a51ed45f2b055e70a
Contents?: true
Size: 394 Bytes
Versions: 13
Compression:
Stored size: 394 Bytes
Contents
module Druid module Javascript module YUI # # return the number of pending ajax requests # def self.pending_requests "var inProgress=0 for(var i=0; i < YAHOO.util.Connect._transaction_id; i++) { if(YAHOO.util.Connect.isCallInProgress(i)) inProgress++; } return inProgress;" end end end end
Version data entries
13 entries across 13 versions & 2 rubygems