Commit 5dac383e authored by Jérome Perrin's avatar Jérome Perrin

Input_viewDebugJson: fix jslint warnings

parent 2bf84660
/*global rJS, promiseEventListener, initGadgetMixin */ /*global rJS, promiseEventListener, initGadgetMixin, RSVP, CodeMirror */
(function (window, rJS, promiseEventListener, initGadgetMixin) { (function (window, rJS, promiseEventListener, initGadgetMixin, RSVP, CodeMirror) {
"use strict"; "use strict";
var gadget_klass = rJS(window); var gadget_klass = rJS(window);
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"_id": gadget.props.jio_key, "_id": gadget.props.jio_key,
"_attachment": "body.json", "_attachment": "body.json",
"_data": gadget.props.codemirror.getValue() "_data": gadget.props.codemirror.getValue()
}) });
}); });
}) })
.declareMethod("render", function (options) { .declareMethod("render", function (options) {
...@@ -57,11 +57,11 @@ ...@@ -57,11 +57,11 @@
return gadget.aq_putAttachment({ return gadget.aq_putAttachment({
"_id": gadget.props.jio_key, "_id": gadget.props.jio_key,
"_attachment": "body.json", "_attachment": "body.json",
"_data": gadget.props.codemirror.getValue() "_data": instance.getValue()
}); });
}, }
} }
}); });
}); });
}); });
}(window, rJS, promiseEventListener, initGadgetMixin)); }(window, rJS, promiseEventListener, initGadgetMixin, RSVP, CodeMirror));
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment