Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
22 lines
340 B
JavaScript
Executable file
22 lines
340 B
JavaScript
Executable file
/* global define */
|
|
define(function() {
|
|
'use strict';
|
|
var _settings = {};
|
|
|
|
var ctor = {
|
|
getSettings: function(callback) {
|
|
callback(_settings);
|
|
},
|
|
|
|
// custom settings
|
|
mockSettings: function(value) {
|
|
_settings = value;
|
|
},
|
|
|
|
mTeardown: function() {
|
|
_settings = {};
|
|
}
|
|
};
|
|
|
|
return ctor;
|
|
});
|