fix hinting

This commit is contained in:
Sam Saffron 2013-02-25 11:18:10 +11:00
parent b9f3666f5a
commit cb3d839104

View File

@ -1,4 +1,7 @@
/*global Modernizr:true*/ /*global Modernizr:true*/
/*global assetPath:true*/
/*global FastClick:true*/
(function() { (function() {
var csrf_token; var csrf_token;
@ -148,7 +151,9 @@
$LAB.script(assetPath('defer/fastclick')) $LAB.script(assetPath('defer/fastclick'))
.wait(function(){ .wait(function(){
new FastClick(document.body); // work around jshint hating side-effects
// its just the way the FastClick api is
var ignore = new FastClick(document.body);
}); });
} else { } else {