theSmaw / Caja-HTML-Sanitizer

Bundles Google Caja's HTML Sanitizer within a npm installable node.js module
382 stars 94 forks source link

Fixed browser and old require() API compatibility #10

Closed mllocs closed 11 years ago

mllocs commented 11 years ago

Heavily inspired by how underscore.js makes the export.

theSmaw commented 11 years ago

Awesome, thanks very much.

I've incorporated this exports technique and the latest version of the Caja code on the following branch:

https://github.com/theSmaw/Caja-HTML-Sanitizer/tree/fix_browser_and_old_require_api_compatibility

Are you able to see if this does what you need it to do by using version 0.1.0-alpha of this module?

theSmaw commented 11 years ago

This should be resolved in 0.1.0

mllocs commented 11 years ago

Cool, I'll check it later. Thx