Merge pull request #56 from upopple/master

Fix remove method to use splice instead of slice
This commit is contained in:
Doug 2014-10-14 13:58:10 -04:00
commit fc6ec04c48

View File

@ -544,7 +544,7 @@ define([
// TODO listening?
this.__ul.removeChild(controller.__li);
this.__controllers.slice(this.__controllers.indexOf(controller), 1);
this.__controllers.splice(this.__controllers.indexOf(controller), 1);
var _this = this;
common.defer(function() {
_this.onResize();