From ee9cda0d2a71a4f6862655a033366f8380dd8708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohnic=CC=81?= Date: Tue, 2 Oct 2012 02:54:15 +0200 Subject: [PATCH] provide empty object in `$.support` This helps plugins that want to write to the object, such as Twitter Bootstrap. Fixes #584 --- src/zepto.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zepto.js b/src/zepto.js index 754991a75..49fdb6777 100644 --- a/src/zepto.js +++ b/src/zepto.js @@ -245,6 +245,7 @@ var Zepto = (function() { // plugin compatibility $.uuid = 0 + $.support = { } $.map = function(elements, callback){ var value, values = [], i, key