diff options
| author | Misko Hevery | 2010-07-30 15:19:43 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-30 15:19:43 -0700 |
| commit | 059703495dc703354056f1d16a73591959852370 (patch) | |
| tree | b1b44506a93124e7fe5c2cb66e2dfd40ca9282b4 /src/Compiler.js | |
| parent | 1e1c8c82f98f4a6d6ed77e7bf34ac5177fe33d4f (diff) | |
| download | angular.js-059703495dc703354056f1d16a73591959852370.tar.bz2 | |
rename textMarkup to markup
Diffstat (limited to 'src/Compiler.js')
| -rw-r--r-- | src/Compiler.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compiler.js b/src/Compiler.js index bcf1f61a..e09f1876 100644 --- a/src/Compiler.js +++ b/src/Compiler.js @@ -69,8 +69,8 @@ Template.prototype = { /////////////////////////////////// //Compiler ////////////////////////////////// -function Compiler(textMarkup, attrMarkup, directives, widgets){ - this.textMarkup = textMarkup; +function Compiler(markup, attrMarkup, directives, widgets){ + this.markup = markup; this.attrMarkup = attrMarkup; this.directives = directives; this.widgets = widgets; @@ -158,7 +158,7 @@ Compiler.prototype = { // process markup for text nodes only eachTextNode(element, function(textNode){ var text = textNode.text(); - foreach(self.textMarkup, function(markup){ + foreach(self.markup, function(markup){ markup.call(selfApi, text, textNode, element); }); }); |
