Skip to content

Instantly share code, notes, and snippets.

@xenophy
Created April 4, 2012 01:20
Show Gist options
  • Save xenophy/2296926 to your computer and use it in GitHub Desktop.
Save xenophy/2296926 to your computer and use it in GitHub Desktop.
delete spec test
if(jasmine.browser.isIE6 || jasmine.browser.isIE7 || jasmine.browser.isIE8 || jasmine.browser.isIE9) {
w.teston = undefined;
} else {
delete w.teston;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment