mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Shit cleaning :)
This commit is contained in:
parent
4366fc42cc
commit
c1635b9d65
@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user