HistoryV2FileTreeController.js 624 B

12345678910111213141516171819202122
  1. /* eslint-disable
  2. max-len,
  3. no-return-assign,
  4. */
  5. // TODO: This file was created by bulk-decaffeinate.
  6. // Fix any style issues and re-enable lint.
  7. /*
  8. * decaffeinate suggestions:
  9. * DS102: Remove unnecessary code created because of implicit returns
  10. * DS207: Consider shorter variations of null checks
  11. * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
  12. */
  13. import App from '../../../base'
  14. export default App.controller(
  15. 'HistoryV2FileTreeController',
  16. function ($scope, ide) {
  17. $scope.handleFileSelection = file => {
  18. ide.historyManager.selectFile(file)
  19. }
  20. }
  21. )