Indent consistency per file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2591 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -4573,11 +4573,11 @@
|
||||
// Callback handler for embedapi.js
|
||||
try {
|
||||
window.addEventListener('message', function(e) {
|
||||
// We accept and post strings for the sake of IE9 support
|
||||
if (typeof e.data !== 'string') {
|
||||
return;
|
||||
}
|
||||
var data = JSON.parse(e.data);
|
||||
// We accept and post strings for the sake of IE9 support
|
||||
if (typeof e.data !== 'string') {
|
||||
return;
|
||||
}
|
||||
var data = JSON.parse(e.data);
|
||||
if (!data || typeof data !== 'object' || data.namespace !== 'svgCanvas') {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user