diff options
author | Tommy Messbauer <tommy@vast.com> | 2012-11-26 09:39:08 -0600 |
---|---|---|
committer | Tommy Messbauer <tommy@vast.com> | 2012-11-26 09:39:08 -0600 |
commit | 79632184953284603b64a3179d087ebcda9d0ab6 (patch) | |
tree | 98e7490ddda4f57e2ae154d8d9374c8b4596f8ec /lib/handlebars/compiler/visitor.js | |
parent | eccc7c35ca3221b0a168485d5c323d6054958a3e (diff) | |
download | handlebars.js-79632184953284603b64a3179d087ebcda9d0ab6.zip handlebars.js-79632184953284603b64a3179d087ebcda9d0ab6.tar.gz handlebars.js-79632184953284603b64a3179d087ebcda9d0ab6.tar.bz2 |
Factory update with tabs to spaces.. sorry :(
Diffstat (limited to 'lib/handlebars/compiler/visitor.js')
-rw-r--r-- | lib/handlebars/compiler/visitor.js | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/lib/handlebars/compiler/visitor.js b/lib/handlebars/compiler/visitor.js index 56f262a..5d07314 100644 --- a/lib/handlebars/compiler/visitor.js +++ b/lib/handlebars/compiler/visitor.js @@ -1,20 +1,18 @@ - exports.attach = function(Handlebars) { - // BEGIN(BROWSER) - - Handlebars.Visitor = function() {}; +// BEGIN(BROWSER) - Handlebars.Visitor.prototype = { - accept: function(object) { - return this[object.type](object); - } - }; +Handlebars.Visitor = function() {}; - // END(BROWSER) +Handlebars.Visitor.prototype = { + accept: function(object) { + return this[object.type](object); + } +}; - return Handlebars; +// END(BROWSER) +return Handlebars; }; |