fix(exports):fixed window test to add web worker compatibility
export to self for web workers not using amd
Merge branch 'Offirmo-master'