-
- Downloads
Merge branch 'rs-zenmode-cleanup' into 'master'
Refactor ZenMode - No longer depends on the "hidden checkbox". - No longer depends on manually storing/restoring the scroll position. Instead, we take advantage of jquery.scrollTo. - Event-based. - Simplifies the state-based styling. See merge request !2354
No related branches found
No related tags found
Showing
- app/assets/javascripts/zen_mode.js.coffee 64 additions, 40 deletionsapp/assets/javascripts/zen_mode.js.coffee
- app/assets/stylesheets/framework/zen.scss 37 additions, 62 deletionsapp/assets/stylesheets/framework/zen.scss
- app/views/projects/_zen.html.haml 4 additions, 5 deletionsapp/views/projects/_zen.html.haml
- spec/javascripts/fixtures/zen_mode.html.haml 4 additions, 5 deletionsspec/javascripts/fixtures/zen_mode.html.haml
- spec/javascripts/zen_mode_spec.js.coffee 10 additions, 16 deletionsspec/javascripts/zen_mode_spec.js.coffee
Please register or sign in to comment