Main JS coding style
'use strict';
// jQuery No Conflict
$.noConflict();
(function( $ ) {
//
var app = {
// navigation toogle show and hide
togglenavigation : function (options) {
var tConf = $.extend({
elm : $('.js-toggle-nav-button'),
wrap : $('.nav-popup-wrap'),
tgClass : 'nav-popup-wrap-open-state'
},options);
tConf.elm.on('click',function(){
tConf.wrap.toggleClass(tConf.tgClass);
});
}
};
app.togglenavigation();
}( jQuery ));