Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
style(bootstrap): fix some missing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Di Peng authored and IgorMinar committed Sep 12, 2011
1 parent a13653c commit e14ac2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/angular-bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' +
'onload="addScripts(angularFiles.angularSrc)"></script>');

function onLoadListener(){
function onLoadListener() {
// empty the cache to prevent mem leaks
globalVars = {};

Expand All @@ -107,9 +107,9 @@
angularInit(config, document);
}

if (window.addEventListener){
if (window.addEventListener) {
window.addEventListener('load', onLoadListener, false);
} else if (window.attachEvent){
} else if (window.attachEvent) {
window.attachEvent('onload', onLoadListener);
}

Expand Down

0 comments on commit e14ac2c

Please sign in to comment.