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.
*/
//FIXME: remove Request class
mindplot.RESTPersistenceManager = new Class({
Extends:mindplot.PersistenceManager,
initialize:function (options) {

View File

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