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