lib/testable/extensions/dom_observer.rb in testable-0.10.0 vs lib/testable/extensions/dom_observer.rb in testable-1.0.0

- old
+ new

@@ -1,8 +1,10 @@ module Watir class Element OBSERVER_FILE = "/dom_observer.js".freeze DOM_OBSERVER = File.read("#{File.dirname(__FILE__)}#{OBSERVER_FILE}").freeze + private_constant :OBSERVER_FILE + private_constant :DOM_OBSERVER # This method makes a call to `execute_async_script` which means that the # DOM observer script must explicitly signal that it is finished by # invoking a callback. In this case, the callback is nothing more than # a delay. The delay is being used to allow the DOM to be updated before