Fix broken JS code and add better Unicode support, JSLint, add txt ext. to README
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2654 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
this.saveHandler = function(svg) {
|
||||
$.post("svg-editor-save.php", { svg_data: escape(svg) } );
|
||||
});
|
||||
/*globals $*/
|
||||
this.saveHandler = function(svg) {'use strict';
|
||||
$.post("svg-editor-save.php", {svg_data: encodeURIComponent(svg)});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user