Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

version bump. oh yes.

  • Loading branch information...
commit 2ec8bca2efef3638270ecfb02cea5b7078399913 1 parent 7150ef1
@paulirish paulirish authored
Showing with 6 additions and 21 deletions.
  1. +0 −2  README.txt
  2. +2 −2 modernizr.js
  3. +4 −4 output.html
  4. +0 −13 test/unit.js
View
2  README.txt
@@ -16,5 +16,3 @@ control over the look and feel of your website.
Modernizr is dual-licensed under the BSD and MIT licenses.
http://www.modernizr.com/
-
-Dual-licensed under the BSD and MIT licenses.
View
4 modernizr.js
@@ -1,5 +1,5 @@
/*!
- * Modernizr JavaScript library 1.2pre
+ * Modernizr JavaScript library 1.5
* http://www.modernizr.com/
*
* Copyright (c) 2009-2010 Faruk Ates - http://farukat.es/
@@ -32,7 +32,7 @@
window.Modernizr = (function(window,doc,undefined){
- var version = '1.2pre',
+ var version = '1.5',
ret = {},
View
8 output.html
@@ -1,8 +1,8 @@
<!DOCTYPE html>
-<html lang="en" dir="ltr" id="modernizr-1.2" class="no-js">
+<html lang="en" dir="ltr" class="no-js">
<head>
<!-- <meta http-equiv="X-UA-Compatible" content="IE=7" > -->
- <title>Modernizr 1.2 Test Suite</title>
+ <title>Modernizr Test Suite</title>
<style media="screen">
body {
font: 14px/18px Inconsolata, Consolas, monospace;
@@ -21,7 +21,7 @@
<script>
- window.localStorage && document.write('localStorage.getItem("modernizr1.2") is: ' + (!!localStorage.getItem('modernizr1.2') ? 'PRESENT' : 'EMPTY') + '<br>');
+ // window.localStorage && document.write('localStorage.getItem("modernizr1.2") is: ' + (!!localStorage.getItem('modernizr1.2') ? 'PRESENT' : 'EMPTY') + '<br>');
var start = +new Date();
</script>
@@ -79,7 +79,7 @@
return;
}
- window.localStorage && document.write('localStorage.getItem(modernizr'+Modernizr._version+') == ' + localStorage.getItem('modernizr'+Modernizr._version) + '<br>');
+ // window.localStorage && document.write('localStorage.getItem(modernizr'+Modernizr._version+') == ' + localStorage.getItem('modernizr'+Modernizr._version) + '<br>');
for (var prop in Modernizr) {
if (typeof Modernizr[prop] === 'function') continue;
View
13 test/unit.js
@@ -110,19 +110,6 @@ test('html classes are looking good',function(){
'whitespace between all classes.');
-
- // the correlating test occurs on mousemove so we'll test that its doing the right thing similarly
- document.addEventListener && document.addEventListener('mousemove',function mousemove(){
-
- document.removeEventListener('mousemove',mousemove,false);
- test('event-based tests',function(){
-
- equals(/[^\s]no-/.test(document.documentElement.className),false,
- 'after mousemove, still whitespace between all classes.');
- });
- },false);
-
-
})
Please sign in to comment.
Something went wrong with that request. Please try again.