mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Highlighting was not being applied after some rendering.
Also includes a bunch of ES6 stuff.
This commit is contained in:
@ -3,8 +3,10 @@ moduleFor('controller:topic', 'controller:topic', {
|
||||
'controller:search', 'controller:topic-progress', 'controller:application']
|
||||
});
|
||||
|
||||
import Topic from 'discourse/models/topic';
|
||||
|
||||
var buildTopic = function() {
|
||||
return Discourse.Topic.create({
|
||||
return Topic.create({
|
||||
title: "Qunit Test Topic",
|
||||
participants: [
|
||||
{id: 1234,
|
||||
|
Reference in New Issue
Block a user