35f03f75f8d4a25745a7ebbd30a1f0e8b9bde5f5
[redakcja.git] / platforma / static / js / wiki / summary_view.js
1 (function($){
2         
3         function SummaryPerspective(options) {
4                 var old_callback = options.callback;        
5         options.callback = function(){
6                         old_callback.call(this);
7                 };              
8                 
9                 $.wiki.Perspective.call(this, options);
10     };
11     
12     SummaryPerspective.prototype = new $.wiki.Perspective();
13     
14     SummaryPerspective.prototype.freezeState = function(){
15         // must 
16     };
17         
18         SummaryPerspective.prototype.onEnter = function(success, failure){
19                 $.wiki.Perspective.prototype.onEnter.call(this);
20                 
21                 console.log("Entered summery view");
22         };
23         
24         $.wiki.SummaryPerspective = SummaryPerspective;
25         
26 })(jQuery);
27