Skip to content

Commit

Permalink
Minor changes to make it compatible with both WSH and ASP (eslint com…
Browse files Browse the repository at this point in the history
…patible)

Made it eslint compatible.
  • Loading branch information
nagaozen committed May 19, 2015
1 parent c03f25a commit 60c2da8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mustache.js
Expand Up @@ -3,15 +3,16 @@
* http://github.com/janl/mustache.js
*/

/*global define: false*/
/*global define: false Mustache: true*/

(function defineMustache (global, factory) {
if (typeof exports === 'object' && exports) {
factory(exports); // CommonJS
} else if (typeof define === 'function' && define.amd) {
define(['exports'], factory); // AMD
} else {
factory(global.Mustache = {}); // <script>
Mustache = {};
factory(Mustache); // script, wsh, asp
}
}(this, function mustacheFactory (mustache) {

Expand Down

1 comment on commit 60c2da8

@phillipj
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About time for a new patch release with this just merged @dasilvacontin?

Please sign in to comment.