diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-17 01:06:34 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-17 01:06:34 +0300 |
commit | 83f8a91cb51b1f21b864789b88fbf85fd1497709 (patch) | |
tree | 8a6a34aa6919a35b88fb09bcea33d96a112765a9 /app/assets/javascripts/shortcuts_blob.js | |
parent | 337acf4be340960efc1b97e2bf298314f9ea16bf (diff) |
refactor instances of CJS module.exports to ES module syntax
Diffstat (limited to 'app/assets/javascripts/shortcuts_blob.js')
-rw-r--r-- | app/assets/javascripts/shortcuts_blob.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/shortcuts_blob.js b/app/assets/javascripts/shortcuts_blob.js index 9c3ae7c4603..ccbf7c59165 100644 --- a/app/assets/javascripts/shortcuts_blob.js +++ b/app/assets/javascripts/shortcuts_blob.js @@ -8,7 +8,7 @@ const defaults = { fileBlobPermalinkUrl: null, }; -class ShortcutsBlob extends Shortcuts { +export default class ShortcutsBlob extends Shortcuts { constructor(opts) { const options = Object.assign({}, defaults, opts); super(options.skipResetBindings); @@ -25,5 +25,3 @@ class ShortcutsBlob extends Shortcuts { } } } - -module.exports = ShortcutsBlob; |