Sha256: 1876d2541139da20736d88f86f3034a759d098ed963a16e5f93ed06e8b9999bd
Contents?: true
Size: 398 Bytes
Versions: 53
Compression:
Stored size: 398 Bytes
Contents
module PageObject 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
53 entries across 53 versions & 3 rubygems