ESRI widget library - template string or template path?

Discussion created by dhollema on Feb 14, 2012
I downloaded version 2.6 API and was looking through some of the code.  I noticed that, for the widgets I looked at, template string was defined in the js file.  In addition, an accompanying html template file exists in the template folder.  For example, this is true of the editor and attribute inspector widgets.  I am familiar with the dojo templating system.  It appears the ESRI's api makes use of the hardcoded template string within the js file.  What then, is the purpose of the html template file.  Just for reference?  The template string and html file appear to be identical.