if(window.PalmSystem)
{
    enyo.depends(
        "mainApp/source/globals.js",
        "noWindow/applaunch.js"
    );
}
else // if PhoneGap or BlackBerry
{
    enyo.depends(
        "mainApp/source/EnyoPlatform/",
        "mainApp/source/globals.js",
        "noWindow/applaunch.js",
        "mainApp/source/globals.js",
        "mainApp/utilkinds.js",
        "mainApp/source/contactDetail.js",
        "mainApp/source/outboxHandler.js",
        "mainApp/source/popups.js",
        "mainApp/source/contactsIndex.js",
        "mainApp/source/gvoice.js",
        "mainApp/css/gvoice.css"
    );
}

if(window.PalmSystem)
{
    enyo.depends(
        "mainApp/source/globals.js",
        "mainApp/source/EnyoPlatform.js",
        "noWindow/applaunch.js"
    );
}
else // if PhoneGap or BlackBerry
{
    enyo.depends(
        "mainApp/source/EnyoPlatform/",
        "mainApp/source/globals.js",
        "noWindow/applaunch.js",
        "mainApp/source/globals.js",
        "mainApp/utilkinds.js",
        "mainApp/source/contactDetail.js",
        "mainApp/source/outboxHandler.js",
        "mainApp/source/popups.js",
        "mainApp/source/contactsIndex.js",
        "mainApp/source/gvoice.js",
        "mainApp/css/gvoice.css"
    );
}

add EnyoPlatform to nowindow app depends