Skip to content

Commit

Permalink
version bump. oh yes.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jun 14, 2010
1 parent 7150ef1 commit 2ec8bca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
2 changes: 0 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions modernizr.js
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -32,7 +32,7 @@

window.Modernizr = (function(window,doc,undefined){

var version = '1.2pre',
var version = '1.5',

ret = {},

Expand Down
8 changes: 4 additions & 4 deletions output.html
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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>
Expand Down Expand Up @@ -79,7 +79,7 @@ <h1>Modernizr</h1>
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;
Expand Down
13 changes: 0 additions & 13 deletions test/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);


})


Expand Down

0 comments on commit 2ec8bca

Please sign in to comment.