HistoryV2FileTreeController.js 610 B

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