mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #325 from spicyj/elseifdev
Move else if (__DEV__) into two statements
This commit is contained in:
@@ -147,8 +147,10 @@ var DOMPropertyOperations = {
|
||||
}
|
||||
} else if (DOMProperty.isCustomAttribute(name)) {
|
||||
node.removeAttribute(name);
|
||||
} else if (__DEV__) {
|
||||
warnUnknownProperty(name);
|
||||
} else {
|
||||
if (__DEV__) {
|
||||
warnUnknownProperty(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user