refactor(testabilityPatch): remove code duplication

This commit is contained in:
Georgios Kalpakas
2016-12-11 22:10:45 +02:00
parent f670c451f4
commit 31716eec4d
+1 -2
View File
@@ -391,8 +391,7 @@ function generateInputCompilerHelper(helper) {
};
helper.changeInputValueTo = function(value) {
helper.inputElm.val(value);
browserTrigger(helper.inputElm, $sniffer.hasEvent('input') ? 'input' : 'change');
helper.changeGivenInputTo(helper.inputElm, value);
};
helper.changeGivenInputTo = function(inputElm, value) {