Skip to content

Commit f11fd88

Browse files
committed
refactor: minor code shuffle for readability
1 parent e53d105 commit f11fd88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/services/entitlements.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ define(function (require, exports, module) {
4141
// Create secure exports and set up event dispatcher
4242
const Entitlements = {};
4343
EventDispatcher.makeEventDispatcher(Entitlements);
44+
// Set up KernalModeTrust.Entitlements
45+
KernalModeTrust.Entitlements = Entitlements;
4446

4547
// Event constants
4648
const EVENT_ENTITLEMENTS_CHANGED = "entitlements_changed";
@@ -166,9 +168,6 @@ define(function (require, exports, module) {
166168
};
167169
}
168170

169-
// Set up KernalModeTrust.Entitlements
170-
KernalModeTrust.Entitlements = Entitlements;
171-
172171
let inited = false;
173172
function init() {
174173
if(inited){

0 commit comments

Comments
 (0)