Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 14 create a basicEmpty class of tests that test no deps #16

Closed
wants to merge 1 commit into from
Closed

Issue 14 create a basicEmpty class of tests that test no deps #16

wants to merge 1 commit into from

Conversation

thecodedrift
Copy link
Contributor

Issue #14 references a situation where an empty dependency array
denoted by [] should return no dependencies (as opposed to the
normal require/exports/module combination). A define() call that
does not contain any dependencies should receive the default
require/module/exports combination.

Compliance passing libs were opted in.

A sample.js file was created to help new impl developers follow a template for adding their own libraries.

Issue #14 references a situation where an empty dependency array
denoted by [] should return no dependencies (as opposed to the
normal require/exports/module combination). A define() call that
does not contain any dependencies should receive the default
require/module/exports combination.
@unscriptable
Copy link
Member

As I said in the discussion group, I disagree that this should be an optional test. It should be part of the basic tests since it's clearly outlined in the spec.

If you want to give implementors some time to fix their implementations before this lands, that's cool.

@jrburke
Copy link
Contributor

jrburke commented Mar 27, 2013

I am +1 for merging this and #15, and then send email to amd-implement about the merge and suggest implementers update their configs/implementations to pass the new tests.

@thecodedrift thecodedrift deleted the issue_14 branch March 27, 2013 23:47
thecodedrift added a commit that referenced this pull request Mar 28, 2013
Spec test update for define without dependencies, correction for anon_relative

Fixes #13 #14 #15 #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants