Closed alexindigo closed 8 years ago
@saponifi3d hey, before you cut new version, can you squeeze another PR there? It will help us with server-side instrumentation a lot. Thanks. PS. Let me know if I can in of help in any way.
:+1: lgtm, can you add a simple test around this?
@saponifi3d I could, just haven't came up with a test use case. I mean if you require that file on the server and you don't have jquery in your node_modules it would throw. Testing for that would be cumbersome.
So I see it more like making client/router.js
and client/app_view.js
on the same page.
Made
client/router.js
to requirejquery
in the same way asclient/app_view.js
does it, in a server-sidesafe way. Removed unusedrequireAMD
variable.