formatting and lint compliance

This commit is contained in:
ansuz
2018-02-28 11:58:35 +01:00
parent 480b499d7b
commit 118ceef2f2
6 changed files with 117 additions and 116 deletions

View File

@@ -1,4 +1,5 @@
config = {
/* globals DocsAPI */
window.config = {
"document": {
"fileType": "docx",
"key": "Khirz6zTPdfd7",
@@ -13,12 +14,11 @@ config = {
}
},
"events": {
"onDocumentStateChange": function(evt) { console.log("in change"); },
"onReady": function(evt) { console.log("in onReady"); }
"onDocumentStateChange": function (/* evt */) { console.log("in change"); },
"onReady": function (/* evt */) { console.log("in onReady"); }
}
};
window.onbeforeunload = null;
var docEditor = new DocsAPI.DocEditor("placeholder", config);
window.docEditor = new DocsAPI.DocEditor("placeholder", window.config);