Update index.js

This commit is contained in:
TheBrokenRail 2016-12-02 15:57:56 -05:00 committed by GitHub
parent 424b41ac31
commit 34d2676db3

View file

@ -158,6 +158,7 @@ VirtualMachine.prototype.loadProject = function (json) {
VirtualMachine.prototype.exportToJson = function () {
var obj = new Object();
obj.sprites = this.runtime.targets;
obj.meta = new Object();
obj.meta.name = 'WIP';
obj.meta.useragent = navigator.userAgent;
return JSON.stringify(obj, null, 2);