require.config({
    baseUrl: "js"
});
define(
// Requirements
["map", "mini-map", "first-person", "lib/jquery", "lib/undo-manager"],

// Module definition
function (Map, MiniMap, FirstPerson, $, UndoManager) {
    // TODO
});
@@ -31,13 +31,15 @@
 %22js%22
+,
 %0A%7D);%0A
+%0A
 defi
@@ -103,22 +103,28 @@
 lib/
-jqu
+undo-manag
 er
-y
 %22, %22lib/
 undo
@@ -119,28 +119,22 @@
 %22, %22lib/
-undo-manag
+jqu
 er
+y
 %22%5D,%0A%0A// 
@@ -191,11 +191,8 @@
 son,
- $,
  Und
@@ -215,11 +215,204 @@
 // TODO%0A
+    %0A    var map = new Map();%0A    var miniMap = new MiniMap(%7B%0A        container: $( $(%22.mini-map%22)%5B0%5D ),%0A        viewRadius: 5,%0A        cellSize: 10%0A    %7D);%0A    %0A    miniMap.draw(25, 25, map);%0A
 %7D);

Add map/mini-map debug code to main.js.