first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
define(["require", "exports", "./dom/getWindow"], function (require, exports, getWindow_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initializeDir = initializeDir;
function initializeDir(win) {
var w = (win || (0, getWindow_1.getWindow)());
if (w && !w.__hasInitializedDir__) {
w.__hasInitializedDir__ = true;
// Ensure that the documentElement has a 'dir' attribute.
var documentElement = w.document.documentElement;
if (!documentElement.hasAttribute('dir')) {
documentElement.setAttribute('dir', 'ltr');
}
}
}
});
//# sourceMappingURL=initializeDir.js.map