Wikia/app — pull request #1378 by kvas-damian (2013-08-23 10:55:48+00:00)
Title: DAR-1648 | Styleguide drawer

New styleguide component: Left/right drawer. We are going to use it for Browse menu on the left side ( https://wikia-inc.atlassian.net/browse/DES-71 ) and notifications on right side.

To enable it in broser you can use:
````
$(function(){
require(['wikia.uifactory'], function(uiFactory) {
uiFactory.init('drawer').then(function(elem){
$('#WikiaHeader').append(elem.render({type:"default", vars: {side: 'left', content: 'test content'}}));
require(['wikia.uifactory.drawer'], function(drawer){
var leftDrawer = drawer.init('left');
$('.WikiaLogo').click(function(){
if (leftDrawer.isOpen()) {
leftDrawer.close();
} else {
leftDrawer.open();
}

return false;
});
})
})
});

})
````
@RafLeszczynski @nandy-andy @themech please take a look on it so we can improve it if it's possible.