Skip to content

Non browser support#493

Merged
jzaefferer merged 25 commits into
masterfrom
non-browser-support
Jan 2, 2014
Merged

Non browser support#493
jzaefferer merged 25 commits into
masterfrom
non-browser-support

Conversation

@jzaefferer

Copy link
Copy Markdown
Member

This replaces #458 and their predecessors. I've taken the changes James made, rebased them on top of master (the grand module split), then split everything up into small commits, in hopefully a sane order. I've addressed the feedback from the #458 PR.

When reviewing, please consider checking the individual commits. That should make the reviewing a lot easier as well.

The Export: commit deserves special attention. I got sick of the twisted logic we had there, so I changed them to only export to properties that we actually check for. It works in the context of what we're testing.

Comment thread .jshintrc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a side note. "predef" is antiquated. "globals": { "module": false } would be the new hotness.

@timmywil

timmywil commented Dec 6, 2013

Copy link
Copy Markdown
Contributor

👍 I'm excited about this.

@JamesMGreene

Copy link
Copy Markdown
Member

Thanks, @jzaefferer. I'm relieved that this is getting taken care of despite my current unavailability. 🤘

Comment thread Gruntfile.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this grunt.verbose.ok() instead of grunt.verbose.writeln()?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to remove this, since its the only log line that requires the verbose flag and there's no other logs for a normal run.

@scottgonzalez

Copy link
Copy Markdown
Contributor

A few of these lines are >100 characters. Not sure if you plan on just waiting for the rest of the cleanup to fix that.

@jzaefferer

Copy link
Copy Markdown
Member Author

Yeah, that cleanup will have to wait a little longer.

jzaefferer and others added 25 commits January 2, 2014 18:08
The require path changed during the module refactor, but wasn't updated here.
The QUnit.load() call is currently necessary for any tests to run. This needs
another review.
Avoids addEvent() getting called in non-browser envs.
Checks for `window` to export in browsers, module.exports to export in node or
comparable CommonJS envs.
@jzaefferer jzaefferer merged commit 557a913 into master Jan 2, 2014
@jzaefferer

Copy link
Copy Markdown
Member Author

Landed in master.

@Krinkle Krinkle deleted the non-browser-support branch January 6, 2014 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants