Skip to content

Commit

Permalink
Merge pull request #6 from MIvanchev/issue-4-update-jquery
Browse files Browse the repository at this point in the history
Updating jQuery and incrementing version.
  • Loading branch information
MIvanchev authored Nov 25, 2023
2 parents 8c7f625 + 351431d commit 951f9ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

const VERSION = browser.runtime.getManifest().version
const ALL_VERSIONS = ["1.0.0", VERSION]
const ALL_VERSIONS = ["1.0.0", "1.0.1", VERSION]

const VALIDATORS = [
validateFieldPresent("version"),
Expand Down Expand Up @@ -160,7 +160,7 @@ async function register(settings) {
if (settings.enabled) {
var options = {
"js": [{
"file": "jquery-3.6.0.min.js"
"file": "jquery-3.7.1.min.js"
}, {
"code": settings.script
}],
Expand Down
2 changes: 1 addition & 1 deletion beautify.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def beautifyHtml(content):

for root, dirs, files in os.walk("."):
for name in files:
if name != "jquery-3.6.0.min.js":
if re.fullmatch(r"jquery-[0-9]+\.[0-9]+\.[0-9]+\.min.js", name):
ext = os.path.splitext(name)[1][1:]
beautifier = BEAUTIFIERS.get(ext)
if beautifier:
Expand Down
2 changes: 0 additions & 2 deletions jquery-3.6.0.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions jquery-3.7.1.min.js

Large diffs are not rendered by default.

0 comments on commit 951f9ca

Please sign in to comment.