examples/HTML StarterKit/lib/durandal/js/system.js
function(obj) {
            if (!obj) {
                return null;
            }

            if (typeof obj == 'function') {
                return obj.prototype.__moduleId__;
            }

            if (typeof obj == 'string') {
                return null;
            }

            return obj.__moduleId__;
        }
function(obj) {
            if (!obj) {
                return null;
            }

            if (typeof obj == 'function') {
                return obj.prototype.__moduleId__;
            }

            if (typeof obj == 'string') {
                return null;
            }

            return obj.__moduleId__;
        }
function ( obj ) { if ( ! obj ) { return null ; } if ( typeof obj == 'function' ) { return obj . prototype . __moduleId__ ; } if ( typeof obj == 'string' ) { return null ; } return obj . __moduleId__ ; }
Gets the module id for the specified object.
@method getModuleId
@param {object} obj The object whose module id you wish to determine.
@return {string} The module id.
Gets the module id for the specified object .