Skip to content
Browse files

Added versioning to export WURFL

  • Loading branch information...
1 parent 01ec4e4 commit 574f449dad4effb37e4e99490ce64a5716ea9eb2 @kamermans committed Sep 4, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 WURFLCustomizer.mxml
View
4 WURFLCustomizer.mxml
@@ -45,7 +45,7 @@
private var exportingWindow:ExportingWURFLWindow;
private var exportFile:File;
- private var exportData:XML = <wurfl><devices/></wurfl>;
+ private var exportData:XML = <wurfl><version/><devices/></wurfl>;
private var pendingDevices:Array = [];
private var capLookup:Array = [];
@@ -131,6 +131,8 @@
pendingDevices.push(device);
}
numDevices = pendingDevices.length;
+ exportData.version.appendChild(loadedWURFL.version.ver);
+ exportData.version.appendChild(loadedWURFL.version.last_updated);
var timer:Timer = new Timer(1,0);
timer.addEventListener(TimerEvent.TIMER,exportNextDevice);
timer.start();

0 comments on commit 574f449

Please sign in to comment.
Something went wrong with that request. Please try again.