Skip to content

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

3 participants