Fix lint errors

This commit is contained in:
yflory
2017-05-09 18:10:02 +02:00
parent 50c8a859e6
commit ff16084719
6 changed files with 22 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ define(function () {
module.create = function (UserList, Title, cfg) {
var exp = {};
var updateMetadata = exp.update = function (shjson) {
exp.update = function (shjson) {
// Extract the user list (metadata) from the hyperjson
var json = (!shjson || typeof shjson !== "string") ? "" : JSON.parse(shjson);
var titleUpdated = false;