Skip to content
This repository has been archived by the owner on May 27, 2018. It is now read-only.

Fixes #8: 'downgrades' some of the array-related API calls #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

foxbunny
Copy link

@foxbunny foxbunny commented Feb 7, 2014

The code uses features like [].indexOf() and [].slice.call() on objects that don't support it on IE8. I've added fallbacks/replacements where needed in order to address this.

jasmine.DOM.indexOf has been added as replacement for [].indexOf() (uses native function on browsers that support it)

jasmine.DOM.slice has been rewritten to use a conventional C-style for loop since I didn't want to mess with feature detection.

Another change in this pull is that spec/jasmine-1.0.1 directory has been renamed to just spec/jasmine since I was testing with a different version, and though it'd be cleaner this way.

Also removed a stray .DS_Store file in the lib directory.

Unit tests pass on all major browers (Windows only, though) + IE8 using Jasmine 1.3.1.

(As originally reported in #8)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant