mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-28 15:28:15 +00:00
style(bootstrap): fix some missing spaces
This commit is contained in:
parent
a13653c814
commit
e14ac2c3b0
1 changed files with 3 additions and 3 deletions
6
src/angular-bootstrap.js
vendored
6
src/angular-bootstrap.js
vendored
|
|
@ -95,7 +95,7 @@
|
||||||
document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' +
|
document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' +
|
||||||
'onload="addScripts(angularFiles.angularSrc)"></script>');
|
'onload="addScripts(angularFiles.angularSrc)"></script>');
|
||||||
|
|
||||||
function onLoadListener(){
|
function onLoadListener() {
|
||||||
// empty the cache to prevent mem leaks
|
// empty the cache to prevent mem leaks
|
||||||
globalVars = {};
|
globalVars = {};
|
||||||
|
|
||||||
|
|
@ -107,9 +107,9 @@
|
||||||
angularInit(config, document);
|
angularInit(config, document);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.addEventListener){
|
if (window.addEventListener) {
|
||||||
window.addEventListener('load', onLoadListener, false);
|
window.addEventListener('load', onLoadListener, false);
|
||||||
} else if (window.attachEvent){
|
} else if (window.attachEvent) {
|
||||||
window.attachEvent('onload', onLoadListener);
|
window.attachEvent('onload', onLoadListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue