       false
 
 
-    if plain_routes.length != 0 
+    if plain_routes.length != 0
       # bind all <a> element with dispatch function, but bind only when href not contain "#"
       selector  = "a:not([href^='#'])"
 
       Sirius.Application.adapter.bind selector, "click", dispatcher
 
     window.onhashchange = dispatcher
-
+#    if push_state_support
+#      Sirius.Application.adapter.bind window, "popstate", dispatcher
 
     fn()
 

    @args = []
    parts = url.replace(/\/$/, "").split("/")

    #when not end, and parts have a different length, this not the same routes
    return false if ((parts.length != @parts.length) && @end)
    #when it have a different length, but @parts len > given len
    return false if (@parts.length > 1) && parts.length < @parts.length
    # when not end, and last parts not the equals
    return false if @end && (parts[parts.length-1] != @parts[parts.length-1])

    is_named_part = (part) ->
      part.indexOf(":") == 0

        return false

    @args = args

    true


