Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
22 lines
403 B
JavaScript
Executable file
22 lines
403 B
JavaScript
Executable file
'use strict';
|
|
|
|
/* exported MockConfirmDialog */
|
|
|
|
var MockConfirmDialog = {
|
|
showing: false,
|
|
title: null,
|
|
text: null,
|
|
button: null,
|
|
show: function(title, text, button) {
|
|
this.showing = true;
|
|
this.title = title;
|
|
this.text = text;
|
|
this.button = button;
|
|
},
|
|
hide: function() {
|
|
this.showing = false;
|
|
this.title = null;
|
|
this.text = null;
|
|
this.button = null;
|
|
}
|
|
};
|