Permalink
Browse files

goog writerClass moved to options

  • Loading branch information...
1 parent 9ca6673 commit 8438911c1ec8948975cb1d54854edcde69900179 @dimsmol committed Oct 30, 2013
Showing with 3 additions and 1 deletion.
  1. +2 −0 lib/compiler/generators/goog/options.js
  2. +1 −1 lib/compiler/generators/goog/template.js
View
2 lib/compiler/generators/goog/options.js
@@ -11,6 +11,8 @@ var options = ops.cloneWithDefaults({
fullName: 'goog.inherits'
},
+ writerClass: 'ojster.StringWriter',
+
css: {
getCssNameFuncStr: 'goog.getCssName',
getCssNameFuncIsGlobal: true,
View
2 lib/compiler/generators/goog/template.js
@@ -38,7 +38,7 @@ Template.prototype.appendDefinitionStart = function () {
'/**\n',
' * @param {Object=} opt_data\n',
' * @param {Object=} opt_ctx\n',
- ' * @param {ojster.StringWriter=} opt_writer\n',
+ ' * @param {', this.options.writerClass, '=} opt_writer\n',
' * @constructor\n',
' * @extends {', this.baseNameToUse,'}\n',
' */\n',

0 comments on commit 8438911

Please sign in to comment.