25 lines
458 B
JavaScript
25 lines
458 B
JavaScript
|
|
|
|
if ( typeof WebGUI == "undefined" ) {
|
|
WebGUI = {};
|
|
}
|
|
WebGUI.Admin = {};
|
|
|
|
WebGUI.Admin.LocationBar = (function(){
|
|
|
|
// Public stuff
|
|
|
|
return function (id) {
|
|
this.id = id;
|
|
var self = this;
|
|
|
|
// Private members
|
|
var _element = document.getElementById( self.id );
|
|
|
|
function _init () {
|
|
_element.appendChild( document.createTextNode( "Location Bar" ) );
|
|
}
|
|
|
|
_init();
|
|
};
|
|
})();
|