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

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

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

            obj.__moduleId__ = id;
        }
function(obj, id) {
            if (!obj) {
                return;
            }

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

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

            obj.__moduleId__ = id;
        }
function ( obj , id ) { if ( ! obj ) { return ; } if ( typeof obj == 'function' ) { obj . prototype . __moduleId__ = id ; return ; } if ( typeof obj == 'string' ) { return ; } obj . __moduleId__ = id ; }
Sets the module id for the specified object.
@method setModuleId
@param {object} obj The object whose module id you wish to set.
@param {string} id The id to set for the specified object.
Sets the module id for the specified object .