try and get ctrl-enter to add a clear all
[roojs1] / Roo / bootstrap / LayoutMasonry.js
index 8568f10..b3a5ee6 100644 (file)
@@ -1,4 +1,10 @@
+
+
 /**
+ * @class Roo.bootstrap.LayoutMasonry
+ * @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.Element Roo.bootstrap.Img Roo.bootstrap.MasonryBrick
+ * Bootstrap Layout Masonry class
  *
  * This is based on 
  * http://masonry.desandro.com
@@ -6,15 +12,7 @@
  * The idea is to render all the bricks based on vertical width...
  *
  * The original code extends 'outlayer' - we might need to use that....
- * 
- */
-
 
-/**
- * @class Roo.bootstrap.LayoutMasonry
- * @extends Roo.bootstrap.Component
- * Bootstrap Layout Masonry class
- * 
  * @constructor
  * Create a new Element
  * @param {Object} config The config object
@@ -661,10 +659,6 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
                     height = Math.floor(this.unitHeight * (b.y - 1) + (this.gutter * (b.y - 2)) + b.el.getPadding('tb'));
                 }
                 
-                if(b.videourl && b.videourl.length) {
-                    alert([width, height]);
-                }
-                
                 b.el.setWidth(width);
                 b.el.setHeight(height);
                 // iframe?