jgallen23/routie — pull request #5 by nairvijays (2013-01-14 08:49:11+00:00)
Title: Adding noConflict() method

Routie create's a global object by default. When using a modular
framework like requirejs, there is no way to map the object to a module.
Adding noConflict() solves the issues. You could easily map the object
to any variable:

var app.router = routie.noConflict();

If using requirejs, adding a property in shim returns routie as a
module:

require.config({
paths: {
"router": "lib/routie",
},
shim: {
"router": {
init: function () {
return routie.noConflict();
}
}
}
});