lib/ajax-cat/public/Suggestions.coffee in ajax-cat-0.3.0 vs lib/ajax-cat/public/Suggestions.coffee in ajax-cat-0.4.0

- old
+ new

@@ -31,10 +31,10 @@ @clear() sentence = $("#source-sentence").text() sentence = Utils.tokenize(sentence) translated = Utils.tokenize($("#source-target").text()) covered = @translation.table.covered_vector() - $.ajax "http://"+@translation.host+":8888/suggestion" + $.ajax "/api/suggestion" data: pair: @translation.pair q: Utils.tokenize(sentence) covered: covered translated: translated \ No newline at end of file