Skip to content

xjamundx/HTML5-Meter-Shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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)
    })

About

Provides Backward Compatible Support for the meter tag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published