/*
 *  jQuery RotatingNav - v0.1.0
 *  A nav menu that rotates through infinite links, allowing for more nav menu links than can normally fit.
 *  https://github.com/audreyr/rotatingnav/
 *
 *  Made by Audrey Roy
 *  Under MIT License
 */
!function(a){function b(b,e){this.element=b,this.settings=a.extend({},d,e),this._defaults=d,this._name=c,this.init()}var c="rotatingnav",d={panelCount:8,activeCount:4};b.prototype={init:function(){var b=this;b.activeHead=0,b.activeTail=this.settings.activeCount-1,b.panelHead=0,b.panelTail=this.settings.panelCount-1,b.updateActive(),a(".left.rotatingnav-control").click(function(){b.shiftBackward()}),a(".right.rotatingnav-control").click(function(){b.shiftForward()}),a("body").keypress(function(a){102===a.which?b.shiftForward():98===a.which&&b.shiftBackward()})},isActive:function(a){return this.activeHead<this.activeTail&&this.activeHead<=a&&a<=this.activeTail?!0:this.activeHead>this.activeTail&&!(this.activeTail<a&&a<this.activeHead)?!0:!1},updateActive:function(){var b=this;console.log("activeHead "+b.activeHead+", activeTail "+b.activeTail),a(".item").removeClass("pull-left"),a(".item").removeClass("active"),a(".item").each(function(c){b.isActive(c)?(a(this).addClass("active"),a(this).show(),c>b.activeTail&&a(this).addClass("pull-left")):a(this).hide()})},shiftForward:function(){console.log("Shifting forward"),this.activeHead++,this.activeTail++,this.activeTail>this.panelTail&&(this.activeTail=this.panelHead),this.activeHead>this.panelTail&&(this.activeHead=this.panelHead),this.updateActive()},shiftBackward:function(){console.log("Shifting backward"),this.activeHead--,this.activeTail--,this.activeHead<this.panelHead&&(this.activeHead=this.panelTail),this.activeTail<this.panelHead&&(this.activeTail=this.panelTail),this.updateActive()}},a.fn[c]=function(d){return this.each(function(){a.data(this,"_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery,window,document);
/*
 *  jQuery RotatingNav - v0.1.0
 *  A nav menu that rotates through infinite links, allowing for more nav menu links than can normally fit.
 *  https://github.com/audreyr/rotatingnav/
 *
 *  Made by Audrey Roy
 *  Under MIT License
 */
!function(a){function b(b,e){this.element=b,this.settings=a.extend({},d,e),this._defaults=d,this._name=c,this.init()}var c="rotatingnav",d={panelCount:8,activeCount:4};b.prototype={init:function(){var b=this;b.activeHead=0,b.activeTail=this.settings.activeCount-1,b.panelHead=0,b.panelTail=this.settings.panelCount-1,b.updateActive(),a(".left.rotatingnav-control").click(function(){b.shiftBackward()}),a(".right.rotatingnav-control").click(function(){b.shiftForward()}),a("body").keypress(function(a){102===a.which?b.shiftForward():98===a.which&&b.shiftBackward()})},isActive:function(a){return this.activeHead<this.activeTail&&this.activeHead<=a&&a<=this.activeTail?!0:this.activeHead>this.activeTail&&!(this.activeTail<a&&a<this.activeHead)?!0:!1},updateActive:function(){var b=this;a(".item").removeClass("pull-left"),a(".item").removeClass("active"),a(".item").each(function(c){b.isActive(c)?(a(this).addClass("active"),a(this).show(),c>b.activeTail&&a(this).addClass("pull-left")):a(this).hide()})},shiftForward:function(){this.activeHead++,this.activeTail++,this.activeTail>this.panelTail&&(this.activeTail=this.panelHead),this.activeHead>this.panelTail&&(this.activeHead=this.panelHead),this.updateActive()},shiftBackward:function(){this.activeHead--,this.activeTail--,this.activeHead<this.panelHead&&(this.activeHead=this.panelTail),this.activeTail<this.panelHead&&(this.activeTail=this.panelTail),this.updateActive()}},a.fn[c]=function(d){return this.each(function(){a.data(this,"_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery,window,document);
Update rotatingnav to remove console.log statements.