export the same variable as the other methods

This commit is contained in:
eleith 2013-07-03 11:21:52 -07:00
parent 513dfdb5f7
commit 1096681920

View File

@ -707,8 +707,10 @@
if (typeof define === "function") {
// Add support for require.js
define(["./beautify.js", "./beautify-css.js"], function(js_beautify, css_beautify) {
return function(html_source, options) {
return {
html_beautify: function(html_source, options) {
return style_html(html_source, options, js_beautify, css_beautify);
}
};
});
} else if (typeof exports !== "undefined") {