/*
 * Copyright(c) 2014, Unional (https://github.com/unional)
 * @license Licensed under the MIT License (https://github.com/unional/umd/LICENSE)).
 * Created by unional on 9/21/14.
 */
umd(function(define) {
    define(function(require) {
        var func = require('sampleModules/umd/defineFunction');
        var func2 = require('sampleModules/umdv/defineFunction');

        return function() {
            return func() + " " + func2();
        }
    });

    return {
        nodeJS: {
            "sampleModules/umd/defineFunction": "./defineFunction",
            "sampleModules/umdv/defineFunction": "../umdv/defineFunction"
        }
    };
}, "sampleModules.umd.defineFunctionWithDep", require, exports, module);

/*
 * Copyright(c) 2014, Unional (https://github.com/unional)
 * @license Licensed under the MIT License (https://github.com/unional/umd/LICENSE)).
 * Created by unional on 9/21/14.
 */
umd(function(define) {
    define(function(require) {
        var func = require('sampleModules/umd/defineFunction');
        var func2 = require('sampleModules/umdv/defineFunction');

        return function() {
            return func() + " " + func2();
        }
    });
}, "sampleModules.umd.defineFunctionWithDep", require, exports, module);

--- 
+++ 
@@ -12,4 +12,11 @@
             return func() + " " + func2();
         }
     });
+
+    return {
+        nodeJS: {
+            "sampleModules/umd/defineFunction": "./defineFunction",
+            "sampleModules/umdv/defineFunction": "../umdv/defineFunction"
+        }
+    };
 }, "sampleModules.umd.defineFunctionWithDep", require, exports, module);
Add return to definition function. The return value will be used to map the require calls.
Not implemented yet.
