StoryMgr.deleteAll () |
function loops over all stories and removes them (including their comments!)
|
Sourcecode in StoryMgr/objectFunctions.js:
1: function deleteAll() { 2: for (var i=this.size();i>0;i--) 3: this.deleteStory(this.get(i-1)); 4: return true; 5: } |