mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 22:37:20 +08:00
refactor($location): remove redundant spaces
This commit is contained in:
committed by
Brian Ford
parent
a4db4e6187
commit
d1eec47cb8
@@ -671,7 +671,7 @@ function $LocationProvider(){
|
||||
} else if (isObject(mode)) {
|
||||
|
||||
if (isBoolean(mode.enabled)) {
|
||||
html5Mode.enabled = mode.enabled;
|
||||
html5Mode.enabled = mode.enabled;
|
||||
}
|
||||
|
||||
if (isBoolean(mode.requireBase)) {
|
||||
@@ -679,7 +679,7 @@ function $LocationProvider(){
|
||||
}
|
||||
|
||||
if (isBoolean(mode.rewriteLinks)) {
|
||||
html5Mode.rewriteLinks = mode.rewriteLinks;
|
||||
html5Mode.rewriteLinks = mode.rewriteLinks;
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user