Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add define.default - #138

#138
Open
stefanpenner wants to merge 1 commit into
masterember-cli/loader.js:masterfrom
define-defaultember-cli/loader.js:define-defaultCopy head branch name to clipboard
Open

add define.default#138
stefanpenner wants to merge 1 commit into
masterember-cli/loader.js:masterfrom
define-defaultember-cli/loader.js:define-defaultCopy head branch name to clipboard

Conversation

@stefanpenner

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread README.md

```js
define('foo', [], () => 'hi');
define.default('foo', 'foo/bar/baz');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think your params are swapped here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ya, confirm. Also in the section header...

Comment thread README.md

```js
define('foo', [], () => 'hi');
define.default('foo', 'foo/bar/baz');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ya, confirm. Also in the section header...

Comment thread lib/loader/loader.js
// define.amd = {};

function Alias(id) {
function Alias(id, prop) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This doesn't seem used, revert?

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.