HistoryV2FileTreeController.js 615 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('HistoryV2FileTreeController', function(
  15. $scope,
  16. ide
  17. ) {
  18. $scope.handleFileSelection = file => {
  19. ide.historyManager.selectFile(file)
  20. }
  21. })