From 447b1554011aad8f84ef2c53249666fa5b8342e3 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 17 Jan 2013 13:14:20 -0500
Subject: [PATCH] jslint style fixes (global directive for path variable
 defined externally; put function definition before call to that function for
 clarity).

---
 themes/jquerymobile/js/check_item_statuses.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/themes/jquerymobile/js/check_item_statuses.js b/themes/jquerymobile/js/check_item_statuses.js
index 9fad071fc07..884c626cfc8 100644
--- a/themes/jquerymobile/js/check_item_statuses.js
+++ b/themes/jquerymobile/js/check_item_statuses.js
@@ -1,6 +1,4 @@
-$('.results-page').live('pageshow', function() {
-    checkItemStatuses();
-});
+/*global path*/
 
 function checkItemStatuses() {
     var id = $.map($('.ajaxItemId'), function(i) {
@@ -47,3 +45,7 @@ function checkItemStatuses() {
         });
     }
 }
+
+$('.results-page').live('pageshow', function() {
+    checkItemStatuses();
+});
-- 
GitLab