From 5f264fa1783d87186ea7b2e926834c963f300d10 Mon Sep 17 00:00:00 2001 From: Michael Wheeler Date: Sun, 27 Aug 2023 18:15:09 -0500 Subject: [PATCH] Update docs for no jquery --- README.md | 2 +- src/index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 68f5cdb..d1f3756 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vvidget -vvidget is an abstraction for creating uniform jQuery plugins. +vvidget is an abstraction for creating uniform JavaScript plugins. It creates plugins that take care of a few problems: diff --git a/src/index.js b/src/index.js index 6933e6f..3f1199b 100644 --- a/src/index.js +++ b/src/index.js @@ -2,12 +2,12 @@ // vvidget // by Mike // -// This is a widget abstraction for creating uniform jQuery +// This is a widget abstraction for creating uniform JavaScript // plugins. // // The widget takes care of a few problems: // -// Allowing new jQuery plugins to be added without adding extra +// Allowing new JavaScript plugins to be added without adding extra // DOM crawling, // // Reliably binding to ready and page-refresh events, to @@ -25,7 +25,7 @@ // // Create Plugin: // widget('widget-name', function(opts) { -// $el = this; +// const el = this; // }, { // defaults: {}, // init: 'nextTick'