Permalink
Browse files

renamed RouteModule -> RouteWidgetModule

  • Loading branch information...
1 parent deda589 commit e720b1d4c1dd8953a6f46b867136055764377685 @mikaelkaron mikaelkaron committed Apr 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/route/router.js
View
@@ -3,10 +3,10 @@
* @license TroopJS 0.0.1 Copyright 2012, Mikael Karon <mikael@karon.se>
* Released under the MIT license.
*/
-define([ "../component/widget", "../util/uri", "callbacks" ], function RouterModule(Widget, URI, Callbacks) {
+define([ "../component/widget", "../util/uri", "callbacks" ], function RouteRouterModule(Widget, URI, Callbacks) {
var CALLBACKS = "callbacks";
- return Widget.extend(function Router($element, name) {
+ return Widget.extend(function RouteRouterWidget($element, name) {
this[CALLBACKS] = Callbacks("memory");
}, {
"dom/hashchange" : function onHashChange(topic, $event) {

0 comments on commit e720b1d

Please sign in to comment.