X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f7e3ba3851d4ec6e3decaab0d568e492726224dc..02a98d2af6f1fabf567b575c5f2d818688af1594:/platforma/static/js/wiki/summary_view.js?ds=sidebyside diff --git a/platforma/static/js/wiki/summary_view.js b/platforma/static/js/wiki/summary_view.js new file mode 100644 index 00000000..bed8155c --- /dev/null +++ b/platforma/static/js/wiki/summary_view.js @@ -0,0 +1,25 @@ +(function($){ + + function SummaryPerspective(doc, callback) { + this.perspective_id = 'SummaryPerspective'; + this.doc = doc; + + callback.call(this); + }; + + SummaryPerspective.prototype = new $.wiki.Perspective(); + + SummaryPerspective.prototype.freezeState = function(){ + // must + }; + + SummaryPerspective.prototype.onEnter = function(success, failure){ + $.wiki.Perspective.prototype.onEnter.call(this); + + console.log("Entered summery view"); + }; + + $.wiki.SummaryPerspective = SummaryPerspective; + +})(jQuery); +