Fix linting errors

This commit is contained in:
JC Brand 2018-10-23 12:25:35 +02:00
parent c684105fed
commit 3a33d6f99b
2 changed files with 945 additions and 949 deletions

19
dist/converse.js vendored
View File

@ -70089,6 +70089,7 @@ if (true) {
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
/*global module, exports, _ */
(function webpackUniversalModuleDefinition(root, factory) {
if (true) module.exports = factory();else {}
})(this, function () {
@ -70178,11 +70179,7 @@ if (true) {
return __webpack_require__(0);
/******/
}(
/************************************************************************/
/******/
[
}([
/* 0 */
/***/
@ -70205,7 +70202,7 @@ if (true) {
if (typeof _ == 'function' && typeof _.runInContext == 'function') {
// XXX: Customization in order to be able to run both _ and fp in the
// non-AMD usecase.
fp = browserConvert(_.runInContext());
window.fp = browserConvert(_.runInContext());
}
module.exports = browserConvert;
@ -70382,7 +70379,7 @@ if (true) {
name = undefined;
}
if (func == null) {
if (func === null) {
throw new TypeError();
}
@ -70588,11 +70585,11 @@ if (true) {
result = clone(Object(object)),
nested = result;
while (nested != null && ++index < length) {
while (nested !== null && ++index < length) {
var key = path[index],
value = nested[key];
if (value != null) {
if (value !== null) {
nested[path[index]] = clone(index == lastIndex ? value : Object(value));
}
@ -71081,6 +71078,7 @@ if (true) {
result = {};
for (var key in object) {
if (Object.prototype.hasOwnProperty.call(object, key)) {
var value = object[key];
if (hasOwnProperty.call(result, value)) {
@ -71089,6 +71087,7 @@ if (true) {
result[value] = [key];
}
}
}
return result;
}();
@ -71191,8 +71190,6 @@ if (true) {
);
});
;
/***/ }),
/***/ "./src/headless/backbone.noconflict.js":

View File

@ -1,3 +1,5 @@
/*global module, exports, _ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
@ -48,9 +50,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/******/ })([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
@ -71,7 +71,7 @@ return /******/ (function(modules) { // webpackBootstrap
if (typeof _ == 'function' && typeof _.runInContext == 'function') {
// XXX: Customization in order to be able to run both _ and fp in the
// non-AMD usecase.
fp = browserConvert(_.runInContext());
window.fp = browserConvert(_.runInContext());
}
module.exports = browserConvert;
@ -227,8 +227,8 @@ return /******/ (function(modules) { // webpackBootstrap
func = name;
name = undefined;
}
if (func == null) {
throw new TypeError;
if (func === null) {
throw new TypeError();
}
options || (options = {});
@ -433,11 +433,11 @@ return /******/ (function(modules) { // webpackBootstrap
result = clone(Object(object)),
nested = result;
while (nested != null && ++index < length) {
while (nested !== null && ++index < length) {
var key = path[index],
value = nested[key];
if (value != null) {
if (value !== null) {
nested[path[index]] = clone(index == lastIndex ? value : Object(value));
}
nested = nested[key];
@ -934,6 +934,7 @@ return /******/ (function(modules) { // webpackBootstrap
result = {};
for (var key in object) {
if (Object.prototype.hasOwnProperty.call(object, key)) {
var value = object[key];
if (hasOwnProperty.call(result, value)) {
result[value].push(key);
@ -941,6 +942,7 @@ return /******/ (function(modules) { // webpackBootstrap
result[value] = [key];
}
}
}
return result;
}());
@ -1034,9 +1036,6 @@ return /******/ (function(modules) { // webpackBootstrap
* @type {Object}
*/
module.exports = {};
/***/ }
/******/ ])
});
;