Files
handlebars.js/lib/handlebars/browser-suffix.js
T
2013-05-27 11:22:25 -07:00

14 lines
321 B
JavaScript

if (typeof module === 'object' && module.exports) {
// CommonJS
module.exports = Handlebars;
} else if (typeof define === "function" && define.amd) {
// AMD modules
define(function() { return Handlebars; });
} else {
// other, i.e. browser
this.Handlebars = Handlebars;
}
}).call(this);