Just a few minor changes. I thought it was worth having a comment at the top describing the component, but more importantly having a link to the original source code (I hate when people implement source code into a project, but you have no idea where the code originally came from.)
I also put all the private variables into a "Mustache" namespace--which I thought might help avoid issues when extending the component.
Here's a sumarry:
Moved private variables into a Mustache name space to avoid variable collisions when extending Mustache.cfc
Added heading comment to reference where the original source can be found and to list key benefits of this implementation
Added missing XHTML-style closing tags where missing
Changes "result" to "results" to be consisted across all functions
Just a few minor changes. I thought it was worth having a comment at the top describing the component, but more importantly having a link to the original source code (I hate when people implement source code into a project, but you have no idea where the code originally came from.)
I also put all the private variables into a "Mustache" namespace--which I thought might help avoid issues when extending the component.
Here's a sumarry: