   
   # Performs a scoped querySelectAll.
   #
-  # @param [Element] scope the DOM element serving as the search scope
-  # @param [String] selector the CSS selector to query
-  # @return [NodeList, Array] the elements in the scope that match the CSS
+  # @param {HTMLElement} scope the DOM element serving as the search scope
+  # @param {String} selector the CSS selector to query
+  # @return {NodeList, Array} the elements in the scope that match the CSS
   #     selector; the scope container can belong to the returned array
   queryScope: (scope, selector) ->
     scopeMatches = false

  
  # Wires JS to elements with data-pwnfx attributes.
  #
  # @param [Element] root the element whose content is wired; use document at
  #                       load time
  wire: (root) ->
    for effect in @effects

    refreshOldValue = null
    ajaxRefresh = ->
      refreshPending = false
      PwnFx.xhr xhrUrl, xhrMethod, xhrForm, onXhrData
      
    onChange = ->
      value = element.value
