Commit 59d01abf authored by Sven Franck's avatar Sven Franck

jslint pass waitstorage.js

parent 93c5a742
/*global window, define */
/*jslint indent: 2, maxlen: 80, sloppy: true */
/*global setTimeout: true, window: true, define: true, jIO: true */
(function () {
'use strict';
var jioWaitStorageLoader = function (jIO) {
......@@ -40,9 +41,8 @@
if (timeout_or_not_timeout) {
delay = priv.delay;
}
window.setTimeout(function () {
that.addJob(that.newStorage(priv.sub_storage_spec),
command);
setTimeout(function () {
that.addJob(that.newStorage(priv.sub_storage_spec), command);
that.end();
}, delay);
};
......
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