Disable bytarget and stat
authorDennis Schafroth <dennis@indexdata.com>
Tue, 15 Nov 2011 11:36:08 +0000 (12:36 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 15 Nov 2011 11:36:08 +0000 (12:36 +0100)
www/iphone/example_client.js

index a336f8e..44b2c57 100644 (file)
@@ -22,13 +22,13 @@ if (document.location.hash == '#pazpar2' || document.location.search.match("usep
 
 
 my_paz = new pz2( { "onshow": my_onshow,
-                    "showtime": 500,            //each timer (show, stat, term, bytarget) can be specified this way
+//                    "showtime": 2000,            //each timer (show, stat, term, bytarget) can be specified this way
                     "pazpar2path": pazpar2path,
                     "oninit": my_oninit,
-                    "onstat": my_onstat,
+                    "onstat": null,
                     "onterm": my_onterm_iphone,
                     "termlist": "xtargets,subject,author",
-                    "onbytarget": my_onbytarget,
+                    "onbytarget": null,
                    "usesessions" : usesessions,
                     "showResponseType": showResponseType,
                     "onrecord": my_onrecord } );