Fixing whitespace conformity on engine.js

This commit is contained in:
Travis Weston
2014-07-16 23:45:48 -04:00
parent d164d1d466
commit 33e9772a1a
-26
View File
@@ -317,32 +317,6 @@
}); });
}, },
export64: function() {
Engine.saveGame();
var string64 = Base64.encode(localStorage.gameState);
string64 = string64.replace(/\s/g, '');
string64 = string64.replace(/\./g, '');
string64 = string64.replace(/\n/g, '');
Engine.enableSelection();
Events.startEvent({
title: _('Export'),
scenes: {
start: {
text: [_('save this.')],
textarea: string64,
buttons: {
'done': {
text: _('got it'),
nextScene: 'end',
onChoose: Engine.disableSelection
}
}
}
}
}
});
},
generateExport64: function(){ generateExport64: function(){
var string64 = Base64.encode(localStorage.gameState); var string64 = Base64.encode(localStorage.gameState);
string64 = string64.replace(/\s/g, ''); string64 = string64.replace(/\s/g, '');