mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
style(bootstrap): fix some missing spaces
This commit is contained in:
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' + '" ' +
|
||||
'onload="addScripts(angularFiles.angularSrc)"></script>');
|
||||
|
||||
function onLoadListener(){
|
||||
function onLoadListener() {
|
||||
// empty the cache to prevent mem leaks
|
||||
globalVars = {};
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user