Sha256: 8685ca10f6c548508e8460044aebf050f29cb303d8d9d68d03b7569bb29367d0
Contents?: true
Size: 529 Bytes
Versions: 19
Compression:
Stored size: 529 Bytes
Contents
"use strict"; function CompleteCreatingButton() { var _map = null; var _this = this; _this.el = null; _this.onClick = function (e) { console.log("<CompleteCreatingButton.onClick>"); if (e != null) e.preventDefault(); _map.onDrawStop(); }; _this.init = function (button_css_selector, link_to_map) { _map = link_to_map; _this.el = $(button_css_selector); _this.el.on('click', _this.onClick); _map.complete_creating_button_klass = _this; }; }
Version data entries
19 entries across 19 versions & 2 rubygems