1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 16:14:04 +02:00

Enable the no-return-assign rule.

This commit is contained in:
Johann-S
2017-07-27 12:58:22 +02:00
committed by XhmikosR
parent ef8c77d8dc
commit 6063b0dc65
3 changed files with 5 additions and 3 deletions

View File

@@ -74,7 +74,7 @@
"no-param-reassign": "off",
"no-proto": "error",
"no-restricted-properties": "error",
"no-return-assign": "off",
"no-return-assign": "error",
"no-return-await": "error",
"no-script-url": "error",
"no-self-compare": "error",

View File

@@ -114,7 +114,8 @@ const Popover = (($) => {
}
getTipElement() {
return this.tip = this.tip || $(this.config.template)[0]
this.tip = this.tip || $(this.config.template)[0]
return this.tip
}
setContent() {

View File

@@ -415,7 +415,8 @@ const Tooltip = (($) => {
}
getTipElement() {
return this.tip = this.tip || $(this.config.template)[0]
this.tip = this.tip || $(this.config.template)[0]
return this.tip
}
setContent() {