Skip to content

Commit ed8df69

Browse files
committed
Update viewstack.js
1 parent 0d1ac0d commit ed8df69

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/viewstack.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,11 @@ var ViewStack = module.exports = Backbone.View.extend({
192192

193193
return this;
194194
},
195-
196-
195+
196+
size: function size(){
197+
return this._stack.length;
198+
},
199+
197200
//
198201
// Private
199202
//

0 commit comments

Comments
 (0)