FNNDSC / FNNDSC/ami

AMD Support

Open
#365 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
745
Forks
212
PR merge metrics
No merged PRs in 30d

Description

### Description
Unable to load AMI using require.js (AMD).

#### Live Demo
https://github.com/edsilv/ami-amd-test

#### Steps to Reproduce
`npm start`

#### Expected Results
Logs AMI object.

#### Actual Results
Logs `undefined` here: https://github.com/edsilv/ami-amd-test/blob/master/index.html#L17

### Browsers Affected
- [x ] All
- [ ] Chrome
- [ ] Firefox
- [ ] Edge
- [ ] Safari 9
- [ ] Safari 8
- [ ] IE 11

### Versions
- AMI: v0.27.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Run `npm start` in the linked AMI AMD test and inspect the `index.html` reference at line 17, where the AMI object is logged as undefined. Trace the AMD loading behavior and confirm completion when the page logs the AMI object as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.