]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
removes console logs from sticky... oops
authorChris Oyler <chris@zurb.com>
Wed, 23 Dec 2015 22:32:00 +0000 (14:32 -0800)
committerChris Oyler <chris@zurb.com>
Wed, 23 Dec 2015 22:32:00 +0000 (14:32 -0800)
js/foundation.sticky.js

index f83ee9ca1aed219c66d4e8ecbeb9d8ee18b72380..ebd29b0cb61028bc59f4e116f47179658d09c406 100644 (file)
       this._parsePoints();
     }
 
-    console.log(this.points);
     this._setSizes(function(){
       _this._calc(false);
     });
     }else{
       breaks = {0: 1, 1: document.documentElement.scrollHeight};
     }
-      // console.log(breaks);
+
     this.points = breaks;
     return;
   };
    * @param {String} id - psuedo-random id for unique scroll event listener.
    */
   Sticky.prototype._events = function(id){
-    // console.log('called');
     var _this = this,
         scrollListener = this.scrollListener = 'scroll.zf.' + id;
     if(this.isOn){ return; }
    */
   Sticky.prototype._pauseListeners = function(scrollListener){
     this.isOn = false;
-    // this.$anchor.off('change.zf.sticky');
     $(window).off(scrollListener);
 
     /**
         comp = window.getComputedStyle(this.$container[0]),
         pdng = parseInt(comp['padding-right'], 10);
 
-    // console.log(this.$anchor);
     if(this.$anchor && this.$anchor.length){
       this.anchorHeight = this.$anchor[0].getBoundingClientRect().height;
     }else{