mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #325 from spicyj/elseifdev
Move else if (__DEV__) into two statements
This commit is contained in:
commit
e41912d6d4
1 file changed
+4
-2
@@ -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