Set debug to false.

This commit is contained in:
Sébastien Lucas 2013-07-16 21:57:14 +02:00
parent fb51523b33
commit 3de84ecf7e

View file

@ -6,7 +6,7 @@ var templatePage, templateBookDetail, templateMain, currentData, before, filterL
var cache = new LRUCache(30); var cache = new LRUCache(30);
var DEBUG = true; var DEBUG = false;
var isPushStateEnabled = window.history && window.history.pushState && window.history.replaceState && var isPushStateEnabled = window.history && window.history.pushState && window.history.replaceState &&
// pushState isn't reliable on iOS until 5. // pushState isn't reliable on iOS until 5.
!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/); !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/);