From 2dcd3c95c989ac0a073f5f383f4ba1617702a3be Mon Sep 17 00:00:00 2001 From: rvangundy Date: Wed, 9 Oct 2013 14:33:52 -0400 Subject: [PATCH] Initiate handles in constructor --- scripts/DOMView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/DOMView.js b/scripts/DOMView.js index e145ab6..0d17a75 100644 --- a/scripts/DOMView.js +++ b/scripts/DOMView.js @@ -12,6 +12,8 @@ var EventEmitter = require('./EventEmitter.js'); function construct(data, template) { this._data = data || this._data; this.template = template || this.template; + this.handles = this.handles; + if (data) { bindViewToModel.call(this); } render.call(this, true);