   if define?.amd?
     define deps, factory
   else if module?.exports?
-    # no jQuery in node
+    console.log(" !!!node+jquery")
+    $    = require '../node_modules/jquery'
     _    = require 'underscore'
-    rx = factory(_)
+    rx = factory(_, $)
     module.exports = rx
   else if root._? and root.$?
     root.rx = factory(root._, root.$)

      setDynProp elt, 'class', value, (val) ->
        if _.isString(val) then val else rxt.smushClasses(val)

  rx.rxt = rxt
  rx
# end rxFactory definition


  rx.transaction = (f) -> depMgr.transaction(f)

  console.log(" ???JQuery")
  if $?
    console.log(" !!!JQuery")
    #
    # jQuery extension
    #
