diff --git a/.jshintignore b/.jshintignore index e990087263a..850b9e70670 100644 --- a/.jshintignore +++ b/.jshintignore @@ -1,4 +1,6 @@ app/assets/javascripts/defer/html-sanitizer-bundle.js +app/assets/javascripts/discourse/lib/Markdown.Editor.js +jsapp/lib/Markdown.Editor.js lib/javascripts/locale/ lib/javascripts/messageformat.js lib/javascripts/moment.js diff --git a/vendor/assets/javascripts/Markdown.Editor.js b/app/assets/javascripts/discourse/lib/Markdown.Editor.js similarity index 100% rename from vendor/assets/javascripts/Markdown.Editor.js rename to app/assets/javascripts/discourse/lib/Markdown.Editor.js diff --git a/app/assets/javascripts/vendor.js b/app/assets/javascripts/vendor.js index ed06b87727f..4a8d64d41fc 100644 --- a/app/assets/javascripts/vendor.js +++ b/app/assets/javascripts/vendor.js @@ -10,7 +10,6 @@ //= require_tree ./discourse/ember //= require LAB.js //= require Markdown.Converter.js -//= require Markdown.Editor.js //= require better_markdown.js //= require bootbox.js //= require bootstrap-alert.js diff --git a/test/javascripts/jshint_all.js.erb b/test/javascripts/jshint_all.js.erb index 7353f7cdf42..2edeeb5d3ef 100644 --- a/test/javascripts/jshint_all.js.erb +++ b/test/javascripts/jshint_all.js.erb @@ -120,4 +120,5 @@ qHint.sendRequest = function (url, callback) { "/app/assets/javascripts/", [/external\//, /defer\//, - /locales\//]) %> + /locales\//, + /Markdown\.Editor\.js/]) %>