DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:jquerymigrate

jquerymigrate Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin Adds production/development version of jquery-migrate script to DokuWiki

Last updated on
2020-02-23
Provides
Action
Repository
Source

Similar to jquery

Tagged with embed, javascript

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

After you install the plugin, it should inject automatically to the page, and use CDN accordingly based on your jquerycdn setting.

One advantage that developers use this plugin over the builtin jquery-migrate, is that you can choose to use the development, uncompressed version of jquery-migrate, so that you could fix warnings of jquery-migrate and eventually get rid of this extra dependency.

Configuration and Settings

  • version: jQuery migrate version that the plugin will load, if you are using CDN (if jquerycdn is set to local, it will always load a version bundled with the plugin). Default is the latest one as of the plugin is published.
  • jquerycdn: decides which origin the plugin should use, between cdnjs, jquery and local.
  • compress: Load production, compressed version of jquery-migrate. Set this to off will help showing all warnings that developer can use to fix deprecated method usage.

Change Log

  • Version 2020-02-23 (2020-02-23 21:24)
    Removed plugin dev config, in favor of $conf['compress'] (#1).
  • jquerymigrate first release (2020-02-22 23:19)
    jquerymigrate is a plugin that adds production/development version of jquery-migrate script to DokuWiki. When DokuWiki removes jquery-migrate, this plugin helps you maintain backward compatibility, and helps developers by loading a dev version of the script, to print out all migration warnings.

Known Bugs and Issues

See GitHub issue tracker above.

Discussion

Please use GitHub issue tracker for discussions, above.

plugin/jquerymigrate.txt · Last modified: 2020-03-09 05:51 by phy25