aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.js
diff options
context:
space:
mode:
authorMisko Hevery2011-02-07 15:15:14 -0800
committerMisko Hevery2011-02-16 00:48:22 -0500
commite2154cbc0b9265bea04ce328879d4e9bf1c67c51 (patch)
treefd49a2d08f54b72997872e190ba9300f80c14a15 /src/Compiler.js
parent0a5c00abf8664fdbdc5d16b13adb1989b4531cdf (diff)
downloadangular.js-e2154cbc0b9265bea04ce328879d4e9bf1c67c51.tar.bz2
remove dom manipulation API from compiler
Diffstat (limited to 'src/Compiler.js')
-rw-r--r--src/Compiler.js3
1 files changed, 0 insertions, 3 deletions
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;}