Closed mcg88 closed 10 years ago
Hey @mcgwebdesign - this looks fantastic, nice work! Is there any chance you would take a crack at writing a test for this? https://github.com/carlsednaoui/ouibounce/blob/master/test/test.js
Thanks @jenius! I will give it a shot.
@jenius, tried to clarify that gnarly ternary logic. Thoughts? 2ff8c3dec94e5b41d97774d46c2bf68a2c1c6e5d
@mcgwebdesign, let us know if you'll be writing tests for this :smiley:
@carlsednaoui I have no experience writing tests, but I will attempt today/tomorrow and let you know :)
thanks!
Added 2 optional parameters to the .disable() function which allow:
Added in a demo for the less aggressive behavior and modified readme.md to include the two parameters along with example code.