Thursday, October 31, 2013

nesting an AMD module within a regular library and giving it a virtual path to be called by

define('ourFakeFolder/ourFakeFile',[
   "whereWeKeepUnderscore/underscore",
   "whereWeKeepMoment/moment"
], function (
   _,
   moment
   ) {

 
 

In order for this to work, you need to be absorbing the file this sits inside of somehow. If there are other dependencies for this, I do not know what they are yet.

No comments:

Post a Comment