Skip to content

Commit

Permalink
Replace delete __IMU_GETBIGIMAGE__ with clearing it
Browse files Browse the repository at this point in the history
Not great, but works around a uglifyjs issue
  • Loading branch information
qsniyg committed Aug 18, 2024
1 parent 5dcbde6 commit 5e30fe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/bigimage_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ var _get_bigimage = function() {
}

// in case the userscript is loaded in the window context
delete __IMU_GETBIGIMAGE__;
//delete __IMU_GETBIGIMAGE__; // not allowed in strict mode
__IMU_GETBIGIMAGE__ = void 0;
}

if (require_rules_failed) {
Expand Down

0 comments on commit 5e30fe5

Please sign in to comment.