/*global define, Backbone */
define(['marionette'], function () {
    'use strict';
    var navBarView = Backbone.Marionette.View.extend({
        initialize: function(){
            console.log('init NavBarView');
        },
        events: {
            'click li a': 'handleClick',
        },
        handleClick: function(e) {
            e.stopPropagation();
            console.log(e);
            return false;
        }
    });
    var navRegion = Backbone.Marionette.Region.extend({
        el: '#navigation',
        open: function(view) {
            var $nav = this.$el.find('.nav');
            console.log('open: adding view');
            view.setElement($nav[0]);
        }
    });
    var lib = {
	    'regions': {
		    NavRegion: navRegion
	    },
        'views': {
		    NavBarView: navBarView
	    }
    };
    return lib;
});
// vim: set shiftwidth=4 softtabstop=4 tabstop=4 expandtab:

@@ -707,17 +707,20 @@
 lib = %7B%0A
-%09
+    
     'reg
@@ -724,26 +724,32 @@
 regions': %7B%0A
-%09%09
+        
     NavRegio
@@ -761,17 +761,20 @@
 vRegion%0A
-%09
+    
     %7D,%0A 
@@ -795,10 +795,16 @@
 : %7B%0A
-%09%09
+        
     
@@ -830,9 +830,12 @@
 iew%0A
-%09
+    
     

Fix tabs/spaces