var dojoConfig = {
    packages: [{
        name: "bootstrap",
        location: location.pathname.replace(/\/[^/]+$/, "") + "dist/vendor/dojo-bootstrap"
        // location: "http://esri.github.com/calcite-maps/dist/vendor/dojo-bootstrap"
        // location: "dist/vendor/dojo-bootstrap"
    },
    {
        name: "calcite-maps",
        location: location.pathname.replace(/\/[^/]+$/, "") + "dist/js/dojo"
        // location: "http://esri.github.com/calcite-maps/dist/js/dojo"
        // location: "dist/js/dojo"
    }]
};

console.log(dojoConfig)