   #
   # for view1 we should use Dom level 3\4 events
   # also we should know which attributes changed (filter), therefore
-  # view1.bind(view2, with: ["id"])
+  # view1.bind(view2, to: ["id"])
   # when we change text in view1, then should changes in view2 id attribute
   #
   # ### 3 View to View relation change attributes in View1

#
class Sirius.View

  constructor: (@element, clb = ->) ->
    @_result_fn = (args...) =>
      clb.apply(null, args...)


  # swap content for given element
  # @return null
  swap: () ->
    console.log 111111
    Sirius.Application.adapter.swap(@element, @_result)
    null

