Fix Issue 457: Remove experimentation on the ?url= parameter accidentally checked in.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1311 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
8ba1526e9f
commit
3e94e85e31
|
@ -2759,11 +2759,6 @@ function svg_edit_setup() {
|
|||
else if(loc.indexOf('?url=') != -1) {
|
||||
var pre = '?url=';
|
||||
var url = loc.substring(loc.indexOf(pre) + pre.length);
|
||||
var s = document.createElement("script");
|
||||
s.setAttribute("src", url);
|
||||
document.body.appendChild(s);
|
||||
console.log(s.textContent);
|
||||
/*
|
||||
$.ajax({
|
||||
'url': url,
|
||||
'dataType': 'text',
|
||||
|
@ -2774,7 +2769,6 @@ function svg_edit_setup() {
|
|||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -42,7 +42,10 @@
|
|||
expect(6);
|
||||
var convert = svgCanvas.pathActions.convertPath;
|
||||
|
||||
// TODO:
|
||||
// TODO: Test these paths:
|
||||
// "m400.00491,625.01379a1.78688,1.78688 0 1 1-3.57373,0a1.78688,1.78688 0 1 13.57373,0z"
|
||||
// "m36.812,15.8566c-28.03099,0 -26.28099,12.15601 -26.28099,12.15601l0.03099,12.59399h26.75v3.781h-37.37399c0,0 -17.938,-2.034 -133.00001,26.25c115.06201,28.284 130.71801,27.281 130.71801,27.281h9.34399v-13.125c0,0 -0.504,-15.656 15.40601,-15.656h26.532c0,0 14.90599,0.241 14.90599,-14.406v-24.219c0,0 2.263,-14.65601 -27.032,-14.65601zm-14.75,8.4684c2.662,0 4.813,2.151 4.813,4.813c0,2.661 -2.151,4.812 -4.813,4.812c-2.661,0 -4.812,-2.151 -4.812,-4.812c0,-2.662 2.151,-4.813 4.812,-4.813z"
|
||||
|
||||
svgCanvas.setSvgString("<svg xmlns='http://www.w3.org/2000/svg' width='400' x='300'>" +
|
||||
"<path id='p1' d='M100,100 L200,100 Z'/>" +
|
||||
"<path id='p2' d='M100,100 L200,100 Z'/>" +
|
||||
|
|
Loading…
Reference in New Issue