mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
add null-trap to deref
This commit is contained in:
@@ -129,7 +129,7 @@ license that can be found in the LICENSE file.
|
||||
};
|
||||
|
||||
var deref = function(inNode) {
|
||||
return inNode.baby || inNode;
|
||||
return inNode && (inNode.baby || inNode);
|
||||
};
|
||||
|
||||
var establishNodeReferences = function(inRoot) {
|
||||
|
||||
Reference in New Issue
Block a user