Browse Source

Code style adjustment

Tobias Reich 8 years ago
parent
commit
978caa90b3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/scripts/lychee.js

+ 4 - 4
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() },
 	})
 
 }