Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Added check of exports to allow successful execution in Electron #285

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

guyroyse
Copy link
Contributor

Ran into this issue in Jasmine. Jasmine has merged it but hasn't release it yet. So, I fixed it in my local copy and proceeded to add Jasmine-jQuery.

Lo and behold, Jasmine-jQuery had the same issue. In fact, it looked like the offending code had been cut from Jasmine and pasted into Jasmine-jQuery. Nothing wrong with that, of course. So, I made the same change to my local and it worked. So, I'm sharing the love and passing it on.

I didn't write any additional tests because, frankly, I don't see an easy way that I could. It appears that the user who added the code I am modifying also didn't write any so this probably isn't a big deal. I did, however, actually run them. So, at least there's that.

I also cleaned up the function from a spacing point of view. The rest of the codebase and the contributing guidelines say '2 spaces'. This bit had four and to first line actually had a stray extra space. Five, as they say, is right out.

@travisjeffery travisjeffery merged commit 380426e into velesin:master Dec 16, 2016
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.

2 participants