Sha256: d06cd70fd2ab45e8dbdff687661adae3c5241b75010f141c543b2be95cf589a3
Contents?: true
Size: 460 Bytes
Versions: 19
Compression:
Stored size: 460 Bytes
Contents
"use strict"; function CancelCreatingButton() { var _map = null; var _this = this; _this.el = null; this.onClick = function (e) { console.log("<CancelCreatingButton.onClick>"); e.preventDefault(); _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
19 entries across 19 versions & 2 rubygems