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

Commit e14ac2c

Browse files
Di PengIgorMinar
Di Peng
authored andcommitted
style(bootstrap): fix some missing spaces
1 parent a13653c commit e14ac2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/angular-bootstrap.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' +
9696
'onload="addScripts(angularFiles.angularSrc)"></script>');
9797

98-
function onLoadListener(){
98+
function onLoadListener() {
9999
// empty the cache to prevent mem leaks
100100
globalVars = {};
101101

@@ -107,9 +107,9 @@
107107
angularInit(config, document);
108108
}
109109

110-
if (window.addEventListener){
110+
if (window.addEventListener) {
111111
window.addEventListener('load', onLoadListener, false);
112-
} else if (window.attachEvent){
112+
} else if (window.attachEvent) {
113113
window.attachEvent('onload', onLoadListener);
114114
}
115115

0 commit comments

Comments
 (0)