ace editor, markdown editor

This commit is contained in:
life
2015-01-08 00:36:28 +08:00
parent be01c9c3f7
commit 2cfc89ca5f
1233 changed files with 24568 additions and 10275 deletions

View File

@ -355,10 +355,10 @@ function getCurVisitUserInfo() {
}
// 增加阅读次数
function incReadNum(noteId) {
if(!$.cookie(noteId)) {
$.cookie(noteId, 1);
//if(!$.cookie(noteId)) {
// $.cookie(noteId, 1);
ajaxGet(getCurHostUrl() + "/blog/incReadNum", {noteId: noteId});
}
//}
}
function getCurHostUrl() {
return "//" + location.host;
@ -416,4 +416,4 @@ function isMobile() {
}
$(function() {
isMobile();
});
});