Skip to content

Commit 25ae2e9

Browse files
author
Pieter Cappelle
committed
Fix jslint errors
1 parent 7746c17 commit 25ae2e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Catalog/view/adminhtml/web/catalog/product/attribute/unique-validate.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ define([
1010
'use strict';
1111

1212
return function (config) {
13+
var msg = '';
1314
var _config = jQuery.extend({
1415
element: null,
1516
message: '',
1617
uniqueClass: 'required-unique'
1718
}, config);
1819

1920
if (typeof _config.element === 'string') {
20-
var msg = '';
21-
22-
var messager = function() {
21+
var messager = function () {
2322
return msg;
2423
};
2524

0 commit comments

Comments
 (0)