diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-31 12:18:30 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-31 12:18:30 +0300 |
commit | 980f29716f86a261e28dbc69de157a53c3eadb42 (patch) | |
tree | 23dc99cb50b55ef3ff67d450daef4bc1942ad384 /app/assets/javascripts/notes.js | |
parent | 6e6cea23e187b6c93886da4d043ea5a6fb7bfab5 (diff) |
Resolve "Convert autosize.js library to be a Yarn managed library"
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index ab101a56db8..705bec23b53 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -12,7 +12,7 @@ newline-per-chained-call, no-useless-escape, class-methods-use-this */ import $ from 'jquery'; import _ from 'underscore'; import Cookies from 'js-cookie'; -import autosize from 'vendor/autosize'; +import Autosize from 'autosize'; import 'vendor/jquery.caret'; // required by jquery.atwho import 'vendor/jquery.atwho'; import AjaxCache from '~/lib/utils/ajax_cache'; @@ -25,7 +25,7 @@ import TaskList from './task_list'; import { ajaxPost, isInViewport, getPagePath, scrollToElement, isMetaKey } from './lib/utils/common_utils'; import imageDiffHelper from './image_diff/helpers/index'; -window.autosize = autosize; +window.autosize = Autosize; function normalizeNewlines(str) { return str.replace(/\r\n/g, '\n'); |