Can anyone help me understand this error? TIA
TypeError: AppView is not a constructor [Break On This Error] var apView = new AppView();
define([
    'jquery',
   'backbone',
   'collections/Directory',
   'views/app',
   'common'
   ]   , function( $, Backbone, DirectoryCollection,AppView , Common ) {
var Workspace = Backbone.Router.extend({
    routes:{            
        "filter/:type": "urlFilter"
    },      
urlFilter: function (type) {            
        var apView = new AppView();
        apView.filterType = type;
        apView.trigger("change:filterType");          
    },
});
return Workspace;
});