-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
add define.default #138
base: master
Are you sure you want to change the base?
add define.default #138
Conversation
d0cf32c
to
b5754d5
Compare
|
||
```js | ||
define('foo', [], () => 'hi'); | ||
define.default('foo', 'foo/bar/baz'); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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...
|
||
```js | ||
define('foo', [], () => 'hi'); | ||
define.default('foo', 'foo/bar/baz'); |
There was a problem hiding this comment.
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...
@@ -265,8 +265,9 @@ var loader, define, requireModule, require, requirejs; | |||
// we don't support all of AMD | |||
// define.amd = {}; | |||
|
|||
function Alias(id) { | |||
function Alias(id, prop) { |
There was a problem hiding this comment.
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?
No description provided.