atom / encoding-selector

Pick an encoding for the current editor
MIT License
21 stars 28 forks source link

Remove obsolete conditional re: `atom.workspace.observeActiveTextEditor` #52

Closed jasonrudolph closed 7 years ago

jasonrudolph commented 7 years ago

This PR removes the conditional logic (originally introduced in https://github.com/atom/encoding-selector/pull/49) that tested for the existence of atom.workspace.observeActiveTextEditor. Now that Atom 1.19 has been released, we can safely expect atom.workspace.observeActiveTextEditor to be available: https://github.com/atom/atom/blob/v1.19.0/src/workspace.js#L665-L675