express-expose icon indicating copy to clipboard operation
express-expose copied to clipboard

Support RequireJS

Open hisayan opened this issue 13 years ago • 1 comments

on Client-Side, express-expose require() is not work with RequireJS.

Server-Side:

app.exposeRequire(true)

Client-Side (jade):

script(src='/js/libs/require.js', data-main='/js/main')
script!= javascript

I tried to write test.

but it has already didn't working on Node 0.4.12 and Node 0.6.x.

hisayan avatar Jan 10 '12 04:01 hisayan

+1

mlegenhausen avatar May 08 '12 14:05 mlegenhausen