Ver código fonte

Pass reference variable for article resizing

@soyjavi 14 anos atrás
pai
commit
31579efef3
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/boot/Lungo.Boot.Section.js

+ 3 - 3
src/boot/Lungo.Boot.Section.js

@@ -1,6 +1,6 @@
-/** 
+/**
  * Initialize the <section> element
- * 
+ *
  * @namespace LUNGO.Boot
  * @class Section
  * @requires Zepto
@@ -57,7 +57,7 @@ LUNGO.Boot.Section = (function(lng, undefined) {
         for (var attribute in section_attributes) {
             if (lng.Core.isOwnProperty(section_attributes, attribute)) {
                 var property = section_attributes[attribute];
-                lng.View.Resize.article(section, property.name, property.bind);
+                lng.View.Resize.article(section, property.name, property.bind, property.reference);
             }
         }
     };