Closed nagaozen closed 9 years ago
While this points to the global object (window in browsers and Global in WSH), it doesn't work in ASP. So, by removing the root. from root.returnExports it works as its intended to.
this
root.
root.returnExports
https://github.com/szepeviktor/amd-global
@szepeviktor your code also doesn't work.
Could you attach this to a bug request so we have actual evidence of what environment and situation causes the error?
While
this
points to the global object (window in browsers and Global in WSH), it doesn't work in ASP. So, by removing theroot.
fromroot.returnExports
it works as its intended to.