-var gInfoTitle = "", gInfo = "", gBatteryListener;
-
-$(document).delegate("#main", "pageinit", function() {
- $("#storage-info").bind("vclick", function() {
- getSystemProperty("STORAGE", onStorageSuccess);
- return false;
- });
- $("#battery-info").bind("vclick", function() {
- getSystemProperty("BATTERY", onBatterySuccess);
- return false;
- });
- $("#cpu-info").bind("vclick", function() {
- getSystemProperty("CPU", onCpuInfoSuccess);
- return false;
- });
- $("#display-info").bind("vclick", function() {
- getSystemProperty("DISPLAY", onDisplaySuccess);
- return false;
- });
-
- $("#orientation-info").bind("vclick", function() {
- getSystemProperty("DEVICE_ORIENTATION", onOrientationSuccess);
- return false;
- });
-
- $(window).on('tizenhwkey', function (e) {
- if (e.originalEvent.keyName === "back") {
- if ($.mobile.activePage.attr('id') === 'main') {
- tizen.application.getCurrentApplication().exit();
- } else {
- history.back();
- }
- }
- });
-});
+/*jslint devel: true*/
+/*global $, tizen, window*/
+
+var gInfoTitle = '', gInfo = '', gBatteryListener;