diff --git a/js/frameSheetModel.js b/js/frameSheetModel.js index 2de4c2b9..d54259db 100644 --- a/js/frameSheetModel.js +++ b/js/frameSheetModel.js @@ -32,9 +32,9 @@ var FrameSheetModel = (function() { */ deserializeFramesheet : function (serialized) { try { - frames = eval(serialized); + frames = JSON.parse(serialized); } catch (e) { - throw "Could not load serialized framesheet." + e.getMessage() + throw "Could not load serialized framesheet." + e.message() } },