Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Provides Backward Compatible Support for the meter tag

branch: master
README
HTML5 METER SHIM
By Jamund Feguson (@xjamundx)
And Rob Middleton (@rob__ot)
Mostly stolen from: https://gist.github.com/667320

Dependencies:
 - jQuery

Usage:

    // for normal stuff
    $(document).ready(function() {
        $("meter").meterShim()
    })

	// for ajax requets
    $.get("/my/fancy/meter", function(meterHtml) {
	    $(body).append(meterHtml)
	    
		// this is the only way it would work for me, bah
	    setTimeout(function() {
	        $("meter").meterShim()    
	    }, 0)
    })
Something went wrong with that request. Please try again.