Skip to content

Commit

Permalink
Fix backwards put destroy calls (which were seeming to work anyway)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth G. Franqueiro committed Nov 30, 2012
1 parent 45a8dca commit a3cd1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ColumnSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function(kernel, declare, Deferred, listen, aspect, query, has, put, hasClass, G
if (scrollers) {
// this isn't the first time; destroy existing scroller nodes first
for(i in scrollers){
put("!", scrollers[i]);
put(scrollers[i], "!");
}
} else {
// first-time-only operations: hook up event/aspected handlers
Expand Down
2 changes: 1 addition & 1 deletion List.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function(arrayUtil, kernel, declare, listen, has, miscUtil, TouchScroll, hasClas

this.cleanup();
// destroy DOM
put("!", this.domNode);
put(this.domNode, "!");
},
refresh: function(){
// summary:
Expand Down

0 comments on commit a3cd1ec

Please sign in to comment.