Made import of gradients on stroke work, fixed issue 516

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1487 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-03-29 18:06:51 +00:00
parent effc4200e9
commit 104d4370a1
2 changed files with 45 additions and 29 deletions

View File

@@ -192,10 +192,19 @@
}
})();
var extFunc = function() {
$.each(curConfig.extensions, function() {
$.getScript(curConfig.extPath + this);
});
}
// Load extensions
$.each(curConfig.extensions, function() {
$.getScript(curConfig.extPath + this);
});
// Bit of a hack to run extensions in local Opera
if(window.opera && document.location.href.indexOf('http') !== 0) {
setTimeout(extFunc, 1000);
} else {
extFunc();
}
$.svgIcons(curConfig.imgPath + 'svg_edit_icons.svg', {
w:24, h:24,