Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2017-08-02 16:45:19 +09:00
parent 4c67340edd
commit 79d1e87dee
1 changed files with 7 additions and 17 deletions

View File

@ -6,22 +6,12 @@ var user_input = '';
var user_input_mobile = '';
var currentUser = Discourse.User.current();
function splitWidthInt(value) {
var str = value.substring(0, 3);
return str.trim();
}
function splitHeightInt(value) {
var str = value.substring(0, 3);
return str.trim();
}
var data = {
"topic-list-top" : {},
"topic-above-post-stream" : {},
"topic-above-suggested" : {},
"post-bottom" : {}
}
};
if (!Discourse.Mobile.mobileView && Discourse.SiteSettings.amazon_topic_list_top_src_code) {