Story.deleteAll () |
function deletes all childobjects of a story (recursive!) |
Sourcecode in Story/objectFunctions.js:
1: function deleteAll() { 2: for (var i=this.comments.size();i>0;i--) 3: this.comments.get(i-1).remove(); 4: return true; 5: } |