Comparing version 0.6.6 to 0.6.7
@@ -50,4 +50,3 @@ "use strict"; | ||
self = this, | ||
onChange, | ||
value; | ||
onChange; | ||
@@ -57,6 +56,3 @@ // detect changes to the input's value | ||
onChange = function (e) { | ||
var nvalue = getNodeValue(el, type); | ||
if (_.isEqual(value, nvalue)) return; | ||
fbind.change.call(self, nvalue, d.context, e); | ||
value = nvalue; | ||
fbind.change.call(self, getNodeValue(el, type), d.context, e); | ||
}; | ||
@@ -280,2 +276,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBsdWdpbnMvdHdvd2F5LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OzBCQUFtQixZQUFZOztJQUFuQixDQUFDOztpQkFDWSxJQUFJOztxQkFDa0IsVUFBVTs7c0JBQ3RDLFFBQVE7Ozs7b0JBQ3FCLFNBQVM7O0FBRXpELElBQUksV0FBVyxHQUFHLENBQUUsT0FBTyxFQUFFLFFBQVEsQ0FBRSxDQUFDO0FBQ3hDLElBQUksZUFBZSxHQUFHLENBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsQ0FBRSxDQUFDOztBQUU5RCxTQUFTLE1BQU0sQ0FBQyxPQUFPLEVBQUU7QUFDL0IsS0FBSSxDQUFDLEdBQUcsQ0FBQyxZQUFZLENBQUMsQ0FBQzs7QUFFdkIsUUFBTyxHQUFHLE9BQU8sSUFBSSxFQUFFLENBQUM7OztBQUd4QixLQUFJLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQyxjQUFjLEdBQUcsR0FBRyxDQUFDO0FBQ3hDLEtBQUksQ0FBQyxjQUFjLEdBQUcsR0FBRyxDQUFDO0FBQzFCLEtBQUksQ0FBQyxpQkFBaUIsR0FBRyxNQUFNLENBQUM7OztBQUdoQyxLQUFJLENBQUMsUUFBUSxDQUFDLFNB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0XHRicmVhaztcblx0fVxufVxuIl0sInNvdXJjZVJvb3QiOiIuLi8uLi9zcmMifQ== |
{ | ||
"name": "templejs", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"description": "A reactive Mustache view framework.", | ||
@@ -5,0 +5,0 @@ "author": "Beneath the Ink <info@beneaththeink.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3135706
21454