Commit ed04f3f5 authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

changing unsupported ES5 lambda exp. to normal function definition

parent 70dbe1c8
......@@ -15,7 +15,7 @@ basketModule.factory('basketService', function($cookies, termService, $q) {
try {
cookieValue = JSON.parse(cookieValue);
cookieValue = Object.keys(cookieValue)
.map(k => k.substring(3))
.map(function(k) { return k.substring(3) })
$cookies.put(cookieName, cookieValue);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment