mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
REFACTOR: Migrate markdown functionality in ES6
This commit is contained in:
parent
bc25d9a7a0
commit
a546395397
146 changed files with 3259 additions and 5675 deletions
|
@ -22,9 +22,9 @@
|
|||
//= require htmlparser.js
|
||||
|
||||
// Stuff we need to load first
|
||||
//= require pretty-text-bundle
|
||||
//= require main_include
|
||||
//= require admin
|
||||
//= require_tree ../../app/assets/javascripts/defer
|
||||
|
||||
//= require sinon-1.7.1
|
||||
//= require sinon-qunit-1.0.0
|
||||
|
@ -43,12 +43,6 @@
|
|||
|
||||
window.inTestEnv = true;
|
||||
|
||||
window.assetPath = function(url) {
|
||||
if (url.indexOf('defer') === 0) {
|
||||
return "/assets/" + url;
|
||||
}
|
||||
};
|
||||
|
||||
// Stop the message bus so we don't get ajax calls
|
||||
window.MessageBus.stop();
|
||||
|
||||
|
@ -137,3 +131,5 @@ Object.keys(requirejs.entries).forEach(function(entry) {
|
|||
require(entry, null, null, true);
|
||||
}
|
||||
});
|
||||
require('mdtest/mdtest', null, null, true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue