Commit 4096f42e authored by Tristan Cavelier's avatar Tristan Cavelier

xwikistorage jslint 'sloppy' and 'plusplus' option removed

parent 370cb0ac
/*jslint indent: 2, /*jslint indent: 2,
maxlen: 80, maxlen: 80,
sloppy: true, nomen: true
nomen: true,
plusplus: true
*/ */
/*global /*global
define: true, define: true,
...@@ -18,6 +16,8 @@ ...@@ -18,6 +16,8 @@
* XWiki Document/Attachment storage. * XWiki Document/Attachment storage.
*/ */
(function () { (function () {
"use strict";
var $, store; var $, store;
store = function (spec, my) { store = function (spec, my) {
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
BB = (window.MozBlobBuilder || window.WebKitBlobBuilder BB = (window.MozBlobBuilder || window.WebKitBlobBuilder
|| window.BlobBuilder); || window.BlobBuilder);
bb = new BB(); bb = new BB();
for (i = 0; i < contentArray.length; i++) { for (i = 0; i < contentArray.length; i += 1) {
bb.append(contentArray[i]); bb.append(contentArray[i]);
} }
return bb.getBlob(options ? options.type : undefined); return bb.getBlob(options ? options.type : undefined);
......
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