We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8243d57 commit 10ee1a6Copy full SHA for 10ee1a6
src/boot.js
@@ -4,8 +4,15 @@
4
* license that can be found in the LICENSE file.
5
*/
6
7
-(function(scope) {
8
+// TODO(sorvell): this ensures Polymer is an object and not a function
9
+// Platform is currently defining it as a function to allow for async loading
10
+// of polymer; once we refine the loading process this likely goes away.
11
+if (typeof window.Polymer === 'function') {
12
+ Polymer = {};
13
+}
14
+
15
+(function(scope) {
16
// FOUC prevention tactic
17
// default list of veiled elements
18
scope.veiledElements = ['body'];
0 commit comments