Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
19 lines
512 B
JavaScript
Executable file
19 lines
512 B
JavaScript
Executable file
define(function(require) {
|
|
'use strict';
|
|
|
|
var SettingsPanel = require('modules/settings_panel');
|
|
var SimPin = require('panels/simpin/simpin');
|
|
|
|
return function ctor_simpin_panel() {
|
|
return SettingsPanel({
|
|
onInit: function(panel) {
|
|
var elements = {};
|
|
elements.simPinContainer = panel.querySelector('.simpin-container');
|
|
elements.simPinHeader = panel.querySelector('.simpin-header');
|
|
|
|
var simpin = SimPin(elements);
|
|
simpin.init();
|
|
}
|
|
});
|
|
};
|
|
});
|