--
You received this message because you are subscribed to the Google Groups "Closure Linter Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-linter-di...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
It's not typical to put the @type annotation there. Try this:
/** @type {string} */
var contentType = '';
On Fri, Jul 12, 2013 at 8:12 AM, John Munro <ghos...@gmail.com> wrote:
Line 406, E:0133: Unused local variable: contentType.var /** @type {string} */ contentType = '';if (file instanceof File) {contentType = file.type;} else {contentType = 'text/plain';
}
--
You received this message because you are subscribed to the Google Groups "Closure Linter Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-linter-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Closure Linter Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-linter-di...@googlegroups.com.