Skip to content

Instantly share code, notes, and snippets.

@Eclarian
Eclarian / jQueryVersion
Created December 14, 2011 20:33
jQuery Version Function
/**
* jQuery Version returned as 3 digit integer
*
* Allows you to perform version ranges if ( jQueryVersion() < 170 )
* Useful for plugin dev with events and dealing with live, delegate, and on
*
* @author Eclarian LLC
* @return integer
*/
var jQueryVersion = function() {