foo123/HAAR.js — pull request #5 by maxired (2012-11-20 11:54:19+00:00)
Title: Make everything CommonJS compliant

A pull request based on the discution engaged in #4

the main file, haar-detector is now in a closure and exports himself either in in window.HAAR or in the exports object on the server.

For cascade detectors, they are exported in windows[ name_off_the_cacade] or exports[name_off_the_cacade]

A modification has been done in the Test.java file inside the jar.