[gnome-documents/wip/lokdocview-rebase: 7/29] Rename previewLOK to previewLok



commit 06b0ca966550246498a87682092efa843e93667a
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 4 17:50:23 2015 +0100

    Rename previewLOK to previewLok
    
    More JSey

 src/embed.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 88c217e..dca6707 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -90,8 +90,8 @@ const Embed = new Lang.Class({
         this._previewEv = new Preview.PreviewView(this._stackOverlay);
         this._stack.add_named(this._previewEv, 'preview-ev');
 
-        this._previewLOK = new LOKView.LOKView(this._stackOverlay);
-        this._stack.add_named(this._previewLOK, 'preview-lok');
+        this._previewLok = new LOKView.LOKView(this._stackOverlay);
+        this._stack.add_named(this._previewLok, 'preview-lok');
 
         this._edit = new Edit.EditView();
         this._stack.add_named(this._edit, 'edit');
@@ -413,8 +413,8 @@ const Embed = new Lang.Class({
 
         if (this._previewEv)
             this._previewEv.reset();
-        if (this._previewLOK)
-            this._previewLOK.reset();
+        if (this._previewLok)
+            this._previewLok.reset();
         if (this._edit)
             this._edit.setUri(null);
 
@@ -466,7 +466,7 @@ const Embed = new Lang.Class({
             this._toolbar.destroy();
 
         // pack the toolbar
-        this._toolbar = new LOKView.LOKViewToolbar(this._previewLOK);
+        this._toolbar = new LOKView.LOKViewToolbar(this._previewLok);
         this._titlebar.add(this._toolbar);
 
         this._stack.set_visible_child_name('preview-lok');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]