Using requirejs in xblock

33 views
Skip to first unread message

Siavash Kavousi

unread,
Sep 14, 2016, 7:49:35 AM9/14/16
to General Open edX discussion
Hi,

I've read docs and discussions about using requirejs in edx-platform and didn't find anything useful about using requirejs in xblock.
In fact, there were some discussions around xblock and requirejs but there is no solution how to use requirejs inside xblock...

Also I've found a PR which recommends adding requirejs to xblock-sdk but it was closed...

Finally, I was thinking of adding requirejs file inside my xblock and using it there to fix my issues...

Is there any way better than this?

Andy Armstrong

unread,
Sep 14, 2016, 9:58:53 AM9/14/16
to edx-...@googlegroups.com
Hi Siavash,

This is functionality that we've wanted for a while, but unfortunately it has never been a high enough priority to implement it. A few of us did a hackathon project a year ago, but that didn't land either for a number of reasons. 

If you're interested in helping us get this into the platform, the hackathon PRs are still open:


Thanks,

 - Andy

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/e527e2ba-3acb-4866-b7a8-553bc652b781%40googlegroups.com.



--

Andy Armstrong

edX | UI Architect  | an...@edx.org  

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566
Reply all
Reply to author
Forward
0 new messages