trying to load pom.xml

This commit is contained in:
Ezequiel Bergamaschi 2014-07-27 18:25:52 -03:00
parent 21e5850ee5
commit f40aaab2ea
2 changed files with 14 additions and 4 deletions

View File

@ -16,6 +16,7 @@
* limitations under the License. * limitations under the License.
*/ */
//FIXME: remove Request class
mindplot.RESTPersistenceManager = new Class({ mindplot.RESTPersistenceManager = new Class({
Extends:mindplot.PersistenceManager, Extends:mindplot.PersistenceManager,
initialize:function (options) { initialize:function (options) {

View File

@ -56,11 +56,20 @@ function JSPomLoader(pomUrl, callback) {
} }
$.ajax({
jQuery.getScript("../../../../../web2d/target/classes/web2d.svg-min.js", function () { url: "../../../../../web2d/target/classes/web2d.svg-min.js",
JSPomLoader('../../../../../mindplot/pom.xml', function () { crossDomain: true,
}); dataType: "script",
success: function () {
JSPomLoader('../../../../../mindplot/pom.xml', function () {
});
},
error: function(){
console.error("Unexpected error loading:"+url);
console.error(arguments);
}
}); });