I ran into some problems using the RequireJS optimizer on this module, it inserts the line define("put", function(){}); after the put.js source code in the optimized output. Somehow the very non-standard UMD footer is causing the optimizer to think that it is not an AMD module.
I got it working with the optimizer using this header template, but I couldn't figure out how to get it working in node, since it has to load node-html.js.
I ran into some problems using the RequireJS optimizer on this module, it inserts the line
define("put", function(){});
after theput.js
source code in the optimized output. Somehow the very non-standard UMD footer is causing the optimizer to think that it is not an AMD module.I got it working with the optimizer using this header template, but I couldn't figure out how to get it working in node, since it has to load
node-html.js
.This may be related to #19, not sure.