Skip to content

Instantly share code, notes, and snippets.

@webpro
Created November 1, 2013 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webpro/7262453 to your computer and use it in GitHub Desktop.
Save webpro/7262453 to your computer and use it in GitHub Desktop.
Named module in deeper path not resolved
// lib/bar/baz.js
define('bar/baz', [], function() {});
// foo.js
define(['lib/bar/baz'], function(baz) {
// resource requested, but baz = undefined
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment