Skip to content

Commit

Permalink
provide empty object in $.support
Browse files Browse the repository at this point in the history
This helps plugins that want to write to the object, such as
Twitter Bootstrap.

Fixes madrobby#584
  • Loading branch information
mislav committed Oct 3, 2012
1 parent 053e59e commit ee9cda0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zepto.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ var Zepto = (function() {

// plugin compatibility
$.uuid = 0
$.support = { }

$.map = function(elements, callback){
var value, values = [], i, key
Expand Down

0 comments on commit ee9cda0

Please sign in to comment.