Skip to content

Commit

Permalink
remove minified js
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Apr 3, 2014
2 parents a5cfcdd + 2b5670c commit c5cf52b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ var meny = Meny.create({
// Transition style for menu animations
transitionEasing: 'ease',

// Gradient overlay for the contents
gradient: 'rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.65) 100%)',

// Use mouse movement to automatically open/close
mouse: true,

Expand Down
7 changes: 4 additions & 3 deletions js/meny.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var Meny = {
overlap: 6,
transitionDuration: '0.5s',
transitionEasing: 'ease',
gradient: 'rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.65) 100%)',
mouse: true,
touch: true
};
Expand Down Expand Up @@ -229,9 +230,9 @@ var Meny = {
// Silence unimportant errors in IE8
try {
dom.cover.style.background = 'rgba( 0, 0, 0, 0.4 )';
dom.cover.style.background = '-ms-linear-gradient('+ config.position +', rgba(0,0,0,0.20) 0%,rgba(0,0,0,0.65) 100%)';
dom.cover.style.background = '-moz-linear-gradient('+ config.position +', rgba(0,0,0,0.20) 0%,rgba(0,0,0,0.65) 100%)';
dom.cover.style.background = '-webkit-linear-gradient('+ config.position +', rgba(0,0,0,0.20) 0%,rgba(0,0,0,0.65) 100%)';
dom.cover.style.background = '-ms-linear-gradient('+ config.position +','+ config.gradient;
dom.cover.style.background = '-moz-linear-gradient('+ config.position +','+ config.gradient;
dom.cover.style.background = '-webkit-linear-gradient('+ config.position +','+ config.gradient;
}
catch( e ) {}

Expand Down
8 changes: 0 additions & 8 deletions js/meny.min.js

This file was deleted.

0 comments on commit c5cf52b

Please sign in to comment.