Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
-ejs-handheld name kept (reverting temp "portable" name change")
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed Aug 20, 2010
1 parent 163c559 commit c922c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion enhance.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ enhance.defaultSettings = {
tests: enhance.defaultTests,
media: {
'-ejs-desktop': enhance.query('screen and (max-device-width: 1024px)') ? 'not screen and (max-device-width: 1024px)' : 'screen',
'-ejs-portable': 'screen and (max-device-width: 1024px)'
'-ejs-handheld': 'screen and (max-device-width: 1024px)'
},
addTests: {},
alertOnFailure: false,
Expand Down
4 changes: 2 additions & 2 deletions tests/visual/handheld-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
loadStyles: [
'css/enhanced.css',
{media: '-ejs-desktop', href: 'css/screen.css'},
{media: '-ejs-portable', href: 'css/handheld.css'},
{media: '-ejs-handheld', href: 'css/handheld.css'},
{media: 'print', href: 'css/print.css'}
],
loadScripts: [
'http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js',
{media: '-ejs-desktop', src: 'js/screen.js'},
{media: '-ejs-portable', src: 'js/handheld.js'}
{media: '-ejs-handheld', src: 'js/handheld.js'}
],
alertOnFailure: true
});
Expand Down

0 comments on commit c922c2b

Please sign in to comment.