Skip to content

Commit 0f3a521

Browse files
committed
chore(site): add guard to accessing global
1 parent 37f9cd2 commit 0f3a521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/demo/assets/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global FastClick, smoothScroll */
22
angular.module('ui.bootstrap.demo', ['ui.bootstrap', 'plunker', 'ngTouch', 'ngAnimate', 'ngSanitize'], function($httpProvider){
3-
if (!!FastClick) {
3+
if (!!window.FastClick) {
44
FastClick.attach(document.body);
55
}
66
delete $httpProvider.defaults.headers.common['X-Requested-With'];

0 commit comments

Comments
 (0)