diff --git a/lib/viewstack.js b/lib/viewstack.js index 88c77a9..4c9f168 100644 --- a/lib/viewstack.js +++ b/lib/viewstack.js @@ -192,8 +192,11 @@ var ViewStack = module.exports = Backbone.View.extend({ return this; }, - - + + size: function size(){ + return this._stack.length; + }, + // // Private //