I'm currently using the following shim configuration with RequireJS:
shim: {
'thirdParty/jquery.jqGrid': ['jquery', 'jquery-ui', 'thirdParty/grid.locale-en']
}
I'm curious to know if this is exactly the same as this representation:
shim: {
'thirdParty/jquery.jqGrid': {
deps: ['jquery', 'jquery-ui', 'thirdParty/grid.locale-en']
}
}
From my understanding, they should be equivalent. However, I've noticed differing results when generating a file through r.js.
This setup is being implemented with RequireJS v2.1.9