pad_editbar: Move `syncAnimation` out of `padeditbar` IIFE

This avoids the need for an IIFE.
pull/5152/head
Richard Hansen 2021-07-15 17:30:51 -04:00
parent ee996f530f
commit 42b0b1bf00
1 changed files with 395 additions and 400 deletions

View File

@ -77,8 +77,6 @@ ToolbarItem.prototype.bind = function (callback) {
}
};
const padeditbar = (() => {
const syncAnimation = (() => {
const SYNCING = -100;
const DONE = 100;
@ -124,7 +122,7 @@ const padeditbar = (() => {
};
})();
return {
exports.padeditbar = {
_editbarPosition: 0,
init() {
@ -482,6 +480,3 @@ const padeditbar = (() => {
});
},
};
})();
exports.padeditbar = padeditbar;