trying to load pom.xml

This commit is contained in:
Ezequiel Bergamaschi 2014-07-27 18:25:52 -03:00
parent b9b4c380b2
commit f51480731a
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",
crossDomain: true,
dataType: "script",
success: function () {
JSPomLoader('../../../../../mindplot/pom.xml', function () { JSPomLoader('../../../../../mindplot/pom.xml', function () {
}); });
},
error: function(){
console.error("Unexpected error loading:"+url);
console.error(arguments);
}
}); });