Commit 61a17817 authored by Marco Mariani's avatar Marco Mariani

jslint

parent 91feccb6
/*jslint indent: 2, nomen: true, todo: true, unparam: true */
/*global jQuery, window, document, jIO, confirm, alert */
/*jslint nomen: true, todo: true, unparam: true */
"use strict";
(function (window, document, $, jIO) {
......
/*jslint indent: 2 */
/*global window, jQuery, rJS*/
"use strict";
......
/*jslint indent: 2, evil: true*/
/*global window, jQuery, rJS, CodeMirror*/
/*jslint evil: true*/
"use strict";
(function (window, $, rJS, CodeMirror) {
......
/*jslint indent: 2 */
/*global window, jQuery, rJS */
"use strict";
(function (window, $, rJS) {
......@@ -130,7 +131,7 @@
}
g.declareGadget('./io.html',
{element: document.getElementById("iogadget")})
{element: window.document.getElementById("iogadget")})
.then(function (ioGadget) {
window.jio = ioGadget;
jioGadget = ioGadget;
......
/*jslint indent: 2, unparam: true*/
/*global window, jIO, rJS, RSVP */
/*jslint unparam: true*/
"use strict";
(function (window, jIO, rJS, RSVP) {
......@@ -13,10 +13,10 @@
.declareMethod('getIO', function () {
return new RSVP.Promise(function(resolve, reject) {
return new RSVP.Promise(function (resolve, reject) {
var default_value = "",
gadget = rJS(this);
gadget.jio.getAttachment({
"_id": gadget.jio_key,
"_attachment": "body.txt"
......@@ -36,9 +36,9 @@
.declareMethod('setIO', function (value) {
return new RSVP.Promise(function(resolve, reject) {
return new RSVP.Promise(function (resolve, reject) {
var gadget = rJS(this);
gadget.jio.put({
"_id": gadget.jio_key
}, function (err, response) {
......@@ -61,7 +61,7 @@
}
});
});
});
}(window, jIO, rJS, RSVP));
/*jslint indent: 2 */
/*global window, jQuery, rJS*/
"use strict";
......
/*jslint indent: 2 */
/*global window, jQuery, rJS */
"use strict";
(function (window, $, rJS, undefined) {
......
/*jslint indent: 2, evil: true*/
/*global window, jQuery, rJS*/
/*jslint evil: true*/
"use strict";
(function (window, $, rJS) {
......
/*jslint indent: 2 */
/*global window, jQuery, rJS, odf*/
"use strict";
......
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