jquery-extras

Contains jQuery with a bunch of useful extras

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/12083/71338/jquery-extras.js

Aŭtoro
spiralx
Versio
0.2.0
Kreita
2015/08/30
Ĝisdatigita
2015/08/31
Licenco
N/A

jquery-extras

Contains jQuery 2.1.1 and some extra functions e.g.

  • document.observe(selector, onAdded, onRemoved)
  • $(...).observe(selector, onAdded, onRemoved)
  • $(...).outer()
  • $(...).sort(compareFunc)

Note: only exposes $ to the User Script, and not jQuery! If you have to use jQuery, just add the line jQuery = $; at the top of your script!