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: https://github.com/edx/XBlock/pull/322 https://github.com/edx/edx-platform/pull/10164 Thanks, - Andy On Wed, Sep 14, 2016 at 7:49 AM, Siavash Kavousi < siavash.kavousi...@gmail.com> wrote: > 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? > > -- > 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 > <https://groups.google.com/d/msgid/edx-code/e527e2ba-3acb-4866-b7a8-553bc652b781%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *Andy Armstrong* edX | UI Architect | an...@edx.org 141 Portland Street, 9th floor Cambridge, MA 02139 http://www.edx.org <http://www.edxonline.org/> [image: http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566] -- 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/CAG2ZmnAADY%2BRmRXvZ3duaw1FyuMS%3DcPXuZ%3DW9pYL3Tedr5hALQ%40mail.gmail.com.