This is a gist to showcase how to patch a yui core module when using express-yui
, in this particular case, patching the router
module by defining a new module router-patched
as a replacement for the original module core module router
.
npm install
node app.js
Awesome, worked like a charm. I’d never seen
condition.when
before, clever stuff.