removed debug stuff
This commit is contained in:
parent
07b043c159
commit
5f55bb9b0d
3 changed files with 4 additions and 8 deletions
|
@ -295,14 +295,11 @@ function(APICalls, HostApp) {
|
|||
|
||||
data.mentions = mentions;
|
||||
|
||||
debug(data.mentions)
|
||||
|
||||
// Make tent flavored markdown mentions
|
||||
for (var i = 0; i < this.mentions.length; i++) {
|
||||
var mention = this.mentions[i];
|
||||
data.content.text = this.replaceAll(data.content.text, mention.name, "^[" + mention.name + "](" + i + ")")
|
||||
}
|
||||
debug(data.content.text)
|
||||
|
||||
APICalls.post(HostApp.serverUrl("new_post"), JSON.stringify(data), {
|
||||
content_type: data.type,
|
||||
|
|
Reference in a new issue