diff --git a/src/dom.js b/src/dom.js index f3f6521..df61eb6 100644 --- a/src/dom.js +++ b/src/dom.js @@ -132,7 +132,9 @@ // deliver queued delcarations scope.deliverDeclarations = function() { - scope.deliverDeclarations = null; + scope.deliverDeclarations = function() { + throw 'Attempt to load platform.js twice'; + }; return elementDeclarations; }