Skip to content

Commit

Permalink
Strip newlines from MapConfig string, so it's easier to type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Santilli committed Jul 16, 2014
1 parent 663a939 commit fc48835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/viewer/index.html
Expand Up @@ -64,7 +64,7 @@
ev.preventDefault();

var baseUrl = $('#baseurl').val();
var mapConfig = $('#mapconfig').val();
var mapConfig = $('#mapconfig').val().replace(/[\r\n]/gm,"");

$.ajax({
url: baseUrl,
Expand Down

0 comments on commit fc48835

Please sign in to comment.