From e2154cbc0b9265bea04ce328879d4e9bf1c67c51 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 7 Feb 2011 15:15:14 -0800 Subject: remove dom manipulation API from compiler --- src/Compiler.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Compiler.js') diff --git a/src/Compiler.js b/src/Compiler.js index d1505404..804a9622 100644 --- a/src/Compiler.js +++ b/src/Compiler.js @@ -178,9 +178,6 @@ Compiler.prototype = { template, selfApi = { compile: bind(self, self.compile), - comment:function(text) {return jqLite(document.createComment(text));}, - element:function(type) {return jqLite(document.createElement(type));}, - text:function(text) {return jqLite(document.createTextNode(text));}, descend: function(value){ if(isDefined(value)) descend = value; return descend;}, directives: function(value){ if(isDefined(value)) directives = value; return directives;}, scope: function(value){ if(isDefined(value)) template.newScope = template.newScope || value; return template.newScope;} -- cgit v1.2.3