diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-16 15:52:40 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-16 15:52:40 -0500 |
commit | 5bd549187aa68604d320e3d0c1a51ee4ed34c0e3 (patch) | |
tree | 4f121959a46a895d67963919f549507947a305a5 /app/assets/javascripts/copy_as_gfm.js | |
parent | f5ad1dcbf88dc69254fe86be2fd6b20fead308c0 (diff) | |
download | gitlab-ce-5bd549187aa68604d320e3d0c1a51ee4ed34c0e3.tar.gz |
update remaining uses of CJS syntax to ES module syntax
Diffstat (limited to 'app/assets/javascripts/copy_as_gfm.js')
-rw-r--r-- | app/assets/javascripts/copy_as_gfm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/copy_as_gfm.js b/app/assets/javascripts/copy_as_gfm.js index 570799c030e..459cdd53f9b 100644 --- a/app/assets/javascripts/copy_as_gfm.js +++ b/app/assets/javascripts/copy_as_gfm.js @@ -1,6 +1,6 @@ /* eslint-disable class-methods-use-this, object-shorthand, no-unused-vars, no-use-before-define, no-new, max-len, no-restricted-syntax, guard-for-in, no-continue */ -require('./lib/utils/common_utils'); +import './lib/utils/common_utils'; const gfmRules = { // The filters referenced in lib/banzai/pipeline/gfm_pipeline.rb convert |