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