From 0f3a5214f4aa02832de20ced356db00b69deb111 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Wed, 6 Apr 2016 09:04:48 -0700 Subject: [PATCH] chore(site): add guard to accessing global --- misc/demo/assets/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/demo/assets/app.js b/misc/demo/assets/app.js index d406a7ca3c..4f4cd41b24 100644 --- a/misc/demo/assets/app.js +++ b/misc/demo/assets/app.js @@ -1,6 +1,6 @@ /* global FastClick, smoothScroll */ angular.module('ui.bootstrap.demo', ['ui.bootstrap', 'plunker', 'ngTouch', 'ngAnimate', 'ngSanitize'], function($httpProvider){ - if (!!FastClick) { + if (!!window.FastClick) { FastClick.attach(document.body); } delete $httpProvider.defaults.headers.common['X-Requested-With'];