From 5550d95debbdd348374aceb3fea3efa0edabff44 Mon Sep 17 00:00:00 2001 From: Nicolas Noben Date: Tue, 10 Mar 2015 11:52:11 +1000 Subject: [PATCH] fix for #53 --- way.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/way.js b/way.js index f79fdde..aafd7c2 100644 --- a/way.js +++ b/way.js @@ -447,7 +447,8 @@ filter: options.filter }); - var wrapper = document.createElement("div"); + var wrappertag = options.wrappertag || "div"; + var wrapper = document.createElement(wrappertag); w.dom(wrapper).attr(tagPrefix + "-repeat-wrapper", self._repeatsCount); w.dom(wrapper).attr(tagPrefix + "-scope", options.repeat); if (options.filter) { w.dom(wrapper).attr(tagPrefix + "-filter", options.filter); }