Skip to content

Instantly share code, notes, and snippets.

View zzen's full-sized avatar

Jakub Nešetřil zzen

  • Prague, Czech Republic
View GitHub Profile
// Step 1. global definition
function Map(config) {
this._init(config);
}
Map.prototype = {
_container: null,
_init: function (config) {
this._container = document.getElementById(config.container);