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/lib | |
parent | 337acf4be340960efc1b97e2bf298314f9ea16bf (diff) |
refactor instances of CJS module.exports to ES module syntax
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/http_status.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js index bc109a69c20..415e50f32ae 100644 --- a/app/assets/javascripts/lib/utils/http_status.js +++ b/app/assets/javascripts/lib/utils/http_status.js @@ -2,9 +2,7 @@ * exports HTTP status codes */ -const statusCodes = { +export default { NO_CONTENT: 204, OK: 200, }; - -module.exports = statusCodes; |