Permalink
Browse files

Bootstrap compat: implement `detach()`

References #642
  • Loading branch information...
1 parent a02f280 commit 228337f6f3e0470736d3270bc4fd10069ada7f72 @mislav mislav committed Nov 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/zepto.js
View
@@ -670,6 +670,9 @@ var Zepto = (function() {
}
}
+ // for now
+ $.fn.detach = $.fn.remove
+
// Generate the `width` and `height` functions
;['width', 'height'].forEach(function(dimension){
$.fn[dimension] = function(value){

0 comments on commit 228337f

Please sign in to comment.