From dce8fd9949662dd2cccb6251ee1e655d2d20775f Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Sat, 22 Sep 2012 23:14:19 +0800 Subject: [PATCH] .. --- share/pdf2htmlEX.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/share/pdf2htmlEX.js b/share/pdf2htmlEX.js index 665cd06..4376732 100644 --- a/share/pdf2htmlEX.js +++ b/share/pdf2htmlEX.js @@ -11,7 +11,7 @@ */ var pdf2htmlEX = (function(){ - var obj = { + return { pages : [], page_boxes : [], container : null, @@ -44,6 +44,8 @@ var pdf2htmlEX = (function(){ var _ = this; $(document).ready(function(){_.init_after_loading_content();}); + + return this; }, hide_pages : function() { @@ -84,8 +86,7 @@ var pdf2htmlEX = (function(){ $(this.page_boxes[i]).hide(); } }, - }; - obj.init(); - return obj; + __last_member__ : 'no comma' /*,*/ + }.init(); })();