Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.
/ jqc Public archive

jQuery compatibility mode bypass

Notifications You must be signed in to change notification settings

Tutrox/jqc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jqc

jqc is a really small script, just one line, that re-enables $ in the jQuery compatibility mode.

Note!

As of January 2021 this repo is archived and no changes will be made. Read more at https://klooven.link/archive.

Why?

Sometimes the compatibily mode is activated (eg. in WordPress) even if you don't really need it. This script lets you use $ instead of jQuery in this mode.

If possible, you should of course not use that mode if you don't need it.

How?

jqc is made with the jsDelivr CDN in mind.

Using jsDelivr you can combine files, so you can just combine jqc with any file you want!

Here's how to combine files.

Extras

Compatibility mode?

With this I mean this mode.

WordPress

This is an interesting article about jQuery with WordPress.