Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version property

  • Loading branch information...
commit c2fc59f25c2770b1c33feb58658a75588c5e9e7b 1 parent 3892fa2
@paulirish paulirish authored
Showing with 5 additions and 2 deletions.
  1. +1 −1  modernizr-test.html
  2. +4 −1 modernizr.js
View
2  modernizr-test.html
@@ -25,7 +25,7 @@
<!--
<script src="http://code.jquery.com/jquery-nightly.js"></script>
-->
-<script src="modernizr.min.js"></script>
+<script src="modernizr.js"></script>
View
5 modernizr.js
@@ -32,7 +32,9 @@
window.Modernizr = (function(window,doc){
- var ret = {},
+ var version = '1.1',
+
+ ret = {},
/**
* 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
ret._enableHTML5 = enableHTML5;
ret._enableNoClasses = enableNoClasses;
+ ret._version = version;
// Remove "no-js" class from <html> element, if it exists:
(function(H,C){H[C]=H[C].replace(/\bno-js\b/,'js')})(docElement,'className');
Please sign in to comment.
Something went wrong with that request. Please try again.