Code style adjustment
This commit is contained in:
parent
a0f7b72589
commit
978caa90b3
@ -7,9 +7,9 @@ lychee = {
|
|||||||
|
|
||||||
title : document.title,
|
title : document.title,
|
||||||
version : '3.0.9',
|
version : '3.0.9',
|
||||||
version_code : '030009',
|
versionCode : '030009',
|
||||||
|
|
||||||
update_path : '//update.electerious.com/index.json',
|
updatePath : '//update.electerious.com/index.json',
|
||||||
updateURL : 'https://github.com/electerious/Lychee',
|
updateURL : 'https://github.com/electerious/Lychee',
|
||||||
website : 'http://lychee.electerious.com',
|
website : 'http://lychee.electerious.com',
|
||||||
|
|
||||||
@ -232,8 +232,8 @@ lychee.load = function() {
|
|||||||
lychee.getUpdate = function() {
|
lychee.getUpdate = function() {
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url : lychee.update_path,
|
url : lychee.updatePath,
|
||||||
success : function(data) { if (data.lychee.version>parseInt(lychee.version_code)) $('.version span').show() },
|
success : function(data) { if (data.lychee.version>parseInt(lychee.versionCode)) $('.version span').show() },
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user