phantomjs doesn't support FocusEvent, moving back to makeEvent

This commit is contained in:
Tom MacWright
2016-09-06 17:33:47 -04:00
parent a28e24bb4c
commit b7fffbd281

View File

@@ -85,7 +85,7 @@ describe('d3.combobox', function() {
//
function focusTypeahead(input) {
input.node().focus();
d3.customEvent(new FocusEvent('focus'), input.on('focus.typeahead'));
d3.customEvent(happen.makeEvent('focus'), input.on('focus.typeahead'));
}
it('adds the combobox-input class', function() {