1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-10 07:54:00 +02:00

Update text preview.

This commit is contained in:
Lars Jung
2015-05-17 02:28:39 +02:00
parent 09fa3acc4d
commit 01b1a8e029

View File

@@ -21,10 +21,10 @@ modulejs.define('ext/preview-txt', ['_', '$', 'marked', 'prism', 'core/event', '
})
.done(function (content) {
// callback(item, content);
callback(item, content);
// for testing
setTimeout(function () { callback(item, content); }, 1000);
// setTimeout(function () { callback(item, content); }, 1000);
})
.fail(function (jqXHR, textStatus) {