Permalink
Browse files

better parsing of app's version

  • Loading branch information...
1 parent 59b8922 commit 0a44436e0ee0ad51c733fa1872f35ecceeb51cda @attheodo committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/katina.js
View
@@ -233,7 +233,7 @@ var parseReviews = function(reviews){
var review_appVersion = reviews_data['Document']['View']['ScrollView']['VBoxView']['View']['MatrixView']['VBoxView'][0]
['VBoxView']['VBoxView'][i]['HBoxView'][1]['TextView']['SetFontStyle']['$t'];
- review['version'] = review_appVersion.split(' ')[1];
+ review['version'] = review_appVersion.split(' ')[1].split('-')[0];
} catch (err) {

0 comments on commit 0a44436

Please sign in to comment.