define(['require', 'app/controller/tab/tab', 'app/controller/editor'], function(require, Tab, Editor) {
    "use strict";

    console.log('app/controller/tab/document.js');

    var DocumentTab = Tab.sub({
        el: '#tab_doc',
        click: function() {
            var datamanager = require('app/module/datamanager');
            datamanager.setActiveDocument('document');
            this.stack.controllerStack.doc.active();
            this.stack.doc.active();
        }
    });

    return DocumentTab;
});