Permalink
Browse files

version property

  • Loading branch information...
paulirish committed Dec 7, 2009
1 parent 3892fa2 commit c2fc59f25c2770b1c33feb58658a75588c5e9e7b
Showing with 5 additions and 2 deletions.
  1. +1 −1 modernizr-test.html
  2. +4 −1 modernizr.js
View
@@ -25,7 +25,7 @@
<!-- <!--
<script src="http://code.jquery.com/jquery-nightly.js"></script> <script src="http://code.jquery.com/jquery-nightly.js"></script>
--> -->
<script src="modernizr.min.js"></script> <script src="modernizr.js"></script>
View
@@ -32,7 +32,9 @@
window.Modernizr = (function(window,doc){ window.Modernizr = (function(window,doc){
var ret = {}, var version = '1.1',
ret = {},
/** /**
* enableHTML5 is a private property for advanced use only. If enabled, * enableHTML5 is a private property for advanced use only. If enabled,
@@ -542,6 +544,7 @@ window.Modernizr = (function(window,doc){
// Assign private properties to the return object with prefix // Assign private properties to the return object with prefix
ret._enableHTML5 = enableHTML5; ret._enableHTML5 = enableHTML5;
ret._enableNoClasses = enableNoClasses; ret._enableNoClasses = enableNoClasses;
ret._version = version;
// Remove "no-js" class from <html> element, if it exists: // Remove "no-js" class from <html> element, if it exists:
(function(H,C){H[C]=H[C].replace(/\bno-js\b/,'js')})(docElement,'className'); (function(H,C){H[C]=H[C].replace(/\bno-js\b/,'js')})(docElement,'className');

0 comments on commit c2fc59f

Please sign in to comment.