Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (22 sloc) 0.568 kB
<!doctype html>
<html>
<head>
<script src="boomerang.js"></script>
<script>
var v = decodeURIComponent(location.search.replace(/.*v=([0-9.]+).*/, '$1'));
window.onload = function() {
var boom_ver = BOOMR.version.split('.'),
reqd_ver = v.split('.');
if ( (boom_ver[0] < reqd_ver[0]) // javascript will do type coercion
|| (boom_ver[0] == reqd_ver[0] && boom_ver[1] < reqd_ver[1])
|| (boom_ver[0] == reqd_ver[0] && boom_ver[1] == reqd_ver[1] && boom_ver[2] < reqd_ver[2])
)
{
location.reload(true);
}
};
</script>
</head>
<body>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.