Last active
December 10, 2015 21:48
-
-
Save dcmoore-gd/4497922 to your computer and use it in GitHub Desktop.
Demonstrates error described at: https://github.com/aFarkas/webshim/commit/3933b8a16877163b86484643cff6492d761183dd#commitcomment-2219945
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>TEST</title> | |
<script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/tests/dist/jquery.js"></script> | |
<script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/src/extras/modernizr-custom.js"></script> | |
<!-- Master and 1.9.3 show the error --> | |
<!-- <script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/src/polyfiller.js"></script> --> | |
<script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/1.9.3/src/polyfiller.js"></script> | |
<!-- 1.9.2 doesn't give an error --> | |
<!-- <script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/1.9.2/src/polyfiller.js"></script> --> | |
<script type="text/javascript"> | |
$.webshims.validityMessages['en'] = { | |
valueMissing: "Required" | |
}; | |
$.webshims.polyfill('forms'); | |
</script> | |
</head> | |
<body> | |
<form><input required></form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment