 
 Factory = null
 
-###
-Proxies browser's History API, routing request to and from the aplication
+###*
+  Proxies browser's History API, routing request to and from the aplication
+  @class Router
 ###
 module.exports = class Router
 
+  ###*
+    Array storing all the routes defined in the application's route file.
+
+    @property {Array} routes
+  ###
   routes: []
-  listeners: []
 
+  ###*
+    If false, doesn't handle the url route.
+
+    @property {Boolean} trigger
+  ###
   trigger: true
 
-  ###
-  @param [theoricus.Theoricus] @the   Shortcut for app's instance
-  @param [Function] @on_change  state/url change handler
+  ###*
+  @class Router
+  @constructor
+  @param @the {Theoricus} Shortcut for app's instance
+  @param @on_change {Function} state/url change handler
   ###
   constructor:( @the, @Routes, @on_change )->
     Factory = @the.factory

    History.back()

  forward:()->
    History.forward()
## Router & Route logic inspired by RouterJS:
## https://github.com/haithembelhaj/RouterJs

###*
  Core module
  @module core
###

StringUril = require 'theoricus/utils/string_util'
Route = require 'theoricus/core/route'
