webgui/www/extras/admin/admin.js
2010-04-06 15:45:42 -05:00

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();
};
})();