mauriciosantos / Buckets-JS

A complete, fully tested and documented data structure library written in pure JavaScript.
MIT License
1.25k stars 112 forks source link

Make this work as a NodeJS module #3

Closed tcoulter closed 11 years ago

tcoulter commented 11 years ago

The code added at the bottom of buckets.js will enable it to be used as a module in NodeJS. The if statement ensures the rest of the export code will be completely ignore if run in the browser.

mauriciosantos commented 11 years ago

Done. Thank you tcoulter.