Use === to compare with null to prevent IE(8?) to report error. Can you make sure that this improvement is added to all files in the /dist folder as well.
Use === to compare with null to prevent IE(8?) to report error.
Always wanted to change this to ===, but was never quite sure it really always evaluates to null ..what if some browser evaluates this to undefined ? I think the better way would be to test for !win.frameElement
undefined == null returns true
undefined === null returns false
changed code to !win.frameElement just in case some browser decides to give undefined instead of null
Changes have been pushed to src/dist and .map files are now available for all js files ..cdn has not been updated yet