From 978caa90b3c51092d993e4a2e8b6506acb782519 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Tue, 19 Jan 2016 11:02:47 +0100 Subject: [PATCH] Code style adjustment --- src/scripts/lychee.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 03d1c1f..21be02a 100644 --- a/src/scripts/lychee.js +++ b/src/scripts/lychee.js @@ -7,9 +7,9 @@ lychee = { title : document.title, 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', website : 'http://lychee.electerious.com', @@ -232,8 +232,8 @@ lychee.load = function() { lychee.getUpdate = function() { $.ajax({ - url : lychee.update_path, - success : function(data) { if (data.lychee.version>parseInt(lychee.version_code)) $('.version span').show() }, + url : lychee.updatePath, + success : function(data) { if (data.lychee.version>parseInt(lychee.versionCode)) $('.version span').show() }, }) }