3 function DiffPerspective(options) {
4 var old_callback = options.callback || function() {};
5 options.callback = function(){
6 old_callback.call(this);
9 $.wiki.Perspective.call(this, options);
12 DiffPerspective.prototype = new $.wiki.Perspective();
14 DiffPerspective.prototype.freezeState = function(){
18 DiffPerspective.prototype.onEnter = function(success, failure){
19 $.wiki.Perspective.prototype.onEnter.call(this);
21 console.log("Entered diff view");
24 $.wiki.DiffPerspective = DiffPerspective;