Skip to content

Commit

Permalink
export the same variable as the other methods
Browse files Browse the repository at this point in the history
  • Loading branch information
eleith committed Jul 3, 2013
1 parent 513dfdb commit 1096681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/lib/beautify-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 1096681

Please sign in to comment.