Skip to content

Commit 7d52d2a

Browse files
committed
AC-14597: JavaScript error encountered when selecting "All Resources" in API resource access during integration activation
In modern JavaScript modules (which is what we're using with RequireJS), the 'use strict' directive is automatically applied, so we don't need to explicitly declare it. Removing this to fix static test failure.
1 parent 9995ae5 commit 7d52d2a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/User/view/adminhtml/web/js/roles-tree.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ define([
1212
'jquery/jstree/jquery.jstree',
1313
'mage/translate'
1414
], function ($) {
15-
'use strict';
16-
1715
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
1816
$.widget('mage.rolesTree', {
1917
options: {

0 commit comments

Comments
 (0)