Skip to content

Commit

Permalink
fixed elements change
Browse files Browse the repository at this point in the history
  • Loading branch information
FrDH committed Sep 1, 2014
1 parent ceb0168 commit 87a6d0f
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jQuery.mmenu",
"main": "src/js/jquery.mmenu.min.js",
"version": "4.5.1",
"version": "4.5.2",
"homepage": "http://mmenu.frebsite.nl/",
"authors": [
"Fred Heusschen <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion mmenu.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmenu",
"version": "4.5.1",
"version": "4.5.2",
"title": "jQuery mmenu",
"description": "The best jQuery plugin for app look-alike on- and off-canvas menus with sliding submenus for your website and webapp.",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions src/js/addons/jquery.mmenu.fixedelements.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@


// Refactor fixed classes
this.__refactorClass( $('div', glbl.$page), this.conf.classNames[ _ADDON_ ].fixedTop, 'fixed-top' );
this.__refactorClass( $('div', glbl.$page), this.conf.classNames[ _ADDON_ ].fixedBottom, 'fixed-bottom' );
this.__refactorClass( $('div, span, a', glbl.$page), this.conf.classNames[ _ADDON_ ].fixedTop, 'fixed-top' );
this.__refactorClass( $('div, span, a', glbl.$page), this.conf.classNames[ _ADDON_ ].fixedBottom, 'fixed-bottom' );


if ( addon_added )
Expand Down
2 changes: 1 addition & 1 deletion src/js/addons/jquery.mmenu.fixedelements.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/js/jquery.mmenu.min.all.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.oncanvas.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jQuery mmenu v4.5.1
* jQuery mmenu v4.5.2
* @requires jQuery 1.7.0 or later
*
* mmenu.frebsite.nl
Expand All @@ -15,7 +15,7 @@
(function( $ ) {

var _PLUGIN_ = 'mmenu',
_VERSION_ = '4.5.1';
_VERSION_ = '4.5.2';


// Plugin already excists
Expand Down
4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.oncanvas.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/umd/addons/jquery.mmenu.fixedelements.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
*
* Copyright (c) Fred Heusschen
*/
!function(t){function o(t){return t}function s(t){return t}function i(){c=!0,a=t[n]._c,f=t[n]._d,r=t[n]._e,a.add("fixed-top fixed-bottom"),d=t[n].glbl}var n="mmenu",e="fixedElements";t[n].prototype["_init_"+e]=function(){if(this.opts.offCanvas){c||i();var n=this.vars[e+"_added"];if(this.vars[e+"_added"]=!0,n||(this.opts[e]=o(this.opts[e]),this.conf[e]=s(this.conf[e])),this.opts[e],this.conf[e],this.__refactorClass(t("div",d.$page),this.conf.classNames[e].fixedTop,"fixed-top"),this.__refactorClass(t("div",d.$page),this.conf.classNames[e].fixedBottom,"fixed-bottom"),!n){var f,p;this.$menu.on(r.opening,function(){var o=t(window).scrollTop(),s=d.$page.height()-o-d.$wndw.height();f=t("."+a["fixed-top"]),p=t("."+a["fixed-bottom"]),f.css({"-webkit-transform":"translateY( "+o+"px )",transform:"translateY( "+o+"px )"}),p.css({"-webkit-transform":"translateY( -"+s+"px )",transform:"translateY( -"+s+"px )"})}).on(r.closed,function(){f.add(p).css({"-webkit-transform":"none",transform:"none"})})}}},t[n].addons.push(e),t[n].defaults[e]={},t[n].configuration.classNames[e]={fixedTop:"FixedTop",fixedBottom:"FixedBottom"};var a,f,r,d,c=!1}(jQuery);
!function(t){function s(t){return t}function o(t){return t}function n(){c=!0,e=t[i]._c,f=t[i]._d,r=t[i]._e,e.add("fixed-top fixed-bottom"),d=t[i].glbl}var i="mmenu",a="fixedElements";t[i].prototype["_init_"+a]=function(){if(this.opts.offCanvas){c||n();var i=this.vars[a+"_added"];if(this.vars[a+"_added"]=!0,i||(this.opts[a]=s(this.opts[a]),this.conf[a]=o(this.conf[a])),this.opts[a],this.conf[a],this.__refactorClass(t("div, span, a",d.$page),this.conf.classNames[a].fixedTop,"fixed-top"),this.__refactorClass(t("div, span, a",d.$page),this.conf.classNames[a].fixedBottom,"fixed-bottom"),!i){var f,p;this.$menu.on(r.opening,function(){var s=t(window).scrollTop(),o=d.$page.height()-s-d.$wndw.height();f=t("."+e["fixed-top"]),p=t("."+e["fixed-bottom"]),f.css({"-webkit-transform":"translateY( "+s+"px )",transform:"translateY( "+s+"px )"}),p.css({"-webkit-transform":"translateY( -"+o+"px )",transform:"translateY( -"+o+"px )"})}).on(r.closed,function(){f.add(p).css({"-webkit-transform":"none",transform:"none"})})}}},t[i].addons.push(a),t[i].defaults[a]={},t[i].configuration.classNames[a]={fixedTop:"FixedTop",fixedBottom:"FixedBottom"};var e,f,r,d,c=!1}(jQuery);
}));
4 changes: 2 additions & 2 deletions src/js/umd/jquery.mmenu.oncanvas.umd.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/js/umd/jquery.mmenu.umd.all.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/umd/jquery.mmenu.umd.js

Large diffs are not rendered by default.

0 comments on commit 87a6d0f

Please sign in to comment.