Browse Source

Send LUNGO instance to closure LUNGO.View.Template

Javier Jiménez Villar 14 năm trước cách đây
mục cha
commit
19b9dc5aa0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/view/Lungo.View.Template.js

+ 2 - 2
src/view/Lungo.View.Template.js

@@ -9,7 +9,7 @@
  * @author Guillermo Pascual <pasku@tapquo.com> || @pasku1
  */
  
-LUNGO.View.Template = (function(undefined) {
+LUNGO.View.Template = (function(lng, undefined) {
 
     var _templates = {};
 
@@ -70,4 +70,4 @@ LUNGO.View.Template = (function(undefined) {
         binding: binding
     };
 
-})();
+})(LUNGO);