- function SummaryPerspective(doc, callback) {
- this.perspective_id = 'SummaryPerspective';
- this.doc = doc;
+ function SummaryPerspective(options) {
+ var old_callback = options.callback;
+ options.callback = function(){
+ old_callback.call(this);
+ };