From 0328563e1d77ae5f41a5865e5bb40b80aefc094c Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Mon, 29 Jul 2024 23:06:20 -0700 Subject: [PATCH] Adds jQuery 3.7.1. --- index.html | 1 + main.js | 4 +++- package.json | 5 ++++- yarn.lock | 8 ++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 yarn.lock diff --git a/index.html b/index.html index 31a7b0e..70eca2f 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@ +
diff --git a/main.js b/main.js index 8dc649d..af2f899 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,5 @@ (()=>{ - console.log('Ready'); + jQuery(() => { + console.log('Ready'); + }) })(); diff --git a/package.json b/package.json index df86cdf..0952938 100644 --- a/package.json +++ b/package.json @@ -4,5 +4,8 @@ "main": "index.js", "author": "Tom Hicks ", "license": "GLPv2", - "private": true + "private": true, + "dependencies": { + "jquery": "^3.7.1" + } } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..8c7d9f1 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +jquery@^3.7.1: + version "3.7.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de" + integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==