@webhandle/backbone-view 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client-js/view.js CHANGED
@@ -109,6 +109,9 @@ export class View {
109
109
  if (!this.el) {
110
110
  this.setElement(this._createElement(this.tagName))
111
111
  }
112
+ else {
113
+ this._addListeners()
114
+ }
112
115
  this._setAttributes()
113
116
  if (this.className) {
114
117
  this.el.classList.add(this.className)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhandle/backbone-view",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "client-js/index.js",
6
6
  "scripts": {