mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-11 15:07:12 +08:00
Added import/export tracking
This commit is contained in:
@@ -290,6 +290,7 @@
|
|||||||
'inputExport': {
|
'inputExport': {
|
||||||
text: [_('save this.')],
|
text: [_('save this.')],
|
||||||
textarea: Engine.export64(),
|
textarea: Engine.export64(),
|
||||||
|
onLoad: function() { Engine.event('progress', 'export'); },
|
||||||
readonly: true,
|
readonly: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
'done': {
|
'done': {
|
||||||
@@ -352,6 +353,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
import64: function(string64) {
|
import64: function(string64) {
|
||||||
|
Engine.event('progress', 'import');
|
||||||
Engine.disableSelection();
|
Engine.disableSelection();
|
||||||
string64 = string64.replace(/\s/g, '');
|
string64 = string64.replace(/\s/g, '');
|
||||||
string64 = string64.replace(/\./g, '');
|
string64 = string64.replace(/\./g, '');
|
||||||
|
|||||||
Reference in New Issue
Block a user