Sha256: 55d10ccf0f673d3aec59d3e2259224133eacbfadd6acae39564ec924cca48020
Contents?: true
Size: 462 Bytes
Versions: 35
Compression:
Stored size: 462 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
35 entries across 35 versions & 1 rubygems