diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-12-28 19:43:55 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-12-28 19:43:55 +0300 |
commit | ac3789d29f6eec39ad10c5169af43171b084d00c (patch) | |
tree | 0197d94e36ad9bddbe5d7dde59066fa3face6db7 /app/assets/javascripts/diff_notes/models/note.js.es6 | |
parent | f3edd7c8f7f4075b7c8c2ef17decf877c36f1f22 (diff) | |
parent | aac4aa10949b89278ea40dcfb2b45ded1f24f167 (diff) |
Merge branch 'fix-non-iife-classes' into 'master'
Ensure javascript classes declared outside an IIFE are properties of window
See merge request !8080
Diffstat (limited to 'app/assets/javascripts/diff_notes/models/note.js.es6')
-rw-r--r-- | app/assets/javascripts/diff_notes/models/note.js.es6 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/diff_notes/models/note.js.es6 b/app/assets/javascripts/diff_notes/models/note.js.es6 index e3bce1d2038..f3a7cba5ef6 100644 --- a/app/assets/javascripts/diff_notes/models/note.js.es6 +++ b/app/assets/javascripts/diff_notes/models/note.js.es6 @@ -9,3 +9,5 @@ class NoteModel { this.resolved_by = resolved_by; } } + +window.NoteModel = NoteModel; |