Sha256: 231123b55a0019cd133ec87771549b77fa3fc897df02da24035643194c9a03a0
Contents?: true
Size: 579 Bytes
Versions: 16
Compression:
Stored size: 579 Bytes
Contents
"use strict"; function CancelRemoveButton() { var _map = null; var _this = this; _this.el = null; _this.onClick = function (e) { if (_this.el.hasClass('disabled')) return; e.preventDefault(); console.log("<CancelRemoveButton.onClick> Выходим из режима удаления полигона."); _map.setMode('editing'); }; _this.init = function (button_css_selector, link_to_map) { _map = link_to_map; _this.el = $(button_css_selector); _this.el.on('click', _this.onClick); }; }
Version data entries
16 entries across 16 versions & 2 rubygems