Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
UniProt
Front End
QuickGoFE
Commits
ed04f3f5
Commit
ed04f3f5
authored
Oct 02, 2019
by
Mahdi Mahmoudy
Browse files
changing unsupported ES5 lambda exp. to normal function definition
parent
70dbe1c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/scripts/services/basketService.js
app/scripts/services/basketService.js
+1
-1
No files found.
app/scripts/services/basketService.js
View file @
ed04f3f5
...
...
@@ -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
)
}
)
.
join
(
'
,
'
);
$cookies
.
put
(
cookieName
,
cookieValue
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment