Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
chore(site): add guard to accessing global
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Apr 6, 2016
1 parent 37f9cd2 commit 0f3a521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/demo/assets/app.js
Original file line number Diff line number Diff line change
@@ -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'];
Expand Down

0 comments on commit 0f3a521

Please sign in to comment.