Merge pull request #14029 from huffman/fix/keyboard-logging-in-edit

Remove verbose logging of keyboard messages in edit.js and gridTool.js
This commit is contained in:
John Conklin II 2018-09-24 12:54:43 -07:00 committed by GitHub
commit 1f6f51993d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -2134,9 +2134,7 @@ var PropertiesTool = function (opts) {
var onWebEventReceived = function(data) {
try {
data = JSON.parse(data);
}
catch(e) {
print('Edit.js received web event that was not valid json.');
} catch(e) {
return;
}
var i, properties, dY, diff, newPosition;

View file

@ -267,7 +267,6 @@ GridTool = function(opts) {
try {
data = JSON.parse(data);
} catch (e) {
print("gridTool.js: Error parsing JSON: " + e.name + " data " + data);
return;
}