There are duplicated functions for cookie handling
src/components/navbar/navbar.controller.js: function getCookie(name) {
src/app/notebook/notebook.controller.js: function getCookie(name) {
src/components/navbar/navbar.controller.js: function setCookie(name, value, days) {
src/app/notebook/notebook.controller.js: function setCookie(name,value,days) {
Use case or motivation behind the feature request
Easier to handle code when it is not duplicated in multiple places
Description
There are duplicated functions for cookie handling
Use case or motivation behind the feature request
Easier to handle code when it is not duplicated in multiple places
Related issues
236
Additional context