From 6f47fd5977165f799f4ba6e5ba935e95f359c20c Mon Sep 17 00:00:00 2001 From: Shane Bryan Date: Wed, 20 Jun 2012 14:55:00 -0700 Subject: [PATCH] [Serialize] Removed obsolete template type conditional Signed-off-by: Shane Bryan --- src/js/serialize.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/js/serialize.js b/src/js/serialize.js index c9d96a92..b015012b 100644 --- a/src/js/serialize.js +++ b/src/js/serialize.js @@ -112,9 +112,6 @@ var DEBUG = true, if (typeof template === "function") { template = $('
').append(template(node)).html(); } - else if (typeof template === "object") { - template = template[props["type"]]; - } // Apply any special ADMNode properties to the template before we // create the DOM Element instance