Commit 15509d82 authored by Sven Franck's avatar Sven Franck

jslint pass allDocsCommand.js (2indent)

parent 14aa39ea
var allDocsCommand = function(spec, my) { var allDocsCommand = function (spec, my) {
var that = command(spec, my); var that = command(spec, my);
spec = spec || {};
my = my || {};
// Attributes //
// Methods //
that.getLabel = function() {
return 'allDocs';
};
that.executeOn = function(storage) { spec = spec || {};
storage.allDocs (that); my = my || {};
}; // Attributes //
// Methods //
that.getLabel = function () {
return 'allDocs';
};
that.canBeRestored = function() { that.executeOn = function (storage) {
return false; storage.allDocs(that);
}; };
that.validateState = function () { that.canBeRestored = function () {
return true; return false;
}; };
return that; that.validateState = function () {
}; return true;
};
return that;
};
\ 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